[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/collections-opG 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/collections-opG/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/collections-opG/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/collections-opG/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_basic_ipa.yml:2 Saturday 10 August 2024 08:24:05 -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/collections-opG/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_basic_ipa.yml:13 Saturday 10 August 2024 08:24:09 -0400 (0:00:04.232) 0:00:04.254 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Skip if not supported] *************************************************** task path: /tmp/collections-opG/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_basic_ipa.yml:18 Saturday 10 August 2024 08:24:10 -0400 (0:00:00.475) 0:00:04.729 ******* 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/collections-opG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:2 Saturday 10 August 2024 08:24:10 -0400 (0:00:00.008) 0:00:04.738 ******* ok: [managed_node1] => { "ansible_facts": { "__is_beaker_env": true }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-opG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:9 Saturday 10 August 2024 08:24:10 -0400 (0:00:00.043) 0:00:04.781 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-opG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:14 Saturday 10 August 2024 08:24:10 -0400 (0:00:00.417) 0:00:05.199 ******* ok: [managed_node1] => { "ansible_facts": { "__certificate_is_ostree": false }, "changed": false } TASK [Install ansible-freeipa] ************************************************* task path: /tmp/collections-opG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:18 Saturday 10 August 2024 08:24:10 -0400 (0:00:00.024) 0:00:05.223 ******* changed: [managed_node1 -> 127.0.0.1] => { "changed": true, "rc": 0, "results": [ "Installed: python3-resolvelib-0.5.5-9.fc39.noarch", "Installed: python3-argcomplete-2.0.0-13.fc39.noarch", "Installed: fmt-10.0.0-3.fc39.x86_64", "Installed: python3-cryptography-41.0.7-1.fc39.x86_64", "Installed: libdnf5-5.1.17-1.fc39.x86_64", "Installed: python3-packaging-23.1-4.fc39.noarch", "Installed: python3-libdnf5-5.1.17-1.fc39.x86_64", "Installed: ansible-core-2.16.9-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: python3-cffi-1.15.1-6.fc39.x86_64" ] } lsrpackages: ansible-freeipa TASK [Ensure freeipa-repo is absent] ******************************************* task path: /tmp/collections-opG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:24 Saturday 10 August 2024 08:24:20 -0400 (0:00:09.891) 0:00:15.115 ******* 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/collections-opG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:32 Saturday 10 August 2024 08:24:20 -0400 (0:00:00.015) 0:00:15.131 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __is_beaker_env", "skip_reason": "Conditional result was False" } TASK [Create role symlinks] **************************************************** task path: /tmp/collections-opG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:41 Saturday 10 August 2024 08:24:20 -0400 (0:00:00.014) 0:00:15.145 ******* 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/collections-opG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:53 Saturday 10 August 2024 08:24:20 -0400 (0:00:00.020) 0:00:15.165 ******* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: hostname TASK [Set hostname] ************************************************************ task path: /tmp/collections-opG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:59 Saturday 10 August 2024 08:25:02 -0400 (0:00:42.208) 0:00:57.374 ******* 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/collections-opG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:65 Saturday 10 August 2024 08:25:03 -0400 (0:00:00.903) 0:00:58.277 ******* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: nss TASK [Include ipaserver role] ************************************************** task path: /tmp/collections-opG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:82 Saturday 10 August 2024 08:25:05 -0400 (0:00:01.782) 0:01:00.059 ******* included: ipaserver for managed_node1 TASK [ipaserver : Import variables specific to distribution] ******************* task path: /usr/share/ansible/roles/ipaserver/tasks/main.yml:4 Saturday 10 August 2024 08:25:05 -0400 (0:00:00.028) 0:01:00.087 ******* 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 10 August 2024 08:25:05 -0400 (0:00:00.030) 0:01:00.117 ******* 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 10 August 2024 08:25:05 -0400 (0:00:00.078) 0:01:00.196 ******* changed: [managed_node1] => { "changed": true, "rc": 0, "results": [ "Installed: bind-license-32:9.18.26-1.fc39.noarch", "Installed: bind-utils-32:9.18.26-1.fc39.x86_64", "Installed: python3-augeas-1.1.0-10.fc39.noarch", "Installed: freeipa-client-4.12.1-1.fc39.x86_64", "Installed: freeipa-client-common-4.12.1-1.fc39.noarch", "Installed: freeipa-common-4.12.1-1.fc39.noarch", "Installed: freeipa-healthcheck-core-0.16-3.fc39.noarch", "Installed: freeipa-selinux-4.12.1-1.fc39.noarch", "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: freeipa-server-4.12.1-1.fc39.x86_64", "Installed: freeipa-server-common-4.12.1-1.fc39.noarch", "Installed: python3-dns-2.6.1-1.fc39.noarch", "Installed: apache-commons-io-1:2.11.0-4.fc39.noarch", "Installed: publicsuffix-list-20240107-1.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: jemalloc-5.3.0-4.fc39.x86_64", "Installed: python3-decorator-5.1.1-7.fc39.noarch", "Installed: python3-pyasn1-0.5.1-1.fc39.noarch", "Installed: python3-pyasn1-modules-0.5.1-1.fc39.noarch", "Installed: python3-deprecated-1.2.14-3.fc39.noarch", "Installed: alsa-lib-1.2.12-1.fc39.x86_64", "Installed: words-3.0-44.fc39.noarch", "Installed: libipa_hbac-2.9.5-1.fc39.x86_64", "Installed: lksctp-tools-1.0.19-4.fc39.x86_64", "Installed: apr-1.7.3-2.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: certmonger-0.79.18-2.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: libjose-14-1.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: libkadm5-1.21.3-1.fc39.x86_64", "Installed: perl-Compress-Raw-Bzip2-2.206-1.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: slapi-nis-0.60.0-4.fc39.x86_64", "Installed: python3-qrcode-7.4.2-12.fc39.noarch", "Installed: openldap-clients-2.6.7-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: 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: python3-pyusb-1.2.1-7.fc39.noarch", "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: java-17-openjdk-headless-1:17.0.12.0.7-2.fc39.x86_64", "Installed: perl-Devel-Peek-1.33-502.fc39.x86_64", "Installed: jackson-module-jaxb-annotations-2.15.2-2.fc39.noarch", "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: 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: python3-ply-3.11-20.fc39.noarch", "Installed: perl-Archive-Tar-3.02-4.fc39.noarch", "Installed: oddjob-0.34.7-9.fc39.x86_64", "Installed: libsss_autofs-2.9.5-1.fc39.x86_64", "Installed: oddjob-mkhomedir-0.34.7-9.fc39.x86_64", "Installed: krb5-pkinit-1.21.3-1.fc39.x86_64", "Installed: krb5-server-1.21.3-1.fc39.x86_64", "Installed: krb5-workstation-1.21.3-1.fc39.x86_64", "Installed: python3-ldap-3.4.4-1.fc39.x86_64", "Installed: sssd-common-pac-2.9.5-1.fc39.x86_64", "Installed: 389-ds-base-2.4.5-1.fc39.x86_64", "Installed: python3-argcomplete-2.0.0-13.fc39.noarch", "Installed: 389-ds-base-libs-2.4.5-1.fc39.x86_64", "Installed: dbus-tools-1:1.14.10-1.fc39.x86_64", "Installed: python3-lib389-2.4.5-1.fc39.noarch", "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: python3-libipa_hbac-2.9.5-1.fc39.x86_64", "Installed: python3-cffi-1.15.1-6.fc39.x86_64", "Installed: logrotate-3.21.0-4.fc39.x86_64", "Installed: mailcap-2.1.54-2.fc39.noarch", "Installed: python3-sss-2.9.5-1.fc39.x86_64", "Installed: python3-sss-murmur-2.9.5-1.fc39.x86_64", "Installed: mod_http2-2.0.29-1.fc39.x86_64", "Installed: python3-psutil-5.9.5-1.fc39.x86_64", "Installed: mod_lua-2.4.61-1.fc39.x86_64", "Installed: python3-sssdconfig-2.9.5-1.fc39.noarch", "Installed: libdb-utils-5.3.28-56.fc39.x86_64", "Installed: mod_session-2.4.61-1.fc39.x86_64", "Installed: mod_ssl-1:2.4.61-1.fc39.x86_64", "Installed: perl-DB_File-1.859-1.fc39.x86_64", "Installed: tomcat-1:9.0.91-1.fc39.noarch", "Installed: tomcat-el-3.0-api-1:9.0.91-1.fc39.noarch", "Installed: python3-netaddr-0.8.0-14.fc39.noarch", "Installed: tomcat-jsp-2.3-api-1:9.0.91-1.fc39.noarch", "Installed: tomcat-lib-1:9.0.91-1.fc39.noarch", "Installed: tomcat-servlet-4.0-api-1:9.0.91-1.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: julietaula-montserrat-fonts-1:7.222-8.fc39.noarch", "Installed: dogtag-tomcatjss-8.4.1-2.fc39.noarch", "Installed: libuv-1:1.48.0-1.fc39.x86_64", "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: python3-typing-extensions-4.12.2-2.fc39.noarch", "Installed: httpd-2.4.61-1.fc39.x86_64", "Installed: httpd-core-2.4.61-1.fc39.x86_64", "Installed: fedora-logos-httpd-38.1.0-2.fc39.noarch", "Installed: httpd-filesystem-2.4.61-1.fc39.noarch", "Installed: nss-tools-3.101.0-1.fc39.x86_64", "Installed: httpd-tools-2.4.61-1.fc39.x86_64", "Installed: perl-Term-ReadLine-1.17-502.fc39.noarch", "Installed: policycoreutils-python-utils-3.5-8.fc39.noarch", "Installed: python3-pycparser-2.20-11.fc39.noarch", "Installed: perl-Tie-4.6-502.fc39.noarch", "Installed: tomcat-native-1:1.2.36-2.fc39.x86_64", "Installed: cups-libs-1:2.4.10-3.fc39.x86_64", "Installed: python3-wrapt-1.15.0-1.fc39.x86_64", "Installed: lua-5.4.6-3.fc39.x86_64", "Installed: python3-jwcrypto-1.4.2-5.fc39.noarch", "Installed: perl-debugger-1.60-502.fc39.noarch", "Installed: open-sans-fonts-1.10-19.fc39.noarch", "Installed: python3-kdcproxy-1.0.0-13.fc39.noarch", "Installed: tzdata-java-2024a-2.fc39.noarch", "Installed: perl-meta-notation-5.38.2-502.fc39.noarch", "Installed: perl-sigtrap-1.10-502.fc39.noarch", "Installed: javapackages-filesystem-6.1.0-10.fc39.noarch", "Installed: javapackages-tools-6.1.0-10.fc39.noarch", "Installed: python3-cryptography-41.0.7-1.fc39.x86_64", "Installed: slf4j-1.7.32-6.fc39.noarch", "Installed: slf4j-jdk14-1.7.32-6.fc39.noarch", "Installed: sscg-3.0.5-3.fc39.x86_64", "Installed: bash-completion-1:2.11-12.fc39.noarch", "Installed: samba-client-libs-2:4.19.7-1.fc39.x86_64", "Installed: jaxb-api-4.0.0-4.fc39.noarch", "Installed: fontawesome4-fonts-1:4.7.0-19.fc39.noarch", "Installed: samba-common-2:4.19.7-1.fc39.noarch", "Installed: lua-posix-36.2.1-3.fc39.x86_64", "Installed: samba-common-libs-2:4.19.7-1.fc39.x86_64", "Installed: libwbclient-2:4.19.7-1.fc39.x86_64", "Installed: bind-libs-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 10 August 2024 08:26:17 -0400 (0:01:11.528) 0:02:11.724 ******* 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 10 August 2024 08:26:17 -0400 (0:00:00.033) 0:02:11.758 ******* 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 10 August 2024 08:26:17 -0400 (0:00:00.033) 0:02:11.791 ******* 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 10 August 2024 08:26:19 -0400 (0:00:02.033) 0:02:13.825 ******* 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": "system.slice basic.target dbus.socket polkit.service dbus-broker.service sysinit.target", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target network-pre.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": "iptables.service ebtables.service nftables.service ip6tables.service ipset.service shutdown.target", "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": "sysinit.target system.slice 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 10 August 2024 08:26:22 -0400 (0:00:02.845) 0:02:16.671 ******* 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 10 August 2024 08:26:22 -0400 (0:00:00.037) 0:02:16.709 ******* 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 10 August 2024 08:26:22 -0400 (0:00:00.037) 0:02:16.746 ******* 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 10 August 2024 08:26:22 -0400 (0:00:00.039) 0:02:16.786 ******* 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": 1083799999, "idstart": 1083600000, "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 10 August 2024 08:26:23 -0400 (0:00:01.531) 0:02:18.317 ******* 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 10 August 2024 08:26:25 -0400 (0:00:01.279) 0:02:19.596 ******* 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 10 August 2024 08:26:25 -0400 (0:00:00.028) 0:02:19.625 ******* 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 10 August 2024 08:26:25 -0400 (0:00:00.023) 0:02:19.648 ******* 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.41.44" ], "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 10 August 2024 08:26:27 -0400 (0:00:02.455) 0:02:22.103 ******* changed: [managed_node1] => { "changed": true } TASK [ipaserver : Install - Setup DS] ****************************************** task path: /usr/share/ansible/roles/ipaserver/tasks/install.yml:214 Saturday 10 August 2024 08:26:35 -0400 (0:00:07.818) 0:02:29.921 ******* changed: [managed_node1] => { "changed": true } TASK [ipaserver : Install - Setup KRB] ***************************************** task path: /usr/share/ansible/roles/ipaserver/tasks/install.yml:243 Saturday 10 August 2024 08:27:14 -0400 (0:00:39.273) 0:03:09.195 ******* changed: [managed_node1] => { "changed": true } TASK [ipaserver : Install - Setup CA] ****************************************** task path: /usr/share/ansible/roles/ipaserver/tasks/install.yml:270 Saturday 10 August 2024 08:27:22 -0400 (0:00:08.033) 0:03:17.229 ******* 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 10 August 2024 08:31:08 -0400 (0:03:45.656) 0:07:02.885 ******* 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 10 August 2024 08:31:08 -0400 (0:00:00.042) 0:07:02.927 ******* changed: [managed_node1] => { "changed": true } TASK [ipaserver : Install - Setup HTTP] **************************************** task path: /usr/share/ansible/roles/ipaserver/tasks/install.yml:329 Saturday 10 August 2024 08:31:11 -0400 (0:00:03.320) 0:07:06.248 ******* changed: [managed_node1] => { "changed": true } TASK [ipaserver : Install - Setup KRA] ***************************************** task path: /usr/share/ansible/roles/ipaserver/tasks/install.yml:361 Saturday 10 August 2024 08:31:51 -0400 (0:00:39.714) 0:07:45.962 ******* 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 10 August 2024 08:31:51 -0400 (0:00:00.043) 0:07:46.006 ******* 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 10 August 2024 08:31:51 -0400 (0:00:00.041) 0:07:46.047 ******* changed: [managed_node1] => { "changed": true } TASK [ipaserver : Install - Set DS password] *********************************** task path: /usr/share/ansible/roles/ipaserver/tasks/install.yml:405 Saturday 10 August 2024 08:32:02 -0400 (0:00:10.442) 0:07:56.489 ******* changed: [managed_node1] => { "changed": true } TASK [Install - Setup client] ************************************************** task path: /usr/share/ansible/roles/ipaserver/tasks/install.yml:422 Saturday 10 August 2024 08:32:04 -0400 (0:00:02.852) 0:07:59.342 ******* included: ipaclient for managed_node1 TASK [ipaclient : Import variables specific to distribution] ******************* task path: /usr/share/ansible/roles/ipaclient/tasks/main.yml:4 Saturday 10 August 2024 08:32:05 -0400 (0:00:00.068) 0:07:59.411 ******* 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 10 August 2024 08:32:05 -0400 (0:00:00.065) 0:07:59.477 ******* 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 10 August 2024 08:32:05 -0400 (0:00:00.114) 0:07:59.592 ******* 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 10 August 2024 08:32:05 -0400 (0:00:00.045) 0:07:59.638 ******* 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 10 August 2024 08:32:05 -0400 (0:00:00.045) 0:07:59.683 ******* 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 10 August 2024 08:32:05 -0400 (0:00:00.047) 0:07:59.730 ******* 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 10 August 2024 08:32:05 -0400 (0:00:00.044) 0:07:59.774 ******* 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 10 August 2024 08:32:05 -0400 (0:00:00.050) 0:07:59.825 ******* 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 10 August 2024 08:32:05 -0400 (0:00:00.044) 0:07:59.870 ******* 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 10 August 2024 08:32:05 -0400 (0:00:00.044) 0:07:59.915 ******* 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 10 August 2024 08:32:05 -0400 (0:00:00.044) 0:07:59.960 ******* 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 10 August 2024 08:32:06 -0400 (0:00:01.276) 0:08:01.236 ******* 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 10 August 2024 08:32:07 -0400 (0:00:00.553) 0:08:01.790 ******* 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 10 August 2024 08:32:08 -0400 (0:00:00.976) 0:08:02.766 ******* 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 10 August 2024 08:32:08 -0400 (0:00:00.045) 0:08:02.811 ******* 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 10 August 2024 08:32:08 -0400 (0:00:00.045) 0:08:02.857 ******* 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 10 August 2024 08:32:10 -0400 (0:00:02.022) 0:08:04.880 ******* 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 10 August 2024 08:32:10 -0400 (0:00:00.044) 0:08:04.925 ******* 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 10 August 2024 08:32:10 -0400 (0:00:00.046) 0:08:04.971 ******* 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 10 August 2024 08:32:10 -0400 (0:00:00.048) 0:08:05.020 ******* 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 10 August 2024 08:32:10 -0400 (0:00:00.050) 0:08:05.070 ******* 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 10 August 2024 08:32:10 -0400 (0:00:00.050) 0:08:05.120 ******* 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 10 August 2024 08:32:10 -0400 (0:00:00.047) 0:08:05.168 ******* 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 10 August 2024 08:32:10 -0400 (0:00:00.049) 0:08:05.217 ******* 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 10 August 2024 08:32:10 -0400 (0:00:00.047) 0:08:05.265 ******* 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 10 August 2024 08:32:10 -0400 (0:00:00.048) 0:08:05.313 ******* 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 10 August 2024 08:32:10 -0400 (0:00:00.046) 0:08:05.360 ******* 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 10 August 2024 08:32:11 -0400 (0:00:00.047) 0:08:05.407 ******* 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 10 August 2024 08:32:11 -0400 (0:00:00.044) 0:08:05.452 ******* ok: [managed_node1] => { "changed": false, "krb_name": "/tmp/tmp79xhx88_" } TASK [ipaclient : Install - Join IPA] ****************************************** task path: /usr/share/ansible/roles/ipaclient/tasks/install.yml:252 Saturday 10 August 2024 08:32:12 -0400 (0:00:00.995) 0:08:06.447 ******* 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 10 August 2024 08:32:12 -0400 (0:00:00.046) 0:08:06.494 ******* 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 10 August 2024 08:32:12 -0400 (0:00:00.048) 0:08:06.542 ******* 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 10 August 2024 08:32:12 -0400 (0:00:00.047) 0:08:06.590 ******* 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 10 August 2024 08:32:12 -0400 (0:00:00.047) 0:08:06.637 ******* 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 10 August 2024 08:32:12 -0400 (0:00:00.049) 0:08:06.687 ******* 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 10 August 2024 08:32:13 -0400 (0:00:00.989) 0:08:07.677 ******* 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 10 August 2024 08:32:15 -0400 (0:00:02.575) 0:08:10.252 ******* 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 10 August 2024 08:32:15 -0400 (0:00:00.049) 0:08:10.301 ******* 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 10 August 2024 08:32:23 -0400 (0:00:07.689) 0:08:17.991 ******* changed: [managed_node1] => { "changed": true } TASK [ipaclient : Install - Configure automount] ******************************* task path: /usr/share/ansible/roles/ipaclient/tasks/install.yml:398 Saturday 10 August 2024 08:32:24 -0400 (0:00:01.084) 0:08:19.075 ******* ok: [managed_node1] => { "changed": false } TASK [ipaclient : Install - Configure firefox] ********************************* task path: /usr/share/ansible/roles/ipaclient/tasks/install.yml:404 Saturday 10 August 2024 08:32:25 -0400 (0:00:00.990) 0:08:20.066 ******* 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 10 August 2024 08:32:25 -0400 (0:00:00.051) 0:08:20.117 ******* changed: [managed_node1] => { "changed": true } TASK [ipaclient : Remove temporary krb5.conf] ********************************** task path: /usr/share/ansible/roles/ipaclient/tasks/install.yml:416 Saturday 10 August 2024 08:32:27 -0400 (0:00:01.416) 0:08:21.533 ******* changed: [managed_node1] => { "changed": true, "path": "/tmp/tmp79xhx88_", "state": "absent" } TASK [ipaclient : Install - Configure krb5 for IPA realm] ********************** task path: /usr/share/ansible/roles/ipaclient/tasks/install.yml:422 Saturday 10 August 2024 08:32:27 -0400 (0:00:00.438) 0:08:21.972 ******* 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 10 August 2024 08:32:27 -0400 (0:00:00.050) 0:08:22.022 ******* 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 10 August 2024 08:32:27 -0400 (0:00:00.050) 0:08:22.072 ******* 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 10 August 2024 08:32:27 -0400 (0:00:00.048) 0:08:22.121 ******* 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 10 August 2024 08:32:28 -0400 (0:00:00.432) 0:08:22.553 ******* ok: [managed_node1] => { "changed": false, "path": "/tmp/tmp79xhx88_", "state": "absent" } TASK [ipaclient : Remove temporary krb5.conf backup] *************************** task path: /usr/share/ansible/roles/ipaclient/tasks/install.yml:463 Saturday 10 August 2024 08:32:28 -0400 (0:00:00.419) 0:08:22.973 ******* changed: [managed_node1] => { "changed": true, "path": "/tmp/tmp79xhx88_.ipabkp", "state": "absent" } TASK [ipaclient : Uninstall IPA client] **************************************** task path: /usr/share/ansible/roles/ipaclient/tasks/main.yml:23 Saturday 10 August 2024 08:32:29 -0400 (0:00:00.432) 0:08:23.406 ******* 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 10 August 2024 08:32:29 -0400 (0:00:00.049) 0:08:23.456 ******* changed: [managed_node1] => { "changed": true } TASK [ipaserver : Install - Configure firewalld] ******************************* task path: /usr/share/ansible/roles/ipaserver/tasks/install.yml:444 Saturday 10 August 2024 08:32:34 -0400 (0:00:05.481) 0:08:28.937 ******* 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.378456", "end": "2024-08-10 08:32:35.395797", "rc": 0, "start": "2024-08-10 08:32:35.017341" } STDOUT: success TASK [ipaserver : Install - Configure firewalld runtime] *********************** task path: /usr/share/ansible/roles/ipaserver/tasks/install.yml:458 Saturday 10 August 2024 08:32:35 -0400 (0:00:00.908) 0:08:29.846 ******* changed: [managed_node1] => { "changed": true, "cmd": [ "firewall-cmd", "--zone=", "--add-service=freeipa-ldap", "--add-service=freeipa-ldaps", "--add-service=ntp" ], "delta": "0:00:00.262627", "end": "2024-08-10 08:32:36.081824", "rc": 0, "start": "2024-08-10 08:32:35.819197" } STDOUT: success TASK [ipaserver : Install - Cleanup root IPA cache] **************************** task path: /usr/share/ansible/roles/ipaserver/tasks/install.yml:472 Saturday 10 August 2024 08:32:36 -0400 (0:00:00.683) 0:08:30.529 ******* 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 10 August 2024 08:32:36 -0400 (0:00:00.397) 0:08:30.927 ******* 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 10 August 2024 08:32:37 -0400 (0:00:01.156) 0:08:32.083 ******* 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/collections-opG/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_basic_ipa.yml:25 Saturday 10 August 2024 08:32:37 -0400 (0:00:00.040) 0:08:32.124 ******* included: fedora.linux_system_roles.certificate for managed_node1 TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /tmp/collections-opG/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Saturday 10 August 2024 08:32:37 -0400 (0:00:00.049) 0:08:32.173 ******* included: /tmp/collections-opG/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/collections-opG/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Saturday 10 August 2024 08:32:37 -0400 (0:00:00.023) 0:08:32.197 ******* 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/collections-opG/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Saturday 10 August 2024 08:32:37 -0400 (0:00:00.037) 0:08:32.234 ******* 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/collections-opG/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Saturday 10 August 2024 08:32:37 -0400 (0:00:00.019) 0:08:32.254 ******* 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/collections-opG/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Saturday 10 August 2024 08:32:37 -0400 (0:00:00.020) 0:08:32.275 ******* 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/collections-opG/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/collections-opG/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Saturday 10 August 2024 08:32:37 -0400 (0:00:00.042) 0:08:32.318 ******* 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/collections-opG/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Saturday 10 August 2024 08:32:39 -0400 (0:00:01.880) 0:08:34.198 ******* changed: [managed_node1] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "rc": 0, "results": [ "Installed: python3-packaging-23.1-4.fc39.noarch" ] } lsrpackages: certmonger python3-packaging TASK [fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists] *** task path: /tmp/collections-opG/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Saturday 10 August 2024 08:32:42 -0400 (0:00:02.457) 0:08:36.656 ******* changed: [managed_node1] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "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/collections-opG/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Saturday 10 August 2024 08:32:42 -0400 (0:00:00.441) 0:08:37.098 ******* changed: [managed_node1] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "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/collections-opG/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Saturday 10 August 2024 08:32:43 -0400 (0:00:00.428) 0:08:37.527 ******* 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-08-10 08:30:04 EDT", "ActiveEnterTimestampMonotonic": "581500068", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice systemd-journald.socket dbus.socket sysinit.target network.target dbus-broker.service basic.target syslog.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-10 08:30:04 EDT", "AssertTimestampMonotonic": "581473953", "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": "55904531000", "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-08-10 08:30:04 EDT", "ConditionTimestampMonotonic": "581473949", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/certmonger.service", "ControlGroupId": "6000", "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": "9121", "ExecMainStartTimestamp": "Sat 2024-08-10 08:30:04 EDT", "ExecMainStartTimestampMonotonic": "581478692", "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-08-10 08:30:04 EDT", "InactiveExitTimestampMonotonic": "581479270", "InvocationID": "edcbc4f3a01b4150baacaf50e70f9272", "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": "9121", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "2510848", "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": "sysinit.target dbus.socket system.slice", "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-08-10 08:32:31 EDT", "StateChangeTimestampMonotonic": "729284836", "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/collections-opG/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Saturday 10 August 2024 08:32:43 -0400 (0:00:00.603) 0:08:38.131 ******* 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/collections-opG/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Saturday 10 August 2024 08:32:47 -0400 (0:00:03.811) 0:08:41.942 ******* 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/collections-opG/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Saturday 10 August 2024 08:32:47 -0400 (0:00:00.064) 0:08:42.006 ******* 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/collections-opG/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Saturday 10 August 2024 08:32:47 -0400 (0:00:00.036) 0:08:42.043 ******* 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/collections-opG/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Saturday 10 August 2024 08:32:47 -0400 (0:00:00.038) 0:08:42.081 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "certificate_test_mode | d(false)", "skip_reason": "Conditional result was False" } TASK [Verify certificates] ***************************************************** task path: /tmp/collections-opG/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_basic_ipa.yml:41 Saturday 10 August 2024 08:32:47 -0400 (0:00:00.047) 0:08:42.129 ******* included: /tmp/collections-opG/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/collections-opG/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/collections-opG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Saturday 10 August 2024 08:32:47 -0400 (0:00:00.070) 0:08:42.200 ******* ok: [managed_node1] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-opG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Saturday 10 August 2024 08:32:47 -0400 (0:00:00.017) 0:08:42.217 ******* 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/collections-opG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Saturday 10 August 2024 08:32:47 -0400 (0:00:00.019) 0:08:42.237 ******* 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/collections-opG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Saturday 10 August 2024 08:32:47 -0400 (0:00:00.019) 0:08:42.257 ******* 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/collections-opG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Saturday 10 August 2024 08:32:47 -0400 (0:00:00.015) 0:08:42.272 ******* 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/collections-opG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Saturday 10 August 2024 08:32:49 -0400 (0:00:01.879) 0:08:44.152 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723293165.8004575, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "1c3b8171fc4ebb99acb56a01c9263d5e0cdf9c8f", "ctime": 1723293165.7974575, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 205855, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1723293165.7974575, "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": "4029025910", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-opG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Saturday 10 August 2024 08:32:50 -0400 (0:00:01.090) 0:08:45.242 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-opG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Saturday 10 August 2024 08:32:50 -0400 (0:00:00.021) 0:08:45.264 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-opG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Saturday 10 August 2024 08:32:50 -0400 (0:00:00.046) 0:08:45.311 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-opG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Saturday 10 August 2024 08:32:50 -0400 (0:00:00.040) 0:08:45.351 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723293164.4824529, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6d8ae9246e08d2ad13f420af724ea225134d2a88", "ctime": 1723293165.7974575, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 205842, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1723293165.7974575, "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": "584317071", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-opG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Saturday 10 August 2024 08:32:51 -0400 (0:00:00.395) 0:08:45.747 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-opG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Saturday 10 August 2024 08:32:51 -0400 (0:00:00.020) 0:08:45.767 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-opG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Saturday 10 August 2024 08:32:51 -0400 (0:00:00.045) 0:08:45.812 ******* ok: [managed_node1] => { "certificate": { "extensions": { "authorityInfoAccess": { "critical": false, "value": [ { "location": "http://ipa-ca.test.local/ca/ocsp", "method": "OCSP" } ] }, "authorityKeyIdentifier": { "critical": false, "value": "5E:F7:9D:AA:95:06:59:D9:FB:42:5C:A2:17:2D:E4:DC:E3:AA:B7:A4" }, "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": "82:08:53:43:F1:FB:71:F8:AC:A7:73:D5:7E:25:6E:E3:69:84:5D:1B" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "40:4C:A5:D2:D5:5B:D3:B3:7E:FB:0C:E8:82:44:10:DE:3F:46:3F:EB:15:3A:8C:C9:6F:60:71:D0:8C:23:2D:A2:69:86:16:EA:C2:E0:66:23:24:34:F5:A8:B8:F4:5C:CF:C6:A8:77:F4:DB:D8:DF:B9:B9:07:26:01:C0:CE:04:39:28:2A:AC:BD:74:A6:0C:C1:88:07:62:F5:C0:42:01:13:36:D0:0D:B4:03:85:02:2B:50:DD:64:FF:D0:B6:46:11:79:5D:D5:FC:2F:CD:A6:76:B8:F7:49:44:AC:F0:6A:F6:C4:F0:B3:07:AA:56:65:63:BD:E6:4C:30:41:00:B9:BC:E1:36:5F:5B:C3:5F:00:C5:08:7E:B6:F4:8C:C1:AB:95:55:F4:32:D0:60:DA:54:F6:58:BC:49:8F:A2:CB:9F:74:CE:E8:F4:B8:1D:64:E9:48:C2:BA:65:EF:D2:56:D3:FD:9B:12:97:61:9E:ED:10:B1:4C:89:5C:EA:05:4A:3A:FC:D2:10:31:75:5E:54:0B:6D:03:CF:8F:09:4E:3F:3B:38:B0:B0:82:7D:59:A3:23:1A:7D:A7:1A:73:60:B2:94:E6:42:E3:5F:02:75:79:12:3C:87:43:FE:61:6E:FD:AA:BA:D9:4E:23:81:18:1A:91:29:8B:C8:FE:5C:4E:27:78:8F:40:58:98:64:24:44:62:05:88:42:DC:0A:D5:E1:D8:B8:E0:B1:1D:CB:FC:60:3F:11:D6:58:EC:0B:E1:67:2F:31:F0:1C:C9:D9:FC:CA:BB:52:61:6E:03:BA:26:6D:8A:BC:1D:F7:51:F3:0B:2C:F7:63:12:27:36:1C:15:03:8F:A4:9C:4A:E8:C6:A2:8D:65:81:11:26:A7:D0:BD:BB:11:B3:A5:C9:8E:5D:28:5E:E5:01:0B:96:A3:C7:95:B1:D9:6E:AD:5C:B2:3F:6F:9C:EF:A4:8A:05:31:FE:F3:ED:4B:BC:1C:C4:BA:27:E3:94:FF:99:6F:99:30:75:9A:53:5D:0A" }, "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": "20260811123245Z", "not_valid_before": "20240810123245Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-opG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Saturday 10 August 2024 08:32:52 -0400 (0:00:00.582) 0:08:46.394 ******* 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": "5E:F7:9D:AA:95:06:59:D9:FB:42:5C:A2:17:2D:E4:DC:E3:AA:B7:A4" }, "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": "82:08:53:43:F1:FB:71:F8:AC:A7:73:D5:7E:25:6E:E3:69:84:5D:1B" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "40:4C:A5:D2:D5:5B:D3:B3:7E:FB:0C:E8:82:44:10:DE:3F:46:3F:EB:15:3A:8C:C9:6F:60:71:D0:8C:23:2D:A2:69:86:16:EA:C2:E0:66:23:24:34:F5:A8:B8:F4:5C:CF:C6:A8:77:F4:DB:D8:DF:B9:B9:07:26:01:C0:CE:04:39:28:2A:AC:BD:74:A6:0C:C1:88:07:62:F5:C0:42:01:13:36:D0:0D:B4:03:85:02:2B:50:DD:64:FF:D0:B6:46:11:79:5D:D5:FC:2F:CD:A6:76:B8:F7:49:44:AC:F0:6A:F6:C4:F0:B3:07:AA:56:65:63:BD:E6:4C:30:41:00:B9:BC:E1:36:5F:5B:C3:5F:00:C5:08:7E:B6:F4:8C:C1:AB:95:55:F4:32:D0:60:DA:54:F6:58:BC:49:8F:A2:CB:9F:74:CE:E8:F4:B8:1D:64:E9:48:C2:BA:65:EF:D2:56:D3:FD:9B:12:97:61:9E:ED:10:B1:4C:89:5C:EA:05:4A:3A:FC:D2:10:31:75:5E:54:0B:6D:03:CF:8F:09:4E:3F:3B:38:B0:B0:82:7D:59:A3:23:1A:7D:A7:1A:73:60:B2:94:E6:42:E3:5F:02:75:79:12:3C:87:43:FE:61:6E:FD:AA:BA:D9:4E:23:81:18:1A:91:29:8B:C8:FE:5C:4E:27:78:8F:40:58:98:64:24:44:62:05:88:42:DC:0A:D5:E1:D8:B8:E0:B1:1D:CB:FC:60:3F:11:D6:58:EC:0B:E1:67:2F:31:F0:1C:C9:D9:FC:CA:BB:52:61:6E:03:BA:26:6D:8A:BC:1D:F7:51:F3:0B:2C:F7:63:12:27:36:1C:15:03:8F:A4:9C:4A:E8:C6:A2:8D:65:81:11:26:A7:D0:BD:BB:11:B3:A5:C9:8E:5D:28:5E:E5:01:0B:96:A3:C7:95:B1:D9:6E:AD:5C:B2:3F:6F:9C:EF:A4:8A:05:31:FE:F3:ED:4B:BC:1C:C4:BA:27:E3:94:FF:99:6F:99:30:75:9A:53:5D:0A" }, "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": "20260811123245Z", "not_valid_before": "20240810123245Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-opG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Saturday 10 August 2024 08:32:52 -0400 (0:00:00.022) 0:08:46.417 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-opG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Saturday 10 August 2024 08:32:52 -0400 (0:00:00.041) 0:08:46.459 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-opG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Saturday 10 August 2024 08:32:52 -0400 (0:00:00.022) 0:08:46.481 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-opG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Saturday 10 August 2024 08:32:52 -0400 (0:00:00.039) 0:08:46.520 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-opG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Saturday 10 August 2024 08:32:52 -0400 (0:00:00.045) 0:08:46.565 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-opG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Saturday 10 August 2024 08:32:52 -0400 (0:00:00.043) 0:08:46.609 ******* 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.051959", "end": "2024-08-10 08:32:52.597294", "rc": 0, "start": "2024-08-10 08:32:52.545335" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-opG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Saturday 10 August 2024 08:32:52 -0400 (0:00:00.435) 0:08:47.045 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-opG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Saturday 10 August 2024 08:32:52 -0400 (0:00:00.042) 0:08:47.087 ******* ok: [managed_node1] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-opG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Saturday 10 August 2024 08:32:52 -0400 (0:00:00.017) 0:08:47.104 ******* 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/collections-opG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Saturday 10 August 2024 08:32:52 -0400 (0:00:00.019) 0:08:47.123 ******* 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/collections-opG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Saturday 10 August 2024 08:32:52 -0400 (0:00:00.019) 0:08:47.143 ******* 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/collections-opG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Saturday 10 August 2024 08:32:52 -0400 (0:00:00.013) 0:08:47.157 ******* 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/collections-opG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Saturday 10 August 2024 08:32:54 -0400 (0:00:01.890) 0:08:49.048 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723293167.3974633, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "9a62f799121b3c9df05e62447c5665c296c8206e", "ctime": 1723293167.4764636, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 50, "gr_name": "ftp", "inode": 205870, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0640", "mtime": 1723293167.3934631, "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": "1116338200", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-opG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Saturday 10 August 2024 08:32:55 -0400 (0:00:00.396) 0:08:49.445 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-opG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Saturday 10 August 2024 08:32:55 -0400 (0:00:00.021) 0:08:49.466 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-opG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Saturday 10 August 2024 08:32:55 -0400 (0:00:00.070) 0:08:49.537 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-opG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Saturday 10 August 2024 08:32:55 -0400 (0:00:00.063) 0:08:49.601 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723293166.5924604, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "ddfe72e70fe6bd2290afda42bbbb98d29beae9c6", "ctime": 1723293167.4764636, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 50, "gr_name": "ftp", "inode": 205856, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0640", "mtime": 1723293167.3934631, "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": "2554252836", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-opG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Saturday 10 August 2024 08:32:55 -0400 (0:00:00.438) 0:08:50.039 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-opG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Saturday 10 August 2024 08:32:55 -0400 (0:00:00.022) 0:08:50.062 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-opG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Saturday 10 August 2024 08:32:55 -0400 (0:00:00.044) 0:08:50.106 ******* ok: [managed_node1] => { "certificate": { "extensions": { "authorityInfoAccess": { "critical": false, "value": [ { "location": "http://ipa-ca.test.local/ca/ocsp", "method": "OCSP" } ] }, "authorityKeyIdentifier": { "critical": false, "value": "5E:F7:9D:AA:95:06:59:D9:FB:42:5C:A2:17:2D:E4:DC:E3:AA:B7:A4" }, "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": "03:F4:65:20:66:BA:FD:62:4F:9E:51:DB:96:4C:71:65:FA:DC:98:E5" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "3D:BC:AF:AB:BD:A0:B3:82:14:52:A3:DA:66:9A:15:0D:70:4F:70:CD:63:EF:EA:B3:45:25:37:D8:8E:9C:25:B4:8B:1C:B9:3B:33:00:C1:86:B6:24:2F:9B:9B:5A:D9:9F:8E:68:E1:9C:07:8C:7D:57:15:EC:75:2D:7A:7B:E1:87:99:44:D5:F5:41:1B:5D:AE:8F:C2:7E:14:11:23:50:35:73:6E:0C:1B:AD:27:5F:4E:A9:6F:93:E3:E9:7A:D9:F4:A0:2F:01:26:DB:43:51:16:0F:21:A7:B5:DF:05:E8:C6:23:BC:2C:FE:D2:BA:3E:11:6E:21:64:BD:6A:FA:C4:8F:F3:11:4C:E7:7B:4A:14:5E:FD:AA:05:AF:15:1D:08:B4:F4:BD:39:84:30:71:0D:73:5C:8A:0D:2B:15:97:D3:7F:B4:01:75:01:9C:2B:0E:5E:05:A9:E6:D4:94:65:32:71:FB:FB:2E:C9:0B:30:64:27:73:67:3B:B0:3F:28:7B:40:23:D3:0C:30:42:8A:BE:C6:FE:D9:DA:CC:8B:69:49:44:93:25:68:D4:A0:C9:74:FB:3F:57:B3:2B:1B:7F:3C:F7:E2:30:B9:43:24:1B:8E:98:CE:A7:12:B3:8B:F7:3D:19:40:F7:DF:D1:90:49:D0:FC:C0:7F:BB:BE:6F:FA:DC:B2:CA:6D:37:FC:B4:A8:87:81:CE:AA:73:13:5B:04:A0:61:68:B9:AC:84:68:3A:DF:E5:3F:51:D6:BD:12:90:76:8E:B1:98:E5:E3:5B:45:84:EC:88:B5:D1:52:0C:38:BD:D1:B1:81:66:E2:0D:6F:96:1A:9A:48:71:FB:79:FC:09:77:94:64:23:2E:20:75:B2:9C:40:C8:DB:86:04:A7:03:D1:BD:F1:1B:0B:75:80:C4:AB:90:FD:08:2A:7C:FC:E8:C2:C8:66:4A:5D:55:B9:AC:F1:03:71:E7:C6:7D:1B:4F:05:B2:0C:2C:1E:FF:4E:95:FA:6A:1C:3E:2E:FE:C4:BB:27" }, "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": "20260811123247Z", "not_valid_before": "20240810123247Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-opG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Saturday 10 August 2024 08:32:56 -0400 (0:00:00.449) 0:08:50.556 ******* 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": "5E:F7:9D:AA:95:06:59:D9:FB:42:5C:A2:17:2D:E4:DC:E3:AA:B7:A4" }, "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": "03:F4:65:20:66:BA:FD:62:4F:9E:51:DB:96:4C:71:65:FA:DC:98:E5" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "3D:BC:AF:AB:BD:A0:B3:82:14:52:A3:DA:66:9A:15:0D:70:4F:70:CD:63:EF:EA:B3:45:25:37:D8:8E:9C:25:B4:8B:1C:B9:3B:33:00:C1:86:B6:24:2F:9B:9B:5A:D9:9F:8E:68:E1:9C:07:8C:7D:57:15:EC:75:2D:7A:7B:E1:87:99:44:D5:F5:41:1B:5D:AE:8F:C2:7E:14:11:23:50:35:73:6E:0C:1B:AD:27:5F:4E:A9:6F:93:E3:E9:7A:D9:F4:A0:2F:01:26:DB:43:51:16:0F:21:A7:B5:DF:05:E8:C6:23:BC:2C:FE:D2:BA:3E:11:6E:21:64:BD:6A:FA:C4:8F:F3:11:4C:E7:7B:4A:14:5E:FD:AA:05:AF:15:1D:08:B4:F4:BD:39:84:30:71:0D:73:5C:8A:0D:2B:15:97:D3:7F:B4:01:75:01:9C:2B:0E:5E:05:A9:E6:D4:94:65:32:71:FB:FB:2E:C9:0B:30:64:27:73:67:3B:B0:3F:28:7B:40:23:D3:0C:30:42:8A:BE:C6:FE:D9:DA:CC:8B:69:49:44:93:25:68:D4:A0:C9:74:FB:3F:57:B3:2B:1B:7F:3C:F7:E2:30:B9:43:24:1B:8E:98:CE:A7:12:B3:8B:F7:3D:19:40:F7:DF:D1:90:49:D0:FC:C0:7F:BB:BE:6F:FA:DC:B2:CA:6D:37:FC:B4:A8:87:81:CE:AA:73:13:5B:04:A0:61:68:B9:AC:84:68:3A:DF:E5:3F:51:D6:BD:12:90:76:8E:B1:98:E5:E3:5B:45:84:EC:88:B5:D1:52:0C:38:BD:D1:B1:81:66:E2:0D:6F:96:1A:9A:48:71:FB:79:FC:09:77:94:64:23:2E:20:75:B2:9C:40:C8:DB:86:04:A7:03:D1:BD:F1:1B:0B:75:80:C4:AB:90:FD:08:2A:7C:FC:E8:C2:C8:66:4A:5D:55:B9:AC:F1:03:71:E7:C6:7D:1B:4F:05:B2:0C:2C:1E:FF:4E:95:FA:6A:1C:3E:2E:FE:C4:BB:27" }, "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": "20260811123247Z", "not_valid_before": "20240810123247Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-opG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Saturday 10 August 2024 08:32:56 -0400 (0:00:00.022) 0:08:50.579 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-opG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Saturday 10 August 2024 08:32:56 -0400 (0:00:00.043) 0:08:50.622 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-opG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Saturday 10 August 2024 08:32:56 -0400 (0:00:00.021) 0:08:50.644 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-opG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Saturday 10 August 2024 08:32:56 -0400 (0:00:00.041) 0:08:50.685 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-opG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Saturday 10 August 2024 08:32:56 -0400 (0:00:00.045) 0:08:50.730 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-opG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Saturday 10 August 2024 08:32:56 -0400 (0:00:00.043) 0:08:50.774 ******* 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.050348", "end": "2024-08-10 08:32:56.754064", "rc": 0, "start": "2024-08-10 08:32:56.703716" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-opG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Saturday 10 August 2024 08:32:56 -0400 (0:00:00.426) 0:08:51.200 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* managed_node1 : ok=98 changed=28 unreachable=0 failed=0 skipped=58 rescued=0 ignored=0 Saturday 10 August 2024 08:32:56 -0400 (0:00:00.050) 0:08:51.251 ******* =============================================================================== ipaserver : Install - Setup CA ---------------------------------------- 225.66s /usr/share/ansible/roles/ipaserver/tasks/install.yml:270 ---------------------- ipaserver : Install - Ensure that IPA server packages are installed ---- 71.53s /usr/share/ansible/roles/ipaserver/tasks/install.yml:7 ------------------------ Ensure hostname package is installed ----------------------------------- 42.21s /tmp/collections-opG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:53 ipaserver : Install - Setup HTTP --------------------------------------- 39.71s /usr/share/ansible/roles/ipaserver/tasks/install.yml:329 ---------------------- ipaserver : Install - Setup DS ----------------------------------------- 39.27s /usr/share/ansible/roles/ipaserver/tasks/install.yml:214 ---------------------- ipaserver : Install - Setup ADTRUST ------------------------------------ 10.44s /usr/share/ansible/roles/ipaserver/tasks/install.yml:389 ---------------------- Install ansible-freeipa ------------------------------------------------- 9.89s /tmp/collections-opG/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:18 ipaserver : Install - Setup KRB ----------------------------------------- 8.03s /usr/share/ansible/roles/ipaserver/tasks/install.yml:243 ---------------------- ipaserver : Install - Setup NTP ----------------------------------------- 7.82s /usr/share/ansible/roles/ipaserver/tasks/install.yml:207 ---------------------- ipaclient : Install - Create IPA NSS database --------------------------- 7.69s /usr/share/ansible/roles/ipaclient/tasks/install.yml:355 ---------------------- ipaserver : Install - Enable IPA ---------------------------------------- 5.48s /usr/share/ansible/roles/ipaserver/tasks/install.yml:437 ---------------------- Gathering Facts --------------------------------------------------------- 4.23s /tmp/collections-opG/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_basic_ipa.yml:2 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 3.81s /tmp/collections-opG/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 ipaserver : Install - Setup otpd ---------------------------------------- 3.32s /usr/share/ansible/roles/ipaserver/tasks/install.yml:323 ---------------------- ipaserver : Install - Set DS password ----------------------------------- 2.85s /usr/share/ansible/roles/ipaserver/tasks/install.yml:405 ---------------------- ipaserver : Firewalld service - Ensure that firewalld is running -------- 2.85s /usr/share/ansible/roles/ipaserver/tasks/install.yml:34 ----------------------- ipaclient : Install - IPA API calls for remaining enrollment parts ------ 2.58s /usr/share/ansible/roles/ipaclient/tasks/install.yml:335 ---------------------- fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 2.46s /tmp/collections-opG/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 ipaserver : Install - Server preparation -------------------------------- 2.46s /usr/share/ansible/roles/ipaserver/tasks/install.yml:161 ---------------------- ipaserver : Install - Ensure that firewall packages installed ----------- 2.03s /usr/share/ansible/roles/ipaserver/tasks/install.yml:24 -----------------------