[DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ansible-playbook [core 2.17.2] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/tmp.E9uoWehZt4 executable location = /usr/local/bin/ansible-playbook python version = 3.12.4 (main, Jun 7 2024, 00:00:00) [GCC 13.3.1 20240522 (Red Hat 13.3.1-1)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles statically imported: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_basic_ipa.yml ************************************************** 1 plays in /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_basic_ipa.yml PLAY [Test using IPA to issue certs] ******************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_basic_ipa.yml:2 Saturday 27 July 2024 08:30:06 -0400 (0:00:00.021) 0:00:00.021 ********* [WARNING]: Platform linux on host managed_node1 is using the discovered Python interpreter at /usr/bin/python3.12, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed_node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_basic_ipa.yml:13 Saturday 27 July 2024 08:30:08 -0400 (0:00:01.697) 0:00:01.719 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Skip if not supported] *************************************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_basic_ipa.yml:18 Saturday 27 July 2024 08:30:09 -0400 (0:00:00.523) 0:00:02.242 ********* META: end_host conditional evaluated to False, continuing execution for managed_node1 skipping: [managed_node1] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for managed_node1" } MSG: end_host conditional evaluated to false, continuing execution for managed_node1 TASK [Set __is_beaker_env] ***************************************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:2 Saturday 27 July 2024 08:30:09 -0400 (0:00:00.008) 0:00:02.251 ********* ok: [managed_node1] => { "ansible_facts": { "__is_beaker_env": true }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:9 Saturday 27 July 2024 08:30:09 -0400 (0:00:00.028) 0:00:02.279 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:14 Saturday 27 July 2024 08:30:09 -0400 (0:00:00.428) 0:00:02.707 ********* ok: [managed_node1] => { "ansible_facts": { "__certificate_is_ostree": false }, "changed": false } TASK [Install ansible-freeipa] ************************************************* task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:18 Saturday 27 July 2024 08:30:09 -0400 (0:00:00.024) 0:00:02.732 ********* changed: [managed_node1 -> 127.0.0.1] => { "changed": true, "rc": 0, "results": [ "Installed: python3-resolvelib-0.5.5-9.fc39.noarch", "Installed: python3-cryptography-41.0.7-1.fc39.x86_64", "Installed: fmt-10.0.0-3.fc39.x86_64", "Installed: python3-packaging-23.1-4.fc39.noarch", "Installed: python3-argcomplete-2.0.0-12.fc39.noarch", "Installed: ansible-core-2.16.8-1.fc39.noarch", "Installed: ansible-freeipa-1.13.2-1.fc39.noarch", "Installed: python3-ply-3.11-20.fc39.noarch", "Installed: python3-pycparser-2.20-11.fc39.noarch", "Installed: libdnf5-5.1.17-1.fc39.x86_64", "Installed: python3-libdnf5-5.1.17-1.fc39.x86_64", "Installed: python3-cffi-1.15.1-6.fc39.x86_64" ] } lsrpackages: ansible-freeipa TASK [Ensure freeipa-repo is absent] ******************************************* task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:24 Saturday 27 July 2024 08:30:20 -0400 (0:00:10.814) 0:00:13.547 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __is_beaker_env", "skip_reason": "Conditional result was False" } TASK [Clone ansible-freeipa repo] ********************************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:32 Saturday 27 July 2024 08:30:20 -0400 (0:00:00.018) 0:00:13.566 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __is_beaker_env", "skip_reason": "Conditional result was False" } TASK [Create role symlinks] **************************************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:41 Saturday 27 July 2024 08:30:20 -0400 (0:00:00.015) 0:00:13.581 ********* skipping: [managed_node1] => (item=ipaserver) => { "ansible_loop_var": "item", "changed": false, "false_condition": "not __is_beaker_env", "item": "ipaserver", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ipaclient) => { "ansible_loop_var": "item", "changed": false, "false_condition": "not __is_beaker_env", "item": "ipaclient", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [Ensure hostname package is installed] ************************************ task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:53 Saturday 27 July 2024 08:30:20 -0400 (0:00:00.023) 0:00:13.604 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: hostname TASK [Set hostname] ************************************************************ task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:59 Saturday 27 July 2024 08:30:22 -0400 (0:00:01.991) 0:00:15.596 ********* changed: [managed_node1] => { "ansible_facts": { "ansible_domain": "test.local", "ansible_fqdn": "ipaserver.test.local", "ansible_hostname": "ipaserver", "ansible_nodename": "ipaserver.test.local" }, "changed": true, "name": "ipaserver.test.local" } TASK [Ensure nss package is up-to-date] **************************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:65 Saturday 27 July 2024 08:30:23 -0400 (0:00:01.068) 0:00:16.665 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: nss TASK [Include ipaserver role] ************************************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:82 Saturday 27 July 2024 08:30:25 -0400 (0:00:01.993) 0:00:18.658 ********* included: ipaserver for managed_node1 TASK [ipaserver : Import variables specific to distribution] ******************* task path: /usr/share/ansible/roles/ipaserver/tasks/main.yml:4 Saturday 27 July 2024 08:30:25 -0400 (0:00:00.029) 0:00:18.688 ********* ok: [managed_node1] => (item=/usr/share/ansible/roles/ipaserver/vars/Fedora.yml) => { "ansible_facts": { "ipaserver_packages": [ "freeipa-server", "python3-libselinux" ], "ipaserver_packages_adtrust": [ "freeipa-server-trust-ad" ], "ipaserver_packages_dns": [ "freeipa-server-dns" ], "ipaserver_packages_firewalld": [ "firewalld" ] }, "ansible_included_var_files": [ "/usr/share/ansible/roles/ipaserver/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/usr/share/ansible/roles/ipaserver/vars/Fedora.yml" } TASK [ipaserver : Install IPA server] ****************************************** task path: /usr/share/ansible/roles/ipaserver/tasks/main.yml:19 Saturday 27 July 2024 08:30:25 -0400 (0:00:00.030) 0:00:18.718 ********* included: /usr/share/ansible/roles/ipaserver/tasks/install.yml for managed_node1 TASK [ipaserver : Install - Ensure that IPA server packages are installed] ***** task path: /usr/share/ansible/roles/ipaserver/tasks/install.yml:7 Saturday 27 July 2024 08:30:25 -0400 (0:00:00.066) 0:00:18.784 ********* changed: [managed_node1] => { "changed": true, "rc": 0, "results": [ "Installed: python3-augeas-1.1.0-10.fc39.noarch", "Installed: sssd-common-pac-2.9.5-1.fc39.x86_64", "Installed: sssd-dbus-2.9.5-1.fc39.x86_64", "Installed: sssd-idp-2.9.5-1.fc39.x86_64", "Installed: sssd-ipa-2.9.5-1.fc39.x86_64", "Installed: sssd-krb5-2.9.5-1.fc39.x86_64", "Installed: sssd-krb5-common-2.9.5-1.fc39.x86_64", "Installed: sssd-passkey-2.9.5-1.fc39.x86_64", "Installed: sssd-tools-2.9.5-1.fc39.x86_64", "Installed: jboss-jaxrs-2.0-api-1.0.0-24.fc39.noarch", "Installed: apache-commons-cli-1.5.0-6.fc39.noarch", "Installed: jboss-logging-3.5.3-2.fc39.noarch", "Installed: apache-commons-codec-1.15-9.fc39.noarch", "Installed: jboss-logging-tools-2.2.1-12.fc39.noarch", "Installed: apache-commons-io-1:2.11.0-4.fc39.noarch", "Installed: acl-2.3.1-9.fc39.x86_64", "Installed: jdeparser-2.0.3-14.fc39.noarch", "Installed: apache-commons-lang3-3.12.0-9.fc39.noarch", "Installed: apache-commons-logging-1.2-34.fc39.noarch", "Installed: apache-commons-net-3.8.0-3.fc39.noarch", "Installed: tomcat-1:9.0.89-1.fc39.noarch", "Installed: libipa_hbac-2.9.5-1.fc39.x86_64", "Installed: tomcat-el-3.0-api-1:9.0.89-1.fc39.noarch", "Installed: tomcat-jsp-2.3-api-1:9.0.89-1.fc39.noarch", "Installed: tomcat-lib-1:9.0.89-1.fc39.noarch", "Installed: jemalloc-5.3.0-4.fc39.x86_64", "Installed: python3-decorator-5.1.1-7.fc39.noarch", "Installed: tomcat-servlet-4.0-api-1:9.0.89-1.fc39.noarch", "Installed: python3-deprecated-1.2.14-3.fc39.noarch", "Installed: alsa-lib-1.2.12-1.fc39.x86_64", "Installed: libjose-14-1.fc39.x86_64", "Installed: words-3.0-44.fc39.noarch", "Installed: python3-qrcode-7.4.2-12.fc39.noarch", "Installed: libkadm5-1.21.3-1.fc39.x86_64", "Installed: openldap-clients-2.6.7-1.fc39.x86_64", "Installed: apr-1.7.3-2.fc39.x86_64", "Installed: lksctp-tools-1.0.19-4.fc39.x86_64", "Installed: apr-util-1.6.3-4.fc39.x86_64", "Installed: apr-util-bdb-1.6.3-4.fc39.x86_64", "Installed: augeas-libs-1.13.0-5.fc39.x86_64", "Installed: apr-util-openssl-1.6.3-4.fc39.x86_64", "Installed: cyrus-sasl-gssapi-2.1.28-11.fc39.x86_64", "Installed: perl-Algorithm-Diff-1.2010-9.fc39.noarch", "Installed: python3-gssapi-1.7.3-6.fc39.x86_64", "Installed: cyrus-sasl-md5-2.1.28-11.fc39.x86_64", "Installed: cyrus-sasl-plain-2.1.28-11.fc39.x86_64", "Installed: python3-ipaclient-4.12.1-1.fc39.noarch", "Installed: python3-ipalib-4.12.1-1.fc39.noarch", "Installed: python3-ipaserver-4.12.1-1.fc39.noarch", "Installed: perl-Compress-Raw-Bzip2-2.206-1.fc39.x86_64", "Installed: perl-Devel-Peek-1.33-502.fc39.x86_64", "Installed: perl-Compress-Raw-Lzma-2.206-2.fc39.x86_64", "Installed: perl-Compress-Raw-Zlib-2.206-1.fc39.x86_64", "Installed: perl-IO-Compress-2.206-1.fc39.noarch", "Installed: perl-IO-Compress-Lzma-2.206-1.fc39.noarch", "Installed: python3-yubico-1.3.3-13.fc39.noarch", "Installed: softhsm-2.6.1-5.fc39.7.x86_64", "Installed: tzdata-java-2024a-2.fc39.noarch", "Installed: java-17-openjdk-headless-1:17.0.11.0.9-1.fc39.x86_64", "Installed: perl-IO-Zlib-1:1.14-500.fc39.noarch", "Installed: autofs-1:5.1.8-21.fc39.x86_64", "Installed: pki-resteasy-3.0.26-27.fc39.noarch", "Installed: pki-resteasy-client-3.0.26-27.fc39.noarch", "Installed: pki-resteasy-core-3.0.26-27.fc39.noarch", "Installed: pki-resteasy-jackson2-provider-3.0.26-27.fc39.noarch", "Installed: pki-resteasy-servlet-initializer-3.0.26-27.fc39.noarch", "Installed: python3-ldap-3.4.4-1.fc39.x86_64", "Installed: samba-client-libs-2:4.19.7-1.fc39.x86_64", "Installed: samba-common-2:4.19.7-1.fc39.noarch", "Installed: python3-lib389-2.4.5-1.fc39.noarch", "Installed: samba-common-libs-2:4.19.7-1.fc39.x86_64", "Installed: copy-jdk-configs-4.1-3.fc39.noarch", "Installed: python3-dogtag-pki-11.4.3-2.fc39.1.noarch", "Installed: jackson-annotations-2.15.2-2.fc39.noarch", "Installed: jackson-core-2.15.2-2.fc39.noarch", "Installed: jackson-databind-2.15.2-2.fc39.noarch", "Installed: libsss_autofs-2.9.5-1.fc39.x86_64", "Installed: python3-pyusb-1.2.1-7.fc39.noarch", "Installed: python3-libipa_hbac-2.9.5-1.fc39.x86_64", "Installed: krb5-pkinit-1.21.3-1.fc39.x86_64", "Installed: fstrm-0.6.1-8.fc39.x86_64", "Installed: jackson-jaxrs-json-provider-2.15.2-2.fc39.noarch", "Installed: jackson-jaxrs-providers-2.15.2-2.fc39.noarch", "Installed: krb5-server-1.21.3-1.fc39.x86_64", "Installed: krb5-workstation-1.21.3-1.fc39.x86_64", "Installed: python3-sss-2.9.5-1.fc39.x86_64", "Installed: jackson-module-jaxb-annotations-2.15.2-2.fc39.noarch", "Installed: python3-sss-murmur-2.9.5-1.fc39.x86_64", "Installed: python3-sssdconfig-2.9.5-1.fc39.noarch", "Installed: jakarta-activation-2.1.1-4.fc39.noarch", "Installed: python3-mod_wsgi-4.9.4-6.fc39.x86_64", "Installed: mod_auth_gssapi-1.6.5-3.fc39.x86_64", "Installed: jakarta-annotations-1.3.5-16.fc39.noarch", "Installed: python3-ifaddr-0.1.7-11.fc39.noarch", "Installed: ecj-1:4.23-6.fc39.noarch", "Installed: httpcomponents-client-4.5.13-7.fc39.noarch", "Installed: httpcomponents-core-4.4.13-9.fc39.noarch", "Installed: mod_lookup_identity-1.0.0-18.fc39.x86_64", "Installed: mod_http2-2.0.27-1.fc39.x86_64", "Installed: mod_lua-2.4.61-1.fc39.x86_64", "Installed: perl-Archive-Tar-3.02-4.fc39.noarch", "Installed: oddjob-0.34.7-9.fc39.x86_64", "Installed: mod_session-2.4.61-1.fc39.x86_64", "Installed: oddjob-mkhomedir-0.34.7-9.fc39.x86_64", "Installed: mod_ssl-1:2.4.61-1.fc39.x86_64", "Installed: python3-typing-extensions-4.12.2-2.fc39.noarch", "Installed: 389-ds-base-2.4.5-1.fc39.x86_64", "Installed: 389-ds-base-libs-2.4.5-1.fc39.x86_64", "Installed: nss-tools-3.101.0-1.fc39.x86_64", "Installed: perl-Term-ReadLine-1.17-502.fc39.noarch", "Installed: policycoreutils-python-utils-3.5-8.fc39.noarch", "Installed: libuv-1:1.48.0-1.fc39.x86_64", "Installed: julietaula-montserrat-fonts-1:7.222-8.fc39.noarch", "Installed: logrotate-3.21.0-4.fc39.x86_64", "Installed: mailcap-2.1.54-2.fc39.noarch", "Installed: perl-Tie-4.6-502.fc39.noarch", "Installed: python3-wrapt-1.15.0-1.fc39.x86_64", "Installed: python3-psutil-5.9.5-1.fc39.x86_64", "Installed: libdb-utils-5.3.28-56.fc39.x86_64", "Installed: perl-DB_File-1.859-1.fc39.x86_64", "Installed: httpd-2.4.61-1.fc39.x86_64", "Installed: httpd-core-2.4.61-1.fc39.x86_64", "Installed: httpd-filesystem-2.4.61-1.fc39.noarch", "Installed: httpd-tools-2.4.61-1.fc39.x86_64", "Installed: python3-netaddr-0.8.0-14.fc39.noarch", "Installed: perl-debugger-1.60-502.fc39.noarch", "Installed: openssl-perl-1:3.1.1-4.fc39.x86_64", "Installed: dogtag-jss-5.4.2-1.fc39.1.x86_64", "Installed: dogtag-ldapjdk-5.4.1-2.fc39.noarch", "Installed: dogtag-pki-acme-11.4.3-2.fc39.1.noarch", "Installed: dogtag-pki-base-11.4.3-2.fc39.1.noarch", "Installed: dogtag-pki-ca-11.4.3-2.fc39.1.noarch", "Installed: dogtag-pki-java-11.4.3-2.fc39.1.noarch", "Installed: dogtag-pki-kra-11.4.3-2.fc39.1.noarch", "Installed: dogtag-pki-server-11.4.3-2.fc39.1.noarch", "Installed: perl-Text-Diff-1.45-19.fc39.noarch", "Installed: dogtag-pki-tools-11.4.3-2.fc39.1.x86_64", "Installed: dogtag-tomcatjss-8.4.1-2.fc39.noarch", "Installed: perl-meta-notation-5.38.2-502.fc39.noarch", "Installed: libicu-73.2-2.fc39.x86_64", "Installed: perl-threads-1:2.36-500.fc39.x86_64", "Installed: perl-threads-shared-1.68-500.fc39.x86_64", "Installed: perl-sigtrap-1.10-502.fc39.noarch", "Installed: fedora-logos-httpd-38.1.0-2.fc39.noarch", "Installed: slapi-nis-0.60.0-4.fc39.x86_64", "Installed: cups-libs-1:2.4.10-1.fc39.x86_64", "Installed: tomcat-native-1:1.2.36-2.fc39.x86_64", "Installed: lua-5.4.6-3.fc39.x86_64", "Installed: python3-jwcrypto-1.4.2-5.fc39.noarch", "Installed: open-sans-fonts-1.10-19.fc39.noarch", "Installed: libwbclient-2:4.19.7-1.fc39.x86_64", "Installed: python3-kdcproxy-1.0.0-13.fc39.noarch", "Installed: python3-dns-2.6.1-1.fc39.noarch", "Installed: python3-argcomplete-2.0.0-12.fc39.noarch", "Installed: publicsuffix-list-20240107-1.fc39.noarch", "Installed: javapackages-filesystem-6.1.0-10.fc39.noarch", "Installed: javapackages-tools-6.1.0-10.fc39.noarch", "Installed: freeipa-client-4.12.1-1.fc39.x86_64", "Installed: slf4j-1.7.32-6.fc39.noarch", "Installed: freeipa-client-common-4.12.1-1.fc39.noarch", "Installed: slf4j-jdk14-1.7.32-6.fc39.noarch", "Installed: freeipa-common-4.12.1-1.fc39.noarch", "Installed: sscg-3.0.5-3.fc39.x86_64", "Installed: freeipa-healthcheck-core-0.16-3.fc39.noarch", "Installed: freeipa-selinux-4.12.1-1.fc39.noarch", "Installed: python3-pyasn1-modules-0.5.1-1.fc39.noarch", "Installed: bash-completion-1:2.11-12.fc39.noarch", "Installed: freeipa-server-4.12.1-1.fc39.x86_64", "Installed: freeipa-server-common-4.12.1-1.fc39.noarch", "Installed: jaxb-api-4.0.0-4.fc39.noarch", "Installed: fontawesome4-fonts-1:4.7.0-19.fc39.noarch", "Installed: lua-posix-36.2.1-3.fc39.x86_64", "Installed: bind-libs-32:9.18.26-1.fc39.x86_64", "Installed: bind-license-32:9.18.26-1.fc39.noarch", "Installed: bind-utils-32:9.18.26-1.fc39.x86_64" ] } TASK [ipaserver : Install - Ensure that IPA server packages for dns are installed] *** task path: /usr/share/ansible/roles/ipaserver/tasks/install.yml:12 Saturday 27 July 2024 08:31:37 -0400 (0:01:12.120) 0:01:30.905 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ipaserver_setup_dns | bool", "skip_reason": "Conditional result was False" } TASK [ipaserver : Install - Ensure that IPA server packages for adtrust are installed] *** task path: /usr/share/ansible/roles/ipaserver/tasks/install.yml:18 Saturday 27 July 2024 08:31:37 -0400 (0:00:00.021) 0:01:30.926 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ipaserver_setup_adtrust | bool", "skip_reason": "Conditional result was False" } TASK [ipaserver : Install - Ensure that firewall packages installed] *********** task path: /usr/share/ansible/roles/ipaserver/tasks/install.yml:24 Saturday 27 July 2024 08:31:37 -0400 (0:00:00.020) 0:01:30.947 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [ipaserver : Firewalld service - Ensure that firewalld is running] ******** task path: /usr/share/ansible/roles/ipaserver/tasks/install.yml:34 Saturday 27 July 2024 08:31:39 -0400 (0:00:01.993) 0:01:32.941 ********* changed: [managed_node1] => { "changed": true, "enabled": true, "name": "firewalld", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:firewalld_unit_file_t:s0", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "dbus.socket dbus-broker.service sysinit.target polkit.service system.slice basic.target", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "ebtables.service shutdown.target ip6tables.service ipset.service nftables.service iptables.service", "ControlGroupId": "0", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "DefaultStartupMemoryLow": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "\"man:firewalld(1)\"", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecReloadEx": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "ExtensionImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FileDescriptorStorePreserve": "restart", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "14754", "LimitNPROCSoft": "14754", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14754", "LimitSIGPENDINGSoft": "14754", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryKSM": "no", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPressureThresholdUSec": "200ms", "MemoryPressureWatch": "auto", "MemorySwapMax": "infinity", "MemoryZSwapMax": "infinity", "MountAPIVFS": "no", "MountImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target dbus.socket", "Restart": "no", "RestartKillSignal": "15", "RestartMaxDelayUSec": "infinity", "RestartMode": "normal", "RestartSteps": "0", "RestartUSec": "100ms", "RestartUSecNext": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RootEphemeral": "no", "RootImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StartupMemoryHigh": "18446744073709551615", "StartupMemoryLow": "0", "StartupMemoryMax": "18446744073709551615", "StartupMemorySwapMax": "18446744073709551615", "StartupMemoryZSwapMax": "18446744073709551615", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "4426", "TimeoutAbortUSec": "45s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "45s", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "45s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "disabled", "UtmpMode": "init", "Wants": "network-pre.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } TASK [ipaserver : Firewalld - Verify runtime zone "{{ ipaserver_firewalld_zone }}"] *** task path: /usr/share/ansible/roles/ipaserver/tasks/install.yml:40 Saturday 27 July 2024 08:31:42 -0400 (0:00:02.483) 0:01:35.424 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ipaserver_firewalld_zone is defined", "skip_reason": "Conditional result was False" } TASK [ipaserver : Firewalld - Verify permanent zone "{{ ipaserver_firewalld_zone }}"] *** task path: /usr/share/ansible/roles/ipaserver/tasks/install.yml:47 Saturday 27 July 2024 08:31:42 -0400 (0:00:00.025) 0:01:35.449 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ipaserver_firewalld_zone is defined", "skip_reason": "Conditional result was False" } TASK [ipaserver : Copy external certs] ***************************************** task path: /usr/share/ansible/roles/ipaserver/tasks/install.yml:55 Saturday 27 July 2024 08:31:42 -0400 (0:00:00.026) 0:01:35.476 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ipaserver_external_cert_files_from_controller is defined and ipaserver_external_cert_files_from_controller|length > 0 and not ipaserver_external_cert_files is defined", "skip_reason": "Conditional result was False" } TASK [ipaserver : Install - Server installation test] ************************** task path: /usr/share/ansible/roles/ipaserver/tasks/install.yml:62 Saturday 27 July 2024 08:31:42 -0400 (0:00:00.025) 0:01:35.501 ********* ok: [managed_node1] => { "_dirsrv_ca_cert": null, "_dirsrv_pkcs12_info": null, "_hostname_overridden": true, "_http_ca_cert": null, "_http_pkcs12_info": null, "_installation_cleanup": true, "_pkinit_ca_cert": null, "_pkinit_pkcs12_info": null, "changed": false, "domain": "test.local", "domainlevel": 1, "external_ca": false, "external_ca_profile": null, "external_ca_type": null, "hostname": "ipaserver.test.local", "idmax": 364799999, "idstart": 364600000, "ipa_python_version": 41201, "no_host_dns": false, "no_pkinit": false, "ntp_pool": null, "ntp_servers": null, "random_serial_numbers": false, "realm": "TEST.LOCAL", "rid_base": 1000, "secondary_rid_base": 100000000, "setup_adtrust": false, "setup_ca": true, "setup_kra": false, "sid_generation_always": true } TASK [ipaserver : Install - Master password creation] ************************** task path: /usr/share/ansible/roles/ipaserver/tasks/install.yml:142 Saturday 27 July 2024 08:31:44 -0400 (0:00:02.218) 0:01:37.720 ********* changed: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [ipaserver : Install - Use new master password] *************************** task path: /usr/share/ansible/roles/ipaserver/tasks/install.yml:149 Saturday 27 July 2024 08:31:45 -0400 (0:00:01.389) 0:01:39.109 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [ipaserver : Use user defined master password, if provided] *************** task path: /usr/share/ansible/roles/ipaserver/tasks/install.yml:155 Saturday 27 July 2024 08:31:45 -0400 (0:00:00.029) 0:01:39.138 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [ipaserver : Install - Server preparation] ******************************** task path: /usr/share/ansible/roles/ipaserver/tasks/install.yml:161 Saturday 27 July 2024 08:31:45 -0400 (0:00:00.023) 0:01:39.161 ********* changed: [managed_node1] => { "_ca_subject": "CN=Certificate Authority,O=TEST.LOCAL", "_random_serial_numbers": false, "_subject_base": "O=TEST.LOCAL", "adtrust_netbios_name": "TEST", "adtrust_reset_netbios_name": true, "ca_subject": "CN=Certificate Authority,O=TEST.LOCAL", "changed": true, "dns_ip_addresses": [], "dns_reverse_zones": [], "forward_policy": null, "forwarders": [], "ip_addresses": [ "10.31.46.53" ], "no_dnssec_validation": false, "reverse_zones": [], "subject_base": "O=TEST.LOCAL" } TASK [ipaserver : Install - Setup NTP] ***************************************** task path: /usr/share/ansible/roles/ipaserver/tasks/install.yml:207 Saturday 27 July 2024 08:31:48 -0400 (0:00:02.659) 0:01:41.821 ********* changed: [managed_node1] => { "changed": true } TASK [ipaserver : Install - Setup DS] ****************************************** task path: /usr/share/ansible/roles/ipaserver/tasks/install.yml:214 Saturday 27 July 2024 08:31:56 -0400 (0:00:08.040) 0:01:49.862 ********* changed: [managed_node1] => { "changed": true } TASK [ipaserver : Install - Setup KRB] ***************************************** task path: /usr/share/ansible/roles/ipaserver/tasks/install.yml:243 Saturday 27 July 2024 08:32:41 -0400 (0:00:45.298) 0:02:35.160 ********* changed: [managed_node1] => { "changed": true } TASK [ipaserver : Install - Setup CA] ****************************************** task path: /usr/share/ansible/roles/ipaserver/tasks/install.yml:270 Saturday 27 July 2024 08:32:52 -0400 (0:00:10.336) 0:02:45.497 ********* changed: [managed_node1] => { "changed": true, "csr_generated": false } TASK [ipaserver : Copy /root/ipa.csr to "managed_node1-ipa.csr"] *************** task path: /usr/share/ansible/roles/ipaserver/tasks/install.yml:312 Saturday 27 July 2024 08:36:59 -0400 (0:04:07.173) 0:06:52.670 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "result_ipaserver_setup_ca.csr_generated | bool and ipaserver_copy_csr_to_controller | bool", "skip_reason": "Conditional result was False" } TASK [ipaserver : Install - Setup otpd] **************************************** task path: /usr/share/ansible/roles/ipaserver/tasks/install.yml:323 Saturday 27 July 2024 08:36:59 -0400 (0:00:00.029) 0:06:52.699 ********* changed: [managed_node1] => { "changed": true } TASK [ipaserver : Install - Setup HTTP] **************************************** task path: /usr/share/ansible/roles/ipaserver/tasks/install.yml:329 Saturday 27 July 2024 08:37:03 -0400 (0:00:03.794) 0:06:56.493 ********* changed: [managed_node1] => { "changed": true } TASK [ipaserver : Install - Setup KRA] ***************************************** task path: /usr/share/ansible/roles/ipaserver/tasks/install.yml:361 Saturday 27 July 2024 08:37:43 -0400 (0:00:40.396) 0:07:36.890 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "result_ipaserver_test.setup_kra | bool", "skip_reason": "Conditional result was False" } TASK [ipaserver : Install - Setup DNS] ***************************************** task path: /usr/share/ansible/roles/ipaserver/tasks/install.yml:372 Saturday 27 July 2024 08:37:43 -0400 (0:00:00.029) 0:07:36.920 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ipaserver_setup_dns | bool", "skip_reason": "Conditional result was False" } TASK [ipaserver : Install - Setup ADTRUST] ************************************* task path: /usr/share/ansible/roles/ipaserver/tasks/install.yml:389 Saturday 27 July 2024 08:37:43 -0400 (0:00:00.027) 0:07:36.947 ********* changed: [managed_node1] => { "changed": true } TASK [ipaserver : Install - Set DS password] *********************************** task path: /usr/share/ansible/roles/ipaserver/tasks/install.yml:405 Saturday 27 July 2024 08:37:53 -0400 (0:00:10.194) 0:07:47.142 ********* changed: [managed_node1] => { "changed": true } TASK [Install - Setup client] ************************************************** task path: /usr/share/ansible/roles/ipaserver/tasks/install.yml:422 Saturday 27 July 2024 08:37:56 -0400 (0:00:03.044) 0:07:50.187 ********* included: ipaclient for managed_node1 TASK [ipaclient : Import variables specific to distribution] ******************* task path: /usr/share/ansible/roles/ipaclient/tasks/main.yml:4 Saturday 27 July 2024 08:37:57 -0400 (0:00:00.051) 0:07:50.238 ********* ok: [managed_node1] => (item=/usr/share/ansible/roles/ipaclient/vars/default.yml) => { "ansible_facts": { "ipaclient_packages": [ "ipa-client", "python3-libselinux" ] }, "ansible_included_var_files": [ "/usr/share/ansible/roles/ipaclient/vars/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/usr/share/ansible/roles/ipaclient/vars/default.yml" } TASK [ipaclient : Install IPA client] ****************************************** task path: /usr/share/ansible/roles/ipaclient/tasks/main.yml:19 Saturday 27 July 2024 08:37:57 -0400 (0:00:00.049) 0:07:50.288 ********* included: /usr/share/ansible/roles/ipaclient/tasks/install.yml for managed_node1 TASK [ipaclient : Install - Ensure that IPA client packages are installed] ***** task path: /usr/share/ansible/roles/ipaclient/tasks/install.yml:4 Saturday 27 July 2024 08:37:57 -0400 (0:00:00.101) 0:07:50.389 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ipaclient_install_packages | bool", "skip_reason": "Conditional result was False" } TASK [ipaclient : Install - Set ipaclient_servers] ***************************** task path: /usr/share/ansible/roles/ipaclient/tasks/install.yml:10 Saturday 27 July 2024 08:37:57 -0400 (0:00:00.031) 0:07:50.421 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "groups.ipaservers is defined and ipaclient_servers is not defined", "skip_reason": "Conditional result was False" } TASK [ipaclient : Install - Set ipaclient_servers from cluster inventory] ****** task path: /usr/share/ansible/roles/ipaclient/tasks/install.yml:15 Saturday 27 July 2024 08:37:57 -0400 (0:00:00.028) 0:07:50.449 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ipaclient_no_dns_lookup | bool and groups.ipaserver is defined and ipaclient_servers is not defined", "skip_reason": "Conditional result was False" } TASK [ipaclient : Install - Check that either password or keytab is set] ******* task path: /usr/share/ansible/roles/ipaclient/tasks/install.yml:21 Saturday 27 July 2024 08:37:57 -0400 (0:00:00.032) 0:07:50.482 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ipaadmin_keytab is defined and ipaadmin_password is defined", "skip_reason": "Conditional result was False" } TASK [ipaclient : Install - Set default principal if no keytab is given] ******* task path: /usr/share/ansible/roles/ipaclient/tasks/install.yml:26 Saturday 27 July 2024 08:37:57 -0400 (0:00:00.027) 0:07:50.509 ********* ok: [managed_node1] => { "ansible_facts": { "ipaadmin_principal": "admin" }, "changed": false } TASK [ipaclient : Install - Fail on missing ipaclient_domain and ipaserver_domain] *** task path: /usr/share/ansible/roles/ipaclient/tasks/install.yml:36 Saturday 27 July 2024 08:37:57 -0400 (0:00:00.035) 0:07:50.545 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ipaclient_configure_dns_resolver | bool and not ipaclient_on_master | bool", "skip_reason": "Conditional result was False" } TASK [ipaclient : Install - Fail on missing ipaclient_servers] ***************** task path: /usr/share/ansible/roles/ipaclient/tasks/install.yml:41 Saturday 27 July 2024 08:37:57 -0400 (0:00:00.028) 0:07:50.573 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ipaclient_configure_dns_resolver | bool and not ipaclient_on_master | bool", "skip_reason": "Conditional result was False" } TASK [ipaclient : Install - Configure DNS resolver] **************************** task path: /usr/share/ansible/roles/ipaclient/tasks/install.yml:46 Saturday 27 July 2024 08:37:57 -0400 (0:00:00.030) 0:07:50.603 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ipaclient_configure_dns_resolver | bool and not ipaclient_on_master | bool", "skip_reason": "Conditional result was False" } TASK [ipaclient : Install - IPA client test] *********************************** task path: /usr/share/ansible/roles/ipaclient/tasks/install.yml:52 Saturday 27 July 2024 08:37:57 -0400 (0:00:00.029) 0:07:50.633 ********* ok: [managed_node1] => { "basedn": "dc=test,dc=local", "changed": false, "client_already_configured": false, "client_domain": "test.local", "dnsok": false, "domain": "test.local", "hostname": "ipaserver.test.local", "ipa_python_version": 41201, "kdc": "ipaserver.test.local", "nosssd_files": {}, "ntp_pool": null, "ntp_servers": null, "realm": "TEST.LOCAL", "selinux_works": true, "servers": [ "ipaserver.test.local" ], "sssd": true } TASK [ipaclient : Install - Cleanup leftover ccache] *************************** task path: /usr/share/ansible/roles/ipaclient/tasks/install.yml:82 Saturday 27 July 2024 08:37:58 -0400 (0:00:01.360) 0:07:51.993 ********* ok: [managed_node1] => { "changed": false, "path": "/etc/ipa/.dns_ccache", "state": "absent" } TASK [ipaclient : Install - Configure NTP] ************************************* task path: /usr/share/ansible/roles/ipaclient/tasks/install.yml:87 Saturday 27 July 2024 08:37:59 -0400 (0:00:00.644) 0:07:52.638 ********* ok: [managed_node1] => { "changed": false } TASK [ipaclient : Install - Make sure One-Time Password is enabled if it's already defined] *** task path: /usr/share/ansible/roles/ipaclient/tasks/install.yml:99 Saturday 27 July 2024 08:38:00 -0400 (0:00:01.088) 0:07:53.726 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ipaclient_otp is defined", "skip_reason": "Conditional result was False" } TASK [ipaclient : Install - Disable One-Time Password for on_master] *********** task path: /usr/share/ansible/roles/ipaclient/tasks/install.yml:104 Saturday 27 July 2024 08:38:00 -0400 (0:00:00.033) 0:07:53.759 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ipaclient_use_otp | bool and ipaclient_on_master | bool", "skip_reason": "Conditional result was False" } TASK [ipaclient : Install - Test if IPA client has working krb5.keytab] ******** task path: /usr/share/ansible/roles/ipaclient/tasks/install.yml:109 Saturday 27 July 2024 08:38:00 -0400 (0:00:00.031) 0:07:53.791 ********* ok: [managed_node1] => { "ca_crt_exists": true, "changed": false, "krb5_conf_ok": true, "krb5_keytab_ok": true, "ping_test_ok": true } TASK [ipaclient : Install - Disable One-Time Password for client with working krb5.keytab] *** task path: /usr/share/ansible/roles/ipaclient/tasks/install.yml:119 Saturday 27 July 2024 08:38:02 -0400 (0:00:02.183) 0:07:55.975 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ipaclient_use_otp | bool and result_ipaclient_test_keytab.krb5_keytab_ok and not ipaclient_force_join | bool", "skip_reason": "Conditional result was False" } TASK [ipaclient : Install - Keytab or password is required for getting otp] **** task path: /usr/share/ansible/roles/ipaclient/tasks/install.yml:137 Saturday 27 July 2024 08:38:02 -0400 (0:00:00.031) 0:07:56.006 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ipaclient_use_otp | bool and ipaclient_otp is not defined", "skip_reason": "Conditional result was False" } TASK [ipaclient : Install - Create temporary file for keytab] ****************** task path: /usr/share/ansible/roles/ipaclient/tasks/install.yml:142 Saturday 27 July 2024 08:38:02 -0400 (0:00:00.030) 0:07:56.037 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ipaclient_use_otp | bool and ipaclient_otp is not defined", "skip_reason": "Conditional result was False" } TASK [ipaclient : Install - Copy keytab to server temporary file] ************** task path: /usr/share/ansible/roles/ipaclient/tasks/install.yml:151 Saturday 27 July 2024 08:38:02 -0400 (0:00:00.035) 0:07:56.073 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ipaclient_use_otp | bool and ipaclient_otp is not defined", "skip_reason": "Conditional result was False" } TASK [ipaclient : Install - Get One-Time Password for client enrollment] ******* task path: /usr/share/ansible/roles/ipaclient/tasks/install.yml:159 Saturday 27 July 2024 08:38:02 -0400 (0:00:00.032) 0:07:56.106 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [ipaclient : Install - Store the previously obtained OTP] ***************** task path: /usr/share/ansible/roles/ipaclient/tasks/install.yml:169 Saturday 27 July 2024 08:38:02 -0400 (0:00:00.035) 0:07:56.141 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [ipaclient : Install - Remove keytab temporary file] ********************** task path: /usr/share/ansible/roles/ipaclient/tasks/install.yml:183 Saturday 27 July 2024 08:38:02 -0400 (0:00:00.033) 0:07:56.175 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ipaclient_use_otp | bool and ipaclient_otp is not defined", "skip_reason": "Conditional result was False" } TASK [ipaclient : Store predefined OTP in admin_password] ********************** task path: /usr/share/ansible/roles/ipaclient/tasks/install.yml:190 Saturday 27 July 2024 08:38:03 -0400 (0:00:00.033) 0:07:56.209 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [ipaclient : Install - Check if principal and keytab are set] ************* task path: /usr/share/ansible/roles/ipaclient/tasks/install.yml:208 Saturday 27 July 2024 08:38:03 -0400 (0:00:00.034) 0:07:56.244 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not ipaclient_on_master | bool", "skip_reason": "Conditional result was False" } TASK [ipaclient : Install - Check if one of password or keytabs are set] ******* task path: /usr/share/ansible/roles/ipaclient/tasks/install.yml:213 Saturday 27 July 2024 08:38:03 -0400 (0:00:00.031) 0:07:56.275 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not ipaclient_on_master | bool", "skip_reason": "Conditional result was False" } TASK [ipaclient : Install - From host keytab, purge TEST.LOCAL] **************** task path: /usr/share/ansible/roles/ipaclient/tasks/install.yml:221 Saturday 27 July 2024 08:38:03 -0400 (0:00:00.034) 0:07:56.309 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "(ipaclient_use_otp | bool or ipaclient_force_join | bool) and not ipaclient_on_master | bool", "skip_reason": "Conditional result was False" } TASK [ipaclient : Install - Backup and set hostname] *************************** task path: /usr/share/ansible/roles/ipaclient/tasks/install.yml:238 Saturday 27 July 2024 08:38:03 -0400 (0:00:00.030) 0:07:56.340 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not ipaclient_on_master | bool", "skip_reason": "Conditional result was False" } TASK [ipaclient : Install - Create temporary krb5 configuration] *************** task path: /usr/share/ansible/roles/ipaclient/tasks/install.yml:243 Saturday 27 July 2024 08:38:03 -0400 (0:00:00.033) 0:07:56.374 ********* ok: [managed_node1] => { "changed": false, "krb_name": "/tmp/tmp1nf598yz" } TASK [ipaclient : Install - Join IPA] ****************************************** task path: /usr/share/ansible/roles/ipaclient/tasks/install.yml:252 Saturday 27 July 2024 08:38:04 -0400 (0:00:01.076) 0:07:57.450 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not ipaclient_on_master | bool and (not result_ipaclient_test_keytab.krb5_keytab_ok or ipaclient_force_join)", "skip_reason": "Conditional result was False" } TASK [ipaclient : The krb5 configuration is not correct] *********************** task path: /usr/share/ansible/roles/ipaclient/tasks/install.yml:280 Saturday 27 July 2024 08:38:04 -0400 (0:00:00.031) 0:07:57.482 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not ipaclient_on_master | bool and not result_ipaclient_join.changed and not ipaclient_allow_repair | bool and (result_ipaclient_test_keytab.krb5_keytab_ok or (result_ipaclient_join.already_joined is defined and result_ipaclient_join.already_joined))", "skip_reason": "Conditional result was False" } TASK [ipaclient : IPA test failed] ********************************************* task path: /usr/share/ansible/roles/ipaclient/tasks/install.yml:286 Saturday 27 July 2024 08:38:04 -0400 (0:00:00.033) 0:07:57.516 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not ipaclient_on_master | bool and not result_ipaclient_join.changed and not ipaclient_allow_repair | bool and (result_ipaclient_test_keytab.krb5_keytab_ok or (result_ipaclient_join.already_joined is defined and result_ipaclient_join.already_joined))", "skip_reason": "Conditional result was False" } TASK [ipaclient : Fail due to missing ca.crt file] ***************************** task path: /usr/share/ansible/roles/ipaclient/tasks/install.yml:290 Saturday 27 July 2024 08:38:04 -0400 (0:00:00.031) 0:07:57.547 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not ipaclient_on_master | bool and not result_ipaclient_join.changed and not ipaclient_allow_repair | bool and (result_ipaclient_test_keytab.krb5_keytab_ok or (result_ipaclient_join.already_joined is defined and result_ipaclient_join.already_joined))", "skip_reason": "Conditional result was False" } TASK [ipaclient : Install - Configure IPA default.conf] ************************ task path: /usr/share/ansible/roles/ipaclient/tasks/install.yml:304 Saturday 27 July 2024 08:38:04 -0400 (0:00:00.032) 0:07:57.580 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not ipaclient_on_master | bool", "skip_reason": "Conditional result was False" } TASK [ipaclient : Install - Configure SSSD] ************************************ task path: /usr/share/ansible/roles/ipaclient/tasks/install.yml:313 Saturday 27 July 2024 08:38:04 -0400 (0:00:00.034) 0:07:57.615 ********* changed: [managed_node1] => { "changed": true } TASK [ipaclient : Install - IPA API calls for remaining enrollment parts] ****** task path: /usr/share/ansible/roles/ipaclient/tasks/install.yml:335 Saturday 27 July 2024 08:38:05 -0400 (0:00:01.087) 0:07:58.702 ********* changed: [managed_node1] => { "ca_enabled": true, "changed": true, "subject_base": "O=TEST.LOCAL" } TASK [ipaclient : Install - Fix IPA ca] **************************************** task path: /usr/share/ansible/roles/ipaclient/tasks/install.yml:344 Saturday 27 July 2024 08:38:08 -0400 (0:00:03.121) 0:08:01.823 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not ipaclient_on_master | bool and result_ipaclient_test_keytab.krb5_keytab_ok and not result_ipaclient_test_keytab.ca_crt_exists", "skip_reason": "Conditional result was False" } TASK [ipaclient : Install - Create IPA NSS database] *************************** task path: /usr/share/ansible/roles/ipaclient/tasks/install.yml:355 Saturday 27 July 2024 08:38:08 -0400 (0:00:00.035) 0:08:01.859 ********* changed: [managed_node1] => { "ca_enabled_ra": true, "changed": true } TASK [ipaclient : Install - Configure SSH and SSHD] **************************** task path: /usr/share/ansible/roles/ipaclient/tasks/install.yml:390 Saturday 27 July 2024 08:38:17 -0400 (0:00:08.642) 0:08:10.501 ********* changed: [managed_node1] => { "changed": true } TASK [ipaclient : Install - Configure automount] ******************************* task path: /usr/share/ansible/roles/ipaclient/tasks/install.yml:398 Saturday 27 July 2024 08:38:18 -0400 (0:00:01.150) 0:08:11.652 ********* ok: [managed_node1] => { "changed": false } TASK [ipaclient : Install - Configure firefox] ********************************* task path: /usr/share/ansible/roles/ipaclient/tasks/install.yml:404 Saturday 27 July 2024 08:38:19 -0400 (0:00:01.069) 0:08:12.721 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ipaclient_configure_firefox | bool", "skip_reason": "Conditional result was False" } TASK [ipaclient : Install - Configure NIS] ************************************* task path: /usr/share/ansible/roles/ipaclient/tasks/install.yml:410 Saturday 27 July 2024 08:38:19 -0400 (0:00:00.036) 0:08:12.758 ********* changed: [managed_node1] => { "changed": true } TASK [ipaclient : Remove temporary krb5.conf] ********************************** task path: /usr/share/ansible/roles/ipaclient/tasks/install.yml:416 Saturday 27 July 2024 08:38:21 -0400 (0:00:01.593) 0:08:14.352 ********* changed: [managed_node1] => { "changed": true, "path": "/tmp/tmp1nf598yz", "state": "absent" } TASK [ipaclient : Install - Configure krb5 for IPA realm] ********************** task path: /usr/share/ansible/roles/ipaclient/tasks/install.yml:422 Saturday 27 July 2024 08:38:21 -0400 (0:00:00.462) 0:08:14.814 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not ipaclient_on_master | bool", "skip_reason": "Conditional result was False" } TASK [ipaclient : Install - Configure certmonger] ****************************** task path: /usr/share/ansible/roles/ipaclient/tasks/install.yml:436 Saturday 27 July 2024 08:38:21 -0400 (0:00:00.037) 0:08:14.851 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not ipaclient_on_master | bool", "skip_reason": "Conditional result was False" } TASK [ipaclient : Install - Restore original admin password if overwritten by OTP] *** task path: /usr/share/ansible/roles/ipaclient/tasks/install.yml:446 Saturday 27 July 2024 08:38:21 -0400 (0:00:00.035) 0:08:14.887 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [ipaclient : Cleanup leftover ccache] ************************************* task path: /usr/share/ansible/roles/ipaclient/tasks/install.yml:452 Saturday 27 July 2024 08:38:21 -0400 (0:00:00.036) 0:08:14.923 ********* ok: [managed_node1] => { "changed": false, "path": "/etc/ipa/.dns_ccache", "state": "absent" } TASK [ipaclient : Remove temporary krb5.conf] ********************************** task path: /usr/share/ansible/roles/ipaclient/tasks/install.yml:457 Saturday 27 July 2024 08:38:22 -0400 (0:00:00.450) 0:08:15.374 ********* ok: [managed_node1] => { "changed": false, "path": "/tmp/tmp1nf598yz", "state": "absent" } TASK [ipaclient : Remove temporary krb5.conf backup] *************************** task path: /usr/share/ansible/roles/ipaclient/tasks/install.yml:463 Saturday 27 July 2024 08:38:22 -0400 (0:00:00.445) 0:08:15.819 ********* changed: [managed_node1] => { "changed": true, "path": "/tmp/tmp1nf598yz.ipabkp", "state": "absent" } TASK [ipaclient : Uninstall IPA client] **************************************** task path: /usr/share/ansible/roles/ipaclient/tasks/main.yml:23 Saturday 27 July 2024 08:38:23 -0400 (0:00:00.450) 0:08:16.269 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "state|default('present') == 'absent'", "skip_reason": "Conditional result was False" } TASK [ipaserver : Install - Enable IPA] **************************************** task path: /usr/share/ansible/roles/ipaserver/tasks/install.yml:437 Saturday 27 July 2024 08:38:23 -0400 (0:00:00.034) 0:08:16.304 ********* changed: [managed_node1] => { "changed": true } TASK [ipaserver : Install - Configure firewalld] ******************************* task path: /usr/share/ansible/roles/ipaserver/tasks/install.yml:444 Saturday 27 July 2024 08:38:29 -0400 (0:00:06.044) 0:08:22.349 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--zone=", "--add-service=freeipa-ldap", "--add-service=freeipa-ldaps", "--add-service=ntp" ], "delta": "0:00:00.320300", "end": "2024-07-27 08:38:29.970013", "rc": 0, "start": "2024-07-27 08:38:29.649713" } STDOUT: success TASK [ipaserver : Install - Configure firewalld runtime] *********************** task path: /usr/share/ansible/roles/ipaserver/tasks/install.yml:458 Saturday 27 July 2024 08:38:30 -0400 (0:00:00.877) 0:08:23.227 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "firewall-cmd", "--zone=", "--add-service=freeipa-ldap", "--add-service=freeipa-ldaps", "--add-service=ntp" ], "delta": "0:00:00.297591", "end": "2024-07-27 08:38:30.710243", "rc": 0, "start": "2024-07-27 08:38:30.412652" } STDOUT: success TASK [ipaserver : Install - Cleanup root IPA cache] **************************** task path: /usr/share/ansible/roles/ipaserver/tasks/install.yml:472 Saturday 27 July 2024 08:38:30 -0400 (0:00:00.738) 0:08:23.965 ********* ok: [managed_node1] => { "changed": false, "path": "/root/.ipa_cache", "state": "absent" } TASK [ipaserver : Cleanup temporary files] ************************************* task path: /usr/share/ansible/roles/ipaserver/tasks/install.yml:477 Saturday 27 July 2024 08:38:31 -0400 (0:00:00.446) 0:08:24.411 ********* ok: [managed_node1] => (item=/etc/ipa/.tmp_pkcs12_dirsrv) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/ipa/.tmp_pkcs12_dirsrv", "path": "/etc/ipa/.tmp_pkcs12_dirsrv", "state": "absent" } ok: [managed_node1] => (item=/etc/ipa/.tmp_pkcs12_http) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/ipa/.tmp_pkcs12_http", "path": "/etc/ipa/.tmp_pkcs12_http", "state": "absent" } ok: [managed_node1] => (item=/etc/ipa/.tmp_pkcs12_pkinit) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/ipa/.tmp_pkcs12_pkinit", "path": "/etc/ipa/.tmp_pkcs12_pkinit", "state": "absent" } TASK [ipaserver : Uninstall IPA server] **************************************** task path: /usr/share/ansible/roles/ipaserver/tasks/main.yml:23 Saturday 27 July 2024 08:38:32 -0400 (0:00:01.293) 0:08:25.705 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "state|default('present') == 'absent'", "skip_reason": "Conditional result was False" } TASK [Issue IPA signed certificates] ******************************************* task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_basic_ipa.yml:25 Saturday 27 July 2024 08:38:32 -0400 (0:00:00.025) 0:08:25.730 ********* included: fedora.linux_system_roles.certificate for managed_node1 TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Saturday 27 July 2024 08:38:32 -0400 (0:00:00.050) 0:08:25.780 ********* included: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.certificate : Ensure ansible_facts used by role] *** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Saturday 27 July 2024 08:38:32 -0400 (0:00:00.023) 0:08:25.804 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__certificate_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Check if system is ostree] ******* task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Saturday 27 July 2024 08:38:32 -0400 (0:00:00.026) 0:08:25.831 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Set flag to indicate system is ostree] *** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Saturday 27 July 2024 08:38:32 -0400 (0:00:00.020) 0:08:25.851 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Set platform/version specific variables] *** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Saturday 27 July 2024 08:38:32 -0400 (0:00:00.022) 0:08:25.874 ********* skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [managed_node1] => (item=Fedora.yml) => { "ansible_facts": { "__certificate_certmonger_packages": [ "certmonger", "python3-packaging" ] }, "ansible_included_var_files": [ "/tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/roles/certificate/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [managed_node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed] *** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Saturday 27 July 2024 08:38:32 -0400 (0:00:00.041) 0:08:25.916 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: python3-cryptography python3-dbus python3-pyasn1 TASK [fedora.linux_system_roles.certificate : Ensure provider packages are installed] *** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Saturday 27 July 2024 08:38:34 -0400 (0:00:02.016) 0:08:27.933 ********* ok: [managed_node1] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: certmonger python3-packaging TASK [fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists] *** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Saturday 27 July 2024 08:38:36 -0400 (0:00:02.023) 0:08:29.957 ********* ok: [managed_node1] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/etc/certmonger//pre-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists] *** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Saturday 27 July 2024 08:38:37 -0400 (0:00:00.472) 0:08:30.429 ********* ok: [managed_node1] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/etc/certmonger//post-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure provider service is running] *** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Saturday 27 July 2024 08:38:37 -0400 (0:00:00.462) 0:08:30.892 ********* ok: [managed_node1] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "enabled": true, "name": "certmonger", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:certmonger_unit_file_t:s0", "ActiveEnterTimestamp": "Sat 2024-07-27 08:29:36 EDT", "ActiveEnterTimestampMonotonic": "285555148", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.socket systemd-journald.socket network.target basic.target dbus-broker.service system.slice sysinit.target syslog.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-07-27 08:29:36 EDT", "AssertTimestampMonotonic": "285518681", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedorahosted.certmonger", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "64001762000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-07-27 08:29:36 EDT", "ConditionTimestampMonotonic": "285518677", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/certmonger.service", "ControlGroupId": "5090", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "DefaultStartupMemoryLow": "0", "Delegate": "no", "Description": "Certificate monitoring and PKI enrollment", "DevicePolicy": "auto", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "EnvironmentFiles": "/etc/sysconfig/certmonger (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "2410", "ExecMainStartTimestamp": "Sat 2024-07-27 08:29:36 EDT", "ExecMainStartTimestampMonotonic": "285527546", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /run/certmonger.pid -n $OPTS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /run/certmonger.pid -n $OPTS ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "ExtensionImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FileDescriptorStorePreserve": "restart", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/certmonger.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "certmonger.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2024-07-27 08:29:36 EDT", "InactiveExitTimestampMonotonic": "285528125", "InvocationID": "6ec68ad02034405aae9bead40b066e84", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "14754", "LimitNPROCSoft": "14754", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14754", "LimitSIGPENDINGSoft": "14754", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "2410", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "4784128", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryKSM": "no", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPressureThresholdUSec": "200ms", "MemoryPressureWatch": "auto", "MemorySwapMax": "infinity", "MemoryZSwapMax": "infinity", "MountAPIVFS": "no", "MountImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "certmonger.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "PIDFile": "/run/certmonger.pid", "PartOf": "dbus-broker.service", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket system.slice sysinit.target", "Restart": "no", "RestartKillSignal": "15", "RestartMaxDelayUSec": "infinity", "RestartMode": "normal", "RestartSteps": "0", "RestartUSec": "100ms", "RestartUSecNext": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RootEphemeral": "no", "RootImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StartupMemoryHigh": "18446744073709551615", "StartupMemoryLow": "0", "StartupMemoryMax": "18446744073709551615", "StartupMemorySwapMax": "18446744073709551615", "StartupMemoryZSwapMax": "18446744073709551615", "StateChangeTimestamp": "Sat 2024-07-27 08:38:26 EDT", "StateChangeTimestampMonotonic": "815658678", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "1", "TasksMax": "4426", "TimeoutAbortUSec": "45s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "45s", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "45s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.certificate : Ensure certificate requests] ***** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Saturday 27 July 2024 08:38:38 -0400 (0:00:00.658) 0:08:31.550 ********* changed: [managed_node1] => (item={'name': 'mycert_basic_ipa', 'dns': 'ipaserver.test.local', 'principal': 'HTTP/ipaserver.test.local@TEST.LOCAL', 'ca': 'ipa'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ca": "ipa", "dns": "ipaserver.test.local", "name": "mycert_basic_ipa", "principal": "HTTP/ipaserver.test.local@TEST.LOCAL" } } MSG: Certificate requested (new). changed: [managed_node1] => (item={'name': 'groupcert', 'dns': 'ipaserver.test.local', 'principal': 'HTTP/ipaserver.test.local@TEST.LOCAL', 'ca': 'ipa', 'group': 'ftp'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ca": "ipa", "dns": "ipaserver.test.local", "group": "ftp", "name": "groupcert", "principal": "HTTP/ipaserver.test.local@TEST.LOCAL" } } MSG: Certificate requested (new). File attributes updated. TASK [fedora.linux_system_roles.certificate : Slurp the contents of the files] *** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Saturday 27 July 2024 08:38:42 -0400 (0:00:04.457) 0:08:36.007 ********* skipping: [managed_node1] => (item=['cert', {'name': 'mycert_basic_ipa', 'dns': 'ipaserver.test.local', 'principal': 'HTTP/ipaserver.test.local@TEST.LOCAL', 'ca': 'ipa'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "cert", { "ca": "ipa", "dns": "ipaserver.test.local", "name": "mycert_basic_ipa", "principal": "HTTP/ipaserver.test.local@TEST.LOCAL" } ], "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=['cert', {'name': 'groupcert', 'dns': 'ipaserver.test.local', 'principal': 'HTTP/ipaserver.test.local@TEST.LOCAL', 'ca': 'ipa', 'group': 'ftp'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "cert", { "ca": "ipa", "dns": "ipaserver.test.local", "group": "ftp", "name": "groupcert", "principal": "HTTP/ipaserver.test.local@TEST.LOCAL" } ], "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=['key', {'name': 'mycert_basic_ipa', 'dns': 'ipaserver.test.local', 'principal': 'HTTP/ipaserver.test.local@TEST.LOCAL', 'ca': 'ipa'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "key", { "ca": "ipa", "dns": "ipaserver.test.local", "name": "mycert_basic_ipa", "principal": "HTTP/ipaserver.test.local@TEST.LOCAL" } ], "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=['key', {'name': 'groupcert', 'dns': 'ipaserver.test.local', 'principal': 'HTTP/ipaserver.test.local@TEST.LOCAL', 'ca': 'ipa', 'group': 'ftp'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "key", { "ca": "ipa", "dns": "ipaserver.test.local", "group": "ftp", "name": "groupcert", "principal": "HTTP/ipaserver.test.local@TEST.LOCAL" } ], "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=['ca', {'name': 'mycert_basic_ipa', 'dns': 'ipaserver.test.local', 'principal': 'HTTP/ipaserver.test.local@TEST.LOCAL', 'ca': 'ipa'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "ca", { "ca": "ipa", "dns": "ipaserver.test.local", "name": "mycert_basic_ipa", "principal": "HTTP/ipaserver.test.local@TEST.LOCAL" } ], "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=['ca', {'name': 'groupcert', 'dns': 'ipaserver.test.local', 'principal': 'HTTP/ipaserver.test.local@TEST.LOCAL', 'ca': 'ipa', 'group': 'ftp'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "ca", { "ca": "ipa", "dns": "ipaserver.test.local", "group": "ftp", "name": "groupcert", "principal": "HTTP/ipaserver.test.local@TEST.LOCAL" } ], "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.certificate : Create return data] ************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Saturday 27 July 2024 08:38:42 -0400 (0:00:00.049) 0:08:36.057 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "certificate_test_mode | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Stop tracking certificates] ****** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Saturday 27 July 2024 08:38:42 -0400 (0:00:00.024) 0:08:36.081 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "certificate_test_mode | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Remove files] ******************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Saturday 27 July 2024 08:38:42 -0400 (0:00:00.025) 0:08:36.107 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "certificate_test_mode | d(false)", "skip_reason": "Conditional result was False" } TASK [Verify certificates] ***************************************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_basic_ipa.yml:41 Saturday 27 July 2024 08:38:42 -0400 (0:00:00.033) 0:08:36.141 ********* included: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed_node1 => (item={'path': '/etc/pki/tls/certs/mycert_basic_ipa.crt', 'key_path': '/etc/pki/tls/private/mycert_basic_ipa.key', 'subject': [{'name': 'commonName', 'oid': '2.5.4.3', 'value': 'ipaserver.test.local'}, {'name': 'organizationName', 'oid': '2.5.4.10', 'value': 'TEST.LOCAL'}], 'subject_alt_name': [{'name': 'DNS', 'value': 'ipaserver.test.local'}, {'name': 'Universal Principal Name (UPN)', 'oid': '1.3.6.1.4.1.311.20.2.3', 'value': 'HTTP/ipaserver.test.local@TEST.LOCAL'}, {'name': 'Kerberos principalname', 'oid': '1.3.6.1.5.2.2', 'value': 'HTTP/ipaserver.test.local@TEST.LOCAL'}], 'key_usage': ['digital_signature', 'content_commitment', 'key_encipherment', 'data_encipherment']}) included: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed_node1 => (item={'path': '/etc/pki/tls/certs/groupcert.crt', 'key_path': '/etc/pki/tls/private/groupcert.key', 'owner': 'root', 'group': 'ftp', 'mode': '0640', 'subject': [{'name': 'commonName', 'oid': '2.5.4.3', 'value': 'ipaserver.test.local'}, {'name': 'organizationName', 'oid': '2.5.4.10', 'value': 'TEST.LOCAL'}], 'subject_alt_name': [{'name': 'DNS', 'value': 'ipaserver.test.local'}, {'name': 'Universal Principal Name (UPN)', 'oid': '1.3.6.1.4.1.311.20.2.3', 'value': 'HTTP/ipaserver.test.local@TEST.LOCAL'}, {'name': 'Kerberos principalname', 'oid': '1.3.6.1.5.2.2', 'value': 'HTTP/ipaserver.test.local@TEST.LOCAL'}], 'key_usage': ['digital_signature', 'content_commitment', 'key_encipherment', 'data_encipherment']}) TASK [Set virtualenv_path] ***************************************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Saturday 27 July 2024 08:38:43 -0400 (0:00:00.073) 0:08:36.215 ********* ok: [managed_node1] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Saturday 27 July 2024 08:38:43 -0400 (0:00:00.017) 0:08:36.232 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Saturday 27 July 2024 08:38:43 -0400 (0:00:00.021) 0:08:36.254 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Saturday 27 July 2024 08:38:43 -0400 (0:00:00.019) 0:08:36.273 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == \"7\"", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Saturday 27 July 2024 08:38:43 -0400 (0:00:00.014) 0:08:36.288 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: python3-cryptography python3-pyasn1 TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Saturday 27 July 2024 08:38:45 -0400 (0:00:02.000) 0:08:38.288 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722083920.7417064, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a586cf28af846b7a691ea34b0e57a3d7faf74b45", "ctime": 1722083920.7377064, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 205790, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722083920.7377064, "nlink": 1, "path": "/etc/pki/tls/certs/mycert_basic_ipa.crt", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1854, "uid": 0, "version": "1311871229", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Saturday 27 July 2024 08:38:45 -0400 (0:00:00.439) 0:08:38.728 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Saturday 27 July 2024 08:38:45 -0400 (0:00:00.023) 0:08:38.751 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Saturday 27 July 2024 08:38:45 -0400 (0:00:00.030) 0:08:38.782 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Saturday 27 July 2024 08:38:45 -0400 (0:00:00.027) 0:08:38.810 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722083919.1567237, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "0defde0d36be975f2ddd1654315485005da76b52", "ctime": 1722083920.7377064, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 205789, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722083920.7377064, "nlink": 1, "path": "/etc/pki/tls/private/mycert_basic_ipa.key", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1704, "uid": 0, "version": "1991481068", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Saturday 27 July 2024 08:38:46 -0400 (0:00:00.441) 0:08:39.251 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Saturday 27 July 2024 08:38:46 -0400 (0:00:00.020) 0:08:39.271 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Saturday 27 July 2024 08:38:46 -0400 (0:00:00.030) 0:08:39.302 ********* ok: [managed_node1] => { "certificate": { "extensions": { "authorityInfoAccess": { "critical": false, "value": [ { "location": "http://ipa-ca.test.local/ca/ocsp", "method": "OCSP" } ] }, "authorityKeyIdentifier": { "critical": false, "value": "71:93:AF:FE:B5:4D:AD:0D:BD:D0:B4:77:09:F9:22:20:36:38:C3:A0" }, "cRLDistributionPoints": { "critical": false, "value": [ { "crl_issuer": [ { "commonName": "Certificate Authority", "organizationName": "ipaca" } ], "full_name": [ "http://ipa-ca.test.local/ipa/crl/MasterCRL.bin" ] } ] }, "extendedKeyUsage": { "critical": false, "value": [ { "name": "id-kp-serverAuth", "oid": "1.3.6.1.5.5.7.3.1" }, { "name": "id-kp-clientAuth", "oid": "1.3.6.1.5.5.7.3.2" } ] }, "keyUsage": { "critical": true, "value": [ "digital_signature", "content_commitment", "key_encipherment", "data_encipherment" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "ipaserver.test.local" }, { "name": "Universal Principal Name (UPN)", "oid": "1.3.6.1.4.1.311.20.2.3", "value": "HTTP/ipaserver.test.local@TEST.LOCAL" }, { "name": "Kerberos principalname", "oid": "1.3.6.1.5.2.2", "value": "HTTP/ipaserver.test.local@TEST.LOCAL" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "C7:2B:99:37:BC:E3:E2:FA:E6:62:34:BA:91:0F:C7:60:2D:14:2C:06" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "AF:C1:83:06:31:94:D1:56:C2:7B:E9:51:18:E9:9F:0F:E2:27:2F:62:C1:30:96:3B:7D:F6:62:1C:3D:22:51:2B:9A:42:9B:42:16:88:3E:13:B9:D5:25:D0:4A:A5:75:9A:71:B4:79:AF:CB:E0:20:34:E1:B5:15:6B:96:72:BD:9D:16:0D:4E:37:1C:5A:8F:DB:26:E1:9B:20:C1:E9:37:E7:A0:D8:42:FD:07:60:BE:74:DE:D0:84:F7:C3:51:10:23:E0:AB:02:47:54:D2:BE:E6:02:8E:07:EF:28:0A:BB:BD:45:40:B4:D3:F3:0B:21:70:6E:1E:C8:79:33:04:F4:98:EC:AF:FA:5A:28:09:4B:9D:96:34:BC:06:CD:0E:2F:A3:96:E3:FB:69:5D:41:F5:F0:C5:9F:E3:F5:BC:28:63:DA:81:18:F5:D0:69:4B:B2:0D:B9:83:9D:7E:65:99:DF:1A:0D:C6:77:DF:87:FE:8A:62:0F:D6:70:89:8B:63:4D:EF:99:54:81:C4:BC:C1:86:8C:5D:7D:FB:98:FC:0A:4E:37:98:F1:A0:05:4E:56:15:81:8B:C6:AB:98:40:1D:81:25:46:9A:4A:79:3E:F1:F4:21:76:5B:08:B0:8F:D6:F1:81:C5:1B:42:28:24:CD:31:09:BB:A2:FE:C8:EE:4D:5A:85:86:4E:70:7C:F8:EF:42:3D:1E:25:C3:B9:C7:4C:B8:FA:7E:88:D1:5E:9A:94:61:DF:BB:EC:E6:20:C7:30:4E:57:C7:65:76:1F:03:EC:32:40:99:D5:02:FA:79:7F:26:9A:05:A1:0B:3A:C0:B0:C2:12:73:09:C5:3E:94:5B:35:31:D3:CC:E9:9D:BE:25:93:BD:4D:8B:00:95:48:A4:62:DE:4C:0C:9E:8C:D4:04:6D:D2:BA:5E:29:44:4C:0C:3D:C7:F1:D7:F6:D1:FD:AE:95:8A:D6:5C:EF:EA:27:FC:46:17:53:71:F5:3A:F3:02:0F:B9:03:10:B2:8C:27:FA:F4:5D" }, "subject": [ { "name": "organizationName", "oid": "2.5.4.10", "value": "TEST.LOCAL" }, { "name": "commonName", "oid": "2.5.4.3", "value": "ipaserver.test.local" } ], "validity": { "not_valid_after": "20260728123840Z", "not_valid_before": "20240727123840Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Saturday 27 July 2024 08:38:46 -0400 (0:00:00.647) 0:08:39.949 ********* ok: [managed_node1] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityInfoAccess": { "critical": false, "value": [ { "location": "http://ipa-ca.test.local/ca/ocsp", "method": "OCSP" } ] }, "authorityKeyIdentifier": { "critical": false, "value": "71:93:AF:FE:B5:4D:AD:0D:BD:D0:B4:77:09:F9:22:20:36:38:C3:A0" }, "cRLDistributionPoints": { "critical": false, "value": [ { "crl_issuer": [ { "commonName": "Certificate Authority", "organizationName": "ipaca" } ], "full_name": [ "http://ipa-ca.test.local/ipa/crl/MasterCRL.bin" ] } ] }, "extendedKeyUsage": { "critical": false, "value": [ { "name": "id-kp-serverAuth", "oid": "1.3.6.1.5.5.7.3.1" }, { "name": "id-kp-clientAuth", "oid": "1.3.6.1.5.5.7.3.2" } ] }, "keyUsage": { "critical": true, "value": [ "digital_signature", "content_commitment", "key_encipherment", "data_encipherment" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "ipaserver.test.local" }, { "name": "Universal Principal Name (UPN)", "oid": "1.3.6.1.4.1.311.20.2.3", "value": "HTTP/ipaserver.test.local@TEST.LOCAL" }, { "name": "Kerberos principalname", "oid": "1.3.6.1.5.2.2", "value": "HTTP/ipaserver.test.local@TEST.LOCAL" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "C7:2B:99:37:BC:E3:E2:FA:E6:62:34:BA:91:0F:C7:60:2D:14:2C:06" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "AF:C1:83:06:31:94:D1:56:C2:7B:E9:51:18:E9:9F:0F:E2:27:2F:62:C1:30:96:3B:7D:F6:62:1C:3D:22:51:2B:9A:42:9B:42:16:88:3E:13:B9:D5:25:D0:4A:A5:75:9A:71:B4:79:AF:CB:E0:20:34:E1:B5:15:6B:96:72:BD:9D:16:0D:4E:37:1C:5A:8F:DB:26:E1:9B:20:C1:E9:37:E7:A0:D8:42:FD:07:60:BE:74:DE:D0:84:F7:C3:51:10:23:E0:AB:02:47:54:D2:BE:E6:02:8E:07:EF:28:0A:BB:BD:45:40:B4:D3:F3:0B:21:70:6E:1E:C8:79:33:04:F4:98:EC:AF:FA:5A:28:09:4B:9D:96:34:BC:06:CD:0E:2F:A3:96:E3:FB:69:5D:41:F5:F0:C5:9F:E3:F5:BC:28:63:DA:81:18:F5:D0:69:4B:B2:0D:B9:83:9D:7E:65:99:DF:1A:0D:C6:77:DF:87:FE:8A:62:0F:D6:70:89:8B:63:4D:EF:99:54:81:C4:BC:C1:86:8C:5D:7D:FB:98:FC:0A:4E:37:98:F1:A0:05:4E:56:15:81:8B:C6:AB:98:40:1D:81:25:46:9A:4A:79:3E:F1:F4:21:76:5B:08:B0:8F:D6:F1:81:C5:1B:42:28:24:CD:31:09:BB:A2:FE:C8:EE:4D:5A:85:86:4E:70:7C:F8:EF:42:3D:1E:25:C3:B9:C7:4C:B8:FA:7E:88:D1:5E:9A:94:61:DF:BB:EC:E6:20:C7:30:4E:57:C7:65:76:1F:03:EC:32:40:99:D5:02:FA:79:7F:26:9A:05:A1:0B:3A:C0:B0:C2:12:73:09:C5:3E:94:5B:35:31:D3:CC:E9:9D:BE:25:93:BD:4D:8B:00:95:48:A4:62:DE:4C:0C:9E:8C:D4:04:6D:D2:BA:5E:29:44:4C:0C:3D:C7:F1:D7:F6:D1:FD:AE:95:8A:D6:5C:EF:EA:27:FC:46:17:53:71:F5:3A:F3:02:0F:B9:03:10:B2:8C:27:FA:F4:5D" }, "subject": [ { "name": "organizationName", "oid": "2.5.4.10", "value": "TEST.LOCAL" }, { "name": "commonName", "oid": "2.5.4.3", "value": "ipaserver.test.local" } ], "validity": { "not_valid_after": "20260728123840Z", "not_valid_before": "20240727123840Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Saturday 27 July 2024 08:38:46 -0400 (0:00:00.022) 0:08:39.972 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Saturday 27 July 2024 08:38:46 -0400 (0:00:00.027) 0:08:40.000 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Saturday 27 July 2024 08:38:46 -0400 (0:00:00.020) 0:08:40.020 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Saturday 27 July 2024 08:38:46 -0400 (0:00:00.027) 0:08:40.047 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Saturday 27 July 2024 08:38:46 -0400 (0:00:00.030) 0:08:40.078 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Saturday 27 July 2024 08:38:46 -0400 (0:00:00.031) 0:08:40.110 ********* ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/mycert_basic_ipa.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "delta": "0:00:00.076487", "end": "2024-07-27 08:38:47.361066", "rc": 0, "start": "2024-07-27 08:38:47.284579" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Saturday 27 July 2024 08:38:47 -0400 (0:00:00.506) 0:08:40.616 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Saturday 27 July 2024 08:38:47 -0400 (0:00:00.028) 0:08:40.645 ********* ok: [managed_node1] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Saturday 27 July 2024 08:38:47 -0400 (0:00:00.017) 0:08:40.662 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Saturday 27 July 2024 08:38:47 -0400 (0:00:00.019) 0:08:40.682 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Saturday 27 July 2024 08:38:47 -0400 (0:00:00.021) 0:08:40.704 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == \"7\"", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Saturday 27 July 2024 08:38:47 -0400 (0:00:00.014) 0:08:40.718 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: python3-cryptography python3-pyasn1 TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Saturday 27 July 2024 08:38:49 -0400 (0:00:02.017) 0:08:42.735 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722083922.691685, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3794d68f34ea16da16048bd58107fb90944bbc1c", "ctime": 1722083922.7356846, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 50, "gr_name": "ftp", "inode": 205805, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0640", "mtime": 1722083922.687685, "nlink": 1, "path": "/etc/pki/tls/certs/groupcert.crt", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 1854, "uid": 0, "version": "743464039", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Saturday 27 July 2024 08:38:49 -0400 (0:00:00.441) 0:08:43.177 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Saturday 27 July 2024 08:38:50 -0400 (0:00:00.020) 0:08:43.198 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Saturday 27 July 2024 08:38:50 -0400 (0:00:00.079) 0:08:43.277 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Saturday 27 July 2024 08:38:50 -0400 (0:00:00.028) 0:08:43.305 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722083921.5596974, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "f3f91d956e0d7356e62ecc16b4422fdffc44fa3e", "ctime": 1722083922.7356846, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 50, "gr_name": "ftp", "inode": 205791, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0640", "mtime": 1722083922.687685, "nlink": 1, "path": "/etc/pki/tls/private/groupcert.key", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 1704, "uid": 0, "version": "1689455544", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Saturday 27 July 2024 08:38:50 -0400 (0:00:00.446) 0:08:43.752 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Saturday 27 July 2024 08:38:50 -0400 (0:00:00.021) 0:08:43.773 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Saturday 27 July 2024 08:38:50 -0400 (0:00:00.029) 0:08:43.802 ********* ok: [managed_node1] => { "certificate": { "extensions": { "authorityInfoAccess": { "critical": false, "value": [ { "location": "http://ipa-ca.test.local/ca/ocsp", "method": "OCSP" } ] }, "authorityKeyIdentifier": { "critical": false, "value": "71:93:AF:FE:B5:4D:AD:0D:BD:D0:B4:77:09:F9:22:20:36:38:C3:A0" }, "cRLDistributionPoints": { "critical": false, "value": [ { "crl_issuer": [ { "commonName": "Certificate Authority", "organizationName": "ipaca" } ], "full_name": [ "http://ipa-ca.test.local/ipa/crl/MasterCRL.bin" ] } ] }, "extendedKeyUsage": { "critical": false, "value": [ { "name": "id-kp-serverAuth", "oid": "1.3.6.1.5.5.7.3.1" }, { "name": "id-kp-clientAuth", "oid": "1.3.6.1.5.5.7.3.2" } ] }, "keyUsage": { "critical": true, "value": [ "digital_signature", "content_commitment", "key_encipherment", "data_encipherment" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "ipaserver.test.local" }, { "name": "Universal Principal Name (UPN)", "oid": "1.3.6.1.4.1.311.20.2.3", "value": "HTTP/ipaserver.test.local@TEST.LOCAL" }, { "name": "Kerberos principalname", "oid": "1.3.6.1.5.2.2", "value": "HTTP/ipaserver.test.local@TEST.LOCAL" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "2F:49:85:98:A3:5B:ED:C2:10:40:FF:BF:39:31:B2:CE:C5:0E:23:94" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "2B:F4:E8:3A:7D:5E:ED:57:4E:DA:C1:98:38:FD:1A:32:42:8E:CE:56:BC:E7:3E:E0:35:1C:4D:6E:91:13:09:80:5D:D3:D1:F2:C6:81:97:46:DE:E3:51:60:2F:56:0B:EA:15:C2:B4:66:5A:EC:AA:86:1C:8A:4C:4F:52:68:B6:54:4F:C0:EB:37:28:59:74:19:5B:09:F7:65:D3:AF:5E:40:04:8D:EE:8A:7B:1A:5D:07:5F:E2:3B:07:94:A8:D8:5D:C7:12:81:24:4E:57:08:AB:AE:D9:7B:36:53:9D:40:CC:2B:8D:D8:34:83:AF:59:65:D9:58:E8:E1:1F:1D:E5:6B:FF:F3:75:10:50:51:AC:CF:D7:1F:1F:0D:47:E5:EE:3F:3A:89:99:B9:2F:20:42:6B:3C:0E:18:36:2E:AF:2D:D5:A6:F0:06:EE:79:D4:20:D5:A5:31:F1:C1:83:A3:58:93:32:6A:68:EC:33:9A:2D:F2:CF:86:4A:83:05:47:BF:A8:F4:32:82:44:E7:1B:D0:7C:25:67:4F:5A:CB:B4:3A:70:41:62:19:C2:77:33:1E:12:6C:F9:CB:28:C8:5A:BD:D6:E2:3E:60:8C:67:3B:D8:B2:8E:3F:AE:F9:E2:0B:26:C8:5C:15:74:6C:9B:93:3E:F7:66:7D:31:22:22:F9:FB:D2:E2:BF:02:D0:E8:D0:24:B1:AC:15:9D:8D:3D:7E:92:CA:D3:06:ED:29:CA:5B:27:3B:E6:76:A0:21:4A:2D:77:48:45:67:4A:9C:46:2E:76:16:D5:C7:4F:EE:25:A5:0A:30:F3:DA:5D:C3:27:37:9B:83:50:1B:B3:A3:68:E1:14:A4:83:92:81:6E:54:72:41:5A:4A:53:A6:1B:23:67:1B:1D:11:40:99:60:6B:A3:D4:4B:C6:14:31:D5:DD:20:CE:8D:F3:81:54:B1:D1:FB:A5:A3:08:B3:53:4D:E8:4E:81:B0:1B:69:98:9A:1A:EB:EE:0A:72:B4:95:28:9B:C7:83:66" }, "subject": [ { "name": "organizationName", "oid": "2.5.4.10", "value": "TEST.LOCAL" }, { "name": "commonName", "oid": "2.5.4.3", "value": "ipaserver.test.local" } ], "validity": { "not_valid_after": "20260728123842Z", "not_valid_before": "20240727123842Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Saturday 27 July 2024 08:38:51 -0400 (0:00:00.516) 0:08:44.318 ********* ok: [managed_node1] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityInfoAccess": { "critical": false, "value": [ { "location": "http://ipa-ca.test.local/ca/ocsp", "method": "OCSP" } ] }, "authorityKeyIdentifier": { "critical": false, "value": "71:93:AF:FE:B5:4D:AD:0D:BD:D0:B4:77:09:F9:22:20:36:38:C3:A0" }, "cRLDistributionPoints": { "critical": false, "value": [ { "crl_issuer": [ { "commonName": "Certificate Authority", "organizationName": "ipaca" } ], "full_name": [ "http://ipa-ca.test.local/ipa/crl/MasterCRL.bin" ] } ] }, "extendedKeyUsage": { "critical": false, "value": [ { "name": "id-kp-serverAuth", "oid": "1.3.6.1.5.5.7.3.1" }, { "name": "id-kp-clientAuth", "oid": "1.3.6.1.5.5.7.3.2" } ] }, "keyUsage": { "critical": true, "value": [ "digital_signature", "content_commitment", "key_encipherment", "data_encipherment" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "ipaserver.test.local" }, { "name": "Universal Principal Name (UPN)", "oid": "1.3.6.1.4.1.311.20.2.3", "value": "HTTP/ipaserver.test.local@TEST.LOCAL" }, { "name": "Kerberos principalname", "oid": "1.3.6.1.5.2.2", "value": "HTTP/ipaserver.test.local@TEST.LOCAL" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "2F:49:85:98:A3:5B:ED:C2:10:40:FF:BF:39:31:B2:CE:C5:0E:23:94" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "2B:F4:E8:3A:7D:5E:ED:57:4E:DA:C1:98:38:FD:1A:32:42:8E:CE:56:BC:E7:3E:E0:35:1C:4D:6E:91:13:09:80:5D:D3:D1:F2:C6:81:97:46:DE:E3:51:60:2F:56:0B:EA:15:C2:B4:66:5A:EC:AA:86:1C:8A:4C:4F:52:68:B6:54:4F:C0:EB:37:28:59:74:19:5B:09:F7:65:D3:AF:5E:40:04:8D:EE:8A:7B:1A:5D:07:5F:E2:3B:07:94:A8:D8:5D:C7:12:81:24:4E:57:08:AB:AE:D9:7B:36:53:9D:40:CC:2B:8D:D8:34:83:AF:59:65:D9:58:E8:E1:1F:1D:E5:6B:FF:F3:75:10:50:51:AC:CF:D7:1F:1F:0D:47:E5:EE:3F:3A:89:99:B9:2F:20:42:6B:3C:0E:18:36:2E:AF:2D:D5:A6:F0:06:EE:79:D4:20:D5:A5:31:F1:C1:83:A3:58:93:32:6A:68:EC:33:9A:2D:F2:CF:86:4A:83:05:47:BF:A8:F4:32:82:44:E7:1B:D0:7C:25:67:4F:5A:CB:B4:3A:70:41:62:19:C2:77:33:1E:12:6C:F9:CB:28:C8:5A:BD:D6:E2:3E:60:8C:67:3B:D8:B2:8E:3F:AE:F9:E2:0B:26:C8:5C:15:74:6C:9B:93:3E:F7:66:7D:31:22:22:F9:FB:D2:E2:BF:02:D0:E8:D0:24:B1:AC:15:9D:8D:3D:7E:92:CA:D3:06:ED:29:CA:5B:27:3B:E6:76:A0:21:4A:2D:77:48:45:67:4A:9C:46:2E:76:16:D5:C7:4F:EE:25:A5:0A:30:F3:DA:5D:C3:27:37:9B:83:50:1B:B3:A3:68:E1:14:A4:83:92:81:6E:54:72:41:5A:4A:53:A6:1B:23:67:1B:1D:11:40:99:60:6B:A3:D4:4B:C6:14:31:D5:DD:20:CE:8D:F3:81:54:B1:D1:FB:A5:A3:08:B3:53:4D:E8:4E:81:B0:1B:69:98:9A:1A:EB:EE:0A:72:B4:95:28:9B:C7:83:66" }, "subject": [ { "name": "organizationName", "oid": "2.5.4.10", "value": "TEST.LOCAL" }, { "name": "commonName", "oid": "2.5.4.3", "value": "ipaserver.test.local" } ], "validity": { "not_valid_after": "20260728123842Z", "not_valid_before": "20240727123842Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Saturday 27 July 2024 08:38:51 -0400 (0:00:00.023) 0:08:44.342 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Saturday 27 July 2024 08:38:51 -0400 (0:00:00.028) 0:08:44.370 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Saturday 27 July 2024 08:38:51 -0400 (0:00:00.022) 0:08:44.392 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Saturday 27 July 2024 08:38:51 -0400 (0:00:00.031) 0:08:44.423 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Saturday 27 July 2024 08:38:51 -0400 (0:00:00.033) 0:08:44.457 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Saturday 27 July 2024 08:38:51 -0400 (0:00:00.032) 0:08:44.490 ********* ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/groupcert.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "delta": "0:00:00.076082", "end": "2024-07-27 08:38:51.740376", "rc": 0, "start": "2024-07-27 08:38:51.664294" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Saturday 27 July 2024 08:38:51 -0400 (0:00:00.505) 0:08:44.995 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* managed_node1 : ok=98 changed=25 unreachable=0 failed=0 skipped=58 rescued=0 ignored=0 Saturday 27 July 2024 08:38:51 -0400 (0:00:00.040) 0:08:45.036 ********* =============================================================================== ipaserver : Install - Setup CA ---------------------------------------- 247.17s /usr/share/ansible/roles/ipaserver/tasks/install.yml:270 ---------------------- ipaserver : Install - Ensure that IPA server packages are installed ---- 72.12s /usr/share/ansible/roles/ipaserver/tasks/install.yml:7 ------------------------ ipaserver : Install - Setup DS ----------------------------------------- 45.30s /usr/share/ansible/roles/ipaserver/tasks/install.yml:214 ---------------------- ipaserver : Install - Setup HTTP --------------------------------------- 40.40s /usr/share/ansible/roles/ipaserver/tasks/install.yml:329 ---------------------- Install ansible-freeipa ------------------------------------------------ 10.81s /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:18 ipaserver : Install - Setup KRB ---------------------------------------- 10.34s /usr/share/ansible/roles/ipaserver/tasks/install.yml:243 ---------------------- ipaserver : Install - Setup ADTRUST ------------------------------------ 10.19s /usr/share/ansible/roles/ipaserver/tasks/install.yml:389 ---------------------- ipaclient : Install - Create IPA NSS database --------------------------- 8.64s /usr/share/ansible/roles/ipaclient/tasks/install.yml:355 ---------------------- ipaserver : Install - Setup NTP ----------------------------------------- 8.04s /usr/share/ansible/roles/ipaserver/tasks/install.yml:207 ---------------------- ipaserver : Install - Enable IPA ---------------------------------------- 6.04s /usr/share/ansible/roles/ipaserver/tasks/install.yml:437 ---------------------- fedora.linux_system_roles.certificate : Ensure certificate requests ----- 4.46s /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 ipaserver : Install - Setup otpd ---------------------------------------- 3.79s /usr/share/ansible/roles/ipaserver/tasks/install.yml:323 ---------------------- ipaclient : Install - IPA API calls for remaining enrollment parts ------ 3.12s /usr/share/ansible/roles/ipaclient/tasks/install.yml:335 ---------------------- ipaserver : Install - Set DS password ----------------------------------- 3.04s /usr/share/ansible/roles/ipaserver/tasks/install.yml:405 ---------------------- ipaserver : Install - Server preparation -------------------------------- 2.66s /usr/share/ansible/roles/ipaserver/tasks/install.yml:161 ---------------------- ipaserver : Firewalld service - Ensure that firewalld is running -------- 2.48s /usr/share/ansible/roles/ipaserver/tasks/install.yml:34 ----------------------- ipaserver : Install - Server installation test -------------------------- 2.22s /usr/share/ansible/roles/ipaserver/tasks/install.yml:62 ----------------------- ipaclient : Install - Test if IPA client has working krb5.keytab -------- 2.18s /usr/share/ansible/roles/ipaclient/tasks/install.yml:109 ---------------------- fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 2.02s /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Ensure python3 is installed --------------------------------------------- 2.02s /tmp/tmp.E9uoWehZt4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28