ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Nov 14 2023, 16:14:06) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] Using /etc/ansible/ansible.cfg as config file [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_many_self_signed.yml ******************************************* 2 plays in /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml PLAY [Issue many self-signed certificates] ************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:2 Saturday 21 December 2024 07:26:54 -0500 (0:00:00.025) 0:00:00.025 ***** ok: [managed-node1] META: ran handlers TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Saturday 21 December 2024 07:26:55 -0500 (0:00:01.082) 0:00:01.107 ***** included: /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.certificate : Ensure ansible_facts used by role] *** task path: /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Saturday 21 December 2024 07:26:55 -0500 (0:00:00.027) 0:00:01.135 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Check if system is ostree] ******* task path: /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Saturday 21 December 2024 07:26:55 -0500 (0:00:00.040) 0:00:01.175 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.certificate : Set flag to indicate system is ostree] *** task path: /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Saturday 21 December 2024 07:26:56 -0500 (0:00:00.421) 0:00:01.596 ***** ok: [managed-node1] => { "ansible_facts": { "__certificate_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.certificate : Set platform/version specific variables] *** task path: /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Saturday 21 December 2024 07:26:56 -0500 (0:00:00.105) 0:00:01.701 ***** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node1] => (item=CentOS_7.yml) => { "ansible_facts": { "__certificate_default_directory": "/etc/pki/tls", "__certificate_packages": [ "python-pyasn1", "python-cryptography", "python-dbus" ] }, "ansible_included_var_files": [ "/tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/roles/certificate/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed-node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed] *** task path: /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Saturday 21 December 2024 07:26:56 -0500 (0:00:00.177) 0:00:01.879 ***** changed: [managed-node1] => { "changed": true, "changes": { "installed": [ "python-pyasn1", "python-cryptography" ] }, "rc": 0, "results": [ "dbus-python-1.1.1-9.el7.x86_64 providing python-dbus is already installed", "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * epel: d2lzkl7pfhq30w.cloudfront.net\n * epel-debuginfo: d2lzkl7pfhq30w.cloudfront.net\n * epel-source: d2lzkl7pfhq30w.cloudfront.net\nResolving Dependencies\n--> Running transaction check\n---> Package python2-cryptography.x86_64 0:1.7.2-2.el7 will be installed\n--> Processing Dependency: python-idna >= 2.0 for package: python2-cryptography-1.7.2-2.el7.x86_64\n--> Processing Dependency: python-cffi >= 1.4.1 for package: python2-cryptography-1.7.2-2.el7.x86_64\n--> Processing Dependency: python-enum34 for package: python2-cryptography-1.7.2-2.el7.x86_64\n---> Package python2-pyasn1.noarch 0:0.1.9-7.el7 will be installed\n--> Running transaction check\n---> Package python-cffi.x86_64 0:1.6.0-5.el7 will be installed\n--> Processing Dependency: python-pycparser for package: python-cffi-1.6.0-5.el7.x86_64\n---> Package python-enum34.noarch 0:1.0.4-1.el7 will be installed\n---> Package python-idna.noarch 0:2.4-1.el7 will be installed\n--> Running transaction check\n---> Package python-pycparser.noarch 0:2.14-1.el7 will be installed\n--> Processing Dependency: python-ply for package: python-pycparser-2.14-1.el7.noarch\n--> Running transaction check\n---> Package python-ply.noarch 0:3.4-11.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n python2-cryptography x86_64 1.7.2-2.el7 base 502 k\n python2-pyasn1 noarch 0.1.9-7.el7 base 100 k\nInstalling for dependencies:\n python-cffi x86_64 1.6.0-5.el7 base 218 k\n python-enum34 noarch 1.0.4-1.el7 base 52 k\n python-idna noarch 2.4-1.el7 base 94 k\n python-ply noarch 3.4-11.el7 base 123 k\n python-pycparser noarch 2.14-1.el7 base 104 k\n\nTransaction Summary\n================================================================================\nInstall 2 Packages (+5 Dependent packages)\n\nTotal download size: 1.2 M\nInstalled size: 6.1 M\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 4.1 MB/s | 1.2 MB 00:00 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : python2-pyasn1-0.1.9-7.el7.noarch 1/7 \n Installing : python-enum34-1.0.4-1.el7.noarch 2/7 \n Installing : python-ply-3.4-11.el7.noarch 3/7 \n Installing : python-pycparser-2.14-1.el7.noarch 4/7 \n Installing : python-cffi-1.6.0-5.el7.x86_64 5/7 \n Installing : python-idna-2.4-1.el7.noarch 6/7 \n Installing : python2-cryptography-1.7.2-2.el7.x86_64 7/7 \n Verifying : python-idna-2.4-1.el7.noarch 1/7 \n Verifying : python-pycparser-2.14-1.el7.noarch 2/7 \n Verifying : python-ply-3.4-11.el7.noarch 3/7 \n Verifying : python-cffi-1.6.0-5.el7.x86_64 4/7 \n Verifying : python-enum34-1.0.4-1.el7.noarch 5/7 \n Verifying : python2-pyasn1-0.1.9-7.el7.noarch 6/7 \n Verifying : python2-cryptography-1.7.2-2.el7.x86_64 7/7 \n\nInstalled:\n python2-cryptography.x86_64 0:1.7.2-2.el7 python2-pyasn1.noarch 0:0.1.9-7.el7\n\nDependency Installed:\n python-cffi.x86_64 0:1.6.0-5.el7 python-enum34.noarch 0:1.0.4-1.el7 \n python-idna.noarch 0:2.4-1.el7 python-ply.noarch 0:3.4-11.el7 \n python-pycparser.noarch 0:2.14-1.el7 \n\nComplete!\n" ] } lsrpackages: python-cryptography python-dbus python-pyasn1 TASK [fedora.linux_system_roles.certificate : Ensure provider packages are installed] *** task path: /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Saturday 21 December 2024 07:27:04 -0500 (0:00:07.693) 0:00:09.572 ***** changed: [managed-node1] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "changes": { "installed": [ "certmonger" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * epel: d2lzkl7pfhq30w.cloudfront.net\n * epel-debuginfo: d2lzkl7pfhq30w.cloudfront.net\n * epel-source: d2lzkl7pfhq30w.cloudfront.net\nResolving Dependencies\n--> Running transaction check\n---> Package certmonger.x86_64 0:0.78.4-17.el7_9 will be installed\n--> Processing Dependency: psmisc for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libtevent.so.0(TEVENT_0.9.9)(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libtalloc.so.2(TALLOC_2.0.2)(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libxmlrpc_util.so.3()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libxmlrpc_client.so.3()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libxmlrpc.so.3()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libtevent.so.0()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libtalloc.so.2()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Running transaction check\n---> Package libtalloc.x86_64 0:2.1.16-1.el7 will be installed\n---> Package libtevent.x86_64 0:0.9.39-1.el7 will be installed\n---> Package psmisc.x86_64 0:22.20-17.el7 will be installed\n---> Package xmlrpc-c.x86_64 0:1.32.5-1905.svn2451.el7 will be installed\n---> Package xmlrpc-c-client.x86_64 0:1.32.5-1905.svn2451.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n certmonger x86_64 0.78.4-17.el7_9 updates 608 k\nInstalling for dependencies:\n libtalloc x86_64 2.1.16-1.el7 base 33 k\n libtevent x86_64 0.9.39-1.el7 base 41 k\n psmisc x86_64 22.20-17.el7 base 141 k\n xmlrpc-c x86_64 1.32.5-1905.svn2451.el7 base 130 k\n xmlrpc-c-client x86_64 1.32.5-1905.svn2451.el7 base 32 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package (+5 Dependent packages)\n\nTotal download size: 984 k\nInstalled size: 3.7 M\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 1.8 MB/s | 984 kB 00:00 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : xmlrpc-c-1.32.5-1905.svn2451.el7.x86_64 1/6 \n Installing : libtalloc-2.1.16-1.el7.x86_64 2/6 \n Installing : libtevent-0.9.39-1.el7.x86_64 3/6 \n Installing : xmlrpc-c-client-1.32.5-1905.svn2451.el7.x86_64 4/6 \n Installing : psmisc-22.20-17.el7.x86_64 5/6 \n Installing : certmonger-0.78.4-17.el7_9.x86_64 6/6 \n Verifying : xmlrpc-c-client-1.32.5-1905.svn2451.el7.x86_64 1/6 \n Verifying : libtevent-0.9.39-1.el7.x86_64 2/6 \n Verifying : libtalloc-2.1.16-1.el7.x86_64 3/6 \n Verifying : xmlrpc-c-1.32.5-1905.svn2451.el7.x86_64 4/6 \n Verifying : certmonger-0.78.4-17.el7_9.x86_64 5/6 \n Verifying : psmisc-22.20-17.el7.x86_64 6/6 \n\nInstalled:\n certmonger.x86_64 0:0.78.4-17.el7_9 \n\nDependency Installed:\n libtalloc.x86_64 0:2.1.16-1.el7 \n libtevent.x86_64 0:0.9.39-1.el7 \n psmisc.x86_64 0:22.20-17.el7 \n xmlrpc-c.x86_64 0:1.32.5-1905.svn2451.el7 \n xmlrpc-c-client.x86_64 0:1.32.5-1905.svn2451.el7 \n\nComplete!\n" ] } lsrpackages: certmonger TASK [fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists] *** task path: /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Saturday 21 December 2024 07:27:08 -0500 (0:00:04.234) 0:00:13.806 ***** changed: [managed-node1] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/etc/certmonger//pre-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists] *** task path: /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Saturday 21 December 2024 07:27:08 -0500 (0:00:00.515) 0:00:14.322 ***** changed: [managed-node1] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/etc/certmonger//post-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure provider service is running] *** task path: /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Saturday 21 December 2024 07:27:09 -0500 (0:00:00.313) 0:00:14.636 ***** changed: [managed-node1] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "enabled": true, "name": "certmonger", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "systemd-journald.socket basic.target system.slice network.target syslog.target dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedorahosted.certmonger", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Certificate monitoring and PKI enrollment", "DevicePolicy": "auto", "EnvironmentFile": "/etc/sysconfig/certmonger (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /var/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", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "certmonger.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "certmonger.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/var/run/certmonger.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.certificate : Ensure certificate requests] ***** task path: /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Saturday 21 December 2024 07:27:09 -0500 (0:00:00.783) 0:00:15.419 ***** changed: [managed-node1] => (item={u'ca': u'self-sign', u'name': u'mycert_many_self_signed', u'dns': u'www.example.com'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ca": "self-sign", "dns": "www.example.com", "name": "mycert_many_self_signed" } } MSG: Certificate requested (new). changed: [managed-node1] => (item={u'ca': u'self-sign', u'name': u'other-cert', u'dns': u'www.example.org'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ca": "self-sign", "dns": "www.example.org", "name": "other-cert" } } MSG: Certificate requested (new). changed: [managed-node1] => (item={u'ca': u'self-sign', u'name': u'another-cert', u'dns': u'www.example.net'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ca": "self-sign", "dns": "www.example.net", "name": "another-cert" } } MSG: Certificate requested (new). TASK [fedora.linux_system_roles.certificate : Slurp the contents of the files] *** task path: /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Saturday 21 December 2024 07:27:12 -0500 (0:00:02.478) 0:00:17.897 ***** skipping: [managed-node1] => (item=[u'cert', {u'ca': u'self-sign', u'name': u'mycert_many_self_signed', u'dns': u'www.example.com'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "cert", { "ca": "self-sign", "dns": "www.example.com", "name": "mycert_many_self_signed" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=[u'cert', {u'ca': u'self-sign', u'name': u'other-cert', u'dns': u'www.example.org'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "cert", { "ca": "self-sign", "dns": "www.example.org", "name": "other-cert" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=[u'cert', {u'ca': u'self-sign', u'name': u'another-cert', u'dns': u'www.example.net'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "cert", { "ca": "self-sign", "dns": "www.example.net", "name": "another-cert" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=[u'key', {u'ca': u'self-sign', u'name': u'mycert_many_self_signed', u'dns': u'www.example.com'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "key", { "ca": "self-sign", "dns": "www.example.com", "name": "mycert_many_self_signed" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=[u'key', {u'ca': u'self-sign', u'name': u'other-cert', u'dns': u'www.example.org'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "key", { "ca": "self-sign", "dns": "www.example.org", "name": "other-cert" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=[u'key', {u'ca': u'self-sign', u'name': u'another-cert', u'dns': u'www.example.net'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "key", { "ca": "self-sign", "dns": "www.example.net", "name": "another-cert" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=[u'ca', {u'ca': u'self-sign', u'name': u'mycert_many_self_signed', u'dns': u'www.example.com'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "ca", { "ca": "self-sign", "dns": "www.example.com", "name": "mycert_many_self_signed" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=[u'ca', {u'ca': u'self-sign', u'name': u'other-cert', u'dns': u'www.example.org'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "ca", { "ca": "self-sign", "dns": "www.example.org", "name": "other-cert" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=[u'ca', {u'ca': u'self-sign', u'name': u'another-cert', u'dns': u'www.example.net'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "ca", { "ca": "self-sign", "dns": "www.example.net", "name": "another-cert" } ], "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Create return data] ************** task path: /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Saturday 21 December 2024 07:27:12 -0500 (0:00:00.128) 0:00:18.026 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Stop tracking certificates] ****** task path: /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Saturday 21 December 2024 07:27:12 -0500 (0:00:00.057) 0:00:18.084 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Remove files] ******************** task path: /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Saturday 21 December 2024 07:27:12 -0500 (0:00:00.061) 0:00:18.146 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY [Verify certificate] ****************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:18 Saturday 21 December 2024 07:27:12 -0500 (0:00:00.072) 0:00:18.218 ***** ok: [managed-node1] META: ran handlers TASK [Verify each certificate] ************************************************* task path: /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:50 Saturday 21 December 2024 07:27:13 -0500 (0:00:00.566) 0:00:18.784 ***** included: /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node1 included: /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node1 included: /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node1 TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Saturday 21 December 2024 07:27:13 -0500 (0:00:00.151) 0:00:18.936 ***** ok: [managed-node1] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Saturday 21 December 2024 07:27:13 -0500 (0:00:00.035) 0:00:18.972 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Saturday 21 December 2024 07:27:13 -0500 (0:00:00.060) 0:00:19.032 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Saturday 21 December 2024 07:27:13 -0500 (0:00:00.059) 0:00:19.092 ***** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "python2-cryptography-1.7.2-2.el7.x86_64 providing python2-cryptography is already installed", "python2-cryptography-1.7.2-2.el7.x86_64 providing python2-cryptography is already installed" ] } lsrpackages: python2-cryptography TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Saturday 21 December 2024 07:27:14 -0500 (0:00:00.649) 0:00:19.742 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Saturday 21 December 2024 07:27:14 -0500 (0:00:00.062) 0:00:19.804 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734784030.5528598, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "4aac9d391623300514b3522f82679de5eeaee7fb", "ctime": 1734784030.5488598, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 172743, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1734784030.5488598, "nlink": 1, "path": "/etc/pki/tls/certs/mycert_many_self_signed.crt", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1294, "uid": 0, "version": "18446744071583586484", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Saturday 21 December 2024 07:27:14 -0500 (0:00:00.525) 0:00:20.330 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Saturday 21 December 2024 07:27:14 -0500 (0:00:00.074) 0:00:20.404 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Saturday 21 December 2024 07:27:14 -0500 (0:00:00.068) 0:00:20.473 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Saturday 21 December 2024 07:27:15 -0500 (0:00:00.065) 0:00:20.538 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734784030.51086, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "1df671e85552810dea1e5afaf1a57b041ce98093", "ctime": 1734784030.5488598, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 172742, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1734784030.5488598, "nlink": 1, "path": "/etc/pki/tls/private/mycert_many_self_signed.key", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1704, "uid": 0, "version": "18446744071583586471", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Saturday 21 December 2024 07:27:15 -0500 (0:00:00.345) 0:00:20.883 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Saturday 21 December 2024 07:27:15 -0500 (0:00:00.056) 0:00:20.940 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Saturday 21 December 2024 07:27:15 -0500 (0:00:00.067) 0:00:21.007 ***** ok: [managed-node1] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "80:3A:19:43:41:04:75:6A:44:7C:DA:0E:D0:FC:D9:19:7A:BF:EC:0F" }, "basicConstraints": { "critical": true, "value": { "ca": false } }, "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": false, "value": [ "key_encipherment", "digital_signature" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.com" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "C8:B3:45:9D:A8:66:69:5B:F5:6D:35:91:EC:C9:85:D7:D0:5E:3E:02" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "C5:87:BC:EB:68:A5:52:89:58:9F:EB:F8:FC:38:31:A4:CC:0D:FA:DB:97:53:5B:62:1E:C7:3A:B5:74:64:43:93:05:5B:0D:13:9C:CE:54:95:32:46:4F:05:F9:A0:3F:5B:58:D1:CA:BE:25:02:AD:EC:02:2C:FA:64:15:AE:5D:00:1A:C3:04:C9:9D:C0:9B:68:EA:A4:D5:C2:2F:F7:E9:17:A6:BE:7E:8E:4C:E4:DB:1E:2B:AF:8F:52:C5:15:93:3A:BF:96:68:45:BD:E8:7E:4F:A8:4B:73:B0:72:81:98:78:23:1F:D1:F9:54:45:7E:26:17:CB:3D:FE:74:46:77:4F:30:F1:E8:53:15:C5:62:24:47:7B:4F:4E:B6:54:F7:CE:EC:CB:76:26:B5:81:53:F3:72:3E:45:1F:89:A1:4D:6E:AF:9E:6F:A8:CE:32:FB:FA:4D:88:DD:4B:2D:C7:F9:31:85:F1:61:12:27:60:45:E4:85:BD:CD:B2:E1:79:45:92:F7:7E:A3:70:B0:AD:C1:6F:22:45:A8:00:77:B5:20:32:4C:90:FC:C8:71:27:D7:6A:B6:CD:1C:7B:24:8D:04:C3:75:F2:62:BF:40:DA:35:91:0B:3F:A6:60:1A:37:32:61:21:4A:29:E4:F7:36:40:86:E2:C1:F4:B6:09:53:6B:94" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20251221122709Z", "not_valid_before": "20241221122710Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Saturday 21 December 2024 07:27:16 -0500 (0:00:00.550) 0:00:21.558 ***** ok: [managed-node1] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "80:3A:19:43:41:04:75:6A:44:7C:DA:0E:D0:FC:D9:19:7A:BF:EC:0F" }, "basicConstraints": { "critical": true, "value": { "ca": false } }, "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": false, "value": [ "key_encipherment", "digital_signature" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.com" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "C8:B3:45:9D:A8:66:69:5B:F5:6D:35:91:EC:C9:85:D7:D0:5E:3E:02" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "C5:87:BC:EB:68:A5:52:89:58:9F:EB:F8:FC:38:31:A4:CC:0D:FA:DB:97:53:5B:62:1E:C7:3A:B5:74:64:43:93:05:5B:0D:13:9C:CE:54:95:32:46:4F:05:F9:A0:3F:5B:58:D1:CA:BE:25:02:AD:EC:02:2C:FA:64:15:AE:5D:00:1A:C3:04:C9:9D:C0:9B:68:EA:A4:D5:C2:2F:F7:E9:17:A6:BE:7E:8E:4C:E4:DB:1E:2B:AF:8F:52:C5:15:93:3A:BF:96:68:45:BD:E8:7E:4F:A8:4B:73:B0:72:81:98:78:23:1F:D1:F9:54:45:7E:26:17:CB:3D:FE:74:46:77:4F:30:F1:E8:53:15:C5:62:24:47:7B:4F:4E:B6:54:F7:CE:EC:CB:76:26:B5:81:53:F3:72:3E:45:1F:89:A1:4D:6E:AF:9E:6F:A8:CE:32:FB:FA:4D:88:DD:4B:2D:C7:F9:31:85:F1:61:12:27:60:45:E4:85:BD:CD:B2:E1:79:45:92:F7:7E:A3:70:B0:AD:C1:6F:22:45:A8:00:77:B5:20:32:4C:90:FC:C8:71:27:D7:6A:B6:CD:1C:7B:24:8D:04:C3:75:F2:62:BF:40:DA:35:91:0B:3F:A6:60:1A:37:32:61:21:4A:29:E4:F7:36:40:86:E2:C1:F4:B6:09:53:6B:94" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20251221122709Z", "not_valid_before": "20241221122710Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Saturday 21 December 2024 07:27:16 -0500 (0:00:00.067) 0:00:21.626 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Saturday 21 December 2024 07:27:16 -0500 (0:00:00.084) 0:00:21.710 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Saturday 21 December 2024 07:27:16 -0500 (0:00:00.100) 0:00:21.811 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Saturday 21 December 2024 07:27:16 -0500 (0:00:00.062) 0:00:21.873 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Saturday 21 December 2024 07:27:16 -0500 (0:00:00.081) 0:00:21.955 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Saturday 21 December 2024 07:27:16 -0500 (0:00:00.117) 0:00:22.072 ***** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/mycert_many_self_signed.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "delta": "0:00:00.043967", "end": "2024-12-21 07:27:17.139290", "rc": 0, "start": "2024-12-21 07:27:17.095323" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Saturday 21 December 2024 07:27:17 -0500 (0:00:00.661) 0:00:22.734 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Saturday 21 December 2024 07:27:17 -0500 (0:00:00.055) 0:00:22.789 ***** ok: [managed-node1] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Saturday 21 December 2024 07:27:17 -0500 (0:00:00.024) 0:00:22.814 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Saturday 21 December 2024 07:27:17 -0500 (0:00:00.054) 0:00:22.868 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Saturday 21 December 2024 07:27:17 -0500 (0:00:00.063) 0:00:22.932 ***** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "python2-cryptography-1.7.2-2.el7.x86_64 providing python2-cryptography is already installed", "python2-cryptography-1.7.2-2.el7.x86_64 providing python2-cryptography is already installed" ] } lsrpackages: python2-cryptography TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Saturday 21 December 2024 07:27:18 -0500 (0:00:00.749) 0:00:23.682 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Saturday 21 December 2024 07:27:18 -0500 (0:00:00.064) 0:00:23.746 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734784031.2548575, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b5d2c94b606ef22b903fae6626089978cdea9957", "ctime": 1734784031.2518575, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 172745, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1734784031.2518575, "nlink": 1, "path": "/etc/pki/tls/certs/other-cert.crt", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1294, "uid": 0, "version": "18446744071583586523", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Saturday 21 December 2024 07:27:18 -0500 (0:00:00.398) 0:00:24.145 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Saturday 21 December 2024 07:27:18 -0500 (0:00:00.104) 0:00:24.249 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Saturday 21 December 2024 07:27:18 -0500 (0:00:00.127) 0:00:24.377 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Saturday 21 December 2024 07:27:18 -0500 (0:00:00.094) 0:00:24.471 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734784031.2138577, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "14ca706a000bf1fc0bb196318be363c7ed50eeeb", "ctime": 1734784031.2518575, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 172744, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1734784031.2518575, "nlink": 1, "path": "/etc/pki/tls/private/other-cert.key", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1704, "uid": 0, "version": "18446744071583586510", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Saturday 21 December 2024 07:27:19 -0500 (0:00:00.411) 0:00:24.883 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Saturday 21 December 2024 07:27:19 -0500 (0:00:00.049) 0:00:24.933 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Saturday 21 December 2024 07:27:19 -0500 (0:00:00.084) 0:00:25.017 ***** ok: [managed-node1] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "80:3A:19:43:41:04:75:6A:44:7C:DA:0E:D0:FC:D9:19:7A:BF:EC:0F" }, "basicConstraints": { "critical": true, "value": { "ca": false } }, "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": false, "value": [ "key_encipherment", "digital_signature" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.org" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "11:9E:DB:D7:0F:B9:4D:06:6E:DD:32:42:99:4A:BA:04:7A:E4:A5:CB" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "68:20:13:EC:0A:2B:F7:D7:72:07:2A:50:E3:92:8C:65:93:DC:42:8E:A5:BD:A8:52:61:AE:BB:21:C2:EF:DA:CE:57:A7:61:0E:C1:62:65:21:DB:04:71:B0:62:24:2D:14:D1:E0:01:F7:60:B3:53:11:EF:3F:FE:B2:58:27:35:9D:8C:C9:07:2A:B5:5B:73:2E:36:92:C9:25:E0:7A:45:48:30:2E:E2:D5:DB:89:96:26:64:20:44:EC:13:36:60:AE:53:DC:E1:3B:47:F4:5C:B6:D4:12:CB:45:2F:95:ED:51:D1:CC:77:4F:0F:E6:1E:33:38:25:F1:F5:2A:6F:26:9B:B3:FD:DF:28:4E:33:CC:40:09:EE:9D:CE:A1:63:6E:E9:84:CA:18:79:EE:9D:F8:3D:0E:96:F4:8C:34:E7:A7:8C:A3:68:19:F8:7B:35:43:67:16:95:12:A1:3A:65:81:CF:55:F0:20:30:92:2B:0D:D1:C0:01:62:E6:F6:D4:9C:74:3C:E9:86:B4:4E:05:10:7D:DF:28:57:08:EB:5E:BE:F9:31:1F:86:C0:DA:84:0A:61:16:20:06:4E:6A:AA:03:A2:04:94:DE:89:21:6B:3B:7A:AC:67:C7:7F:25:43:56:0E:FD:02:05:B2:47:B3:E6:CD:FE:98:FC:2C:E1:3A:52:14" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.org" } ], "validity": { "not_valid_after": "20251221122709Z", "not_valid_before": "20241221122711Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Saturday 21 December 2024 07:27:20 -0500 (0:00:00.588) 0:00:25.605 ***** ok: [managed-node1] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "80:3A:19:43:41:04:75:6A:44:7C:DA:0E:D0:FC:D9:19:7A:BF:EC:0F" }, "basicConstraints": { "critical": true, "value": { "ca": false } }, "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": false, "value": [ "key_encipherment", "digital_signature" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.org" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "11:9E:DB:D7:0F:B9:4D:06:6E:DD:32:42:99:4A:BA:04:7A:E4:A5:CB" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "68:20:13:EC:0A:2B:F7:D7:72:07:2A:50:E3:92:8C:65:93:DC:42:8E:A5:BD:A8:52:61:AE:BB:21:C2:EF:DA:CE:57:A7:61:0E:C1:62:65:21:DB:04:71:B0:62:24:2D:14:D1:E0:01:F7:60:B3:53:11:EF:3F:FE:B2:58:27:35:9D:8C:C9:07:2A:B5:5B:73:2E:36:92:C9:25:E0:7A:45:48:30:2E:E2:D5:DB:89:96:26:64:20:44:EC:13:36:60:AE:53:DC:E1:3B:47:F4:5C:B6:D4:12:CB:45:2F:95:ED:51:D1:CC:77:4F:0F:E6:1E:33:38:25:F1:F5:2A:6F:26:9B:B3:FD:DF:28:4E:33:CC:40:09:EE:9D:CE:A1:63:6E:E9:84:CA:18:79:EE:9D:F8:3D:0E:96:F4:8C:34:E7:A7:8C:A3:68:19:F8:7B:35:43:67:16:95:12:A1:3A:65:81:CF:55:F0:20:30:92:2B:0D:D1:C0:01:62:E6:F6:D4:9C:74:3C:E9:86:B4:4E:05:10:7D:DF:28:57:08:EB:5E:BE:F9:31:1F:86:C0:DA:84:0A:61:16:20:06:4E:6A:AA:03:A2:04:94:DE:89:21:6B:3B:7A:AC:67:C7:7F:25:43:56:0E:FD:02:05:B2:47:B3:E6:CD:FE:98:FC:2C:E1:3A:52:14" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.org" } ], "validity": { "not_valid_after": "20251221122709Z", "not_valid_before": "20241221122711Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Saturday 21 December 2024 07:27:20 -0500 (0:00:00.066) 0:00:25.672 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Saturday 21 December 2024 07:27:20 -0500 (0:00:00.062) 0:00:25.734 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Saturday 21 December 2024 07:27:20 -0500 (0:00:00.066) 0:00:25.801 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Saturday 21 December 2024 07:27:20 -0500 (0:00:00.082) 0:00:25.884 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Saturday 21 December 2024 07:27:20 -0500 (0:00:00.092) 0:00:25.977 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Saturday 21 December 2024 07:27:20 -0500 (0:00:00.103) 0:00:26.080 ***** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/other-cert.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "delta": "0:00:00.043162", "end": "2024-12-21 07:27:21.021413", "rc": 0, "start": "2024-12-21 07:27:20.978251" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Saturday 21 December 2024 07:27:21 -0500 (0:00:00.533) 0:00:26.614 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Saturday 21 December 2024 07:27:21 -0500 (0:00:00.062) 0:00:26.677 ***** ok: [managed-node1] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Saturday 21 December 2024 07:27:21 -0500 (0:00:00.028) 0:00:26.705 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Saturday 21 December 2024 07:27:21 -0500 (0:00:00.056) 0:00:26.762 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Saturday 21 December 2024 07:27:21 -0500 (0:00:00.051) 0:00:26.813 ***** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "python2-cryptography-1.7.2-2.el7.x86_64 providing python2-cryptography is already installed", "python2-cryptography-1.7.2-2.el7.x86_64 providing python2-cryptography is already installed" ] } lsrpackages: python2-cryptography TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Saturday 21 December 2024 07:27:21 -0500 (0:00:00.571) 0:00:27.384 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Saturday 21 December 2024 07:27:21 -0500 (0:00:00.064) 0:00:27.449 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734784032.2198544, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6d4f8b81b85d813b2bdc850e0c41f1420487ad86", "ctime": 1734784032.2168543, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 172747, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1734784032.2168543, "nlink": 1, "path": "/etc/pki/tls/certs/another-cert.crt", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1294, "uid": 0, "version": "18446744071583586561", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Saturday 21 December 2024 07:27:22 -0500 (0:00:00.408) 0:00:27.857 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Saturday 21 December 2024 07:27:22 -0500 (0:00:00.078) 0:00:27.936 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Saturday 21 December 2024 07:27:22 -0500 (0:00:00.094) 0:00:28.030 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Saturday 21 December 2024 07:27:22 -0500 (0:00:00.089) 0:00:28.120 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734784032.1778545, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "22cf6dcc5cb4c96f3139bf3d9fc6868d2413bb89", "ctime": 1734784032.2168543, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 172746, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1734784032.2168543, "nlink": 1, "path": "/etc/pki/tls/private/another-cert.key", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1704, "uid": 0, "version": "18446744071583586548", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Saturday 21 December 2024 07:27:22 -0500 (0:00:00.370) 0:00:28.491 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Saturday 21 December 2024 07:27:23 -0500 (0:00:00.073) 0:00:28.564 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Saturday 21 December 2024 07:27:23 -0500 (0:00:00.098) 0:00:28.663 ***** ok: [managed-node1] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "80:3A:19:43:41:04:75:6A:44:7C:DA:0E:D0:FC:D9:19:7A:BF:EC:0F" }, "basicConstraints": { "critical": true, "value": { "ca": false } }, "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": false, "value": [ "key_encipherment", "digital_signature" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.net" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "94:0D:8F:B0:77:DD:B1:E2:42:F0:04:4D:E0:EA:66:2C:8C:A1:41:CA" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "61:70:B2:6D:B7:60:95:21:29:98:A4:2A:F1:9C:FD:85:AA:AD:69:CB:67:BE:3D:47:4F:3B:C5:B0:C7:C7:70:2A:CA:3E:CA:97:D7:1C:07:1B:82:AD:BA:71:B9:B0:94:08:6A:84:96:28:83:4D:95:C1:58:83:31:9F:C2:5B:07:80:12:21:35:BB:EC:11:83:D5:A3:83:42:DE:63:0B:19:E0:1C:42:4D:42:74:E0:9C:02:2E:4C:A1:D6:22:55:58:E9:8D:96:A7:83:18:FE:1F:84:36:68:46:87:88:E7:28:2D:33:8B:57:99:E0:FC:55:CF:BB:B8:11:90:50:F0:A5:3F:8A:00:B2:66:FE:9C:1C:27:DE:2B:A1:60:5B:B9:2D:4B:5A:F4:6A:2C:D7:67:4C:61:3D:64:94:B0:36:87:50:6B:B7:D6:BA:41:02:A5:1B:B9:8E:AC:65:DD:73:4F:A7:92:EF:36:D0:E5:33:A4:03:10:75:A4:4E:58:69:ED:65:7D:ED:D6:87:81:A0:98:31:E9:4D:7C:7B:42:5D:98:1F:98:E1:4C:F6:21:79:58:63:30:8E:FC:2E:2C:B0:C7:7B:EB:24:CA:3A:71:17:DF:67:D5:65:16:DE:25:DB:5E:D0:BC:01:D6:B5:DA:10:00:8A:4B:82:E7:2C:A3:1D:F3:A8:0B" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.net" } ], "validity": { "not_valid_after": "20251221122709Z", "not_valid_before": "20241221122712Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Saturday 21 December 2024 07:27:23 -0500 (0:00:00.462) 0:00:29.125 ***** ok: [managed-node1] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "80:3A:19:43:41:04:75:6A:44:7C:DA:0E:D0:FC:D9:19:7A:BF:EC:0F" }, "basicConstraints": { "critical": true, "value": { "ca": false } }, "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": false, "value": [ "key_encipherment", "digital_signature" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.net" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "94:0D:8F:B0:77:DD:B1:E2:42:F0:04:4D:E0:EA:66:2C:8C:A1:41:CA" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "61:70:B2:6D:B7:60:95:21:29:98:A4:2A:F1:9C:FD:85:AA:AD:69:CB:67:BE:3D:47:4F:3B:C5:B0:C7:C7:70:2A:CA:3E:CA:97:D7:1C:07:1B:82:AD:BA:71:B9:B0:94:08:6A:84:96:28:83:4D:95:C1:58:83:31:9F:C2:5B:07:80:12:21:35:BB:EC:11:83:D5:A3:83:42:DE:63:0B:19:E0:1C:42:4D:42:74:E0:9C:02:2E:4C:A1:D6:22:55:58:E9:8D:96:A7:83:18:FE:1F:84:36:68:46:87:88:E7:28:2D:33:8B:57:99:E0:FC:55:CF:BB:B8:11:90:50:F0:A5:3F:8A:00:B2:66:FE:9C:1C:27:DE:2B:A1:60:5B:B9:2D:4B:5A:F4:6A:2C:D7:67:4C:61:3D:64:94:B0:36:87:50:6B:B7:D6:BA:41:02:A5:1B:B9:8E:AC:65:DD:73:4F:A7:92:EF:36:D0:E5:33:A4:03:10:75:A4:4E:58:69:ED:65:7D:ED:D6:87:81:A0:98:31:E9:4D:7C:7B:42:5D:98:1F:98:E1:4C:F6:21:79:58:63:30:8E:FC:2E:2C:B0:C7:7B:EB:24:CA:3A:71:17:DF:67:D5:65:16:DE:25:DB:5E:D0:BC:01:D6:B5:DA:10:00:8A:4B:82:E7:2C:A3:1D:F3:A8:0B" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.net" } ], "validity": { "not_valid_after": "20251221122709Z", "not_valid_before": "20241221122712Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Saturday 21 December 2024 07:27:23 -0500 (0:00:00.072) 0:00:29.198 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Saturday 21 December 2024 07:27:23 -0500 (0:00:00.069) 0:00:29.268 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Saturday 21 December 2024 07:27:23 -0500 (0:00:00.058) 0:00:29.327 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Saturday 21 December 2024 07:27:23 -0500 (0:00:00.064) 0:00:29.391 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Saturday 21 December 2024 07:27:23 -0500 (0:00:00.093) 0:00:29.484 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Saturday 21 December 2024 07:27:24 -0500 (0:00:00.098) 0:00:29.583 ***** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/another-cert.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "delta": "0:00:00.042919", "end": "2024-12-21 07:27:24.505250", "rc": 0, "start": "2024-12-21 07:27:24.462331" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Saturday 21 December 2024 07:27:24 -0500 (0:00:00.514) 0:00:30.098 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node1 : ok=69 changed=6 unreachable=0 failed=0 skipped=14 rescued=0 ignored=0 Saturday 21 December 2024 07:27:24 -0500 (0:00:00.064) 0:00:30.163 ***** =============================================================================== fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 7.69s /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 4.23s /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 2.48s /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Gathering Facts --------------------------------------------------------- 1.08s /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:2 fedora.linux_system_roles.certificate : Ensure provider service is running --- 0.78s /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Ensure python3 is installed --------------------------------------------- 0.75s /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Retrieve auto-renew flag ------------------------------------------------ 0.66s /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Ensure python3 is installed --------------------------------------------- 0.65s /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Parse certificate ------------------------------------------------------- 0.59s /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Ensure python3 is installed --------------------------------------------- 0.57s /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Gathering Facts --------------------------------------------------------- 0.57s /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:18 Parse certificate ------------------------------------------------------- 0.55s /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Retrieve auto-renew flag ------------------------------------------------ 0.53s /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Retrieve certificate file stats ----------------------------------------- 0.53s /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists --- 0.52s /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Retrieve auto-renew flag ------------------------------------------------ 0.51s /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Parse certificate ------------------------------------------------------- 0.46s /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 fedora.linux_system_roles.certificate : Check if system is ostree ------- 0.42s /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Retrieve key file stats ------------------------------------------------- 0.41s /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Retrieve certificate file stats ----------------------------------------- 0.41s /tmp/collections-HWC/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38