# 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:57:45 +0000 (0:00:00.020) 0:00:00.020 ******* ok: [sut] TASK [Set __is_beaker_env] ***************************************************** Thursday 18 August 2022 21:57:46 +0000 (0:00:01.022) 0:00:01.043 ******* ok: [sut] => { "ansible_facts": { "__is_beaker_env": false }, "changed": false } TASK [Install ansible-freeipa] ************************************************* Thursday 18 August 2022 21:57:47 +0000 (0:00:00.072) 0:00:01.115 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clone ansible-freeipa repo] ********************************************** Thursday 18 August 2022 21:57:47 +0000 (0:00:00.035) 0:00:01.151 ******* changed: [sut -> 127.0.0.1] => { "after": "a3a7ecd817f01bebc36ffc83709c1fef5fd93b8a", "before": null, "changed": true } TASK [Create role symlinks] **************************************************** Thursday 18 August 2022 21:57:48 +0000 (0:00:01.483) 0:00:02.634 ******* changed: [sut -> 127.0.0.1] => (item=ipaserver) => { "ansible_loop_var": "item", "changed": true, "dest": "/WORKDIR/dist-git-certificate-use_distro_python_cryptography-AzisEh/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-AzisEh/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:57:49 +0000 (0:00:00.583) 0:00:03.218 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Set hostname] ************************************************************ Thursday 18 August 2022 21:57:52 +0000 (0:00:03.071) 0:00:06.290 ******* 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:57:53 +0000 (0:00:00.889) 0:00:07.179 ******* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: nss-3.81.0-1.fc35.x86_64", "Installed: nss-softokn-3.81.0-1.fc35.x86_64", "Installed: nss-softokn-freebl-3.81.0-1.fc35.x86_64", "Installed: nss-sysinit-3.81.0-1.fc35.x86_64", "Installed: nss-util-3.81.0-1.fc35.x86_64", "Removed: nss-3.79.0-1.fc35.x86_64", "Removed: nss-softokn-3.79.0-1.fc35.x86_64", "Removed: nss-softokn-freebl-3.79.0-1.fc35.x86_64", "Removed: nss-sysinit-3.79.0-1.fc35.x86_64", "Removed: nss-util-3.79.0-1.fc35.x86_64" ] } TASK [Include ipaserver role] ************************************************** Thursday 18 August 2022 21:57:57 +0000 (0:00:04.202) 0:00:11.381 ******* TASK [ipaserver : Import variables specific to distribution] ******************* Thursday 18 August 2022 21:57:57 +0000 (0:00:00.047) 0:00:11.429 ******* ok: [sut] => (item=/tmp/freeipa-repo/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": [ "/tmp/freeipa-repo/roles/ipaserver/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/freeipa-repo/roles/ipaserver/vars/Fedora.yml" } TASK [ipaserver : Install IPA server] ****************************************** Thursday 18 August 2022 21:57:57 +0000 (0:00:00.064) 0:00:11.493 ******* 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:57:57 +0000 (0:00:00.093) 0:00:11.587 ******* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: autofs-1:5.1.7-21.fc35.x86_64", "Installed: python3-argcomplete-1.12.3-3.fc35.noarch", "Installed: jdeparser-2.0.3-8.fc35.noarch", "Installed: cyrus-sasl-gssapi-2.1.27-14.fc35.x86_64", "Installed: cyrus-sasl-md5-2.1.27-14.fc35.x86_64", "Installed: httpd-2.4.54-1.fc35.x86_64", "Installed: httpd-filesystem-2.4.54-1.fc35.noarch", "Installed: cyrus-sasl-plain-2.1.27-14.fc35.x86_64", "Installed: httpd-tools-2.4.54-1.fc35.x86_64", "Installed: xalan-j2-2.7.2-9.fc35.noarch", "Installed: perl-DB_File-1.857-1.fc35.x86_64", "Installed: oddjob-0.34.7-4.fc35.x86_64", "Installed: oddjob-mkhomedir-0.34.7-4.fc35.x86_64", "Installed: perl-Devel-Peek-1.30-486.fc35.x86_64", "Installed: certmonger-0.79.15-2.fc35.x86_64", "Installed: tomcat-1:9.0.65-1.fc35.noarch", "Installed: tomcat-el-3.0-api-1:9.0.65-1.fc35.noarch", "Installed: tomcat-jsp-2.3-api-1:9.0.65-1.fc35.noarch", "Installed: tomcat-lib-1:9.0.65-1.fc35.noarch", "Installed: libicu-69.1-6.fc35.x86_64", "Installed: tomcat-servlet-4.0-api-1:9.0.65-1.fc35.noarch", "Installed: python3-decorator-5.0.9-3.fc35.noarch", "Installed: dbus-tools-1:1.12.22-1.fc35.x86_64", "Installed: python3-psutil-5.8.0-12.fc35.x86_64", "Installed: python3-gssapi-1.6.14-2.fc35.x86_64", "Installed: python3-deprecated-1.2.13-1.fc35.noarch", "Installed: libipa_hbac-2.7.3-1.fc35.x86_64", "Installed: logrotate-3.18.1-4.fc35.x86_64", "Installed: python3-mod_wsgi-4.9.0-1.fc35.x86_64", "Installed: samba-client-libs-2:4.15.9-0.fc35.x86_64", "Installed: samba-common-2:4.15.9-0.fc35.noarch", "Installed: samba-common-libs-2:4.15.9-0.fc35.x86_64", "Installed: python3-pyasn1-0.4.8-7.fc35.noarch", "Installed: python3-pyasn1-modules-0.4.8-7.fc35.noarch", "Installed: lua-posix-35.0-4.fc35.x86_64", "Installed: libkadm5-1.19.2-8.fc35.x86_64", "Installed: fontawesome-fonts-1:4.7.0-12.fc35.noarch", "Installed: openssl-1:1.1.1q-1.fc35.x86_64", "Installed: lua-5.4.4-3.fc35.x86_64", "Installed: openssl-perl-1:1.1.1q-1.fc35.x86_64", "Installed: bind-libs-32:9.16.31-1.fc35.x86_64", "Installed: bind-license-32:9.16.31-1.fc35.noarch", "Installed: python3-dogtag-pki-11.0.2-1.fc35.noarch", "Installed: lua-libs-5.4.4-3.fc35.x86_64", "Installed: bind-utils-32:9.16.31-1.fc35.x86_64", "Installed: tzdata-java-2022a-2.fc35.noarch", "Installed: web-assets-filesystem-5-15.fc35.noarch", "Installed: alsa-lib-1.2.7.2-1.fc35.x86_64", "Installed: python3-wrapt-1.12.1-6.fc35.x86_64", "Installed: open-sans-fonts-1.10-15.fc35.noarch", "Installed: publicsuffix-list-20210518-2.fc35.noarch", "Installed: libldb-2.4.4-1.fc35.x86_64", "Installed: libdb-utils-5.3.28-50.fc35.x86_64", "Installed: libsss_autofs-2.7.3-1.fc35.x86_64", "Installed: freeipa-client-4.9.10-2.fc35.x86_64", "Installed: freeipa-client-common-4.9.10-2.fc35.noarch", "Installed: libsss_certmap-2.7.3-1.fc35.x86_64", "Installed: freeipa-common-4.9.10-2.fc35.noarch", "Installed: libsss_idmap-2.7.3-1.fc35.x86_64", "Installed: python3-dns-2.1.0-5.fc35.noarch", "Installed: python3-pyusb-1.2.1-1.fc35.noarch", "Installed: freeipa-healthcheck-core-0.11-2.fc35.noarch", "Installed: libsss_nss_idmap-2.7.3-1.fc35.x86_64", "Installed: lcms2-2.12-2.fc35.x86_64", "Installed: python3-netifaces-0.10.6-15.fc35.x86_64", "Installed: freeipa-server-4.9.10-2.fc35.x86_64", "Installed: freeipa-server-common-4.9.10-2.fc35.noarch", "Installed: bash-completion-1:2.11-3.fc35.noarch", "Installed: libsss_sudo-2.7.3-1.fc35.x86_64", "Installed: ldapjdk-5.0.0-1.fc35.noarch", "Installed: js-jquery-3.5.0-6.fc35.noarch", "Installed: slapi-nis-0.56.7-2.fc35.x86_64", "Installed: slf4j-1.7.30-10.fc35.noarch", "Installed: freetype-2.11.0-6.fc35.x86_64", "Installed: slf4j-jdk14-1.7.30-10.fc35.noarch", "Installed: python-systemd-doc-234-19.fc35.x86_64", "Installed: python3-yubico-1.3.3-7.fc35.noarch", "Installed: xerces-j2-2.12.1-5.fc35.noarch", "Installed: dogtag-pki-acme-11.0.2-1.fc35.noarch", "Installed: dogtag-pki-base-11.0.2-1.fc35.noarch", "Installed: dogtag-pki-base-java-11.0.2-1.fc35.noarch", "Installed: dogtag-pki-ca-11.0.2-1.fc35.noarch", "Installed: dogtag-pki-kra-11.0.2-1.fc35.noarch", "Installed: dogtag-pki-server-11.0.2-1.fc35.noarch", "Installed: dogtag-pki-symkey-11.0.2-1.fc35.x86_64", "Installed: dogtag-pki-tools-11.0.2-1.fc35.x86_64", "Installed: freeipa-selinux-4.9.7-2.fc35.noarch", "Installed: perl-Term-ReadLine-1.17-486.fc35.noarch", "Installed: jackson-annotations-2.11.4-3.fc35.noarch", "Installed: jackson-core-2.11.4-4.fc35.noarch", "Installed: jackson-databind-2.11.4-4.fc35.noarch", "Installed: jss-5.0.0-1.fc35.x86_64", "Installed: perl-IO-Compress-2.102-479.fc35.noarch", "Installed: perl-IO-Compress-Lzma-2.101-4.fc35.noarch", "Installed: jackson-jaxrs-json-provider-2.11.4-4.fc35.noarch", "Installed: jackson-jaxrs-providers-2.11.4-4.fc35.noarch", "Installed: perl-threads-1:2.26-448.fc35.x86_64", "Installed: jackson-module-jaxb-annotations-2.11.4-5.fc35.noarch", "Installed: perl-threads-shared-1.62-478.fc35.x86_64", "Installed: perl-Tie-4.6-486.fc35.noarch", "Installed: jakarta-activation-1.2.2-4.fc35.noarch", "Installed: jakarta-annotations-1.3.5-11.fc35.noarch", "Installed: libuv-1:1.44.2-1.fc35.x86_64", "Installed: lksctp-tools-1.0.18-11.fc35.x86_64", "Installed: mod_auth_gssapi-1.6.3-4.fc35.x86_64", "Installed: python3-jwcrypto-0.9.1-2.fc35.noarch", "Installed: apache-commons-cli-1.5.0-1.fc35.noarch", "Installed: mod_http2-1.15.24-1.fc35.x86_64", "Installed: apache-commons-codec-1.15-4.fc35.noarch", "Installed: perl-IO-Zlib-1:1.11-478.fc35.noarch", "Installed: mod_lua-2.4.54-1.fc35.x86_64", "Installed: tomcat-native-1.2.23-5.fc35.x86_64", "Installed: python3-kdcproxy-1.0.0-7.fc35.noarch", "Installed: tomcatjss-8.0.0-1.fc35.noarch", "Installed: mod_session-2.4.54-1.fc35.x86_64", "Installed: mod_ssl-1:2.4.54-1.fc35.x86_64", "Installed: libpng-2:1.6.37-11.fc35.x86_64", "Installed: perl-debugger-1.60-486.fc35.noarch", "Installed: pki-resteasy-client-3.0.26-13.fc35.noarch", "Installed: apache-commons-io-1:2.8.0-5.fc35.noarch", "Installed: pki-resteasy-core-3.0.26-13.fc35.noarch", "Installed: perl-Text-Diff-1.45-13.fc35.noarch", "Installed: pki-resteasy-jackson2-provider-3.0.26-13.fc35.noarch", "Installed: apache-commons-lang3-3.12.0-3.fc35.noarch", "Installed: libjose-11-3.fc35.x86_64", "Installed: apache-commons-logging-1.2-27.fc35.noarch", "Installed: mod_lookup_identity-1.0.0-14.fc35.x86_64", "Installed: libjpeg-turbo-2.1.0-3.fc35.x86_64", "Installed: java-11-openjdk-headless-1:11.0.16.0.8-1.fc35.x86_64", "Installed: nss-tools-3.81.0-1.fc35.x86_64", "Installed: krb5-pkinit-1.19.2-8.fc35.x86_64", "Installed: apache-commons-net-3.6-13.fc35.noarch", "Installed: krb5-server-1.19.2-8.fc35.x86_64", "Installed: krb5-workstation-1.19.2-8.fc35.x86_64", "Installed: python3-ipaclient-4.9.10-2.fc35.noarch", "Installed: python3-sss-2.7.3-1.fc35.x86_64", "Installed: python3-sss-murmur-2.7.3-1.fc35.x86_64", "Installed: krb5-libs-1.19.2-8.fc35.x86_64", "Installed: python3-ipalib-4.9.10-2.fc35.noarch", "Installed: perl-meta-notation-5.34.1-486.fc35.noarch", "Installed: python3-sssdconfig-2.7.3-1.fc35.noarch", "Installed: perl-Compress-Raw-Bzip2-2.101-479.fc35.x86_64", "Installed: python3-ipaserver-4.9.10-2.fc35.noarch", "Installed: perl-Compress-Raw-Lzma-2.101-3.fc35.x86_64", "Installed: perl-Compress-Raw-Zlib-2.101-479.fc35.x86_64", "Installed: perl-sigtrap-1.09-486.fc35.noarch", "Installed: fstrm-0.6.1-3.fc35.x86_64", "Installed: xml-commons-apis-1.4.01-35.fc35.noarch", "Installed: xml-commons-resolver-1.2-35.fc35.noarch", "Installed: python3-ldap-3.3.1-7.fc35.x86_64", "Installed: fedora-logos-httpd-35.0.0-2.fc35.noarch", "Installed: ecj-1:4.21-1.fc35.noarch", "Installed: python3-augeas-1.1.0-3.fc35.noarch", "Installed: perl-Algorithm-Diff-1.2010-4.fc35.noarch", "Installed: httpcomponents-client-4.5.13-2.fc35.noarch", "Installed: httpcomponents-core-4.4.13-4.fc35.noarch", "Installed: 389-ds-base-2.0.16-1.fc35.x86_64", "Installed: copy-jdk-configs-4.0-2.fc35.noarch", "Installed: 389-ds-base-libs-2.0.16-1.fc35.x86_64", "Installed: openldap-clients-2.4.59-3.fc35.x86_64", "Installed: python3-lib389-2.0.16-1.fc35.noarch", "Installed: openldap-compat-2.4.59-3.fc35.x86_64", "Installed: sscg-3.0.2-6.fc35.x86_64", "Installed: python3-systemd-234-19.fc35.x86_64", "Installed: python3-libipa_hbac-2.7.3-1.fc35.x86_64", "Installed: sssd-client-2.7.3-1.fc35.x86_64", "Installed: sssd-common-2.7.3-1.fc35.x86_64", "Installed: libwbclient-2:4.15.9-0.fc35.x86_64", "Installed: sssd-common-pac-2.7.3-1.fc35.x86_64", "Installed: apr-1.7.0-14.fc35.x86_64", "Installed: sssd-dbus-2.7.3-1.fc35.x86_64", "Installed: softhsm-2.6.1-5.fc35.2.x86_64", "Installed: sssd-idp-2.7.3-1.fc35.x86_64", "Installed: policycoreutils-python-utils-3.3-1.fc35.noarch", "Installed: apr-util-1.6.1-17.fc35.x86_64", "Installed: apr-util-bdb-1.6.1-17.fc35.x86_64", "Installed: sssd-ipa-2.7.3-1.fc35.x86_64", "Installed: sssd-krb5-common-2.7.3-1.fc35.x86_64", "Installed: sssd-tools-2.7.3-1.fc35.x86_64", "Installed: words-3.0-38.fc35.noarch", "Installed: sssd-kcm-2.7.3-1.fc35.x86_64", "Installed: apr-util-openssl-1.6.1-17.fc35.x86_64", "Installed: sssd-nfs-idmap-2.7.3-1.fc35.x86_64", "Installed: graphite2-1.3.14-8.fc35.x86_64", "Installed: mailcap-2.1.53-2.fc35.noarch", "Installed: python3-qrcode-core-6.1-10.fc35.noarch", "Installed: augeas-libs-1.13.0-1.fc35.x86_64", "Installed: javapackages-filesystem-6.0.0-1.fc35.noarch", "Installed: harfbuzz-2.9.1-1.fc35.x86_64", "Installed: javapackages-tools-6.0.0-1.fc35.noarch", "Installed: authselect-1.2.5-1.fc35.x86_64", "Installed: authselect-libs-1.2.5-1.fc35.x86_64", "Installed: jaxb-api-2.3.3-4.fc35.noarch", "Installed: julietaula-montserrat-fonts-1:7.222-1.fc35.noarch", "Installed: jboss-jaxrs-2.0-api-1.0.0-16.fc35.noarch", "Installed: jboss-logging-3.4.1-9.fc35.noarch", "Installed: jboss-logging-tools-2.2.1-6.fc35.noarch", "Installed: cups-libs-1:2.3.3op2-18.fc35.x86_64", "Installed: python3-netaddr-0.8.0-8.fc35.noarch", "Installed: perl-Archive-Tar-2.40-1.fc35.noarch", "Removed: krb5-libs-1.19.2-6.fc35.x86_64", "Removed: libsss_certmap-2.7.1-2.fc35.x86_64", "Removed: libsss_idmap-2.7.1-2.fc35.x86_64", "Removed: libsss_nss_idmap-2.7.1-2.fc35.x86_64", "Removed: libsss_sudo-2.7.1-2.fc35.x86_64", "Removed: lua-libs-5.4.4-1.fc35.x86_64", "Removed: sssd-client-2.7.1-2.fc35.x86_64", "Removed: sssd-common-2.7.1-2.fc35.x86_64", "Removed: sssd-kcm-2.7.1-2.fc35.x86_64", "Removed: sssd-nfs-idmap-2.7.1-2.fc35.x86_64", "Removed: libldb-2.4.2-1.fc35.x86_64" ] } TASK [ipaserver : Install - Ensure that IPA server packages for dns are installed] *** Thursday 18 August 2022 21:58:51 +0000 (0:00:54.206) 0:01:05.793 ******* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: sqlite-3.36.0-3.fc35.x86_64", "Installed: opencryptoki-3.16.0-3.fc35.x86_64", "Installed: freeipa-server-dns-4.9.10-2.fc35.noarch", "Installed: opencryptoki-icsftok-3.16.0-3.fc35.x86_64", "Installed: opencryptoki-libs-3.16.0-3.fc35.x86_64", "Installed: opendnssec-2.1.9-2.fc35.x86_64", "Installed: bind-32:9.16.31-1.fc35.x86_64", "Installed: python3-bind-32:9.16.31-1.fc35.noarch", "Installed: bind-dnssec-doc-32:9.16.31-1.fc35.noarch", "Installed: bind-dnssec-utils-32:9.16.31-1.fc35.x86_64", "Installed: bind-dyndb-ldap-11.9-15.fc35.x86_64", "Installed: ldns-1.8.1-3.fc35.x86_64" ] } TASK [ipaserver : Install - Ensure that IPA server packages for adtrust are installed] *** Thursday 18 August 2022 21:59:00 +0000 (0:00:08.628) 0:01:14.422 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ipaserver : Install - Ensure that firewall packages installed] *********** Thursday 18 August 2022 21:59:00 +0000 (0:00:00.051) 0:01:14.473 ******* 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:59:03 +0000 (0:00:02.844) 0:01:17.318 ******* changed: [sut] => { "changed": true, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "n/a", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestamp": "n/a", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice basic.target dbus.socket sysinit.target dbus-broker.service polkit.service", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestamp": "n/a", "AssertTimestampMonotonic": "0", "Before": "network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestamp": "n/a", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "ip6tables.service iptables.service ebtables.service ipset.service shutdown.target nftables.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "\"man:firewalld(1)\"", "DynamicUser": "no", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestamp": "n/a", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestamp": "n/a", "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 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "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", "InactiveEnterTimestamp": "n/a", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "n/a", "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": "14799", "LimitNPROCSoft": "14799", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14799", "LimitSIGPENDINGSoft": "14799", "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", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "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", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice dbus.socket", "Restart": "no", "RestartKillSignal": "15", "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", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "n/a", "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": "4439", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "disabled", "UtmpMode": "init", "Wants": "network-pre.target", "WatchdogSignal": "6", "WatchdogTimestamp": "n/a", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } TASK [ipaserver : Firewalld - Verify runtime zone "{{ ipaserver_firewalld_zone }}"] *** Thursday 18 August 2022 21:59:05 +0000 (0:00:01.959) 0:01:19.278 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ipaserver : Firewalld - Verify permanent zone "{{ ipaserver_firewalld_zone }}"] *** Thursday 18 August 2022 21:59:05 +0000 (0:00:00.052) 0:01:19.331 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ipaserver : include_tasks] *********************************************** Thursday 18 August 2022 21:59:05 +0000 (0:00:00.053) 0:01:19.384 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ipaserver : Install - Server installation test] ************************** Thursday 18 August 2022 21:59:05 +0000 (0:00:00.051) 0:01:19.436 ******* 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": 766199999, "idstart": 766000000, "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:59:07 +0000 (0:00:02.123) 0:01:21.559 ******* 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:59:08 +0000 (0:00:01.459) 0:01:23.019 ******* 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:59:08 +0000 (0:00:00.056) 0:01:23.075 ******* 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.252" ], "dns_reverse_zones": [], "forward_policy": "only", "forwarders": [ "10.29.169.13", "10.29.170.12", "10.2.32.1" ], "ip_addresses": [ "10.31.10.252" ], "no_dnssec_validation": true, "reverse_zones": [], "subject_base": "O=TEST.LOCAL" } TASK [ipaserver : Install - Setup NTP] ***************************************** Thursday 18 August 2022 21:59:11 +0000 (0:00:02.650) 0:01:25.726 ******* changed: [sut] => { "changed": true } TASK [ipaserver : Install - Setup DS] ****************************************** Thursday 18 August 2022 21:59:22 +0000 (0:00:10.842) 0:01:36.569 ******* changed: [sut] => { "changed": true } TASK [ipaserver : Install - Setup KRB] ***************************************** Thursday 18 August 2022 21:59:40 +0000 (0:00:18.432) 0:01:55.002 ******* changed: [sut] => { "changed": true } TASK [ipaserver : Install - Setup custodia] ************************************ Thursday 18 August 2022 21:59:47 +0000 (0:00:06.701) 0:02:01.704 ******* changed: [sut] => { "changed": true } TASK [ipaserver : Install - Setup CA] ****************************************** Thursday 18 August 2022 21:59:52 +0000 (0:00:05.303) 0:02:07.008 ******* changed: [sut] => { "changed": true, "csr_generated": false } TASK [ipaserver : Copy /root/ipa.csr to "sut-ipa.csr"] ************************* Thursday 18 August 2022 22:03:57 +0000 (0:04:04.676) 0:06:11.684 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ipaserver : Install - Setup otpd] **************************************** Thursday 18 August 2022 22:03:57 +0000 (0:00:00.055) 0:06:11.739 ******* changed: [sut] => { "changed": true } TASK [ipaserver : Install - Setup HTTP] **************************************** Thursday 18 August 2022 22:04:01 +0000 (0:00:03.386) 0:06:15.126 ******* changed: [sut] => { "changed": true } TASK [ipaserver : Install - Setup KRA] ***************************************** Thursday 18 August 2022 22:04:44 +0000 (0:00:43.865) 0:06:58.992 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ipaserver : Install - Setup DNS] ***************************************** Thursday 18 August 2022 22:04:44 +0000 (0:00:00.057) 0:06:59.050 ******* changed: [sut] => { "changed": true } TASK [ipaserver : Install - Setup ADTRUST] ************************************* Thursday 18 August 2022 22:04:56 +0000 (0:00:11.376) 0:07:10.426 ******* changed: [sut] => { "changed": true } TASK [ipaserver : Install - Set DS password] *********************************** Thursday 18 August 2022 22:05:13 +0000 (0:00:16.961) 0:07:27.388 ******* changed: [sut] => { "changed": true } TASK [Install - Setup client] ************************************************** Thursday 18 August 2022 22:05:16 +0000 (0:00:02.760) 0:07:30.149 ******* TASK [ipaclient : Import variables specific to distribution] ******************* Thursday 18 August 2022 22:05:16 +0000 (0:00:00.089) 0:07:30.238 ******* ok: [sut] => (item=/tmp/freeipa-repo/roles/ipaclient/vars/default.yml) => { "ansible_facts": { "ipaclient_packages": [ "ipa-client", "python3-libselinux" ] }, "ansible_included_var_files": [ "/tmp/freeipa-repo/roles/ipaclient/vars/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/freeipa-repo/roles/ipaclient/vars/default.yml" } TASK [ipaclient : Install IPA client] ****************************************** Thursday 18 August 2022 22:05:16 +0000 (0:00:00.131) 0:07:30.370 ******* 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:05:16 +0000 (0:00:00.130) 0:07:30.501 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [ipaclient : Install - Set ipaclient_servers] ***************************** Thursday 18 August 2022 22:05:19 +0000 (0:00:03.165) 0:07:33.666 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ipaclient : Install - Set ipaclient_servers from cluster inventory] ****** Thursday 18 August 2022 22:05:19 +0000 (0:00:00.059) 0:07:33.726 ******* 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:05:19 +0000 (0:00:00.058) 0:07:33.784 ******* 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:05:19 +0000 (0:00:00.056) 0:07:33.841 ******* ok: [sut] => { "ansible_facts": { "ipaadmin_principal": "admin" }, "changed": false } TASK [ipaclient : Install - IPA client test] *********************************** Thursday 18 August 2022 22:05:19 +0000 (0:00:00.076) 0:07:33.918 ******* 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:05:20 +0000 (0:00:01.036) 0:07:34.954 ******* ok: [sut] => { "changed": false, "path": "/etc/ipa/.dns_ccache", "state": "absent" } TASK [ipaclient : Install - Configure NTP] ************************************* Thursday 18 August 2022 22:05:21 +0000 (0:00:00.312) 0:07:35.266 ******* ok: [sut] => { "changed": false } TASK [ipaclient : Install - Make sure One-Time Password is enabled if it's already defined] *** Thursday 18 August 2022 22:05:22 +0000 (0:00:01.004) 0:07:36.270 ******* 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:05:22 +0000 (0:00:00.060) 0:07:36.331 ******* 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:05:22 +0000 (0:00:00.060) 0:07:36.392 ******* 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:05:24 +0000 (0:00:02.054) 0:07:38.446 ******* 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:05:24 +0000 (0:00:00.060) 0:07:38.506 ******* 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:05:24 +0000 (0:00:00.072) 0:07:38.579 ******* 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:05:24 +0000 (0:00:00.060) 0:07:38.640 ******* skipping: [sut] => {} TASK [ipaclient : Install - Store the previously obtained OTP] ***************** Thursday 18 August 2022 22:05:24 +0000 (0:00:00.058) 0:07:38.699 ******* 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:05:24 +0000 (0:00:00.061) 0:07:38.760 ******* 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:05:24 +0000 (0:00:00.059) 0:07:38.819 ******* 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:05:24 +0000 (0:00:00.060) 0:07:38.880 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ipaclient : Install - Purge TEST.LOCAL from host keytab] ***************** Thursday 18 August 2022 22:05:24 +0000 (0:00:00.062) 0:07:38.943 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ipaclient : Install - Backup and set hostname] *************************** Thursday 18 August 2022 22:05:24 +0000 (0:00:00.062) 0:07:39.005 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ipaclient : Install - Join IPA] ****************************************** Thursday 18 August 2022 22:05:24 +0000 (0:00:00.059) 0:07:39.064 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ipaclient : krb5 configuration not correct] ****************************** Thursday 18 August 2022 22:05:25 +0000 (0:00:00.059) 0:07:39.124 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ipaclient : IPA test failed] ********************************************* Thursday 18 August 2022 22:05:25 +0000 (0:00:00.062) 0:07:39.187 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ipaclient : ca.crt file is missing] ************************************** Thursday 18 August 2022 22:05:25 +0000 (0:00:00.063) 0:07:39.250 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ipaclient : Install - Configure IPA default.conf] ************************ Thursday 18 August 2022 22:05:25 +0000 (0:00:00.061) 0:07:39.311 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ipaclient : Install - Configure SSSD] ************************************ Thursday 18 August 2022 22:05:25 +0000 (0:00:00.062) 0:07:39.374 ******* changed: [sut] => { "changed": true } TASK [ipaclient : Install - Configure krb5 for IPA realm] ********************** Thursday 18 August 2022 22:05:26 +0000 (0:00:01.026) 0:07:40.400 ******* 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:05:26 +0000 (0:00:00.064) 0:07:40.465 ******* changed: [sut] => { "ca_enabled": true, "changed": true, "subject_base": "O=TEST.LOCAL" } TASK [ipaclient : Install - Fix IPA ca] **************************************** Thursday 18 August 2022 22:05:29 +0000 (0:00:03.118) 0:07:43.583 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ipaclient : Install - Create IPA NSS database] *************************** Thursday 18 August 2022 22:05:29 +0000 (0:00:00.064) 0:07:43.648 ******* changed: [sut] => { "ca_enabled_ra": true, "changed": true } TASK [ipaclient : Install - Configure SSH and SSHD] **************************** Thursday 18 August 2022 22:05:36 +0000 (0:00:06.647) 0:07:50.296 ******* changed: [sut] => { "changed": true } TASK [ipaclient : Install - Configure automount] ******************************* Thursday 18 August 2022 22:05:37 +0000 (0:00:01.050) 0:07:51.346 ******* changed: [sut] => { "changed": true } TASK [ipaclient : Install - Configure firefox] ********************************* Thursday 18 August 2022 22:05:38 +0000 (0:00:00.987) 0:07:52.333 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ipaclient : Install - Configure NIS] ************************************* Thursday 18 August 2022 22:05:38 +0000 (0:00:00.063) 0:07:52.397 ******* changed: [sut] => { "changed": true } TASK [ipaclient : Install - Restore original admin password if overwritten by OTP] *** Thursday 18 August 2022 22:05:39 +0000 (0:00:01.316) 0:07:53.714 ******* 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:05:39 +0000 (0:00:00.062) 0:07:53.777 ******* ok: [sut] => { "changed": false, "path": "/etc/ipa/.dns_ccache", "state": "absent" } TASK [ipaclient : Uninstall IPA client] **************************************** Thursday 18 August 2022 22:05:39 +0000 (0:00:00.308) 0:07:54.086 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ipaserver : Install - Enable IPA] **************************************** Thursday 18 August 2022 22:05:40 +0000 (0:00:00.068) 0:07:54.154 ******* changed: [sut] => { "changed": true } TASK [ipaserver : Install - Cleanup root IPA cache] **************************** Thursday 18 August 2022 22:06:07 +0000 (0:00:27.568) 0:08:21.722 ******* ok: [sut] => { "changed": false, "path": "/root/.ipa_cache", "state": "absent" } TASK [ipaserver : Install - Configure firewalld] ******************************* Thursday 18 August 2022 22:06:08 +0000 (0:00:00.488) 0:08:22.210 ******* 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.607834", "end": "2022-08-18 22:06:09.293352", "rc": 0, "start": "2022-08-18 22:06:08.685518" } STDOUT: success TASK [ipaserver : Install - Configure firewalld runtime] *********************** Thursday 18 August 2022 22:06:09 +0000 (0:00:01.224) 0:08:23.435 ******* 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.580324", "end": "2022-08-18 22:06:10.331602", "rc": 0, "start": "2022-08-18 22:06:09.751278" } STDOUT: success TASK [ipaserver : Cleanup temporary files] ************************************* Thursday 18 August 2022 22:06:10 +0000 (0:00:01.039) 0:08:24.474 ******* 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:06:11 +0000 (0:00:01.269) 0:08:25.744 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } PLAY [Issue IPA signed certificates] ******************************************* TASK [Gathering Facts] ********************************************************* Thursday 18 August 2022 22:06:11 +0000 (0:00:00.087) 0:08:25.831 ******* ok: [sut] TASK [linux-system-roles.certificate : Set version specific variables] ********* Thursday 18 August 2022 22:06:12 +0000 (0:00:01.108) 0:08:26.940 ******* included: /WORKDIR/dist-git-certificate-use_distro_python_cryptography-AzisEh/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:06:13 +0000 (0:00:00.202) 0:08:27.142 ******* ok: [sut] TASK [linux-system-roles.certificate : Set platform/version specific variables] *** Thursday 18 August 2022 22:06:13 +0000 (0:00:00.643) 0:08:27.786 ******* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.certificate : Ensure certificate role dependencies are installed] *** Thursday 18 August 2022 22:06:13 +0000 (0:00:00.077) 0:08:27.863 ******* 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:06:16 +0000 (0:00:02.837) 0:08:30.701 ******* 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:06:19 +0000 (0:00:02.800) 0:08:33.502 ******* 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": 4096, "state": "directory", "uid": 0 } TASK [linux-system-roles.certificate : Ensure post-scripts hooks directory exists] *** Thursday 18 August 2022 22:06:19 +0000 (0:00:00.410) 0:08:33.913 ******* 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": 4096, "state": "directory", "uid": 0 } TASK [linux-system-roles.certificate : Ensure provider service is running] ***** Thursday 18 August 2022 22:06:20 +0000 (0:00:00.363) 0:08:34.276 ******* 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 22:02:32 UTC", "ActiveEnterTimestampMonotonic": "1072599921", "ActiveExitTimestamp": "n/a", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket system.slice network.target syslog.target sysinit.target basic.target dbus-broker.service dbus.socket", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-08-18 22:02:32 UTC", "AssertTimestampMonotonic": "1072563885", "Before": "shutdown.target multi-user.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": "61098382000", "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": "Thu 2022-08-18 22:02:32 UTC", "ConditionTimestampMonotonic": "1072563882", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/certmonger.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Certificate monitoring and PKI enrollment", "DevicePolicy": "auto", "DynamicUser": "no", "EnvironmentFiles": "/etc/sysconfig/certmonger (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestamp": "n/a", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "15521", "ExecMainStartTimestamp": "Thu 2022-08-18 22:02:32 UTC", "ExecMainStartTimestampMonotonic": "1072565874", "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 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "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", "InactiveEnterTimestamp": "n/a", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2022-08-18 22:02:32 UTC", "InactiveExitTimestampMonotonic": "1072567036", "InvocationID": "a16c9e690e594caca6dc42bb9ca9ebf1", "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": "14799", "LimitNPROCSoft": "14799", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14799", "LimitSIGPENDINGSoft": "14799", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "15521", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "2297856", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "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", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket system.slice sysinit.target", "Restart": "no", "RestartKillSignal": "15", "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", "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 22:05:43 UTC", "StateChangeTimestampMonotonic": "1263336911", "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": "4439", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestamp": "n/a", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [linux-system-roles.certificate : Ensure certificate requests] ************ Thursday 18 August 2022 22:06:20 +0000 (0:00:00.592) 0:08:34.869 ******* 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:06:25 +0000 (0:00:05.167) 0:08:40.037 ******* ok: [sut] TASK [Verify each certificate] ************************************************* Thursday 18 August 2022 22:06:26 +0000 (0:00:00.709) 0:08:40.746 ******* included: /WORKDIR/dist-git-certificate-use_distro_python_cryptography-AzisEh/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-AzisEh/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:06:26 +0000 (0:00:00.071) 0:08:40.818 ******* ok: [sut] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Ensure python3 is installed] ********************************************* Thursday 18 August 2022 22:06:26 +0000 (0:00:00.058) 0:08:40.876 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Install the package, force upgrade] ************************************** Thursday 18 August 2022 22:06:29 +0000 (0:00:02.759) 0:08:43.636 ******* 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: Requirement already satisfied: pip in ./certificate-tests-venv/lib/python3.10/site-packages (21.2.3) Collecting pip Downloading pip-22.2.2-py3-none-any.whl (2.0 MB) Installing collected packages: pip Attempting uninstall: pip Found existing installation: pip 21.2.3 Uninstalling pip-21.2.3: Successfully uninstalled pip-21.2.3 Successfully installed pip-22.2.2 TASK [Ensure Python's cryptography is installed] ******************************* Thursday 18 August 2022 22:06:36 +0000 (0:00:06.478) 0:08:50.114 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Install certreader] ****************************************************** Thursday 18 August 2022 22:06:38 +0000 (0:00:02.796) 0:08:52.911 ******* 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) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.1/4.1 MB 44.0 MB/s eta 0:00:00 Collecting pyasn1 Downloading pyasn1-0.4.8-py2.py3-none-any.whl (77 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 77.1/77.1 kB 11.1 MB/s eta 0:00:00 Collecting pyyaml Downloading PyYAML-6.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (682 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 682.2/682.2 kB 39.7 MB/s eta 0:00:00 Collecting cffi>=1.12 Downloading cffi-1.15.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (441 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 441.8/441.8 kB 36.4 MB/s eta 0:00:00 Collecting pycparser Downloading pycparser-2.21-py2.py3-none-any.whl (118 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 118.7/118.7 kB 16.3 MB/s eta 0:00:00 Using legacy 'setup.py install' for certreader, since package 'wheel' is not installed. Installing collected packages: pyasn1, pyyaml, pycparser, cffi, 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:06:42 +0000 (0:00:03.286) 0:08:56.198 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1660860383.9543624, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "13f42291e3fad2d999a22a675df831c4dc42bd4b", "ctime": 1660860383.9493625, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 159495, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1660860383.9493625, "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": "884984982", "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:06:42 +0000 (0:00:00.453) 0:08:56.652 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* Thursday 18 August 2022 22:06:42 +0000 (0:00:00.049) 0:08:56.701 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** Thursday 18 August 2022 22:06:42 +0000 (0:00:00.070) 0:08:56.771 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* Thursday 18 August 2022 22:06:42 +0000 (0:00:00.099) 0:08:56.871 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1660860381.6183174, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "c7db7f4f5c30686cd16c6926f4cc1f8fe5b1d938", "ctime": 1660860383.9493625, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 159494, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1660860383.9493625, "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": "2153314799", "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:06:43 +0000 (0:00:00.324) 0:08:57.195 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** Thursday 18 August 2022 22:06:43 +0000 (0:00:00.050) 0:08:57.245 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* Thursday 18 August 2022 22:06:43 +0000 (0:00:00.072) 0:08:57.318 ******* ok: [sut] => { "changed": false, "cmd": [ "/tmp/certificate-tests-venv/bin/certreader2json", "/etc/pki/tls/certs/mycert_basic_ipa.crt" ], "delta": "0:00:00.283758", "end": "2022-08-18 22:06:43.746826", "rc": 0, "start": "2022-08-18 22:06:43.463068" } 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": "74:0F:8B:37:32:2A:4B:86:62:C8:64:4B:5D:6B:07:76:25:73:05:AD", "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:F6:EA:82:6D:D4:A8:02:BC:89:AD:AF:96:BA:3A:5D:BD:B0:EE:45", "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": "43:FD:4E:03:3D:F3:98:7E:A5:80:E8:06:8B:FA:EE:39:AF:19:92:D4:71:72:58:D0:04:AC:AB:38:FE:F9:57:9E:D9:97:39:FF:C6:06:E6:1D:57:37:66:07:2D:05:10:F4:9C:A8:22:AD:4A:6A:82:0C:5E:CC:22:04:66:B2:06:38:85:6E:71:E1:15:8C:FE:AB:00:8D:DD:C7:92:6E:37:29:F1:28:10:FB:1F:B5:77:FE:AC:A4:F8:F9:43:19:8C:E1:FB:F8:2C:55:33:14:31:99:FA:C8:05:20:CE:FF:53:65:EE:F1:1E:19:78:E5:C0:32:03:E5:85:41:13:64:2D:F0:25:4B:35:28:A9:D0:EC:B0:40:E4:2C:D3:69:14:BD:82:1C:D0:99:D0:46:CA:F1:4E:5F:20:BD:A2:E7:42:AE:E3:38:70:31:DA:58:9A:94:34:DE:CD:60:38:E8:D1:35:A5:4E:55:1B:3B:12:B9:48:FE:70:E2:3C:C1:5C:0D:A0:CB:AF:4B:D8:CA:CB:88:63:0C:DE:04:2F:C3:4D:DE:A6:71:3A:9A:28:6C:F8:BF:73:73:57:35:FD:E8:E2:91:31:1F:8E:93:72:D1:41:68:7C:ED:AF:E0:93:58:9A:C7:EC:E3:52:DD:1D:5A:EC:4D:37:40:77:F4:A3:D4:1D:32:0F:00:C3:6B:D2:33:CE:F3:8C:4A:2B:2D:59:96:25:2D:A9:5C:54:93:46:01:62:79:9A:19:3E:44:97:51:BC:7C:08:2A:C4:6B:B2:66:C5:65:C3:FF:1F:0E:4D:78:B6:F0:E4:94:EA:D1:31:D6:B5:3B:60:1D:B0:52:B2:00:0A:7B:BE:CE:0D:56:E4:EA:49:C4:E6:CE:11:16:E6:02:D5:D1:95:79:3D:CD:52:C1:4B:54:A9:3C:4F:7A:FF:58:20:E9:8E:6B:93:68:17:E2:CF:6D:38:43:80:92:B9:8D:B7:42:96:AB:E1:67:23:AC:55:8D:CB:9C:7C:C4:FF:5B:0A:EE:B7:90" }, "key_size": 2048, "validity": { "not_valid_after": "2024-08-18 22:06:23", "not_valid_before": "2022-08-18 22:06:23" } } TASK [Load certificate YAML to cert_issued variable] *************************** Thursday 18 August 2022 22:06:43 +0000 (0:00:00.561) 0:08:57.880 ******* 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": "74:0F:8B:37:32:2A:4B:86:62:C8:64:4B:5D:6B:07:76:25:73:05:AD" }, "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:F6:EA:82:6D:D4:A8:02:BC:89:AD:AF:96:BA:3A:5D:BD:B0:EE:45" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "43:FD:4E:03:3D:F3:98:7E:A5:80:E8:06:8B:FA:EE:39:AF:19:92:D4:71:72:58:D0:04:AC:AB:38:FE:F9:57:9E:D9:97:39:FF:C6:06:E6:1D:57:37:66:07:2D:05:10:F4:9C:A8:22:AD:4A:6A:82:0C:5E:CC:22:04:66:B2:06:38:85:6E:71:E1:15:8C:FE:AB:00:8D:DD:C7:92:6E:37:29:F1:28:10:FB:1F:B5:77:FE:AC:A4:F8:F9:43:19:8C:E1:FB:F8:2C:55:33:14:31:99:FA:C8:05:20:CE:FF:53:65:EE:F1:1E:19:78:E5:C0:32:03:E5:85:41:13:64:2D:F0:25:4B:35:28:A9:D0:EC:B0:40:E4:2C:D3:69:14:BD:82:1C:D0:99:D0:46:CA:F1:4E:5F:20:BD:A2:E7:42:AE:E3:38:70:31:DA:58:9A:94:34:DE:CD:60:38:E8:D1:35:A5:4E:55:1B:3B:12:B9:48:FE:70:E2:3C:C1:5C:0D:A0:CB:AF:4B:D8:CA:CB:88:63:0C:DE:04:2F:C3:4D:DE:A6:71:3A:9A:28:6C:F8:BF:73:73:57:35:FD:E8:E2:91:31:1F:8E:93:72:D1:41:68:7C:ED:AF:E0:93:58:9A:C7:EC:E3:52:DD:1D:5A:EC:4D:37:40:77:F4:A3:D4:1D:32:0F:00:C3:6B:D2:33:CE:F3:8C:4A:2B:2D:59:96:25:2D:A9:5C:54:93:46:01:62:79:9A:19:3E:44:97:51:BC:7C:08:2A:C4:6B:B2:66:C5:65:C3:FF:1F:0E:4D:78:B6:F0:E4:94:EA:D1:31:D6:B5:3B:60:1D:B0:52:B2:00:0A:7B:BE:CE:0D:56:E4:EA:49:C4:E6:CE:11:16:E6:02:D5:D1:95:79:3D:CD:52:C1:4B:54:A9:3C:4F:7A:FF:58:20:E9:8E:6B:93:68:17:E2:CF:6D:38:43:80:92:B9:8D:B7:42:96:AB:E1:67:23:AC:55:8D:CB:9C:7C:C4:FF:5B:0A:EE:B7:90" }, "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:06:23", "not_valid_before": "2022-08-18 22:06:23" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** Thursday 18 August 2022 22:06:43 +0000 (0:00:00.098) 0:08:57.978 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** Thursday 18 August 2022 22:06:43 +0000 (0:00:00.098) 0:08:58.077 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* Thursday 18 August 2022 22:06:44 +0000 (0:00:00.081) 0:08:58.158 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** Thursday 18 August 2022 22:06:44 +0000 (0:00:00.067) 0:08:58.225 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** Thursday 18 August 2022 22:06:44 +0000 (0:00:00.099) 0:08:58.324 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ Thursday 18 August 2022 22:06:44 +0000 (0:00:00.097) 0:08:58.422 ******* 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.087243", "end": "2022-08-18 22:06:44.683149", "rc": 0, "start": "2022-08-18 22:06:44.595906" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** Thursday 18 August 2022 22:06:44 +0000 (0:00:00.393) 0:08:58.815 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** Thursday 18 August 2022 22:06:44 +0000 (0:00:00.068) 0:08:58.884 ******* ok: [sut] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Ensure python3 is installed] ********************************************* Thursday 18 August 2022 22:06:44 +0000 (0:00:00.044) 0:08:58.929 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Install the package, force upgrade] ************************************** Thursday 18 August 2022 22:06:47 +0000 (0:00:02.763) 0:09:01.693 ******* 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.10/site-packages (22.2.2) TASK [Ensure Python's cryptography is installed] ******************************* Thursday 18 August 2022 22:06:48 +0000 (0:00:01.037) 0:09:02.731 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Install certreader] ****************************************************** Thursday 18 August 2022 22:06:51 +0000 (0:00:02.769) 0:09:05.500 ******* 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.10/site-packages (0.1.1) Requirement already satisfied: cryptography in ./certificate-tests-venv/lib/python3.10/site-packages (from certreader>=0.1.1) (37.0.4) Requirement already satisfied: pyasn1 in ./certificate-tests-venv/lib/python3.10/site-packages (from certreader>=0.1.1) (0.4.8) Requirement already satisfied: pyyaml in ./certificate-tests-venv/lib/python3.10/site-packages (from certreader>=0.1.1) (6.0) Requirement already satisfied: cffi>=1.12 in ./certificate-tests-venv/lib/python3.10/site-packages (from cryptography->certreader>=0.1.1) (1.15.1) Requirement already satisfied: pycparser in ./certificate-tests-venv/lib/python3.10/site-packages (from cffi>=1.12->cryptography->certreader>=0.1.1) (2.21) TASK [Retrieve certificate file stats] ***************************************** Thursday 18 August 2022 22:06:52 +0000 (0:00:00.931) 0:09:06.432 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1660860385.8023982, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8de60ac9ca2daeb448d50b1f5a5871fd432779e0", "ctime": 1660860385.8573995, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 50, "gr_name": "ftp", "inode": 159497, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0640", "mtime": 1660860385.7953982, "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": "291154787", "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:06:52 +0000 (0:00:00.286) 0:09:06.718 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* Thursday 18 August 2022 22:06:52 +0000 (0:00:00.049) 0:09:06.768 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** Thursday 18 August 2022 22:06:52 +0000 (0:00:00.076) 0:09:06.845 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* Thursday 18 August 2022 22:06:52 +0000 (0:00:00.072) 0:09:06.917 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1660860384.645376, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7328fb689d8a48c74b22207f031afb1d3c78e8f9", "ctime": 1660860385.8583994, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 50, "gr_name": "ftp", "inode": 159496, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0640", "mtime": 1660860385.7953982, "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": "4250441099", "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:06:53 +0000 (0:00:00.289) 0:09:07.207 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** Thursday 18 August 2022 22:06:53 +0000 (0:00:00.048) 0:09:07.256 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* Thursday 18 August 2022 22:06:53 +0000 (0:00:00.071) 0:09:07.328 ******* ok: [sut] => { "changed": false, "cmd": [ "/tmp/certificate-tests-venv/bin/certreader2json", "/etc/pki/tls/certs/groupcert.crt" ], "delta": "0:00:00.285238", "end": "2022-08-18 22:06:53.755634", "rc": 0, "start": "2022-08-18 22:06:53.470396" } 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": "74:0F:8B:37:32:2A:4B:86:62:C8:64:4B:5D:6B:07:76:25:73:05:AD", "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": "76:12:0D:EF:44:32:60:18:42:C3:D2:CC:4A:D6:BC:85:1B:98:72:8F", "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": "BA:6E:21:B0:6D:12:BA:F9:C2:D7:AC:38:C5:F7:71:4E:A7:04:84:39:4C:E1:29:96:02:EC:48:16:6E:A4:21:81:BC:30:83:64:60:58:8A:78:6F:71:87:62:1D:D8:6C:AA:C7:98:FE:B6:34:89:72:C3:34:E4:E5:49:55:36:91:9E:8A:A8:B7:1B:69:A9:66:3A:76:AB:AA:8A:63:8E:F3:D7:FA:2E:3F:C8:47:6E:2C:80:48:A8:25:DB:71:B5:B7:26:46:F0:63:15:63:F1:D9:9E:EB:99:05:8E:D1:CF:DC:8E:A6:F3:6B:34:B1:FE:33:A2:56:87:B3:63:5E:AD:B8:E5:3A:7C:40:D2:D5:31:F9:87:9A:A7:5F:C8:57:44:A9:C4:5C:22:BA:64:12:AB:DB:9D:9D:A0:E3:52:CA:6C:22:EF:B4:64:7B:06:50:1B:68:95:13:29:FD:41:EF:2B:60:AC:E9:E0:3C:76:81:36:CA:27:DE:45:61:13:7D:BC:F0:E5:5C:68:41:A6:44:CB:3F:A1:11:B5:F1:C8:66:BE:FE:4C:C8:47:67:3B:08:DA:EB:2C:97:77:5B:34:BD:45:C1:88:DA:B7:A7:33:35:ED:0B:DA:A4:2C:50:C1:AB:28:AE:BD:1B:14:F6:39:66:7B:69:FD:C7:9F:E3:AB:3D:D3:12:D8:5E:BA:59:E4:CC:BC:B7:F4:74:97:6A:CB:BF:47:47:0A:FB:D5:CC:7B:2B:B0:3C:1C:28:6B:96:62:34:AB:F4:E9:2E:D9:2E:82:39:02:7B:D0:F2:FF:AE:39:D7:CE:D1:88:E5:0C:68:AA:D6:FC:BA:9F:48:2A:ED:FE:7F:21:73:EC:5E:A6:CA:A6:C7:A4:3D:35:0A:5A:E3:0E:BE:16:CF:C9:7B:2B:CB:94:CB:FD:58:DF:17:A4:AC:81:BE:19:54:89:6D:A3:A5:E7:A3:B5:35:36:6E:86:82:98:D6:FE:13:C7:BF:72:23:9F:EF:49:E3:82:AA:77:9F:B9:2E:CD:9F:C4" }, "key_size": 2048, "validity": { "not_valid_after": "2024-08-18 22:06:25", "not_valid_before": "2022-08-18 22:06:25" } } TASK [Load certificate YAML to cert_issued variable] *************************** Thursday 18 August 2022 22:06:53 +0000 (0:00:00.560) 0:09:07.889 ******* 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": "74:0F:8B:37:32:2A:4B:86:62:C8:64:4B:5D:6B:07:76:25:73:05:AD" }, "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": "76:12:0D:EF:44:32:60:18:42:C3:D2:CC:4A:D6:BC:85:1B:98:72:8F" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "BA:6E:21:B0:6D:12:BA:F9:C2:D7:AC:38:C5:F7:71:4E:A7:04:84:39:4C:E1:29:96:02:EC:48:16:6E:A4:21:81:BC:30:83:64:60:58:8A:78:6F:71:87:62:1D:D8:6C:AA:C7:98:FE:B6:34:89:72:C3:34:E4:E5:49:55:36:91:9E:8A:A8:B7:1B:69:A9:66:3A:76:AB:AA:8A:63:8E:F3:D7:FA:2E:3F:C8:47:6E:2C:80:48:A8:25:DB:71:B5:B7:26:46:F0:63:15:63:F1:D9:9E:EB:99:05:8E:D1:CF:DC:8E:A6:F3:6B:34:B1:FE:33:A2:56:87:B3:63:5E:AD:B8:E5:3A:7C:40:D2:D5:31:F9:87:9A:A7:5F:C8:57:44:A9:C4:5C:22:BA:64:12:AB:DB:9D:9D:A0:E3:52:CA:6C:22:EF:B4:64:7B:06:50:1B:68:95:13:29:FD:41:EF:2B:60:AC:E9:E0:3C:76:81:36:CA:27:DE:45:61:13:7D:BC:F0:E5:5C:68:41:A6:44:CB:3F:A1:11:B5:F1:C8:66:BE:FE:4C:C8:47:67:3B:08:DA:EB:2C:97:77:5B:34:BD:45:C1:88:DA:B7:A7:33:35:ED:0B:DA:A4:2C:50:C1:AB:28:AE:BD:1B:14:F6:39:66:7B:69:FD:C7:9F:E3:AB:3D:D3:12:D8:5E:BA:59:E4:CC:BC:B7:F4:74:97:6A:CB:BF:47:47:0A:FB:D5:CC:7B:2B:B0:3C:1C:28:6B:96:62:34:AB:F4:E9:2E:D9:2E:82:39:02:7B:D0:F2:FF:AE:39:D7:CE:D1:88:E5:0C:68:AA:D6:FC:BA:9F:48:2A:ED:FE:7F:21:73:EC:5E:A6:CA:A6:C7:A4:3D:35:0A:5A:E3:0E:BE:16:CF:C9:7B:2B:CB:94:CB:FD:58:DF:17:A4:AC:81:BE:19:54:89:6D:A3:A5:E7:A3:B5:35:36:6E:86:82:98:D6:FE:13:C7:BF:72:23:9F:EF:49:E3:82:AA:77:9F:B9:2E:CD:9F:C4" }, "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:06:25", "not_valid_before": "2022-08-18 22:06:25" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** Thursday 18 August 2022 22:06:53 +0000 (0:00:00.067) 0:09:07.956 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** Thursday 18 August 2022 22:06:53 +0000 (0:00:00.071) 0:09:08.028 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* Thursday 18 August 2022 22:06:53 +0000 (0:00:00.049) 0:09:08.078 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** Thursday 18 August 2022 22:06:54 +0000 (0:00:00.068) 0:09:08.146 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** Thursday 18 August 2022 22:06:54 +0000 (0:00:00.069) 0:09:08.216 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ Thursday 18 August 2022 22:06:54 +0000 (0:00:00.069) 0:09:08.286 ******* 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.087734", "end": "2022-08-18 22:06:54.519011", "rc": 0, "start": "2022-08-18 22:06:54.431277" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** Thursday 18 August 2022 22:06:54 +0000 (0:00:00.364) 0:09:08.651 ******* ok: [sut] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* sut : ok=101 changed=33 unreachable=0 failed=0 skipped=34 rescued=0 ignored=0 Thursday 18 August 2022 22:06:54 +0000 (0:00:00.081) 0:09:08.732 ******* =============================================================================== ipaserver : Install - Setup CA ---------------------------------------- 244.68s ipaserver : Install - Ensure that IPA server packages are installed ---- 54.21s ipaserver : Install - Setup HTTP --------------------------------------- 43.87s ipaserver : Install - Enable IPA --------------------------------------- 27.57s ipaserver : Install - Setup DS ----------------------------------------- 18.43s ipaserver : Install - Setup ADTRUST ------------------------------------ 16.96s ipaserver : Install - Setup DNS ---------------------------------------- 11.38s ipaserver : Install - Setup NTP ---------------------------------------- 10.84s ipaserver : Install - Ensure that IPA server packages for dns are installed --- 8.63s ipaserver : Install - Setup KRB ----------------------------------------- 6.70s ipaclient : Install - Create IPA NSS database --------------------------- 6.65s Install the package, force upgrade -------------------------------------- 6.48s ipaserver : Install - Setup custodia ------------------------------------ 5.30s linux-system-roles.certificate : Ensure certificate requests ------------ 5.17s Ensure nss package is up-to-date ---------------------------------------- 4.20s ipaserver : Install - Setup otpd ---------------------------------------- 3.39s Install certreader ------------------------------------------------------ 3.29s ipaclient : Install - Ensure that IPA client packages are installed ----- 3.17s ipaclient : Install - IPA API calls for remaining enrollment parts ------ 3.12s ensure hostname package is installed ------------------------------------ 3.07s ---^---^---^---^---^--- # 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. ---^---^---^---^---^---