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-vCQ/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-vCQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_no_auto_renew.yml:2 Saturday 28 September 2024 11:33:54 -0400 (0:00:00.090) 0:00:00.090 **** ok: [managed-node3] META: ran handlers TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /tmp/collections-vCQ/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Saturday 28 September 2024 11:33:55 -0400 (0:00:00.895) 0:00:00.986 **** included: /tmp/collections-vCQ/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-vCQ/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Saturday 28 September 2024 11:33:55 -0400 (0:00:00.027) 0:00:01.013 **** 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-vCQ/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Saturday 28 September 2024 11:33:55 -0400 (0:00:00.055) 0:00:01.068 **** 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-vCQ/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Saturday 28 September 2024 11:33:55 -0400 (0:00:00.534) 0:00:01.603 **** 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-vCQ/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Saturday 28 September 2024 11:33:55 -0400 (0:00:00.069) 0:00:01.673 **** 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-vCQ/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-vCQ/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Saturday 28 September 2024 11:33:56 -0400 (0:00:00.115) 0:00:01.789 **** 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-vCQ/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Saturday 28 September 2024 11:33:57 -0400 (0:00:01.863) 0:00:03.653 **** 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-vCQ/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Saturday 28 September 2024 11:33:58 -0400 (0:00:00.808) 0:00:04.461 **** 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-vCQ/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Saturday 28 September 2024 11:33:59 -0400 (0:00:00.697) 0:00:05.158 **** 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-vCQ/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Saturday 28 September 2024 11:33:59 -0400 (0:00:00.314) 0:00:05.472 **** 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-09-28 11:33:40 EDT", "ActiveEnterTimestampMonotonic": "332279513", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice network.target dbus.service syslog.target basic.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-09-28 11:33:40 EDT", "AssertTimestampMonotonic": "332258266", "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-09-28 11:33:40 EDT", "ConditionTimestampMonotonic": "332258264", "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": "9852", "ExecMainStartTimestamp": "Sat 2024-09-28 11:33:40 EDT", "ExecMainStartTimestampMonotonic": "332258785", "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-09-28 11:33:40 EDT] ; stop_time=[n/a] ; pid=9852 ; 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-09-28 11:33:40 EDT", "InactiveExitTimestampMonotonic": "332258812", "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": "9852", "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-09-28 11:33:40 EDT", "WatchdogTimestampMonotonic": "332279485", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.certificate : Ensure certificate requests] ***** task path: /tmp/collections-vCQ/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Saturday 28 September 2024 11:34:00 -0400 (0:00:00.905) 0:00:06.377 **** 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-vCQ/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Saturday 28 September 2024 11:34:02 -0400 (0:00:01.761) 0:00:08.139 **** 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-vCQ/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Saturday 28 September 2024 11:34:02 -0400 (0:00:00.126) 0:00:08.266 **** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Stop tracking certificates] ****** task path: /tmp/collections-vCQ/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Saturday 28 September 2024 11:34:02 -0400 (0:00:00.065) 0:00:08.331 **** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Remove files] ******************** task path: /tmp/collections-vCQ/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Saturday 28 September 2024 11:34:02 -0400 (0:00:00.063) 0:00:08.395 **** 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-vCQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_no_auto_renew.yml:17 Saturday 28 September 2024 11:34:02 -0400 (0:00:00.070) 0:00:08.465 **** ok: [managed-node3] META: ran handlers TASK [Verify each certificate] ************************************************* task path: /tmp/collections-vCQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_no_auto_renew.yml:42 Saturday 28 September 2024 11:34:03 -0400 (0:00:00.499) 0:00:08.965 **** included: /tmp/collections-vCQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node3 included: /tmp/collections-vCQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node3 TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-vCQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Saturday 28 September 2024 11:34:03 -0400 (0:00:00.094) 0:00:09.060 **** ok: [managed-node3] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-vCQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Saturday 28 September 2024 11:34:03 -0400 (0:00:00.023) 0:00:09.083 **** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-vCQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Saturday 28 September 2024 11:34:03 -0400 (0:00:00.055) 0:00:09.139 **** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-vCQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Saturday 28 September 2024 11:34:03 -0400 (0:00:00.056) 0:00:09.195 **** 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-vCQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Saturday 28 September 2024 11:34:04 -0400 (0:00:00.699) 0:00:09.895 **** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-vCQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Saturday 28 September 2024 11:34:04 -0400 (0:00:00.062) 0:00:09.958 **** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1727537641.482595, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8d49315d90c0136737b7f4e947606085137d0d5e", "ctime": 1727537641.4785948, "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": 1727537641.4785948, "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": "399797215", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-vCQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Saturday 28 September 2024 11:34:04 -0400 (0:00:00.420) 0:00:10.378 **** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-vCQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Saturday 28 September 2024 11:34:04 -0400 (0:00:00.058) 0:00:10.437 **** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-vCQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Saturday 28 September 2024 11:34:04 -0400 (0:00:00.130) 0:00:10.568 **** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-vCQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Saturday 28 September 2024 11:34:04 -0400 (0:00:00.068) 0:00:10.636 **** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1727537641.4415944, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d4b5f2f816b8211453a8dc04893a68dde46fe16c", "ctime": 1727537641.4785948, "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": 1727537641.4785948, "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": "399797202", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-vCQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Saturday 28 September 2024 11:34:05 -0400 (0:00:00.450) 0:00:11.086 **** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-vCQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Saturday 28 September 2024 11:34:05 -0400 (0:00:00.051) 0:00:11.138 **** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-vCQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Saturday 28 September 2024 11:34:05 -0400 (0:00:00.070) 0:00:11.208 **** ok: [managed-node3] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "3D:E7:01:54:04:C7:C4:64:EE:F4:04:D4:B9:5B:24:73:C6:04:DA:2C" }, "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": "A5:9D:2B:FB:37:53:54:51:54:BF:0D:3E:23:24:03:D7:A9:00:F7:65" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "C2:25:33:A6:CA:40:11:D5:CC:B2:18:66:B6:A0:FF:8D:8A:AC:A3:66:45:5C:FD:86:2F:C2:01:19:5B:BC:D5:AE:B6:AD:37:A5:10:18:1A:E2:78:6E:63:83:70:A8:43:E1:B5:45:A8:9E:D4:43:72:13:C6:E1:C0:C9:94:4E:C4:63:90:6A:CD:2C:8A:9C:46:92:05:63:EA:1F:18:7E:57:15:CA:9C:F1:BF:98:C0:01:D0:0E:25:66:EC:99:1C:8C:52:18:FD:55:98:7B:CE:59:09:86:06:59:C7:56:66:63:2D:8A:45:8F:49:69:64:75:F4:FD:1B:33:92:AB:B1:68:90:15:5C:B4:05:9C:F4:48:7B:EC:D2:44:FF:9A:32:E6:AD:9D:10:7A:9C:3C:2F:67:DE:BF:78:09:4B:8F:CD:D2:5E:12:4A:75:CE:6E:50:A8:D5:95:62:CC:C7:65:DE:FB:4E:32:D2:A0:43:FF:84:84:CD:1F:D6:90:61:03:CC:C3:7D:85:4D:77:BB:72:DE:C6:9E:55:9A:94:EE:CC:15:26:4B:11:1B:33:88:6F:BC:18:E4:0C:2C:CC:D9:CE:62:C4:07:98:61:72:CA:0F:BA:F3:CA:A4:9C:33:E9:EB:90:C8:3D:0E:A9:BF:43:2F:89:DA:A7:5A:78:51:27:6A:8A:36:E0" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250928153341Z", "not_valid_before": "20240928153401Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-vCQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Saturday 28 September 2024 11:34:06 -0400 (0:00:00.622) 0:00:11.830 **** ok: [managed-node3] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "3D:E7:01:54:04:C7:C4:64:EE:F4:04:D4:B9:5B:24:73:C6:04:DA:2C" }, "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": "A5:9D:2B:FB:37:53:54:51:54:BF:0D:3E:23:24:03:D7:A9:00:F7:65" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "C2:25:33:A6:CA:40:11:D5:CC:B2:18:66:B6:A0:FF:8D:8A:AC:A3:66:45:5C:FD:86:2F:C2:01:19:5B:BC:D5:AE:B6:AD:37:A5:10:18:1A:E2:78:6E:63:83:70:A8:43:E1:B5:45:A8:9E:D4:43:72:13:C6:E1:C0:C9:94:4E:C4:63:90:6A:CD:2C:8A:9C:46:92:05:63:EA:1F:18:7E:57:15:CA:9C:F1:BF:98:C0:01:D0:0E:25:66:EC:99:1C:8C:52:18:FD:55:98:7B:CE:59:09:86:06:59:C7:56:66:63:2D:8A:45:8F:49:69:64:75:F4:FD:1B:33:92:AB:B1:68:90:15:5C:B4:05:9C:F4:48:7B:EC:D2:44:FF:9A:32:E6:AD:9D:10:7A:9C:3C:2F:67:DE:BF:78:09:4B:8F:CD:D2:5E:12:4A:75:CE:6E:50:A8:D5:95:62:CC:C7:65:DE:FB:4E:32:D2:A0:43:FF:84:84:CD:1F:D6:90:61:03:CC:C3:7D:85:4D:77:BB:72:DE:C6:9E:55:9A:94:EE:CC:15:26:4B:11:1B:33:88:6F:BC:18:E4:0C:2C:CC:D9:CE:62:C4:07:98:61:72:CA:0F:BA:F3:CA:A4:9C:33:E9:EB:90:C8:3D:0E:A9:BF:43:2F:89:DA:A7:5A:78:51:27:6A:8A:36:E0" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250928153341Z", "not_valid_before": "20240928153401Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-vCQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Saturday 28 September 2024 11:34:06 -0400 (0:00:00.057) 0:00:11.888 **** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-vCQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Saturday 28 September 2024 11:34:06 -0400 (0:00:00.074) 0:00:11.962 **** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-vCQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Saturday 28 September 2024 11:34:06 -0400 (0:00:00.064) 0:00:12.027 **** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-vCQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Saturday 28 September 2024 11:34:06 -0400 (0:00:00.064) 0:00:12.091 **** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-vCQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Saturday 28 September 2024 11:34:06 -0400 (0:00:00.069) 0:00:12.161 **** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-vCQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Saturday 28 September 2024 11:34:06 -0400 (0:00:00.072) 0:00:12.234 **** 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.040964", "end": "2024-09-28 11:34:07.074040", "rc": 0, "start": "2024-09-28 11:34:07.033076" } STDOUT: no TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-vCQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Saturday 28 September 2024 11:34:07 -0400 (0:00:00.658) 0:00:12.892 **** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-vCQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Saturday 28 September 2024 11:34:07 -0400 (0:00:00.067) 0:00:12.959 **** ok: [managed-node3] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-vCQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Saturday 28 September 2024 11:34:07 -0400 (0:00:00.032) 0:00:12.992 **** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-vCQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Saturday 28 September 2024 11:34:07 -0400 (0:00:00.057) 0:00:13.050 **** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-vCQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Saturday 28 September 2024 11:34:07 -0400 (0:00:00.081) 0:00:13.131 **** 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-vCQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Saturday 28 September 2024 11:34:08 -0400 (0:00:00.673) 0:00:13.805 **** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-vCQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Saturday 28 September 2024 11:34:08 -0400 (0:00:00.055) 0:00:13.860 **** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1727537642.1956024, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e8fc6d3eed7169023f6b6e13b0e3d2d3a6d3ad8e", "ctime": 1727537642.1916022, "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": 1727537642.1916022, "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": "399797254", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-vCQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Saturday 28 September 2024 11:34:08 -0400 (0:00:00.402) 0:00:14.263 **** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-vCQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Saturday 28 September 2024 11:34:08 -0400 (0:00:00.078) 0:00:14.342 **** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-vCQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Saturday 28 September 2024 11:34:08 -0400 (0:00:00.076) 0:00:14.418 **** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-vCQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Saturday 28 September 2024 11:34:08 -0400 (0:00:00.077) 0:00:14.495 **** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1727537642.1546018, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "905932a0eba510dc97809d1e6faf1f77b2445e9a", "ctime": 1727537642.1916022, "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": 1727537642.1916022, "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": "399797241", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-vCQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Saturday 28 September 2024 11:34:09 -0400 (0:00:00.448) 0:00:14.944 **** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-vCQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Saturday 28 September 2024 11:34:09 -0400 (0:00:00.066) 0:00:15.010 **** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-vCQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Saturday 28 September 2024 11:34:09 -0400 (0:00:00.074) 0:00:15.085 **** ok: [managed-node3] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "3D:E7:01:54:04:C7:C4:64:EE:F4:04:D4:B9:5B:24:73:C6:04:DA:2C" }, "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": "96:44:39:18:E3:A6:C3:CD:B1:CE:F7:C8:21:A6:86:37:A3:34:5A:EE" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "91:15:B1:6E:95:EA:F5:21:F1:6E:EB:9E:47:C6:41:D3:54:C9:F0:E9:91:3A:91:D1:33:6E:4F:27:0A:64:A0:9E:92:E0:AA:F5:39:40:47:2A:C6:2D:B5:77:C0:8A:DE:55:A4:1E:91:80:25:75:A1:13:54:A0:E4:37:5B:66:A1:40:87:E6:BE:A6:CD:F2:FD:13:B3:3C:9E:42:BB:64:00:AC:BB:3B:CA:61:0F:BA:28:98:4E:F9:D1:7B:53:38:98:24:32:A1:60:B2:41:64:0A:77:57:B0:3C:43:D8:1C:FD:60:C0:E4:D3:03:6D:AF:80:99:F8:C8:D2:E2:3F:39:A7:C3:D3:0B:17:31:4F:D1:1E:3D:D7:4A:21:37:B9:40:7F:C2:03:F0:41:2C:00:ED:E7:60:00:00:2D:CB:EE:4F:39:6D:63:38:19:CA:34:30:E2:57:B5:7F:DD:C3:A2:12:08:3A:C9:EF:79:65:06:19:31:50:04:22:C5:1B:F5:D7:BE:11:E7:3A:13:FA:98:31:DD:D4:DA:C7:12:00:8A:B7:92:EB:DE:C0:CF:81:AA:F6:E3:5F:90:CD:6A:DE:DD:B8:E4:66:E5:E4:28:F0:97:95:82:FA:19:B5:12:31:5E:2A:E2:7C:75:40:83:69:CF:5D:46:90:B0:8B:D7:A2:FC:F4:CD:A4" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250928153341Z", "not_valid_before": "20240928153402Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-vCQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Saturday 28 September 2024 11:34:09 -0400 (0:00:00.548) 0:00:15.633 **** ok: [managed-node3] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "3D:E7:01:54:04:C7:C4:64:EE:F4:04:D4:B9:5B:24:73:C6:04:DA:2C" }, "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": "96:44:39:18:E3:A6:C3:CD:B1:CE:F7:C8:21:A6:86:37:A3:34:5A:EE" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "91:15:B1:6E:95:EA:F5:21:F1:6E:EB:9E:47:C6:41:D3:54:C9:F0:E9:91:3A:91:D1:33:6E:4F:27:0A:64:A0:9E:92:E0:AA:F5:39:40:47:2A:C6:2D:B5:77:C0:8A:DE:55:A4:1E:91:80:25:75:A1:13:54:A0:E4:37:5B:66:A1:40:87:E6:BE:A6:CD:F2:FD:13:B3:3C:9E:42:BB:64:00:AC:BB:3B:CA:61:0F:BA:28:98:4E:F9:D1:7B:53:38:98:24:32:A1:60:B2:41:64:0A:77:57:B0:3C:43:D8:1C:FD:60:C0:E4:D3:03:6D:AF:80:99:F8:C8:D2:E2:3F:39:A7:C3:D3:0B:17:31:4F:D1:1E:3D:D7:4A:21:37:B9:40:7F:C2:03:F0:41:2C:00:ED:E7:60:00:00:2D:CB:EE:4F:39:6D:63:38:19:CA:34:30:E2:57:B5:7F:DD:C3:A2:12:08:3A:C9:EF:79:65:06:19:31:50:04:22:C5:1B:F5:D7:BE:11:E7:3A:13:FA:98:31:DD:D4:DA:C7:12:00:8A:B7:92:EB:DE:C0:CF:81:AA:F6:E3:5F:90:CD:6A:DE:DD:B8:E4:66:E5:E4:28:F0:97:95:82:FA:19:B5:12:31:5E:2A:E2:7C:75:40:83:69:CF:5D:46:90:B0:8B:D7:A2:FC:F4:CD:A4" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250928153341Z", "not_valid_before": "20240928153402Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-vCQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Saturday 28 September 2024 11:34:09 -0400 (0:00:00.045) 0:00:15.679 **** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-vCQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Saturday 28 September 2024 11:34:09 -0400 (0:00:00.045) 0:00:15.725 **** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-vCQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Saturday 28 September 2024 11:34:10 -0400 (0:00:00.043) 0:00:15.768 **** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-vCQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Saturday 28 September 2024 11:34:10 -0400 (0:00:00.043) 0:00:15.811 **** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-vCQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Saturday 28 September 2024 11:34:10 -0400 (0:00:00.071) 0:00:15.883 **** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-vCQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Saturday 28 September 2024 11:34:10 -0400 (0:00:00.079) 0:00:15.962 **** 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.041261", "end": "2024-09-28 11:34:10.551072", "rc": 0, "start": "2024-09-28 11:34:10.509811" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-vCQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Saturday 28 September 2024 11:34:10 -0400 (0:00:00.375) 0:00:16.337 **** 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 28 September 2024 11:34:10 -0400 (0:00:00.047) 0:00:16.385 **** =============================================================================== fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 1.86s /tmp/collections-vCQ/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 1.76s /tmp/collections-vCQ/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 fedora.linux_system_roles.certificate : Ensure provider service is running --- 0.91s /tmp/collections-vCQ/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Gathering Facts --------------------------------------------------------- 0.90s /tmp/collections-vCQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_no_auto_renew.yml:2 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 0.81s /tmp/collections-vCQ/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Ensure python3 is installed --------------------------------------------- 0.70s /tmp/collections-vCQ/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.70s /tmp/collections-vCQ/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Ensure python3 is installed --------------------------------------------- 0.67s /tmp/collections-vCQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Retrieve auto-renew flag ------------------------------------------------ 0.66s /tmp/collections-vCQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Parse certificate ------------------------------------------------------- 0.62s /tmp/collections-vCQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Parse certificate ------------------------------------------------------- 0.55s /tmp/collections-vCQ/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.53s /tmp/collections-vCQ/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Gathering Facts --------------------------------------------------------- 0.50s /tmp/collections-vCQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_no_auto_renew.yml:17 Retrieve key file stats ------------------------------------------------- 0.45s /tmp/collections-vCQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Retrieve key file stats ------------------------------------------------- 0.45s /tmp/collections-vCQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Retrieve certificate file stats ----------------------------------------- 0.42s /tmp/collections-vCQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Retrieve certificate file stats ----------------------------------------- 0.40s /tmp/collections-vCQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Retrieve auto-renew flag ------------------------------------------------ 0.38s /tmp/collections-vCQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists --- 0.31s /tmp/collections-vCQ/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Verify certificate file owner and group --------------------------------- 0.13s /tmp/collections-vCQ/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49