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_no_auto_renew.yml ********************************************** 2 plays in /tmp/collections-qPB/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_no_auto_renew.yml PLAY [Issue simple self-signed certificate] ************************************ TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-qPB/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_no_auto_renew.yml:2 Saturday 05 October 2024 08:29:42 -0400 (0:00:00.041) 0:00:00.041 ****** ok: [managed-node3] META: ran handlers TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /tmp/collections-qPB/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Saturday 05 October 2024 08:29:43 -0400 (0:00:01.079) 0:00:01.120 ****** included: /tmp/collections-qPB/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml for managed-node3 TASK [fedora.linux_system_roles.certificate : Ensure ansible_facts used by role] *** task path: /tmp/collections-qPB/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Saturday 05 October 2024 08:29:43 -0400 (0:00:00.028) 0:00:01.149 ****** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Check if system is ostree] ******* task path: /tmp/collections-qPB/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Saturday 05 October 2024 08:29:43 -0400 (0:00:00.047) 0:00:01.197 ****** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.certificate : Set flag to indicate system is ostree] *** task path: /tmp/collections-qPB/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Saturday 05 October 2024 08:29:43 -0400 (0:00:00.523) 0:00:01.720 ****** ok: [managed-node3] => { "ansible_facts": { "__certificate_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.certificate : Set platform/version specific variables] *** task path: /tmp/collections-qPB/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Saturday 05 October 2024 08:29:44 -0400 (0:00:00.053) 0:00:01.774 ****** skipping: [managed-node3] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node3] => (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-qPB/ansible_collections/fedora/linux_system_roles/roles/certificate/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed-node3] => (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-qPB/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Saturday 05 October 2024 08:29:44 -0400 (0:00:00.079) 0:00:01.854 ****** ok: [managed-node3] => { "changed": false, "rc": 0, "results": [ "python2-pyasn1-0.1.9-7.el7.noarch providing python-pyasn1 is already installed", "python2-cryptography-1.7.2-2.el7.x86_64 providing python-cryptography is already installed", "dbus-python-1.1.1-9.el7.x86_64 providing python-dbus is already installed" ] } lsrpackages: python-cryptography python-dbus python-pyasn1 TASK [fedora.linux_system_roles.certificate : Ensure provider packages are installed] *** task path: /tmp/collections-qPB/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Saturday 05 October 2024 08:29:46 -0400 (0:00:02.423) 0:00:04.277 ****** ok: [managed-node3] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "rc": 0, "results": [ "certmonger-0.78.4-17.el7_9.x86_64 providing certmonger is already installed" ] } lsrpackages: certmonger TASK [fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists] *** task path: /tmp/collections-qPB/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Saturday 05 October 2024 08:29:47 -0400 (0:00:00.800) 0:00:05.077 ****** ok: [managed-node3] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "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-qPB/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Saturday 05 October 2024 08:29:47 -0400 (0:00:00.604) 0:00:05.682 ****** ok: [managed-node3] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "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-qPB/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Saturday 05 October 2024 08:29:48 -0400 (0:00:00.385) 0:00:06.067 ****** ok: [managed-node3] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "enabled": true, "name": "certmonger", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-10-05 08:29:27 EDT", "ActiveEnterTimestampMonotonic": "307523748", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice network.target systemd-journald.socket dbus.service syslog.target basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-10-05 08:29:27 EDT", "AssertTimestampMonotonic": "307504198", "Before": "shutdown.target multi-user.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": "yes", "ConditionTimestamp": "Sat 2024-10-05 08:29:27 EDT", "ConditionTimestampMonotonic": "307504196", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/certmonger.service", "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": "9857", "ExecMainStartTimestamp": "Sat 2024-10-05 08:29:27 EDT", "ExecMainStartTimestampMonotonic": "307504838", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /var/run/certmonger.pid -n $OPTS ; ignore_errors=no ; start_time=[Sat 2024-10-05 08:29:27 EDT] ; stop_time=[n/a] ; pid=9857 ; 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", "InactiveExitTimestamp": "Sat 2024-10-05 08:29:27 EDT", "InactiveExitTimestampMonotonic": "307504866", "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": "9857", "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": "system.slice basic.target", "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": "running", "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": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2024-10-05 08:29:27 EDT", "WatchdogTimestampMonotonic": "307523702", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.certificate : Ensure certificate requests] ***** task path: /tmp/collections-qPB/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Saturday 05 October 2024 08:29:49 -0400 (0:00:00.916) 0:00:06.983 ****** changed: [managed-node3] => (item={u'ca': u'self-sign', u'name': u'mycert_no_auto_renew', u'dns': u'www.example.com', u'auto_renew': False}) => { "ansible_loop_var": "item", "changed": true, "item": { "auto_renew": false, "ca": "self-sign", "dns": "www.example.com", "name": "mycert_no_auto_renew" } } MSG: Certificate requested (new). changed: [managed-node3] => (item={u'ca': u'self-sign', u'name': u'defaultcert', u'dns': u'www.example.com'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ca": "self-sign", "dns": "www.example.com", "name": "defaultcert" } } MSG: Certificate requested (new). TASK [fedora.linux_system_roles.certificate : Slurp the contents of the files] *** task path: /tmp/collections-qPB/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Saturday 05 October 2024 08:29:51 -0400 (0:00:02.165) 0:00:09.149 ****** skipping: [managed-node3] => (item=[u'cert', {u'ca': u'self-sign', u'name': u'mycert_no_auto_renew', u'dns': u'www.example.com', u'auto_renew': False}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "cert", { "auto_renew": false, "ca": "self-sign", "dns": "www.example.com", "name": "mycert_no_auto_renew" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=[u'cert', {u'ca': u'self-sign', u'name': u'defaultcert', u'dns': u'www.example.com'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "cert", { "ca": "self-sign", "dns": "www.example.com", "name": "defaultcert" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=[u'key', {u'ca': u'self-sign', u'name': u'mycert_no_auto_renew', u'dns': u'www.example.com', u'auto_renew': False}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "key", { "auto_renew": false, "ca": "self-sign", "dns": "www.example.com", "name": "mycert_no_auto_renew" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=[u'key', {u'ca': u'self-sign', u'name': u'defaultcert', u'dns': u'www.example.com'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "key", { "ca": "self-sign", "dns": "www.example.com", "name": "defaultcert" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=[u'ca', {u'ca': u'self-sign', u'name': u'mycert_no_auto_renew', u'dns': u'www.example.com', u'auto_renew': False}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "ca", { "auto_renew": false, "ca": "self-sign", "dns": "www.example.com", "name": "mycert_no_auto_renew" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=[u'ca', {u'ca': u'self-sign', u'name': u'defaultcert', u'dns': u'www.example.com'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "ca", { "ca": "self-sign", "dns": "www.example.com", "name": "defaultcert" } ], "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Create return data] ************** task path: /tmp/collections-qPB/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Saturday 05 October 2024 08:29:51 -0400 (0:00:00.144) 0:00:09.293 ****** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Stop tracking certificates] ****** task path: /tmp/collections-qPB/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Saturday 05 October 2024 08:29:51 -0400 (0:00:00.051) 0:00:09.344 ****** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Remove files] ******************** task path: /tmp/collections-qPB/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Saturday 05 October 2024 08:29:51 -0400 (0:00:00.049) 0:00:09.393 ****** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY [Verify certificate] ****************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-qPB/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_no_auto_renew.yml:17 Saturday 05 October 2024 08:29:51 -0400 (0:00:00.067) 0:00:09.461 ****** ok: [managed-node3] META: ran handlers TASK [Verify each certificate] ************************************************* task path: /tmp/collections-qPB/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_no_auto_renew.yml:42 Saturday 05 October 2024 08:29:52 -0400 (0:00:00.833) 0:00:10.294 ****** included: /tmp/collections-qPB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node3 included: /tmp/collections-qPB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node3 TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-qPB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Saturday 05 October 2024 08:29:52 -0400 (0:00:00.160) 0:00:10.454 ****** ok: [managed-node3] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-qPB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Saturday 05 October 2024 08:29:52 -0400 (0:00:00.026) 0:00:10.481 ****** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-qPB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Saturday 05 October 2024 08:29:52 -0400 (0:00:00.056) 0:00:10.537 ****** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-qPB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Saturday 05 October 2024 08:29:52 -0400 (0:00:00.065) 0:00:10.602 ****** ok: [managed-node3] => { "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-qPB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Saturday 05 October 2024 08:29:53 -0400 (0:00:00.636) 0:00:11.238 ****** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-qPB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Saturday 05 October 2024 08:29:53 -0400 (0:00:00.058) 0:00:11.297 ****** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1728131390.17727, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "5b9488d051894dc147ab1d45466f4f0e58033440", "ctime": 1728131390.17327, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 172774, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1728131390.17327, "nlink": 1, "path": "/etc/pki/tls/certs/mycert_no_auto_renew.crt", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1294, "uid": 0, "version": "144992123", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-qPB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Saturday 05 October 2024 08:29:54 -0400 (0:00:00.460) 0:00:11.757 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-qPB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Saturday 05 October 2024 08:29:54 -0400 (0:00:00.069) 0:00:11.827 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-qPB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Saturday 05 October 2024 08:29:54 -0400 (0:00:00.090) 0:00:11.918 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-qPB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Saturday 05 October 2024 08:29:54 -0400 (0:00:00.089) 0:00:12.008 ****** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1728131390.1322696, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "de8599df9c193e85238406f390d84331c7cbb662", "ctime": 1728131390.17327, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 172773, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1728131390.17327, "nlink": 1, "path": "/etc/pki/tls/private/mycert_no_auto_renew.key", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1704, "uid": 0, "version": "144992110", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-qPB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Saturday 05 October 2024 08:29:54 -0400 (0:00:00.351) 0:00:12.359 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-qPB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Saturday 05 October 2024 08:29:54 -0400 (0:00:00.095) 0:00:12.454 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-qPB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Saturday 05 October 2024 08:29:54 -0400 (0:00:00.106) 0:00:12.561 ****** ok: [managed-node3] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "CC:68:F8:04:A7:23:ED:D1:65:87:31:62:1C:5F:BC:00:EC:C9:14:6C" }, "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": "85:23:EF:33:FD:7F:ED:A3:06:DB:7B:F5:5B:AD:8C:C0:6A:AB:A8:31" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "4E:18:18:B1:54:AD:70:21:AC:B1:3C:FB:22:4C:E1:ED:56:D3:7A:7D:53:75:8D:68:C6:CA:4D:DC:37:3A:09:4C:97:B7:D8:E7:CF:6E:B5:68:86:3E:A2:44:D0:6C:8C:DC:C6:12:0D:BB:E0:A2:68:06:70:5F:4C:BE:BC:9B:D4:35:49:EE:51:7D:59:AF:77:09:19:9E:FA:00:DA:3E:0D:55:FA:EF:5C:96:9E:93:E8:5F:FF:D6:21:3E:D6:0D:EB:A2:5A:3B:4F:E5:18:01:96:D1:71:5B:B7:51:A3:30:DC:9B:04:3C:68:8E:5E:1A:99:02:B3:2E:B8:4F:18:4B:A3:4D:35:B2:5C:36:A3:6D:35:ED:07:BF:54:C1:6D:87:41:0B:7E:58:FC:49:00:DF:95:DB:AB:5C:F8:17:9D:AE:5A:23:EE:BC:39:67:BC:AB:FB:36:A5:BC:EE:E5:22:23:A0:9B:90:DF:84:AD:F3:9C:B5:F4:B5:32:6D:F7:68:A3:5D:60:C0:56:8A:85:CB:9B:CA:8D:6B:DC:6E:3C:80:B9:35:91:86:92:73:A3:09:87:48:AA:7B:A6:47:66:95:6F:29:61:42:BA:EB:F1:36:86:22:4D:4C:D1:3F:A0:A5:6B:D7:49:72:B6:FD:EE:CB:56:78:E5:F4:FA:74:FA:CB:E0:38:D2" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20251005122927Z", "not_valid_before": "20241005122950Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-qPB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Saturday 05 October 2024 08:29:55 -0400 (0:00:00.653) 0:00:13.215 ****** ok: [managed-node3] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "CC:68:F8:04:A7:23:ED:D1:65:87:31:62:1C:5F:BC:00:EC:C9:14:6C" }, "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": "85:23:EF:33:FD:7F:ED:A3:06:DB:7B:F5:5B:AD:8C:C0:6A:AB:A8:31" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "4E:18:18:B1:54:AD:70:21:AC:B1:3C:FB:22:4C:E1:ED:56:D3:7A:7D:53:75:8D:68:C6:CA:4D:DC:37:3A:09:4C:97:B7:D8:E7:CF:6E:B5:68:86:3E:A2:44:D0:6C:8C:DC:C6:12:0D:BB:E0:A2:68:06:70:5F:4C:BE:BC:9B:D4:35:49:EE:51:7D:59:AF:77:09:19:9E:FA:00:DA:3E:0D:55:FA:EF:5C:96:9E:93:E8:5F:FF:D6:21:3E:D6:0D:EB:A2:5A:3B:4F:E5:18:01:96:D1:71:5B:B7:51:A3:30:DC:9B:04:3C:68:8E:5E:1A:99:02:B3:2E:B8:4F:18:4B:A3:4D:35:B2:5C:36:A3:6D:35:ED:07:BF:54:C1:6D:87:41:0B:7E:58:FC:49:00:DF:95:DB:AB:5C:F8:17:9D:AE:5A:23:EE:BC:39:67:BC:AB:FB:36:A5:BC:EE:E5:22:23:A0:9B:90:DF:84:AD:F3:9C:B5:F4:B5:32:6D:F7:68:A3:5D:60:C0:56:8A:85:CB:9B:CA:8D:6B:DC:6E:3C:80:B9:35:91:86:92:73:A3:09:87:48:AA:7B:A6:47:66:95:6F:29:61:42:BA:EB:F1:36:86:22:4D:4C:D1:3F:A0:A5:6B:D7:49:72:B6:FD:EE:CB:56:78:E5:F4:FA:74:FA:CB:E0:38:D2" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20251005122927Z", "not_valid_before": "20241005122950Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-qPB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Saturday 05 October 2024 08:29:55 -0400 (0:00:00.057) 0:00:13.273 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-qPB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Saturday 05 October 2024 08:29:55 -0400 (0:00:00.055) 0:00:13.329 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-qPB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Saturday 05 October 2024 08:29:55 -0400 (0:00:00.048) 0:00:13.377 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-qPB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Saturday 05 October 2024 08:29:55 -0400 (0:00:00.050) 0:00:13.428 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-qPB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Saturday 05 October 2024 08:29:55 -0400 (0:00:00.070) 0:00:13.499 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-qPB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Saturday 05 October 2024 08:29:55 -0400 (0:00:00.071) 0:00:13.570 ****** ok: [managed-node3] => { "changed": false, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/mycert_no_auto_renew.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "delta": "0:00:00.043461", "end": "2024-10-05 08:29:56.296371", "rc": 0, "start": "2024-10-05 08:29:56.252910" } STDOUT: no TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-qPB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Saturday 05 October 2024 08:29:56 -0400 (0:00:00.556) 0:00:14.126 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-qPB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Saturday 05 October 2024 08:29:56 -0400 (0:00:00.120) 0:00:14.246 ****** ok: [managed-node3] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-qPB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Saturday 05 October 2024 08:29:56 -0400 (0:00:00.052) 0:00:14.299 ****** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-qPB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Saturday 05 October 2024 08:29:56 -0400 (0:00:00.082) 0:00:14.382 ****** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-qPB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Saturday 05 October 2024 08:29:56 -0400 (0:00:00.075) 0:00:14.457 ****** ok: [managed-node3] => { "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-qPB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Saturday 05 October 2024 08:29:57 -0400 (0:00:00.711) 0:00:15.169 ****** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-qPB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Saturday 05 October 2024 08:29:57 -0400 (0:00:00.043) 0:00:15.212 ****** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1728131391.181278, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b9fa7ded512d8a92111061ba3ca9618310a99da2", "ctime": 1728131391.1772778, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 172776, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1728131391.1772778, "nlink": 1, "path": "/etc/pki/tls/certs/defaultcert.crt", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1294, "uid": 0, "version": "144992162", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-qPB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Saturday 05 October 2024 08:29:57 -0400 (0:00:00.336) 0:00:15.548 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-qPB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Saturday 05 October 2024 08:29:57 -0400 (0:00:00.045) 0:00:15.594 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-qPB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Saturday 05 October 2024 08:29:57 -0400 (0:00:00.050) 0:00:15.644 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-qPB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Saturday 05 October 2024 08:29:57 -0400 (0:00:00.047) 0:00:15.691 ****** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1728131391.1372776, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "655d0942401a3f0a7612530f6bed4bc270b464ef", "ctime": 1728131391.1772778, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 172775, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1728131391.1772778, "nlink": 1, "path": "/etc/pki/tls/private/defaultcert.key", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1704, "uid": 0, "version": "144992149", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-qPB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Saturday 05 October 2024 08:29:58 -0400 (0:00:00.348) 0:00:16.040 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-qPB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Saturday 05 October 2024 08:29:58 -0400 (0:00:00.069) 0:00:16.110 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-qPB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Saturday 05 October 2024 08:29:58 -0400 (0:00:00.081) 0:00:16.191 ****** ok: [managed-node3] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "CC:68:F8:04:A7:23:ED:D1:65:87:31:62:1C:5F:BC:00:EC:C9:14:6C" }, "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": "68:4F:F8:36:C4:66:7E:53:5D:68:4E:6B:71:A0:7A:C0:1C:E3:C6:D2" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "79:D6:99:3F:2E:38:AD:FE:AB:31:16:71:33:F9:D8:89:44:D6:93:F2:20:75:A0:78:EC:92:3A:9E:BA:77:29:BE:16:C6:02:89:87:4C:8D:29:37:50:39:7F:A0:8B:8D:05:9E:1F:39:F5:F9:9E:AB:9C:44:BB:9C:B9:96:5D:12:7A:61:CE:99:8D:B9:CA:29:4F:E0:63:16:8C:DA:AF:B6:16:3B:34:E3:E4:BF:F1:09:41:79:1C:73:58:91:71:46:E6:62:F3:5D:BE:4C:3D:FA:FE:4E:C8:1B:23:A2:92:A5:2C:AC:A8:E0:1A:9A:AB:69:6E:D7:80:1D:82:1D:38:E1:51:BC:A4:E3:9B:D5:FA:72:32:99:57:0C:A0:CA:C9:B3:47:34:48:FB:87:CE:4C:2B:8A:FC:49:81:6B:ED:64:03:C0:FE:D1:E8:81:DF:EC:42:98:97:2E:F4:CF:10:D3:0B:C7:75:09:AD:99:D0:85:AF:EC:6A:3A:81:DB:7C:ED:CA:F5:42:38:40:8E:C7:15:1C:B4:A1:12:80:1F:47:59:C7:8B:3F:22:38:6B:43:9C:73:1C:45:3B:50:81:7E:A0:9E:C4:11:C0:90:CB:9E:BA:3F:01:14:6D:91:4B:61:D2:AF:4D:1D:DF:26:FA:E3:E6:DB:E1:6B:98:EE:8F:39:0B:7F:B5" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20251005122927Z", "not_valid_before": "20241005122951Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-qPB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Saturday 05 October 2024 08:29:58 -0400 (0:00:00.540) 0:00:16.731 ****** ok: [managed-node3] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "CC:68:F8:04:A7:23:ED:D1:65:87:31:62:1C:5F:BC:00:EC:C9:14:6C" }, "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": "68:4F:F8:36:C4:66:7E:53:5D:68:4E:6B:71:A0:7A:C0:1C:E3:C6:D2" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "79:D6:99:3F:2E:38:AD:FE:AB:31:16:71:33:F9:D8:89:44:D6:93:F2:20:75:A0:78:EC:92:3A:9E:BA:77:29:BE:16:C6:02:89:87:4C:8D:29:37:50:39:7F:A0:8B:8D:05:9E:1F:39:F5:F9:9E:AB:9C:44:BB:9C:B9:96:5D:12:7A:61:CE:99:8D:B9:CA:29:4F:E0:63:16:8C:DA:AF:B6:16:3B:34:E3:E4:BF:F1:09:41:79:1C:73:58:91:71:46:E6:62:F3:5D:BE:4C:3D:FA:FE:4E:C8:1B:23:A2:92:A5:2C:AC:A8:E0:1A:9A:AB:69:6E:D7:80:1D:82:1D:38:E1:51:BC:A4:E3:9B:D5:FA:72:32:99:57:0C:A0:CA:C9:B3:47:34:48:FB:87:CE:4C:2B:8A:FC:49:81:6B:ED:64:03:C0:FE:D1:E8:81:DF:EC:42:98:97:2E:F4:CF:10:D3:0B:C7:75:09:AD:99:D0:85:AF:EC:6A:3A:81:DB:7C:ED:CA:F5:42:38:40:8E:C7:15:1C:B4:A1:12:80:1F:47:59:C7:8B:3F:22:38:6B:43:9C:73:1C:45:3B:50:81:7E:A0:9E:C4:11:C0:90:CB:9E:BA:3F:01:14:6D:91:4B:61:D2:AF:4D:1D:DF:26:FA:E3:E6:DB:E1:6B:98:EE:8F:39:0B:7F:B5" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20251005122927Z", "not_valid_before": "20241005122951Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-qPB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Saturday 05 October 2024 08:29:59 -0400 (0:00:00.092) 0:00:16.824 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-qPB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Saturday 05 October 2024 08:29:59 -0400 (0:00:00.077) 0:00:16.901 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-qPB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Saturday 05 October 2024 08:29:59 -0400 (0:00:00.073) 0:00:16.975 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-qPB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Saturday 05 October 2024 08:29:59 -0400 (0:00:00.062) 0:00:17.037 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-qPB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Saturday 05 October 2024 08:29:59 -0400 (0:00:00.062) 0:00:17.100 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-qPB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Saturday 05 October 2024 08:29:59 -0400 (0:00:00.064) 0:00:17.165 ****** ok: [managed-node3] => { "changed": false, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/defaultcert.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "delta": "0:00:00.043485", "end": "2024-10-05 08:29:59.723896", "rc": 0, "start": "2024-10-05 08:29:59.680411" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-qPB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Saturday 05 October 2024 08:29:59 -0400 (0:00:00.350) 0:00:17.515 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node3 : ok=50 changed=1 unreachable=0 failed=0 skipped=11 rescued=0 ignored=0 Saturday 05 October 2024 08:29:59 -0400 (0:00:00.056) 0:00:17.571 ****** =============================================================================== fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 2.42s /tmp/collections-qPB/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 2.17s /tmp/collections-qPB/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Gathering Facts --------------------------------------------------------- 1.08s /tmp/collections-qPB/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_no_auto_renew.yml:2 fedora.linux_system_roles.certificate : Ensure provider service is running --- 0.92s /tmp/collections-qPB/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Gathering Facts --------------------------------------------------------- 0.83s /tmp/collections-qPB/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_no_auto_renew.yml:17 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 0.80s /tmp/collections-qPB/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Ensure python3 is installed --------------------------------------------- 0.71s /tmp/collections-qPB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Parse certificate ------------------------------------------------------- 0.65s /tmp/collections-qPB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Ensure python3 is installed --------------------------------------------- 0.64s /tmp/collections-qPB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists --- 0.60s /tmp/collections-qPB/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Retrieve auto-renew flag ------------------------------------------------ 0.56s /tmp/collections-qPB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Parse certificate ------------------------------------------------------- 0.54s /tmp/collections-qPB/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.52s /tmp/collections-qPB/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Retrieve certificate file stats ----------------------------------------- 0.46s /tmp/collections-qPB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists --- 0.39s /tmp/collections-qPB/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Retrieve key file stats ------------------------------------------------- 0.35s /tmp/collections-qPB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Retrieve auto-renew flag ------------------------------------------------ 0.35s /tmp/collections-qPB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Retrieve key file stats ------------------------------------------------- 0.35s /tmp/collections-qPB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Retrieve certificate file stats ----------------------------------------- 0.34s /tmp/collections-qPB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Verify each certificate ------------------------------------------------- 0.16s /tmp/collections-qPB/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_no_auto_renew.yml:42