# STDOUT: ---v---v---v---v---v--- Using /etc/ansible/ansible.cfg as config file PLAY [Install IPA server] ****************************************************** TASK [Gathering Facts] ********************************************************* Thursday 18 August 2022 21:52:38 +0000 (0:00:00.020) 0:00:00.020 ******* ok: [sut] TASK [Set __is_beaker_env] ***************************************************** Thursday 18 August 2022 21:52:39 +0000 (0:00:01.133) 0:00:01.154 ******* ok: [sut] => { "ansible_facts": { "__is_beaker_env": false }, "changed": false } TASK [Install ansible-freeipa] ************************************************* Thursday 18 August 2022 21:52:39 +0000 (0:00:00.076) 0:00:01.231 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clone ansible-freeipa repo] ********************************************** Thursday 18 August 2022 21:52:39 +0000 (0:00:00.037) 0:00:01.268 ******* changed: [sut -> 127.0.0.1] => { "after": "a3a7ecd817f01bebc36ffc83709c1fef5fd93b8a", "before": null, "changed": true } TASK [Create role symlinks] **************************************************** Thursday 18 August 2022 21:52:41 +0000 (0:00:01.545) 0:00:02.813 ******* changed: [sut -> 127.0.0.1] => (item=ipaserver) => { "ansible_loop_var": "item", "changed": true, "dest": "/WORKDIR/dist-git-certificate-use_distro_python_cryptography-ir2vbc/tests/roles/ipaserver", "gid": 1001, "group": "jenkins", "item": "ipaserver", "mode": "0777", "owner": "jenkins", "size": 34, "src": "/tmp/freeipa-repo/roles/ipaserver/", "state": "link", "uid": 1000090000 } changed: [sut -> 127.0.0.1] => (item=ipaclient) => { "ansible_loop_var": "item", "changed": true, "dest": "/WORKDIR/dist-git-certificate-use_distro_python_cryptography-ir2vbc/tests/roles/ipaclient", "gid": 1001, "group": "jenkins", "item": "ipaclient", "mode": "0777", "owner": "jenkins", "size": 34, "src": "/tmp/freeipa-repo/roles/ipaclient/", "state": "link", "uid": 1000090000 } TASK [ensure hostname package is installed] ************************************ Thursday 18 August 2022 21:52:41 +0000 (0:00:00.601) 0:00:03.415 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Set hostname] ************************************************************ Thursday 18 August 2022 21:52:43 +0000 (0:00:02.116) 0:00:05.531 ******* changed: [sut] => { "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] **************************************** Thursday 18 August 2022 21:52:44 +0000 (0:00:00.951) 0:00:06.483 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Include ipaserver role] ************************************************** Thursday 18 August 2022 21:52:46 +0000 (0:00:01.727) 0:00:08.210 ******* TASK [ipaserver : Import variables specific to distribution] ******************* Thursday 18 August 2022 21:52:46 +0000 (0:00:00.048) 0:00:08.259 ******* ok: [sut] => (item=/tmp/freeipa-repo/roles/ipaserver/vars/RedHat-8.yml) => { "ansible_facts": { "ipaserver_packages": [ "@idm:DL1/server" ], "ipaserver_packages_adtrust": [ "@idm:DL1/adtrust" ], "ipaserver_packages_dns": [ "@idm:DL1/dns" ], "ipaserver_packages_firewalld": [ "firewalld" ] }, "ansible_included_var_files": [ "/tmp/freeipa-repo/roles/ipaserver/vars/RedHat-8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/freeipa-repo/roles/ipaserver/vars/RedHat-8.yml" } TASK [ipaserver : Install IPA server] ****************************************** Thursday 18 August 2022 21:52:46 +0000 (0:00:00.068) 0:00:08.328 ******* included: /tmp/freeipa-repo/roles/ipaserver/tasks/install.yml for sut TASK [ipaserver : Install - Ensure that IPA server packages are installed] ***** Thursday 18 August 2022 21:52:46 +0000 (0:00:00.098) 0:00:08.426 ******* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Module idm:DL1/server installed.", "Installed: fontawesome-fonts-4.7.0-4.el8.noarch", "Installed: softhsm-2.6.0-5.module+el8.4.0+10227+076cd560.x86_64", "Installed: ttmkfdir-3.0.9-54.el8.x86_64", "Installed: tzdata-java-2022a-2.el8.noarch", "Installed: libdatrie-0.2.9-7.el8.x86_64", "Installed: augeas-libs-1.12.0-6.el8.x86_64", "Installed: libwbclient-4.16.4-1.el8.x86_64", "Installed: autofs-1:5.1.4-83.el8.x86_64", "Installed: sssd-common-pac-2.7.3-1.el8.x86_64", "Installed: sssd-dbus-2.7.3-1.el8.x86_64", "Installed: sssd-ipa-2.7.3-1.el8.x86_64", "Installed: fribidi-1.0.4-9.el8.x86_64", "Installed: perl-DB_File-1.842-1.el8.x86_64", "Installed: sssd-krb5-common-2.7.3-1.el8.x86_64", "Installed: fstrm-0.6.1-3.el8.x86_64", "Installed: idm-pki-acme-10.12.0-4.module+el8.7.0+16126+c5918a27.noarch", "Installed: idm-pki-base-10.12.0-4.module+el8.7.0+16126+c5918a27.noarch", "Installed: idm-pki-base-java-10.12.0-4.module+el8.7.0+16126+c5918a27.noarch", "Installed: sssd-tools-2.7.3-1.el8.x86_64", "Installed: bash-completion-1:2.7-5.el8.noarch", "Installed: idm-pki-ca-10.12.0-4.module+el8.7.0+16126+c5918a27.noarch", "Installed: idm-pki-kra-10.12.0-4.module+el8.7.0+16126+c5918a27.noarch", "Installed: idm-pki-server-10.12.0-4.module+el8.7.0+16126+c5918a27.noarch", "Installed: lksctp-tools-1.0.18-3.el8.x86_64", "Installed: idm-pki-symkey-10.12.0-4.module+el8.7.0+16126+c5918a27.x86_64", "Installed: idm-pki-tools-10.12.0-4.module+el8.7.0+16126+c5918a27.x86_64", "Installed: sscg-3.0.0-5.el8.x86_64", "Installed: sssd-idp-2.7.3-1.el8.x86_64", "Installed: stax-ex-1.7.7-8.module+el8.2.0+5723+4574fbff.noarch", "Installed: ipa-client-4.9.10-5.module+el8.7.0+16195+c459c321.x86_64", "Installed: ipa-client-common-4.9.10-5.module+el8.7.0+16195+c459c321.noarch", "Installed: cairo-1.15.12-6.el8.x86_64", "Installed: ipa-common-4.9.10-5.module+el8.7.0+16195+c459c321.noarch", "Installed: ipa-healthcheck-0.7-14.module+el8.7.0+15352+88b578e5.noarch", "Installed: ipa-healthcheck-core-0.7-14.module+el8.7.0+15352+88b578e5.noarch", "Installed: ipa-selinux-4.9.10-5.module+el8.7.0+16195+c459c321.noarch", "Installed: ipa-server-4.9.10-5.module+el8.7.0+16195+c459c321.x86_64", "Installed: ipa-server-common-4.9.10-5.module+el8.7.0+16195+c459c321.noarch", "Installed: certmonger-0.79.13-5.el8.x86_64", "Installed: libfontenc-1.1.3-8.el8.x86_64", "Installed: mailcap-2.1.48-3.el8.noarch", "Installed: istack-commons-runtime-2.21-9.el8+7.noarch", "Installed: libthai-0.1.27-2.el8.x86_64", "Installed: jackson-annotations-2.10.0-1.module+el8.2.0+5059+3eb3af25.noarch", "Installed: jackson-core-2.10.0-1.module+el8.2.0+5059+3eb3af25.noarch", "Installed: jackson-databind-2.10.0-1.module+el8.2.0+5059+3eb3af25.noarch", "Installed: jackson-jaxrs-json-provider-2.9.9-1.module+el8.1.0+3832+9784644d.noarch", "Installed: jackson-jaxrs-providers-2.9.9-1.module+el8.1.0+3832+9784644d.noarch", "Installed: jackson-module-jaxb-annotations-2.7.6-4.module+el8.1.0+3366+6dfb954c.noarch", "Installed: libtiff-4.0.9-23.el8.x86_64", "Installed: redhat-logos-ipa-84.5-1.el8.noarch", "Installed: cups-libs-1:2.2.6-50.el8.x86_64", "Installed: jasper-libs-2.0.14-5.el8.x86_64", "Installed: java-1.8.0-openjdk-1:1.8.0.345.b01-2.el8.x86_64", "Installed: java-1.8.0-openjdk-devel-1:1.8.0.345.b01-2.el8.x86_64", "Installed: java-1.8.0-openjdk-headless-1:1.8.0.345.b01-2.el8.x86_64", "Installed: cyrus-sasl-gssapi-2.1.27-6.el8_5.x86_64", "Installed: cyrus-sasl-md5-2.1.27-6.el8_5.x86_64", "Installed: relaxngDatatype-2011.1-7.module+el8.1.0+3366+6dfb954c.noarch", "Installed: cyrus-sasl-plain-2.1.27-6.el8_5.x86_64", "Installed: resteasy-3.0.26-6.module+el8.4.0+8891+bb8828ef.noarch", "Installed: words-3.0-28.el8.noarch", "Installed: python3-argcomplete-1.9.3-6.el8.noarch", "Installed: javapackages-filesystem-5.3.0-1.module+el8+2447+6f56d9a6.noarch", "Installed: graphite2-1.3.10-10.el8.x86_64", "Installed: javapackages-tools-5.3.0-1.module+el8+2447+6f56d9a6.noarch", "Installed: python3-augeas-0.5.0-12.el8.noarch", "Installed: xmlrpc-c-1.51.0-8.el8.x86_64", "Installed: python3-bind-32:9.11.36-4.el8.noarch", "Installed: xmlrpc-c-client-1.51.0-8.el8.x86_64", "Installed: jbigkit-libs-2.1-14.el8.x86_64", "Installed: jboss-annotations-1.2-api-1.0.0-4.el8.noarch", "Installed: jboss-jaxrs-2.0-api-1.0.0-6.el8.noarch", "Installed: krb5-pkinit-1.18.2-21.el8.x86_64", "Installed: jboss-logging-3.3.0-5.el8.noarch", "Installed: krb5-server-1.18.2-21.el8.x86_64", "Installed: jboss-logging-tools-2.0.1-6.el8.noarch", "Installed: xalan-j2-2.7.1-38.module+el8.1.0+3366+6dfb954c.noarch", "Installed: krb5-workstation-1.18.2-21.el8.x86_64", "Installed: jdeparser-2.0.0-5.el8.noarch", "Installed: 389-ds-base-1.4.3.30-3.module+el8.7.0+15600+347cafc6.x86_64", "Installed: 389-ds-base-libs-1.4.3.30-3.module+el8.7.0+15600+347cafc6.x86_64", "Installed: python3-custodia-0.6.0-3.module+el8.1.0+4098+f286395e.noarch", "Installed: python3-distro-1.4.0-2.module+el8.1.0+3334+5cb623d7.noarch", "Installed: xerces-j2-2.11.0-34.module+el8.1.0+3366+6dfb954c.noarch", "Installed: openldap-clients-2.4.46-18.el8.x86_64", "Installed: xml-commons-apis-1.4.01-25.module+el8.1.0+3366+6dfb954c.noarch", "Installed: xml-commons-resolver-1.2-26.module+el8.1.0+3366+6dfb954c.noarch", "Installed: gtk-update-icon-cache-3.22.30-10.el8.x86_64", "Installed: python3-gssapi-1.5.1-5.el8.x86_64", "Installed: jss-4.9.4-1.module+el8.7.0+15532+95bac9ee.x86_64", "Installed: gtk2-2.24.32-5.el8.x86_64", "Installed: xmlstreambuffer-1.5.4-8.module+el8.2.0+5723+4574fbff.noarch", "Installed: copy-jdk-configs-4.0-2.el8.noarch", "Installed: python3-idm-pki-10.12.0-4.module+el8.7.0+16126+c5918a27.noarch", "Installed: python3-ipaclient-4.9.10-5.module+el8.7.0+16195+c459c321.noarch", "Installed: python3-ipalib-4.9.10-5.module+el8.7.0+16195+c459c321.noarch", "Installed: openssl-perl-1:1.1.1k-7.el8_6.x86_64", "Installed: libjose-10-2.el8.x86_64", "Installed: python3-ipaserver-4.9.10-5.module+el8.7.0+16195+c459c321.noarch", "Installed: nss-tools-3.79.0-10.el8_6.x86_64", "Installed: libjpeg-turbo-1.5.3-12.el8.x86_64", "Installed: python3-jwcrypto-0.5.0-1.1.module+el8.7.0+15842+306cbc83.noarch", "Installed: xorg-x11-font-utils-1:7.5-41.el8.x86_64", "Installed: python3-kdcproxy-0.4-5.module+el8.2.0+4691+a05b2456.noarch", "Installed: libxcb-1.13.1-1.el8.x86_64", "Installed: python3-ldap-3.3.1-2.el8.x86_64", "Installed: python3-lib389-1.4.3.30-3.module+el8.7.0+15600+347cafc6.noarch", "Installed: xorg-x11-fonts-Type1-7.5-19.el8.noarch", "Installed: open-sans-fonts-1.10-6.el8.noarch", "Installed: fontconfig-2.13.1-4.el8.x86_64", "Installed: fontpackages-filesystem-1.44-22.el8.noarch", "Installed: python3-mod_wsgi-4.6.4-4.el8.x86_64", "Installed: python3-netaddr-0.7.19-8.el8.noarch", "Installed: alsa-lib-1.2.7.2-1.el8.x86_64", "Installed: python3-nss-1.0.1-10.module+el8.1.0+3366+6dfb954c.x86_64", "Installed: xsom-0-19.20110809svn.module+el8.1.0+3366+6dfb954c.noarch", "Installed: perl-Algorithm-Diff-1.1903-9.el8.noarch", "Installed: perl-Archive-Tar-2.30-1.el8.noarch", "Installed: perl-Compress-Raw-Bzip2-2.081-1.el8.x86_64", "Installed: perl-Compress-Raw-Zlib-2.081-1.el8.x86_64", "Installed: harfbuzz-1.7.5-3.el8.x86_64", "Installed: custodia-0.6.0-3.module+el8.1.0+4098+f286395e.noarch", "Installed: python3-psutil-5.4.3-11.el8.x86_64", "Installed: perl-IO-Compress-2.081-1.el8.noarch", "Installed: perl-IO-Zlib-1:1.10-421.el8.noarch", "Installed: hicolor-icon-theme-0.17-2.el8.noarch", "Installed: python3-pyasn1-0.3.7-6.el8.noarch", "Installed: python3-pyasn1-modules-0.3.7-6.el8.noarch", "Installed: gdk-pixbuf2-2.36.12-5.el8.x86_64", "Installed: perl-Text-Diff-1.45-2.el8.noarch", "Installed: httpcomponents-client-4.5.5-5.module+el8.6.0+13298+7b5243c0.noarch", "Installed: httpcomponents-core-4.4.10-3.module+el8+2452+b359bfcd.noarch", "Installed: python3-pyusb-1.0.0-9.1.module+el8.7.0+15691+2b2c1dd5.noarch", "Installed: ant-1.10.5-1.module+el8+2438+c99a8a1e.noarch", "Installed: ant-lib-1.10.5-1.module+el8+2438+c99a8a1e.noarch", "Installed: httpd-2.4.37-51.module+el8.7.0+16050+02173b8e.x86_64", "Installed: httpd-filesystem-2.4.37-51.module+el8.7.0+16050+02173b8e.noarch", "Installed: apache-commons-cli-1.4-4.module+el8+2452+b359bfcd.noarch", "Installed: httpd-tools-2.4.37-51.module+el8.7.0+16050+02173b8e.x86_64", "Installed: python3-qrcode-core-5.1-12.module+el8.1.0+4098+f286395e.noarch", "Installed: apache-commons-codec-1.11-3.module+el8+2452+b359bfcd.noarch", "Installed: apache-commons-io-1:2.6-3.module+el8+2452+b359bfcd.noarch", "Installed: libicu-60.3-2.el8_1.x86_64", "Installed: apache-commons-lang3-3.7-3.module+el8+2452+b359bfcd.noarch", "Installed: apache-commons-logging-1.2-13.module+el8+2452+b359bfcd.noarch", "Installed: apache-commons-net-3.6-3.module+el8.3.0+6805+72837426.noarch", "Installed: gdk-pixbuf2-modules-2.36.12-5.el8.x86_64", "Installed: protobuf-c-1.3.0-6.el8.x86_64", "Installed: policycoreutils-python-utils-2.9-20.el8.noarch", "Installed: libipa_hbac-2.7.3-1.el8.x86_64", "Installed: lua-5.3.4-12.el8.x86_64", "Installed: pango-1.42.4-8.el8.x86_64", "Installed: libkadm5-1.18.2-21.el8.x86_64", "Installed: apr-1.6.3-12.el8.x86_64", "Installed: apr-util-1.6.1-6.el8.x86_64", "Installed: ldapjdk-4.23.0-1.module+el8.5.0+11983+6ba118b4.noarch", "Installed: apr-util-bdb-1.6.1-6.el8.x86_64", "Installed: apr-util-openssl-1.6.1-6.el8.x86_64", "Installed: publicsuffix-list-20180723-1.el8.noarch", "Installed: python3-asn1crypto-0.24.0-3.el8.noarch", "Installed: python3-yubico-1.3.2-9.1.module+el8.7.0+15691+2b2c1dd5.noarch", "Installed: libX11-1.6.8-5.el8.x86_64", "Installed: libX11-common-1.6.8-5.el8.noarch", "Installed: python3-dns-1.15.0-11.el8.noarch", "Installed: giflib-5.1.4-3.el8.x86_64", "Installed: atk-2.28.1-1.el8.x86_64", "Installed: libXau-1.0.9-3.el8.x86_64", "Installed: libXcomposite-0.4.4-14.el8.x86_64", "Installed: libXcursor-1.1.15-3.el8.x86_64", "Installed: python3-libipa_hbac-2.7.3-1.el8.x86_64", "Installed: libXdamage-1.1.4-14.el8.x86_64", "Installed: libXext-1.3.4-1.el8.x86_64", "Installed: pixman-0.38.4-2.el8.x86_64", "Installed: pki-servlet-4.0-api-1:9.0.50-1.module+el8.7.0+15761+f86c9a56.noarch", "Installed: libXfixes-5.0.3-7.el8.x86_64", "Installed: pki-servlet-engine-1:9.0.50-1.module+el8.7.0+15761+f86c9a56.noarch", "Installed: glassfish-fastinfoset-1.2.13-9.module+el8.1.0+3366+6dfb954c.noarch", "Installed: glassfish-jaxb-api-2.2.12-8.module+el8.1.0+3366+6dfb954c.noarch", "Installed: glassfish-jaxb-core-2.2.11-11.module+el8.1.0+3366+6dfb954c.noarch", "Installed: glassfish-jaxb-runtime-2.2.11-11.module+el8.1.0+3366+6dfb954c.noarch", "Installed: glassfish-jaxb-txw2-2.2.11-11.module+el8.1.0+3366+6dfb954c.noarch", "Installed: libXft-2.3.3-1.el8.x86_64", "Installed: libXi-1.7.10-1.el8.x86_64", "Installed: libXinerama-1.1.4-1.el8.x86_64", "Installed: libXrandr-1.5.2-1.el8.x86_64", "Installed: python3-sss-2.7.3-1.el8.x86_64", "Installed: python3-sss-murmur-2.7.3-1.el8.x86_64", "Installed: python3-sssdconfig-2.7.3-1.el8.noarch", "Installed: bea-stax-api-1.2.0-16.module+el8.1.0+3366+6dfb954c.noarch", "Installed: libXrender-0.9.10-7.el8.x86_64", "Installed: python3-systemd-234-8.el8.x86_64", "Installed: bind-libs-32:9.11.36-4.el8.x86_64", "Installed: libXtst-1.2.3-7.el8.x86_64", "Installed: bind-libs-lite-32:9.11.36-4.el8.x86_64", "Installed: bind-license-32:9.11.36-4.el8.noarch", "Installed: bind-utils-32:9.11.36-4.el8.x86_64", "Installed: redhat-logos-httpd-84.5-1.el8.noarch", "Installed: mod_auth_gssapi-1.6.1-9.el8.x86_64", "Installed: mod_http2-1.15.7-5.module+el8.6.0+13996+01710940.x86_64", "Installed: libsss_simpleifp-2.7.3-1.el8.x86_64", "Installed: mod_lookup_identity-1.0.0-4.el8.x86_64", "Installed: mod_session-2.4.37-51.module+el8.7.0+16050+02173b8e.x86_64", "Installed: mod_ssl-1:2.4.37-51.module+el8.7.0+16050+02173b8e.x86_64", "Installed: samba-client-libs-4.16.4-1.el8.x86_64", "Installed: samba-common-4.16.4-1.el8.noarch", "Installed: samba-common-libs-4.16.4-1.el8.x86_64", "Installed: slapi-nis-0.56.6-4.module+el8.6.0+12936+736896b2.x86_64", "Installed: slf4j-1.7.25-4.module+el8+2452+b359bfcd.noarch", "Installed: tomcatjss-7.7.1-1.module+el8.6.0+13291+248751b1.noarch", "Installed: slf4j-jdk14-1.7.25-4.module+el8.1.0+3366+6dfb954c.noarch" ] } TASK [ipaserver : Install - Ensure that IPA server packages for dns are installed] *** Thursday 18 August 2022 21:54:14 +0000 (0:01:27.555) 0:01:35.982 ******* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: bind-32:9.11.36-4.el8.x86_64", "Installed: ldns-1.7.0-21.el8.x86_64", "Installed: opencryptoki-3.18.0-3.el8.x86_64", "Installed: opencryptoki-icsftok-3.18.0-3.el8.x86_64", "Installed: bind-dyndb-ldap-11.6-3.module+el8.6.0+13728+d9324aaf.x86_64", "Installed: opencryptoki-libs-3.18.0-3.el8.x86_64", "Installed: ipa-server-dns-4.9.10-5.module+el8.7.0+16195+c459c321.noarch", "Installed: bind-pkcs11-32:9.11.36-4.el8.x86_64", "Installed: sqlite-3.26.0-15.el8.x86_64", "Installed: bind-pkcs11-libs-32:9.11.36-4.el8.x86_64", "Installed: bind-pkcs11-utils-32:9.11.36-4.el8.x86_64", "Installed: opendnssec-2.1.7-1.module+el8.4.0+9007+5084bdd8.x86_64" ] } TASK [ipaserver : Install - Ensure that IPA server packages for adtrust are installed] *** Thursday 18 August 2022 21:54:21 +0000 (0:00:07.235) 0:01:43.218 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ipaserver : Install - Ensure that firewall packages installed] *********** Thursday 18 August 2022 21:54:21 +0000 (0:00:00.051) 0:01:43.269 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [ipaserver : Firewalld service - Ensure that firewalld is running] ******** Thursday 18 August 2022 21:54:23 +0000 (0:00:01.824) 0:01:45.093 ******* changed: [sut] => { "changed": true, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "sysinit.target system.slice basic.target dbus.socket polkit.service dbus.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "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", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "ebtables.service iptables.service ipset.service ip6tables.service shutdown.target nftables.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "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 }", "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 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "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": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14143", "LimitNPROCSoft": "14143", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14143", "LimitSIGPENDINGSoft": "14143", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22628", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "disabled", "UtmpMode": "init", "Wants": "network-pre.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [ipaserver : Firewalld - Verify runtime zone "{{ ipaserver_firewalld_zone }}"] *** Thursday 18 August 2022 21:54:25 +0000 (0:00:01.902) 0:01:46.996 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ipaserver : Firewalld - Verify permanent zone "{{ ipaserver_firewalld_zone }}"] *** Thursday 18 August 2022 21:54:25 +0000 (0:00:00.054) 0:01:47.050 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ipaserver : include_tasks] *********************************************** Thursday 18 August 2022 21:54:25 +0000 (0:00:00.054) 0:01:47.104 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ipaserver : Install - Server installation test] ************************** Thursday 18 August 2022 21:54:25 +0000 (0:00:00.054) 0:01:47.159 ******* ok: [sut] => { "_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": 120999999, "idstart": 120800000, "ipa_python_version": 40910, "no_host_dns": true, "no_pkinit": false, "ntp_pool": null, "ntp_servers": null, "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] ************************** Thursday 18 August 2022 21:54:27 +0000 (0:00:02.082) 0:01:49.241 ******* changed: [sut] => { "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] *************************** Thursday 18 August 2022 21:54:29 +0000 (0:00:01.433) 0:01:50.674 ******* ok: [sut] => { "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] ******************************** Thursday 18 August 2022 21:54:29 +0000 (0:00:00.057) 0:01:50.733 ******* changed: [sut] => { "_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": [ "10.31.10.190" ], "dns_reverse_zones": [], "forward_policy": "only", "forwarders": [ "10.29.169.13", "10.29.170.12", "10.2.32.1" ], "ip_addresses": [ "10.31.10.190" ], "no_dnssec_validation": true, "reverse_zones": [], "subject_base": "O=TEST.LOCAL" } TASK [ipaserver : Install - Setup NTP] ***************************************** Thursday 18 August 2022 21:54:32 +0000 (0:00:03.428) 0:01:54.161 ******* changed: [sut] => { "changed": true } TASK [ipaserver : Install - Setup DS] ****************************************** Thursday 18 August 2022 21:54:40 +0000 (0:00:07.937) 0:02:02.098 ******* changed: [sut] => { "changed": true } TASK [ipaserver : Install - Setup KRB] ***************************************** Thursday 18 August 2022 21:54:59 +0000 (0:00:19.044) 0:02:21.143 ******* changed: [sut] => { "changed": true } TASK [ipaserver : Install - Setup custodia] ************************************ Thursday 18 August 2022 21:55:07 +0000 (0:00:08.056) 0:02:29.200 ******* changed: [sut] => { "changed": true } TASK [ipaserver : Install - Setup CA] ****************************************** Thursday 18 August 2022 21:55:13 +0000 (0:00:06.090) 0:02:35.290 ******* changed: [sut] => { "changed": true, "csr_generated": false } TASK [ipaserver : Copy /root/ipa.csr to "sut-ipa.csr"] ************************* Thursday 18 August 2022 21:58:41 +0000 (0:03:27.307) 0:06:02.597 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ipaserver : Install - Setup otpd] **************************************** Thursday 18 August 2022 21:58:41 +0000 (0:00:00.055) 0:06:02.653 ******* changed: [sut] => { "changed": true } TASK [ipaserver : Install - Setup HTTP] **************************************** Thursday 18 August 2022 21:58:44 +0000 (0:00:03.806) 0:06:06.460 ******* changed: [sut] => { "changed": true } TASK [ipaserver : Install - Setup KRA] ***************************************** Thursday 18 August 2022 21:59:29 +0000 (0:00:44.555) 0:06:51.015 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ipaserver : Install - Setup DNS] ***************************************** Thursday 18 August 2022 21:59:29 +0000 (0:00:00.057) 0:06:51.073 ******* changed: [sut] => { "changed": true } TASK [ipaserver : Install - Setup ADTRUST] ************************************* Thursday 18 August 2022 21:59:42 +0000 (0:00:13.369) 0:07:04.442 ******* changed: [sut] => { "changed": true } TASK [ipaserver : Install - Set DS password] *********************************** Thursday 18 August 2022 21:59:59 +0000 (0:00:16.481) 0:07:20.923 ******* changed: [sut] => { "changed": true } TASK [Install - Setup client] ************************************************** Thursday 18 August 2022 22:00:02 +0000 (0:00:03.247) 0:07:24.171 ******* TASK [ipaclient : Import variables specific to distribution] ******************* Thursday 18 August 2022 22:00:02 +0000 (0:00:00.091) 0:07:24.263 ******* ok: [sut] => (item=/tmp/freeipa-repo/roles/ipaclient/vars/RedHat-8.yml) => { "ansible_facts": { "ipaclient_packages": [ "@idm:DL1/client" ] }, "ansible_included_var_files": [ "/tmp/freeipa-repo/roles/ipaclient/vars/RedHat-8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/freeipa-repo/roles/ipaclient/vars/RedHat-8.yml" } TASK [ipaclient : Install IPA client] ****************************************** Thursday 18 August 2022 22:00:02 +0000 (0:00:00.130) 0:07:24.394 ******* included: /tmp/freeipa-repo/roles/ipaclient/tasks/install.yml for sut TASK [ipaclient : Install - Ensure that IPA client packages are installed] ***** Thursday 18 August 2022 22:00:02 +0000 (0:00:00.112) 0:07:24.506 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [ipaclient : Install - Set ipaclient_servers] ***************************** Thursday 18 August 2022 22:00:05 +0000 (0:00:02.164) 0:07:26.670 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ipaclient : Install - Set ipaclient_servers from cluster inventory] ****** Thursday 18 August 2022 22:00:05 +0000 (0:00:00.059) 0:07:26.730 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ipaclient : Install - Check that either principal or keytab is set] ****** Thursday 18 August 2022 22:00:05 +0000 (0:00:00.059) 0:07:26.790 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ipaclient : Install - Set default principal if no keytab is given] ******* Thursday 18 August 2022 22:00:05 +0000 (0:00:00.057) 0:07:26.848 ******* ok: [sut] => { "ansible_facts": { "ipaadmin_principal": "admin" }, "changed": false } TASK [ipaclient : Install - IPA client test] *********************************** Thursday 18 August 2022 22:00:05 +0000 (0:00:00.076) 0:07:26.924 ******* ok: [sut] => { "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": 40910, "kdc": "ipaserver.test.local", "nosssd_files": {}, "ntp_pool": null, "ntp_servers": null, "realm": "TEST.LOCAL", "servers": [ "ipaserver.test.local" ], "sssd": true } TASK [ipaclient : Install - Cleanup leftover ccache] *************************** Thursday 18 August 2022 22:00:06 +0000 (0:00:00.982) 0:07:27.907 ******* ok: [sut] => { "changed": false, "path": "/etc/ipa/.dns_ccache", "state": "absent" } TASK [ipaclient : Install - Configure NTP] ************************************* Thursday 18 August 2022 22:00:06 +0000 (0:00:00.307) 0:07:28.214 ******* ok: [sut] => { "changed": false } TASK [ipaclient : Install - Make sure One-Time Password is enabled if it's already defined] *** Thursday 18 August 2022 22:00:07 +0000 (0:00:00.947) 0:07:29.162 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ipaclient : Install - Disable One-Time Password for on_master] *********** Thursday 18 August 2022 22:00:07 +0000 (0:00:00.061) 0:07:29.223 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ipaclient : Install - Test if IPA client has working krb5.keytab] ******** Thursday 18 August 2022 22:00:07 +0000 (0:00:00.061) 0:07:29.285 ******* ok: [sut] => { "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] *** Thursday 18 August 2022 22:00:09 +0000 (0:00:02.062) 0:07:31.348 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ipaclient : Install - Keytab or password is required for getting otp] **** Thursday 18 August 2022 22:00:09 +0000 (0:00:00.062) 0:07:31.410 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ipaclient : Install - Get One-Time Password for client enrollment] ******* Thursday 18 August 2022 22:00:09 +0000 (0:00:00.072) 0:07:31.483 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [ipaclient : Install - Report error for OTP generation] ******************* Thursday 18 August 2022 22:00:09 +0000 (0:00:00.063) 0:07:31.547 ******* skipping: [sut] => {} TASK [ipaclient : Install - Store the previously obtained OTP] ***************** Thursday 18 August 2022 22:00:10 +0000 (0:00:00.061) 0:07:31.609 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [ipaclient : Store predefined OTP in admin_password] ********************** Thursday 18 August 2022 22:00:10 +0000 (0:00:00.060) 0:07:31.669 ******* skipping: [sut] => { "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] ************* Thursday 18 August 2022 22:00:10 +0000 (0:00:00.060) 0:07:31.730 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ipaclient : Install - Check if one of password or keytabs are set] ******* Thursday 18 August 2022 22:00:10 +0000 (0:00:00.060) 0:07:31.791 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ipaclient : Install - Purge TEST.LOCAL from host keytab] ***************** Thursday 18 August 2022 22:00:10 +0000 (0:00:00.063) 0:07:31.855 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ipaclient : Install - Backup and set hostname] *************************** Thursday 18 August 2022 22:00:10 +0000 (0:00:00.064) 0:07:31.919 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ipaclient : Install - Join IPA] ****************************************** Thursday 18 August 2022 22:00:10 +0000 (0:00:00.062) 0:07:31.982 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ipaclient : krb5 configuration not correct] ****************************** Thursday 18 August 2022 22:00:10 +0000 (0:00:00.062) 0:07:32.045 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ipaclient : IPA test failed] ********************************************* Thursday 18 August 2022 22:00:10 +0000 (0:00:00.064) 0:07:32.109 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ipaclient : ca.crt file is missing] ************************************** Thursday 18 August 2022 22:00:10 +0000 (0:00:00.064) 0:07:32.174 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ipaclient : Install - Configure IPA default.conf] ************************ Thursday 18 August 2022 22:00:10 +0000 (0:00:00.063) 0:07:32.237 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ipaclient : Install - Configure SSSD] ************************************ Thursday 18 August 2022 22:00:10 +0000 (0:00:00.066) 0:07:32.304 ******* changed: [sut] => { "changed": true } TASK [ipaclient : Install - Configure krb5 for IPA realm] ********************** Thursday 18 August 2022 22:00:11 +0000 (0:00:00.965) 0:07:33.270 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ipaclient : Install - IPA API calls for remaining enrollment parts] ****** Thursday 18 August 2022 22:00:11 +0000 (0:00:00.068) 0:07:33.338 ******* changed: [sut] => { "ca_enabled": true, "changed": true, "subject_base": "O=TEST.LOCAL" } TASK [ipaclient : Install - Fix IPA ca] **************************************** Thursday 18 August 2022 22:00:15 +0000 (0:00:03.329) 0:07:36.668 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ipaclient : Install - Create IPA NSS database] *************************** Thursday 18 August 2022 22:00:15 +0000 (0:00:00.068) 0:07:36.736 ******* changed: [sut] => { "ca_enabled_ra": true, "changed": true } TASK [ipaclient : Install - Configure SSH and SSHD] **************************** Thursday 18 August 2022 22:00:21 +0000 (0:00:06.422) 0:07:43.158 ******* changed: [sut] => { "changed": true } TASK [ipaclient : Install - Configure automount] ******************************* Thursday 18 August 2022 22:00:22 +0000 (0:00:01.007) 0:07:44.166 ******* changed: [sut] => { "changed": true } TASK [ipaclient : Install - Configure firefox] ********************************* Thursday 18 August 2022 22:00:23 +0000 (0:00:00.929) 0:07:45.096 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ipaclient : Install - Configure NIS] ************************************* Thursday 18 August 2022 22:00:23 +0000 (0:00:00.065) 0:07:45.162 ******* changed: [sut] => { "changed": true } TASK [ipaclient : Install - Restore original admin password if overwritten by OTP] *** Thursday 18 August 2022 22:00:24 +0000 (0:00:01.209) 0:07:46.371 ******* skipping: [sut] => { "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] ************************************* Thursday 18 August 2022 22:00:24 +0000 (0:00:00.062) 0:07:46.434 ******* ok: [sut] => { "changed": false, "path": "/etc/ipa/.dns_ccache", "state": "absent" } TASK [ipaclient : Uninstall IPA client] **************************************** Thursday 18 August 2022 22:00:25 +0000 (0:00:00.305) 0:07:46.739 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ipaserver : Install - Enable IPA] **************************************** Thursday 18 August 2022 22:00:25 +0000 (0:00:00.068) 0:07:46.808 ******* changed: [sut] => { "changed": true } TASK [ipaserver : Install - Cleanup root IPA cache] **************************** Thursday 18 August 2022 22:00:57 +0000 (0:00:32.484) 0:08:19.293 ******* ok: [sut] => { "changed": false, "path": "/root/.ipa_cache", "state": "absent" } TASK [ipaserver : Install - Configure firewalld] ******************************* Thursday 18 August 2022 22:00:58 +0000 (0:00:00.473) 0:08:19.766 ******* changed: [sut] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--zone=", "--add-service=freeipa-ldap", "--add-service=freeipa-ldaps", "--add-service=dns", "--add-service=ntp" ], "delta": "0:00:00.780186", "end": "2022-08-18 22:00:59.502029", "rc": 0, "start": "2022-08-18 22:00:58.721843" } STDOUT: success TASK [ipaserver : Install - Configure firewalld runtime] *********************** Thursday 18 August 2022 22:00:59 +0000 (0:00:01.360) 0:08:21.127 ******* changed: [sut] => { "changed": true, "cmd": [ "firewall-cmd", "--zone=", "--add-service=freeipa-ldap", "--add-service=freeipa-ldaps", "--add-service=dns", "--add-service=ntp" ], "delta": "0:00:00.757356", "end": "2022-08-18 22:01:00.683201", "rc": 0, "start": "2022-08-18 22:00:59.925845" } STDOUT: success TASK [ipaserver : Cleanup temporary files] ************************************* Thursday 18 August 2022 22:01:00 +0000 (0:00:01.182) 0:08:22.309 ******* ok: [sut] => (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: [sut] => (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: [sut] => (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] **************************************** Thursday 18 August 2022 22:01:01 +0000 (0:00:01.260) 0:08:23.570 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } PLAY [Issue IPA signed certificates] ******************************************* TASK [Gathering Facts] ********************************************************* Thursday 18 August 2022 22:01:02 +0000 (0:00:00.117) 0:08:23.687 ******* ok: [sut] TASK [linux-system-roles.certificate : Set version specific variables] ********* Thursday 18 August 2022 22:01:03 +0000 (0:00:01.019) 0:08:24.707 ******* included: /WORKDIR/dist-git-certificate-use_distro_python_cryptography-ir2vbc/tests/roles/linux-system-roles.certificate/tasks/set_vars.yml for sut TASK [linux-system-roles.certificate : Ensure ansible_facts used by role] ****** Thursday 18 August 2022 22:01:03 +0000 (0:00:00.038) 0:08:24.745 ******* ok: [sut] TASK [linux-system-roles.certificate : Set platform/version specific variables] *** Thursday 18 August 2022 22:01:03 +0000 (0:00:00.679) 0:08:25.424 ******* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=RedHat_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=RedHat_8.7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.7.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.certificate : Ensure certificate role dependencies are installed] *** Thursday 18 August 2022 22:01:03 +0000 (0:00:00.058) 0:08:25.483 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.certificate : Ensure provider packages are installed] *** Thursday 18 August 2022 22:01:06 +0000 (0:00:02.393) 0:08:27.877 ******* ok: [sut] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.certificate : Ensure pre-scripts hooks directory exists] *** Thursday 18 August 2022 22:01:08 +0000 (0:00:01.848) 0:08:29.725 ******* changed: [sut] => (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": 6, "state": "directory", "uid": 0 } TASK [linux-system-roles.certificate : Ensure post-scripts hooks directory exists] *** Thursday 18 August 2022 22:01:08 +0000 (0:00:00.314) 0:08:30.040 ******* changed: [sut] => (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": 6, "state": "directory", "uid": 0 } TASK [linux-system-roles.certificate : Ensure provider service is running] ***** Thursday 18 August 2022 22:01:08 +0000 (0:00:00.315) 0:08:30.356 ******* ok: [sut] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "enabled": true, "name": "certmonger", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-08-18 21:57:28 UTC", "ActiveEnterTimestampMonotonic": "734278408", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service syslog.target sysinit.target network.target dbus.socket basic.target system.slice systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-08-18 21:57:28 UTC", "AssertTimestampMonotonic": "734263396", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedorahosted.certmonger", "CPUAccounting": "no", "CPUAffinity": "", "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": "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2022-08-18 21:57:28 UTC", "ConditionTimestampMonotonic": "734263396", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/certmonger.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Certificate monitoring and PKI enrollment", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/certmonger (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "11596", "ExecMainStartTimestamp": "Thu 2022-08-18 21:57:28 UTC", "ExecMainStartTimestampMonotonic": "734264705", "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 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/certmonger.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "certmonger.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2022-08-18 21:57:28 UTC", "InactiveExitTimestampMonotonic": "734264769", "InvocationID": "7173674c092c40c69904cb767424f174", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14143", "LimitNPROCSoft": "14143", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14143", "LimitSIGPENDINGSoft": "14143", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "11596", "MemoryAccounting": "yes", "MemoryCurrent": "3657728", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "certmonger.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/certmonger.pid", "PartOf": "dbus.service", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target dbus.socket", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2022-08-18 21:57:28 UTC", "StateChangeTimestampMonotonic": "734278408", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "1", "TasksMax": "22628", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2022-08-18 21:57:28 UTC", "WatchdogTimestampMonotonic": "734278406", "WatchdogUSec": "0" } } TASK [linux-system-roles.certificate : Ensure certificate requests] ************ Thursday 18 August 2022 22:01:09 +0000 (0:00:00.477) 0:08:30.833 ******* changed: [sut] => (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: [sut] => (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. PLAY [Verify certificates] ***************************************************** TASK [Gathering Facts] ********************************************************* Thursday 18 August 2022 22:01:14 +0000 (0:00:05.464) 0:08:36.298 ******* ok: [sut] TASK [Verify each certificate] ************************************************* Thursday 18 August 2022 22:01:15 +0000 (0:00:00.740) 0:08:37.038 ******* included: /WORKDIR/dist-git-certificate-use_distro_python_cryptography-ir2vbc/tests/tasks/assert_certificate_parameters.yml for sut => (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: /WORKDIR/dist-git-certificate-use_distro_python_cryptography-ir2vbc/tests/tasks/assert_certificate_parameters.yml for sut => (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] ***************************************************** Thursday 18 August 2022 22:01:15 +0000 (0:00:00.071) 0:08:37.110 ******* ok: [sut] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Ensure python3 is installed] ********************************************* Thursday 18 August 2022 22:01:15 +0000 (0:00:00.079) 0:08:37.189 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Install the package, force upgrade] ************************************** Thursday 18 August 2022 22:01:17 +0000 (0:00:01.842) 0:08:39.032 ******* changed: [sut] => { "changed": true, "cmd": [ "/tmp/certificate-tests-venv/bin/pip3", "install", "-U", "pip" ], "name": [ "pip" ], "requirements": null, "state": "latest", "version": null, "virtualenv": "/tmp/certificate-tests-venv" } STDOUT: Collecting pip Downloading https://files.pythonhosted.org/packages/a4/6d/6463d49a933f547439d6b5b98b46af8742cc03ae83543e4d7688c2420f8b/pip-21.3.1-py3-none-any.whl (1.7MB) Installing collected packages: pip Found existing installation: pip 9.0.3 Uninstalling pip-9.0.3: Successfully uninstalled pip-9.0.3 Successfully installed pip-21.3.1 STDERR: You are using pip version 21.3.1, however version 22.2.2 is available. You should consider upgrading via the 'pip install --upgrade pip' command. TASK [Ensure Python's cryptography is installed] ******************************* Thursday 18 August 2022 22:01:22 +0000 (0:00:05.197) 0:08:44.229 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Install certreader] ****************************************************** Thursday 18 August 2022 22:01:24 +0000 (0:00:01.813) 0:08:46.043 ******* changed: [sut] => { "changed": true, "cmd": [ "/tmp/certificate-tests-venv/bin/pip3", "install", "certreader>=0.1.1" ], "name": [ "certreader>=0.1.1" ], "requirements": null, "state": "present", "version": null, "virtualenv": "/tmp/certificate-tests-venv" } STDOUT: Collecting certreader>=0.1.1 Downloading certreader-0.1.1.tar.gz (4.4 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting cryptography Downloading cryptography-37.0.4-cp36-abi3-manylinux_2_24_x86_64.whl (4.1 MB) Collecting pyasn1 Downloading pyasn1-0.4.8-py2.py3-none-any.whl (77 kB) Collecting pyyaml Downloading PyYAML-6.0-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (603 kB) Collecting cffi>=1.12 Downloading cffi-1.15.1-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.whl (402 kB) Collecting pycparser Downloading pycparser-2.21-py2.py3-none-any.whl (118 kB) Using legacy 'setup.py install' for certreader, since package 'wheel' is not installed. Installing collected packages: pycparser, cffi, pyyaml, pyasn1, cryptography, certreader Running setup.py install for certreader: started Running setup.py install for certreader: finished with status 'done' Successfully installed certreader-0.1.1 cffi-1.15.1 cryptography-37.0.4 pyasn1-0.4.8 pycparser-2.21 pyyaml-6.0 TASK [Retrieve certificate file stats] ***************************************** Thursday 18 August 2022 22:01:28 +0000 (0:00:04.336) 0:08:50.379 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1660860071.7077012, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "ddf744ada5d7cbf2741db12f3aca8d0f4de5fcc9", "ctime": 1660860071.703701, "dev": 51715, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8389996, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1660860071.703701, "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": "318007778", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** Thursday 18 August 2022 22:01:29 +0000 (0:00:00.454) 0:08:50.834 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* Thursday 18 August 2022 22:01:29 +0000 (0:00:00.049) 0:08:50.883 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** Thursday 18 August 2022 22:01:29 +0000 (0:00:00.104) 0:08:50.987 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* Thursday 18 August 2022 22:01:29 +0000 (0:00:00.102) 0:08:51.090 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1660860069.9806542, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "1dfcccf1f17168cd015f743ffbdd9a94e9406873", "ctime": 1660860071.703701, "dev": 51715, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 16800289, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1660860071.703701, "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": "3523508603", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** Thursday 18 August 2022 22:01:29 +0000 (0:00:00.316) 0:08:51.407 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** Thursday 18 August 2022 22:01:29 +0000 (0:00:00.082) 0:08:51.490 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* Thursday 18 August 2022 22:01:30 +0000 (0:00:00.104) 0:08:51.594 ******* ok: [sut] => { "changed": false, "cmd": [ "/tmp/certificate-tests-venv/bin/certreader2json", "/etc/pki/tls/certs/mycert_basic_ipa.crt" ], "delta": "0:00:00.346054", "end": "2022-08-18 22:01:30.627831", "rc": 0, "start": "2022-08-18 22:01:30.281777" } STDOUT: { "subject": [ { "name": "organizationName", "oid": "2.5.4.10", "value": "TEST.LOCAL" }, { "name": "commonName", "oid": "2.5.4.3", "value": "ipaserver.test.local" } ], "extensions": { "authorityKeyIdentifier": { "value": "AE:3C:F2:41:8A:D9:01:1C:7B:25:82:42:C6:5C:51:7C:7D:FD:B4:6D", "critical": false }, "authorityInfoAccess": { "value": [ { "method": "OCSP", "location": "http://ipa-ca.test.local/ca/ocsp" } ], "critical": false }, "keyUsage": { "value": [ "digital_signature", "content_commitment", "key_encipherment", "data_encipherment" ], "critical": true }, "extendedKeyUsage": { "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" } ], "critical": false }, "cRLDistributionPoints": { "value": [ { "full_name": [ "http://ipa-ca.test.local/ipa/crl/MasterCRL.bin" ], "crl_issuer": [ { "organizationName": "ipaca", "commonName": "Certificate Authority" } ] } ], "critical": false }, "subjectKeyIdentifier": { "value": "CA:9F:20:1C:A7:4B:40:88:ED:15:55:47:88:F4:8C:A0:C2:4C:A9:B9", "critical": false }, "subjectAltName": { "value": [ { "name": "DNS", "value": "ipaserver.test.local" }, { "name": "Universal Principal Name (UPN)", "value": "HTTP/ipaserver.test.local@TEST.LOCAL", "oid": "1.3.6.1.4.1.311.20.2.3" }, { "name": "Kerberos principalname", "value": "HTTP/ipaserver.test.local@TEST.LOCAL", "oid": "1.3.6.1.5.2.2" } ], "critical": false } }, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "9A:D8:CB:BB:27:B8:89:87:E0:84:38:96:07:9B:6E:53:E6:7B:3C:5C:16:98:FE:C1:25:EA:EE:31:A3:AE:A3:69:E7:9B:7A:4B:DE:2F:8F:E8:66:DB:DC:51:19:F1:6A:46:1D:20:60:67:4D:A9:CC:C5:AB:2A:52:80:9C:11:35:99:35:7E:EB:6A:90:AD:4C:A3:09:8B:89:0D:35:14:5B:EF:17:5A:B9:74:E1:0F:25:F4:C7:14:AE:FB:C4:B5:3E:B9:FB:53:71:5E:E8:68:6B:4D:55:BC:8E:95:C1:74:A1:09:2C:3D:8A:77:09:86:BE:C0:34:F7:7F:7F:F3:38:11:29:00:BD:5A:56:66:1B:8F:99:B5:9C:A3:59:AC:74:11:D6:78:F8:5A:44:80:26:CE:C1:09:A7:BD:F8:10:65:2E:7E:0E:39:47:D2:D5:CB:57:35:CB:CE:31:BD:F1:79:DD:E5:09:6C:9A:31:42:74:5E:65:9F:E1:9D:8A:2C:BE:58:C4:6F:5D:EC:C7:38:BB:F9:A5:33:C5:DF:BA:42:5E:EE:BC:0B:50:D4:FB:B0:2B:E0:91:22:5C:20:E5:00:18:05:C7:3F:4C:31:FD:11:D8:CB:BD:E7:AC:40:C4:48:F2:23:49:57:ED:86:72:B2:66:9D:64:59:83:C9:24:89:18:12:9D:7F:DF:94:9A:5F:09:63:67:33:F6:46:54:2F:FC:B4:BE:EB:EF:8B:89:70:CB:42:97:7C:F3:D4:18:E3:CD:AC:E6:21:DF:9F:8F:8E:A6:55:A8:76:CB:D4:61:42:DA:BB:7A:4E:F3:03:1F:F4:22:A5:23:20:74:48:D5:72:EF:65:04:ED:F2:F3:EE:BB:8B:46:0C:00:AD:3B:F5:AF:2B:55:C7:18:3B:E1:38:62:DE:3D:32:11:9F:4A:81:4D:60:58:85:55:90:C9:EF:B2:F2:22:D7:71:61:62:4E:13:C7:FD:5E:12:01:6C:4B:7C:03:6D:0A:7B:49:8F:22:DC:E3:F4:D9" }, "key_size": 2048, "validity": { "not_valid_after": "2024-08-18 22:01:11", "not_valid_before": "2022-08-18 22:01:11" } } STDERR: /tmp/certificate-tests-venv/lib64/python3.6/site-packages/certreader/parse.py:1: CryptographyDeprecationWarning: Python 3.6 is no longer supported by the Python core team. Therefore, support for it is deprecated in cryptography and will be removed in a future release. from cryptography import x509 TASK [Load certificate YAML to cert_issued variable] *************************** Thursday 18 August 2022 22:01:30 +0000 (0:00:00.649) 0:08:52.244 ******* ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityInfoAccess": { "critical": false, "value": [ { "location": "http://ipa-ca.test.local/ca/ocsp", "method": "OCSP" } ] }, "authorityKeyIdentifier": { "critical": false, "value": "AE:3C:F2:41:8A:D9:01:1C:7B:25:82:42:C6:5C:51:7C:7D:FD:B4:6D" }, "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": "CA:9F:20:1C:A7:4B:40:88:ED:15:55:47:88:F4:8C:A0:C2:4C:A9:B9" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "9A:D8:CB:BB:27:B8:89:87:E0:84:38:96:07:9B:6E:53:E6:7B:3C:5C:16:98:FE:C1:25:EA:EE:31:A3:AE:A3:69:E7:9B:7A:4B:DE:2F:8F:E8:66:DB:DC:51:19:F1:6A:46:1D:20:60:67:4D:A9:CC:C5:AB:2A:52:80:9C:11:35:99:35:7E:EB:6A:90:AD:4C:A3:09:8B:89:0D:35:14:5B:EF:17:5A:B9:74:E1:0F:25:F4:C7:14:AE:FB:C4:B5:3E:B9:FB:53:71:5E:E8:68:6B:4D:55:BC:8E:95:C1:74:A1:09:2C:3D:8A:77:09:86:BE:C0:34:F7:7F:7F:F3:38:11:29:00:BD:5A:56:66:1B:8F:99:B5:9C:A3:59:AC:74:11:D6:78:F8:5A:44:80:26:CE:C1:09:A7:BD:F8:10:65:2E:7E:0E:39:47:D2:D5:CB:57:35:CB:CE:31:BD:F1:79:DD:E5:09:6C:9A:31:42:74:5E:65:9F:E1:9D:8A:2C:BE:58:C4:6F:5D:EC:C7:38:BB:F9:A5:33:C5:DF:BA:42:5E:EE:BC:0B:50:D4:FB:B0:2B:E0:91:22:5C:20:E5:00:18:05:C7:3F:4C:31:FD:11:D8:CB:BD:E7:AC:40:C4:48:F2:23:49:57:ED:86:72:B2:66:9D:64:59:83:C9:24:89:18:12:9D:7F:DF:94:9A:5F:09:63:67:33:F6:46:54:2F:FC:B4:BE:EB:EF:8B:89:70:CB:42:97:7C:F3:D4:18:E3:CD:AC:E6:21:DF:9F:8F:8E:A6:55:A8:76:CB:D4:61:42:DA:BB:7A:4E:F3:03:1F:F4:22:A5:23:20:74:48:D5:72:EF:65:04:ED:F2:F3:EE:BB:8B:46:0C:00:AD:3B:F5:AF:2B:55:C7:18:3B:E1:38:62:DE:3D:32:11:9F:4A:81:4D:60:58:85:55:90:C9:EF:B2:F2:22:D7:71:61:62:4E:13:C7:FD:5E:12:01:6C:4B:7C:03:6D:0A:7B:49:8F:22:DC:E3:F4:D9" }, "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": "2024-08-18 22:01:11", "not_valid_before": "2022-08-18 22:01:11" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** Thursday 18 August 2022 22:01:30 +0000 (0:00:00.067) 0:08:52.312 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** Thursday 18 August 2022 22:01:30 +0000 (0:00:00.069) 0:08:52.381 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* Thursday 18 August 2022 22:01:30 +0000 (0:00:00.053) 0:08:52.434 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** Thursday 18 August 2022 22:01:30 +0000 (0:00:00.070) 0:08:52.504 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** Thursday 18 August 2022 22:01:30 +0000 (0:00:00.070) 0:08:52.575 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ Thursday 18 August 2022 22:01:31 +0000 (0:00:00.070) 0:08:52.645 ******* ok: [sut] => { "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.106945", "end": "2022-08-18 22:01:31.405972", "rc": 0, "start": "2022-08-18 22:01:31.299027" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** Thursday 18 August 2022 22:01:31 +0000 (0:00:00.376) 0:08:53.022 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** Thursday 18 August 2022 22:01:31 +0000 (0:00:00.070) 0:08:53.092 ******* ok: [sut] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Ensure python3 is installed] ********************************************* Thursday 18 August 2022 22:01:31 +0000 (0:00:00.043) 0:08:53.136 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Install the package, force upgrade] ************************************** Thursday 18 August 2022 22:01:33 +0000 (0:00:01.840) 0:08:54.977 ******* ok: [sut] => { "changed": false, "cmd": [ "/tmp/certificate-tests-venv/bin/pip3", "install", "-U", "pip" ], "name": [ "pip" ], "requirements": null, "state": "latest", "version": null, "virtualenv": "/tmp/certificate-tests-venv" } STDOUT: Requirement already satisfied: pip in ./certificate-tests-venv/lib/python3.6/site-packages (21.3.1) TASK [Ensure Python's cryptography is installed] ******************************* Thursday 18 August 2022 22:01:34 +0000 (0:00:01.181) 0:08:56.158 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Install certreader] ****************************************************** Thursday 18 August 2022 22:01:36 +0000 (0:00:01.816) 0:08:57.975 ******* ok: [sut] => { "changed": false, "cmd": [ "/tmp/certificate-tests-venv/bin/pip3", "install", "certreader>=0.1.1" ], "name": [ "certreader>=0.1.1" ], "requirements": null, "state": "present", "version": null, "virtualenv": "/tmp/certificate-tests-venv" } STDOUT: Requirement already satisfied: certreader>=0.1.1 in ./certificate-tests-venv/lib/python3.6/site-packages (0.1.1) Requirement already satisfied: cryptography in ./certificate-tests-venv/lib/python3.6/site-packages (from certreader>=0.1.1) (37.0.4) Requirement already satisfied: pyasn1 in ./certificate-tests-venv/lib/python3.6/site-packages (from certreader>=0.1.1) (0.4.8) Requirement already satisfied: pyyaml in ./certificate-tests-venv/lib/python3.6/site-packages (from certreader>=0.1.1) (6.0) Requirement already satisfied: cffi>=1.12 in ./certificate-tests-venv/lib/python3.6/site-packages (from cryptography->certreader>=0.1.1) (1.15.1) Requirement already satisfied: pycparser in ./certificate-tests-venv/lib/python3.6/site-packages (from cffi>=1.12->cryptography->certreader>=0.1.1) (2.21) TASK [Retrieve certificate file stats] ***************************************** Thursday 18 August 2022 22:01:37 +0000 (0:00:00.983) 0:08:58.958 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1660860073.5447512, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "75e7691c0113d5af38135e508fd08400ef8bdf09", "ctime": 1660860074.6347806, "dev": 51715, "device_type": 0, "executable": false, "exists": true, "gid": 50, "gr_name": "ftp", "inode": 8389997, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0640", "mtime": 1660860073.540751, "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": "1750967789", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** Thursday 18 August 2022 22:01:37 +0000 (0:00:00.287) 0:08:59.245 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* Thursday 18 August 2022 22:01:37 +0000 (0:00:00.051) 0:08:59.296 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** Thursday 18 August 2022 22:01:37 +0000 (0:00:00.079) 0:08:59.375 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* Thursday 18 August 2022 22:01:37 +0000 (0:00:00.083) 0:08:59.459 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1660860072.4057202, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "359f08248e44945eda1582bd8cd2d6f3f07907fa", "ctime": 1660860074.6347806, "dev": 51715, "device_type": 0, "executable": false, "exists": true, "gid": 50, "gr_name": "ftp", "inode": 16800290, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0640", "mtime": 1660860073.540751, "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": "10910930", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** Thursday 18 August 2022 22:01:38 +0000 (0:00:00.284) 0:08:59.743 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** Thursday 18 August 2022 22:01:38 +0000 (0:00:00.052) 0:08:59.796 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* Thursday 18 August 2022 22:01:38 +0000 (0:00:00.073) 0:08:59.869 ******* ok: [sut] => { "changed": false, "cmd": [ "/tmp/certificate-tests-venv/bin/certreader2json", "/etc/pki/tls/certs/groupcert.crt" ], "delta": "0:00:00.338982", "end": "2022-08-18 22:01:38.858491", "rc": 0, "start": "2022-08-18 22:01:38.519509" } STDOUT: { "subject": [ { "name": "organizationName", "oid": "2.5.4.10", "value": "TEST.LOCAL" }, { "name": "commonName", "oid": "2.5.4.3", "value": "ipaserver.test.local" } ], "extensions": { "authorityKeyIdentifier": { "value": "AE:3C:F2:41:8A:D9:01:1C:7B:25:82:42:C6:5C:51:7C:7D:FD:B4:6D", "critical": false }, "authorityInfoAccess": { "value": [ { "method": "OCSP", "location": "http://ipa-ca.test.local/ca/ocsp" } ], "critical": false }, "keyUsage": { "value": [ "digital_signature", "content_commitment", "key_encipherment", "data_encipherment" ], "critical": true }, "extendedKeyUsage": { "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" } ], "critical": false }, "cRLDistributionPoints": { "value": [ { "full_name": [ "http://ipa-ca.test.local/ipa/crl/MasterCRL.bin" ], "crl_issuer": [ { "organizationName": "ipaca", "commonName": "Certificate Authority" } ] } ], "critical": false }, "subjectKeyIdentifier": { "value": "B1:EE:0C:A9:1F:6E:73:EC:0D:EF:E9:91:DB:5D:9B:11:CD:AB:70:7F", "critical": false }, "subjectAltName": { "value": [ { "name": "DNS", "value": "ipaserver.test.local" }, { "name": "Universal Principal Name (UPN)", "value": "HTTP/ipaserver.test.local@TEST.LOCAL", "oid": "1.3.6.1.4.1.311.20.2.3" }, { "name": "Kerberos principalname", "value": "HTTP/ipaserver.test.local@TEST.LOCAL", "oid": "1.3.6.1.5.2.2" } ], "critical": false } }, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "58:6F:1C:46:A6:9B:14:CE:C3:4A:15:C4:A6:B0:1C:27:80:6A:1C:70:A4:76:A5:5A:A0:13:02:4E:15:B1:AD:2E:5B:D3:3A:19:2E:EB:E9:8F:1F:16:F3:4C:CB:0D:B4:B3:4A:22:98:98:D8:D4:AB:94:D7:9C:32:17:B3:8E:F0:DB:5B:D0:23:FB:13:72:70:54:EB:6C:FB:E8:FF:7E:02:D4:ED:41:54:02:CE:1B:A2:D9:C4:62:DD:34:B8:94:14:62:5C:9F:CC:85:9F:18:C1:23:39:8B:9C:6E:A8:5D:3D:61:EE:16:4D:3A:31:49:C9:7E:6A:73:A9:56:76:DE:B2:9A:78:76:A2:DA:27:98:F1:01:C5:68:2A:E8:02:F8:4C:4D:24:CD:DC:F4:6A:54:C2:75:75:3E:B0:C8:B5:5D:86:9E:16:E6:FB:E2:19:A1:EA:F3:56:E0:2B:55:A9:9C:49:11:62:2D:50:5A:CD:CB:5A:69:B0:F7:68:9C:5E:F4:DF:06:18:DC:25:D3:B7:29:9A:1E:59:90:7B:B8:C2:4D:34:86:19:DF:B9:2B:19:94:CE:7F:E8:30:57:18:6E:25:BF:FC:B1:76:00:BF:AA:72:17:0F:40:01:B5:C8:41:B5:B1:D5:33:07:52:94:A1:B5:1B:54:33:55:B1:C6:5E:17:5E:AA:C4:14:DE:AE:0E:DF:B4:F9:08:20:C4:9B:0F:B3:E6:40:AF:91:6B:F2:D9:5A:93:BC:9D:D2:A4:62:6A:B5:6F:0F:85:98:D5:1E:7D:3F:A3:93:26:49:42:B3:A0:53:56:9F:27:63:10:AC:3B:88:43:3A:E6:30:1D:C2:2D:8C:C1:DC:F9:71:C4:79:1B:1C:FB:2A:F5:71:5E:E6:97:B4:14:18:C5:C2:0D:0F:FF:7E:E3:3F:B6:6A:7B:82:78:7B:57:C5:AE:A4:BD:0F:41:A5:F7:AC:E5:BF:A2:56:44:42:75:6C:3F:AE:23:B3:A9:15:6B:75:09:80:07:7B:FB:D1:B5:49" }, "key_size": 2048, "validity": { "not_valid_after": "2024-08-18 22:01:13", "not_valid_before": "2022-08-18 22:01:13" } } STDERR: /tmp/certificate-tests-venv/lib64/python3.6/site-packages/certreader/parse.py:1: CryptographyDeprecationWarning: Python 3.6 is no longer supported by the Python core team. Therefore, support for it is deprecated in cryptography and will be removed in a future release. from cryptography import x509 TASK [Load certificate YAML to cert_issued variable] *************************** Thursday 18 August 2022 22:01:38 +0000 (0:00:00.607) 0:09:00.477 ******* ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityInfoAccess": { "critical": false, "value": [ { "location": "http://ipa-ca.test.local/ca/ocsp", "method": "OCSP" } ] }, "authorityKeyIdentifier": { "critical": false, "value": "AE:3C:F2:41:8A:D9:01:1C:7B:25:82:42:C6:5C:51:7C:7D:FD:B4:6D" }, "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": "B1:EE:0C:A9:1F:6E:73:EC:0D:EF:E9:91:DB:5D:9B:11:CD:AB:70:7F" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "58:6F:1C:46:A6:9B:14:CE:C3:4A:15:C4:A6:B0:1C:27:80:6A:1C:70:A4:76:A5:5A:A0:13:02:4E:15:B1:AD:2E:5B:D3:3A:19:2E:EB:E9:8F:1F:16:F3:4C:CB:0D:B4:B3:4A:22:98:98:D8:D4:AB:94:D7:9C:32:17:B3:8E:F0:DB:5B:D0:23:FB:13:72:70:54:EB:6C:FB:E8:FF:7E:02:D4:ED:41:54:02:CE:1B:A2:D9:C4:62:DD:34:B8:94:14:62:5C:9F:CC:85:9F:18:C1:23:39:8B:9C:6E:A8:5D:3D:61:EE:16:4D:3A:31:49:C9:7E:6A:73:A9:56:76:DE:B2:9A:78:76:A2:DA:27:98:F1:01:C5:68:2A:E8:02:F8:4C:4D:24:CD:DC:F4:6A:54:C2:75:75:3E:B0:C8:B5:5D:86:9E:16:E6:FB:E2:19:A1:EA:F3:56:E0:2B:55:A9:9C:49:11:62:2D:50:5A:CD:CB:5A:69:B0:F7:68:9C:5E:F4:DF:06:18:DC:25:D3:B7:29:9A:1E:59:90:7B:B8:C2:4D:34:86:19:DF:B9:2B:19:94:CE:7F:E8:30:57:18:6E:25:BF:FC:B1:76:00:BF:AA:72:17:0F:40:01:B5:C8:41:B5:B1:D5:33:07:52:94:A1:B5:1B:54:33:55:B1:C6:5E:17:5E:AA:C4:14:DE:AE:0E:DF:B4:F9:08:20:C4:9B:0F:B3:E6:40:AF:91:6B:F2:D9:5A:93:BC:9D:D2:A4:62:6A:B5:6F:0F:85:98:D5:1E:7D:3F:A3:93:26:49:42:B3:A0:53:56:9F:27:63:10:AC:3B:88:43:3A:E6:30:1D:C2:2D:8C:C1:DC:F9:71:C4:79:1B:1C:FB:2A:F5:71:5E:E6:97:B4:14:18:C5:C2:0D:0F:FF:7E:E3:3F:B6:6A:7B:82:78:7B:57:C5:AE:A4:BD:0F:41:A5:F7:AC:E5:BF:A2:56:44:42:75:6C:3F:AE:23:B3:A9:15:6B:75:09:80:07:7B:FB:D1:B5:49" }, "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": "2024-08-18 22:01:13", "not_valid_before": "2022-08-18 22:01:13" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** Thursday 18 August 2022 22:01:38 +0000 (0:00:00.070) 0:09:00.547 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** Thursday 18 August 2022 22:01:39 +0000 (0:00:00.071) 0:09:00.618 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* Thursday 18 August 2022 22:01:39 +0000 (0:00:00.053) 0:09:00.672 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** Thursday 18 August 2022 22:01:39 +0000 (0:00:00.073) 0:09:00.745 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** Thursday 18 August 2022 22:01:39 +0000 (0:00:00.070) 0:09:00.815 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ Thursday 18 August 2022 22:01:39 +0000 (0:00:00.069) 0:09:00.885 ******* ok: [sut] => { "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.105781", "end": "2022-08-18 22:01:39.644591", "rc": 0, "start": "2022-08-18 22:01:39.538810" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** Thursday 18 August 2022 22:01:39 +0000 (0:00:00.377) 0:09:01.262 ******* ok: [sut] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* sut : ok=101 changed=32 unreachable=0 failed=0 skipped=34 rescued=0 ignored=0 Thursday 18 August 2022 22:01:39 +0000 (0:00:00.087) 0:09:01.349 ******* =============================================================================== ipaserver : Install - Setup CA ---------------------------------------- 207.31s ipaserver : Install - Ensure that IPA server packages are installed ---- 87.56s ipaserver : Install - Setup HTTP --------------------------------------- 44.56s ipaserver : Install - Enable IPA --------------------------------------- 32.48s ipaserver : Install - Setup DS ----------------------------------------- 19.04s ipaserver : Install - Setup ADTRUST ------------------------------------ 16.48s ipaserver : Install - Setup DNS ---------------------------------------- 13.37s ipaserver : Install - Setup KRB ----------------------------------------- 8.06s ipaserver : Install - Setup NTP ----------------------------------------- 7.94s ipaserver : Install - Ensure that IPA server packages for dns are installed --- 7.24s ipaclient : Install - Create IPA NSS database --------------------------- 6.42s ipaserver : Install - Setup custodia ------------------------------------ 6.09s linux-system-roles.certificate : Ensure certificate requests ------------ 5.46s Install the package, force upgrade -------------------------------------- 5.20s Install certreader ------------------------------------------------------ 4.34s ipaserver : Install - Setup otpd ---------------------------------------- 3.81s ipaserver : Install - Server preparation -------------------------------- 3.43s ipaclient : Install - IPA API calls for remaining enrollment parts ------ 3.33s ipaserver : Install - Set DS password ----------------------------------- 3.25s linux-system-roles.certificate : Ensure certificate role dependencies are installed --- 2.39s ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: [defaults]callback_whitelist option, normalizing names to new standard, use callbacks_enabled instead. This feature will be removed from ansible-core in version 2.15. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---