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-h0J/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-h0J/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:2 Saturday 21 September 2024 08:24:47 -0400 (0:00:00.110) 0:00:00.110 **** ok: [managed_node1] META: ran handlers TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /tmp/collections-h0J/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Saturday 21 September 2024 08:24:49 -0400 (0:00:01.438) 0:00:01.549 **** included: /tmp/collections-h0J/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-h0J/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Saturday 21 September 2024 08:24:49 -0400 (0:00:00.047) 0:00:01.596 **** 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-h0J/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Saturday 21 September 2024 08:24:49 -0400 (0:00:00.065) 0:00:01.661 **** 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-h0J/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Saturday 21 September 2024 08:24:49 -0400 (0:00:00.499) 0:00:02.161 **** 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-h0J/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Saturday 21 September 2024 08:24:50 -0400 (0:00:00.045) 0:00:02.206 **** 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-h0J/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-h0J/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Saturday 21 September 2024 08:24:50 -0400 (0:00:00.078) 0:00:02.284 **** 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-h0J/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Saturday 21 September 2024 08:25:01 -0400 (0:00:11.621) 0:00:13.905 **** 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 2.7 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-h0J/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Saturday 21 September 2024 08:25:10 -0400 (0:00:08.663) 0:00:22.569 **** 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-h0J/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Saturday 21 September 2024 08:25:10 -0400 (0:00:00.468) 0:00:23.037 **** 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-h0J/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Saturday 21 September 2024 08:25:11 -0400 (0:00:00.345) 0:00:23.383 **** 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": "network.target systemd-journald.socket dbus.service basic.target syslog.target system.slice", "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-h0J/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Saturday 21 September 2024 08:25:12 -0400 (0:00:00.952) 0:00:24.336 **** 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-h0J/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Saturday 21 September 2024 08:25:14 -0400 (0:00:02.571) 0:00:26.907 **** 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-h0J/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Saturday 21 September 2024 08:25:14 -0400 (0:00:00.129) 0:00:27.037 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Stop tracking certificates] ****** task path: /tmp/collections-h0J/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Saturday 21 September 2024 08:25:14 -0400 (0:00:00.068) 0:00:27.105 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Remove files] ******************** task path: /tmp/collections-h0J/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Saturday 21 September 2024 08:25:15 -0400 (0:00:00.128) 0:00:27.233 **** 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-h0J/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:18 Saturday 21 September 2024 08:25:15 -0400 (0:00:00.082) 0:00:27.316 **** ok: [managed_node1] META: ran handlers TASK [Verify each certificate] ************************************************* task path: /tmp/collections-h0J/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:50 Saturday 21 September 2024 08:25:15 -0400 (0:00:00.602) 0:00:27.918 **** included: /tmp/collections-h0J/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed_node1 included: /tmp/collections-h0J/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed_node1 included: /tmp/collections-h0J/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed_node1 TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-h0J/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Saturday 21 September 2024 08:25:15 -0400 (0:00:00.225) 0:00:28.144 **** ok: [managed_node1] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-h0J/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Saturday 21 September 2024 08:25:16 -0400 (0:00:00.037) 0:00:28.182 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-h0J/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Saturday 21 September 2024 08:25:16 -0400 (0:00:00.069) 0:00:28.251 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-h0J/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Saturday 21 September 2024 08:25:16 -0400 (0:00:00.066) 0:00:28.318 **** 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-h0J/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Saturday 21 September 2024 08:25:16 -0400 (0:00:00.592) 0:00:28.910 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-h0J/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Saturday 21 September 2024 08:25:16 -0400 (0:00:00.099) 0:00:29.009 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726921512.9924061, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d8ea6fcd8534f030914c2c76c3363c58c1279561", "ctime": 1726921512.9884062, "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": 1726921512.9884062, "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": "1929021653", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-h0J/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Saturday 21 September 2024 08:25:17 -0400 (0:00:00.482) 0:00:29.492 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-h0J/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Saturday 21 September 2024 08:25:17 -0400 (0:00:00.067) 0:00:29.559 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-h0J/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Saturday 21 September 2024 08:25:17 -0400 (0:00:00.062) 0:00:29.622 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-h0J/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Saturday 21 September 2024 08:25:17 -0400 (0:00:00.055) 0:00:29.677 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726921512.948406, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7b7346aead113bd5e13598c3d2e71dffa9e37bfc", "ctime": 1726921512.9884062, "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": 1726921512.9884062, "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": "1929021640", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-h0J/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Saturday 21 September 2024 08:25:17 -0400 (0:00:00.354) 0:00:30.032 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-h0J/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Saturday 21 September 2024 08:25:17 -0400 (0:00:00.101) 0:00:30.133 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-h0J/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Saturday 21 September 2024 08:25:18 -0400 (0:00:00.109) 0:00:30.243 **** ok: [managed_node1] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "08:34:C9:1F:38:20:D0:94:CA:69:7B:ED:AE:B2:2D:5C:FF:F9:08:3F" }, "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": "E4:AB:1B:68:27:15:B0:56:0A:69:68:76:A4:60:DB:7E:E0:83:47:69" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "78:2D:4F:B6:2E:12:48:AE:E1:BD:B8:1C:42:DB:E1:63:31:19:F5:1A:A2:DA:12:AA:BC:FF:CF:C1:25:22:B5:F6:80:CB:5B:B2:51:AC:F3:2E:00:EB:03:37:B1:94:A4:60:B4:BF:94:C8:46:0D:0B:16:EB:D2:F6:6A:12:33:5C:0B:1E:0E:2D:4B:69:5B:ED:1B:54:EE:88:E0:5A:58:DE:71:44:89:4E:FF:8E:67:13:1C:EB:2D:82:C8:35:65:B8:77:36:23:84:08:00:84:E8:70:B7:FB:04:73:D5:90:61:6C:51:65:70:0E:F8:6B:D5:52:50:4A:63:1F:A3:B1:FA:EE:8F:8B:5E:78:B2:16:91:E7:EE:3A:D5:6C:C3:16:4B:E8:11:3D:37:3D:7A:A6:BA:C7:BE:82:9E:5E:2D:7B:F1:86:31:C0:70:84:40:E0:A4:CE:12:20:30:ED:CD:BF:F3:05:76:50:D9:71:DA:80:E5:DD:ED:1C:8A:FD:2C:D4:FF:06:7B:42:32:17:98:BF:D8:A5:54:AD:00:79:D8:51:D4:3C:E1:DE:0E:C3:06:A9:62:3B:A5:95:3C:C4:DF:CC:EA:A9:80:98:11:E3:FB:EF:E3:E2:F7:8B:1E:21:E6:02:F8:20:B2:A2:01:4A:66:CD:5B:FE:F8:C6:8F:3E:F2:6B:E6:4A" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250921122512Z", "not_valid_before": "20240921122512Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-h0J/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Saturday 21 September 2024 08:25:18 -0400 (0:00:00.747) 0:00:30.990 **** ok: [managed_node1] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "08:34:C9:1F:38:20:D0:94:CA:69:7B:ED:AE:B2:2D:5C:FF:F9:08:3F" }, "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": "E4:AB:1B:68:27:15:B0:56:0A:69:68:76:A4:60:DB:7E:E0:83:47:69" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "78:2D:4F:B6:2E:12:48:AE:E1:BD:B8:1C:42:DB:E1:63:31:19:F5:1A:A2:DA:12:AA:BC:FF:CF:C1:25:22:B5:F6:80:CB:5B:B2:51:AC:F3:2E:00:EB:03:37:B1:94:A4:60:B4:BF:94:C8:46:0D:0B:16:EB:D2:F6:6A:12:33:5C:0B:1E:0E:2D:4B:69:5B:ED:1B:54:EE:88:E0:5A:58:DE:71:44:89:4E:FF:8E:67:13:1C:EB:2D:82:C8:35:65:B8:77:36:23:84:08:00:84:E8:70:B7:FB:04:73:D5:90:61:6C:51:65:70:0E:F8:6B:D5:52:50:4A:63:1F:A3:B1:FA:EE:8F:8B:5E:78:B2:16:91:E7:EE:3A:D5:6C:C3:16:4B:E8:11:3D:37:3D:7A:A6:BA:C7:BE:82:9E:5E:2D:7B:F1:86:31:C0:70:84:40:E0:A4:CE:12:20:30:ED:CD:BF:F3:05:76:50:D9:71:DA:80:E5:DD:ED:1C:8A:FD:2C:D4:FF:06:7B:42:32:17:98:BF:D8:A5:54:AD:00:79:D8:51:D4:3C:E1:DE:0E:C3:06:A9:62:3B:A5:95:3C:C4:DF:CC:EA:A9:80:98:11:E3:FB:EF:E3:E2:F7:8B:1E:21:E6:02:F8:20:B2:A2:01:4A:66:CD:5B:FE:F8:C6:8F:3E:F2:6B:E6:4A" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250921122512Z", "not_valid_before": "20240921122512Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-h0J/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Saturday 21 September 2024 08:25:18 -0400 (0:00:00.078) 0:00:31.068 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-h0J/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Saturday 21 September 2024 08:25:18 -0400 (0:00:00.093) 0:00:31.161 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-h0J/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Saturday 21 September 2024 08:25:19 -0400 (0:00:00.055) 0:00:31.217 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-h0J/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Saturday 21 September 2024 08:25:19 -0400 (0:00:00.089) 0:00:31.307 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-h0J/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Saturday 21 September 2024 08:25:19 -0400 (0:00:00.083) 0:00:31.390 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-h0J/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Saturday 21 September 2024 08:25:19 -0400 (0:00:00.073) 0:00:31.463 **** 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.042741", "end": "2024-09-21 08:25:19.794310", "rc": 0, "start": "2024-09-21 08:25:19.751569" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-h0J/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Saturday 21 September 2024 08:25:19 -0400 (0:00:00.541) 0:00:32.005 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-h0J/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Saturday 21 September 2024 08:25:19 -0400 (0:00:00.057) 0:00:32.062 **** ok: [managed_node1] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-h0J/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Saturday 21 September 2024 08:25:19 -0400 (0:00:00.022) 0:00:32.085 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-h0J/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Saturday 21 September 2024 08:25:19 -0400 (0:00:00.061) 0:00:32.147 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-h0J/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Saturday 21 September 2024 08:25:20 -0400 (0:00:00.061) 0:00:32.208 **** 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-h0J/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Saturday 21 September 2024 08:25:20 -0400 (0:00:00.889) 0:00:33.097 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-h0J/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Saturday 21 September 2024 08:25:20 -0400 (0:00:00.065) 0:00:33.162 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726921513.8264103, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "cb56d4712468af78fcb6e6e6c9edb9dd6b3f121d", "ctime": 1726921513.8224103, "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": 1726921513.8224103, "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": "1929021692", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-h0J/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Saturday 21 September 2024 08:25:21 -0400 (0:00:00.520) 0:00:33.683 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-h0J/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Saturday 21 September 2024 08:25:21 -0400 (0:00:00.074) 0:00:33.758 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-h0J/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Saturday 21 September 2024 08:25:21 -0400 (0:00:00.094) 0:00:33.852 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-h0J/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Saturday 21 September 2024 08:25:21 -0400 (0:00:00.058) 0:00:33.911 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726921513.7824101, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "5e609f2bd47381f83a4acbd3582a481151d8a1c4", "ctime": 1726921513.8224103, "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": 1726921513.8224103, "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": "1929021679", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-h0J/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Saturday 21 September 2024 08:25:22 -0400 (0:00:00.382) 0:00:34.293 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-h0J/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Saturday 21 September 2024 08:25:22 -0400 (0:00:00.085) 0:00:34.379 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-h0J/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Saturday 21 September 2024 08:25:22 -0400 (0:00:00.106) 0:00:34.485 **** ok: [managed_node1] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "08:34:C9:1F:38:20:D0:94:CA:69:7B:ED:AE:B2:2D:5C:FF:F9:08:3F" }, "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": "B1:0B:C4:F6:64:96:1D:59:CB:B6:1F:61:03:05:FC:B9:56:60:4C:68" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "0C:44:B7:11:B1:47:58:D8:83:BA:F3:A9:6B:CC:98:BF:D1:2A:3C:E6:D4:F5:2F:E2:FD:36:33:C5:09:71:47:C8:8A:63:47:24:35:C2:7D:F1:F3:94:34:D1:9C:26:A9:0D:40:FA:6E:2D:85:38:24:D9:16:FA:5B:DB:99:9B:F7:D7:1D:6D:DF:AB:51:F6:18:4F:F3:BE:C7:7E:56:65:5F:74:F5:07:06:FE:1B:21:9A:32:D6:D1:FC:AD:C6:5C:BB:15:6B:65:C7:6B:68:BF:A8:D4:D7:4D:53:0B:6A:05:31:27:E9:D9:40:BB:07:77:B3:A1:75:87:BE:35:0B:BA:41:3E:CE:A0:1C:B5:0F:1A:EE:22:0E:86:62:E3:1B:A7:EB:05:29:88:A9:1E:8A:75:26:57:7E:D6:1F:18:DF:65:91:77:56:10:B2:C4:68:C5:6E:37:35:74:B9:73:E1:93:F8:E6:29:DD:64:9B:19:BE:9E:AF:A5:FC:DC:8E:19:BB:56:E5:F8:E3:42:76:09:2C:2C:ED:B2:91:B9:74:F2:1E:4D:27:2A:30:4A:D5:C9:76:67:C6:CA:DE:8F:74:DB:B4:FD:4B:89:F1:92:62:65:72:E3:70:30:8E:7A:F7:33:B0:D9:A6:41:95:98:FF:0F:C1:1E:A0:01:19:ED:35:BE:47:12:65" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.org" } ], "validity": { "not_valid_after": "20250921122512Z", "not_valid_before": "20240921122513Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-h0J/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Saturday 21 September 2024 08:25:22 -0400 (0:00:00.576) 0:00:35.062 **** ok: [managed_node1] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "08:34:C9:1F:38:20:D0:94:CA:69:7B:ED:AE:B2:2D:5C:FF:F9:08:3F" }, "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": "B1:0B:C4:F6:64:96:1D:59:CB:B6:1F:61:03:05:FC:B9:56:60:4C:68" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "0C:44:B7:11:B1:47:58:D8:83:BA:F3:A9:6B:CC:98:BF:D1:2A:3C:E6:D4:F5:2F:E2:FD:36:33:C5:09:71:47:C8:8A:63:47:24:35:C2:7D:F1:F3:94:34:D1:9C:26:A9:0D:40:FA:6E:2D:85:38:24:D9:16:FA:5B:DB:99:9B:F7:D7:1D:6D:DF:AB:51:F6:18:4F:F3:BE:C7:7E:56:65:5F:74:F5:07:06:FE:1B:21:9A:32:D6:D1:FC:AD:C6:5C:BB:15:6B:65:C7:6B:68:BF:A8:D4:D7:4D:53:0B:6A:05:31:27:E9:D9:40:BB:07:77:B3:A1:75:87:BE:35:0B:BA:41:3E:CE:A0:1C:B5:0F:1A:EE:22:0E:86:62:E3:1B:A7:EB:05:29:88:A9:1E:8A:75:26:57:7E:D6:1F:18:DF:65:91:77:56:10:B2:C4:68:C5:6E:37:35:74:B9:73:E1:93:F8:E6:29:DD:64:9B:19:BE:9E:AF:A5:FC:DC:8E:19:BB:56:E5:F8:E3:42:76:09:2C:2C:ED:B2:91:B9:74:F2:1E:4D:27:2A:30:4A:D5:C9:76:67:C6:CA:DE:8F:74:DB:B4:FD:4B:89:F1:92:62:65:72:E3:70:30:8E:7A:F7:33:B0:D9:A6:41:95:98:FF:0F:C1:1E:A0:01:19:ED:35:BE:47:12:65" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.org" } ], "validity": { "not_valid_after": "20250921122512Z", "not_valid_before": "20240921122513Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-h0J/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Saturday 21 September 2024 08:25:22 -0400 (0:00:00.069) 0:00:35.131 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-h0J/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Saturday 21 September 2024 08:25:23 -0400 (0:00:00.071) 0:00:35.203 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-h0J/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Saturday 21 September 2024 08:25:23 -0400 (0:00:00.069) 0:00:35.272 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-h0J/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Saturday 21 September 2024 08:25:23 -0400 (0:00:00.070) 0:00:35.342 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-h0J/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Saturday 21 September 2024 08:25:23 -0400 (0:00:00.124) 0:00:35.467 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-h0J/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Saturday 21 September 2024 08:25:23 -0400 (0:00:00.165) 0:00:35.632 **** 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.041724", "end": "2024-09-21 08:25:23.819938", "rc": 0, "start": "2024-09-21 08:25:23.778214" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-h0J/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Saturday 21 September 2024 08:25:23 -0400 (0:00:00.416) 0:00:36.049 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-h0J/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Saturday 21 September 2024 08:25:23 -0400 (0:00:00.070) 0:00:36.119 **** ok: [managed_node1] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-h0J/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Saturday 21 September 2024 08:25:23 -0400 (0:00:00.032) 0:00:36.152 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-h0J/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Saturday 21 September 2024 08:25:24 -0400 (0:00:00.061) 0:00:36.213 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-h0J/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Saturday 21 September 2024 08:25:24 -0400 (0:00:00.049) 0:00:36.262 **** 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-h0J/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Saturday 21 September 2024 08:25:24 -0400 (0:00:00.603) 0:00:36.866 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-h0J/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Saturday 21 September 2024 08:25:24 -0400 (0:00:00.042) 0:00:36.909 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726921514.6014142, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "dc8cb758c9880fc9733de7a55c0c748fa4e69904", "ctime": 1726921514.5974143, "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": 1726921514.5974143, "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": "1929021730", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-h0J/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Saturday 21 September 2024 08:25:25 -0400 (0:00:00.372) 0:00:37.282 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-h0J/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Saturday 21 September 2024 08:25:25 -0400 (0:00:00.118) 0:00:37.400 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-h0J/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Saturday 21 September 2024 08:25:25 -0400 (0:00:00.087) 0:00:37.488 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-h0J/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Saturday 21 September 2024 08:25:25 -0400 (0:00:00.093) 0:00:37.581 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726921514.558414, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "588a388abcefefe02df2630cc46c66857af2ec01", "ctime": 1726921514.5974143, "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": 1726921514.5974143, "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": "1929021717", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-h0J/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Saturday 21 September 2024 08:25:25 -0400 (0:00:00.447) 0:00:38.029 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-h0J/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Saturday 21 September 2024 08:25:25 -0400 (0:00:00.056) 0:00:38.085 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-h0J/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Saturday 21 September 2024 08:25:25 -0400 (0:00:00.073) 0:00:38.159 **** ok: [managed_node1] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "08:34:C9:1F:38:20:D0:94:CA:69:7B:ED:AE:B2:2D:5C:FF:F9:08:3F" }, "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": "AB:17:6E:1E:2B:5A:7A:1E:CB:44:A0:18:DF:24:7E:B4:F3:A8:B2:AF" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "67:34:68:DA:0E:F1:87:7D:EF:53:31:1B:00:A3:C8:BC:BE:3B:7B:64:EE:34:11:02:EB:B0:AD:C5:5F:7E:15:18:1F:5E:EC:63:1E:67:0F:59:95:67:86:5F:E2:76:82:FB:DE:8F:E4:11:1F:7D:81:C5:4A:E0:D2:56:03:D4:D4:05:84:BF:F2:25:72:AC:B0:33:BE:2F:9B:37:18:A5:C9:24:06:1C:26:FC:CD:29:1E:F9:B7:39:C3:C0:A0:20:D9:07:C3:9F:44:5A:DD:C9:DF:01:40:23:AB:E3:2E:66:D7:C5:11:00:06:55:8E:65:25:A8:8A:52:56:37:C3:89:26:3E:9A:A8:08:05:99:4F:44:98:A5:B4:79:7E:4F:AF:CC:E7:F9:13:9A:72:FB:1D:82:93:F1:BB:3D:A1:7C:B6:3A:B1:62:03:FC:36:B0:AF:0F:89:E3:2F:8A:89:F0:ED:0B:64:7F:23:84:70:55:C9:92:1C:42:4A:3D:2B:B7:6A:42:7E:77:EF:7C:DD:70:4D:3A:19:AB:F2:5C:96:9E:F2:C4:A5:A1:E6:25:0C:0D:87:98:7C:92:13:50:EA:CB:50:1F:5E:5E:39:F7:1D:16:63:7A:77:19:69:2F:63:5C:8D:59:58:D4:C9:CB:88:E3:99:94:87:A2:41:A5:7B:4C:B4:0B:04" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.net" } ], "validity": { "not_valid_after": "20250921122512Z", "not_valid_before": "20240921122514Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-h0J/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Saturday 21 September 2024 08:25:26 -0400 (0:00:00.469) 0:00:38.628 **** ok: [managed_node1] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "08:34:C9:1F:38:20:D0:94:CA:69:7B:ED:AE:B2:2D:5C:FF:F9:08:3F" }, "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": "AB:17:6E:1E:2B:5A:7A:1E:CB:44:A0:18:DF:24:7E:B4:F3:A8:B2:AF" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "67:34:68:DA:0E:F1:87:7D:EF:53:31:1B:00:A3:C8:BC:BE:3B:7B:64:EE:34:11:02:EB:B0:AD:C5:5F:7E:15:18:1F:5E:EC:63:1E:67:0F:59:95:67:86:5F:E2:76:82:FB:DE:8F:E4:11:1F:7D:81:C5:4A:E0:D2:56:03:D4:D4:05:84:BF:F2:25:72:AC:B0:33:BE:2F:9B:37:18:A5:C9:24:06:1C:26:FC:CD:29:1E:F9:B7:39:C3:C0:A0:20:D9:07:C3:9F:44:5A:DD:C9:DF:01:40:23:AB:E3:2E:66:D7:C5:11:00:06:55:8E:65:25:A8:8A:52:56:37:C3:89:26:3E:9A:A8:08:05:99:4F:44:98:A5:B4:79:7E:4F:AF:CC:E7:F9:13:9A:72:FB:1D:82:93:F1:BB:3D:A1:7C:B6:3A:B1:62:03:FC:36:B0:AF:0F:89:E3:2F:8A:89:F0:ED:0B:64:7F:23:84:70:55:C9:92:1C:42:4A:3D:2B:B7:6A:42:7E:77:EF:7C:DD:70:4D:3A:19:AB:F2:5C:96:9E:F2:C4:A5:A1:E6:25:0C:0D:87:98:7C:92:13:50:EA:CB:50:1F:5E:5E:39:F7:1D:16:63:7A:77:19:69:2F:63:5C:8D:59:58:D4:C9:CB:88:E3:99:94:87:A2:41:A5:7B:4C:B4:0B:04" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.net" } ], "validity": { "not_valid_after": "20250921122512Z", "not_valid_before": "20240921122514Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-h0J/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Saturday 21 September 2024 08:25:26 -0400 (0:00:00.075) 0:00:38.704 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-h0J/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Saturday 21 September 2024 08:25:26 -0400 (0:00:00.076) 0:00:38.780 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-h0J/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Saturday 21 September 2024 08:25:26 -0400 (0:00:00.074) 0:00:38.855 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-h0J/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Saturday 21 September 2024 08:25:26 -0400 (0:00:00.111) 0:00:38.966 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-h0J/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Saturday 21 September 2024 08:25:26 -0400 (0:00:00.077) 0:00:39.044 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-h0J/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Saturday 21 September 2024 08:25:26 -0400 (0:00:00.081) 0:00:39.125 **** 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.041896", "end": "2024-09-21 08:25:27.529812", "rc": 0, "start": "2024-09-21 08:25:27.487916" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-h0J/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Saturday 21 September 2024 08:25:27 -0400 (0:00:00.637) 0:00:39.762 **** 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 September 2024 08:25:27 -0400 (0:00:00.128) 0:00:39.891 **** =============================================================================== fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed -- 11.62s /tmp/collections-h0J/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 8.66s /tmp/collections-h0J/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 2.57s /tmp/collections-h0J/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Gathering Facts --------------------------------------------------------- 1.44s /tmp/collections-h0J/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.95s /tmp/collections-h0J/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Ensure python3 is installed --------------------------------------------- 0.89s /tmp/collections-h0J/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Parse certificate ------------------------------------------------------- 0.75s /tmp/collections-h0J/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Retrieve auto-renew flag ------------------------------------------------ 0.64s /tmp/collections-h0J/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Ensure python3 is installed --------------------------------------------- 0.60s /tmp/collections-h0J/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Gathering Facts --------------------------------------------------------- 0.60s /tmp/collections-h0J/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:18 Ensure python3 is installed --------------------------------------------- 0.59s /tmp/collections-h0J/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Parse certificate ------------------------------------------------------- 0.58s /tmp/collections-h0J/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Retrieve auto-renew flag ------------------------------------------------ 0.54s /tmp/collections-h0J/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Retrieve certificate file stats ----------------------------------------- 0.52s /tmp/collections-h0J/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 fedora.linux_system_roles.certificate : Check if system is ostree ------- 0.50s /tmp/collections-h0J/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Retrieve certificate file stats ----------------------------------------- 0.48s /tmp/collections-h0J/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Parse certificate ------------------------------------------------------- 0.47s /tmp/collections-h0J/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists --- 0.47s /tmp/collections-h0J/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Retrieve key file stats ------------------------------------------------- 0.45s /tmp/collections-h0J/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Retrieve auto-renew flag ------------------------------------------------ 0.42s /tmp/collections-h0J/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143