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-xzl/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-xzl/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_no_auto_renew.yml:2 Saturday 04 January 2025 07:27:15 -0500 (0:00:00.044) 0:00:00.044 ****** ok: [managed-node3] META: ran handlers TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /tmp/collections-xzl/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Saturday 04 January 2025 07:27:16 -0500 (0:00:01.099) 0:00:01.144 ****** included: /tmp/collections-xzl/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-xzl/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Saturday 04 January 2025 07:27:16 -0500 (0:00:00.035) 0:00:01.179 ****** 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-xzl/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Saturday 04 January 2025 07:27:16 -0500 (0:00:00.044) 0:00:01.223 ****** 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-xzl/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Saturday 04 January 2025 07:27:16 -0500 (0:00:00.469) 0:00:01.693 ****** 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-xzl/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Saturday 04 January 2025 07:27:16 -0500 (0:00:00.052) 0:00:01.745 ****** 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-xzl/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-xzl/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Saturday 04 January 2025 07:27:16 -0500 (0:00:00.110) 0:00:01.856 ****** 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-xzl/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Saturday 04 January 2025 07:27:18 -0500 (0:00:01.735) 0:00:03.592 ****** 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-xzl/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Saturday 04 January 2025 07:27:19 -0500 (0:00:00.734) 0:00:04.326 ****** 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-xzl/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Saturday 04 January 2025 07:27:20 -0500 (0:00:00.652) 0:00:04.979 ****** 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-xzl/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Saturday 04 January 2025 07:27:20 -0500 (0:00:00.406) 0:00:05.385 ****** ok: [managed-node3] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "enabled": true, "name": "certmonger", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2025-01-04 07:27:00 EST", "ActiveEnterTimestampMonotonic": "271454225", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service systemd-journald.socket syslog.target network.target basic.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2025-01-04 07:27:00 EST", "AssertTimestampMonotonic": "271433602", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedorahosted.certmonger", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2025-01-04 07:27:00 EST", "ConditionTimestampMonotonic": "271433600", "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": "9707", "ExecMainStartTimestamp": "Sat 2025-01-04 07:27:00 EST", "ExecMainStartTimestampMonotonic": "271434202", "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 2025-01-04 07:27:00 EST] ; stop_time=[n/a] ; pid=9707 ; 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 2025-01-04 07:27:00 EST", "InactiveExitTimestampMonotonic": "271434231", "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": "9707", "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 2025-01-04 07:27:00 EST", "WatchdogTimestampMonotonic": "271454053", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.certificate : Ensure certificate requests] ***** task path: /tmp/collections-xzl/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Saturday 04 January 2025 07:27:21 -0500 (0:00:01.043) 0:00:06.429 ****** 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-xzl/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Saturday 04 January 2025 07:27:23 -0500 (0:00:02.028) 0:00:08.457 ****** 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-xzl/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Saturday 04 January 2025 07:27:23 -0500 (0:00:00.126) 0:00:08.584 ****** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Stop tracking certificates] ****** task path: /tmp/collections-xzl/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Saturday 04 January 2025 07:27:23 -0500 (0:00:00.059) 0:00:08.644 ****** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Remove files] ******************** task path: /tmp/collections-xzl/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Saturday 04 January 2025 07:27:23 -0500 (0:00:00.063) 0:00:08.708 ****** 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-xzl/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_no_auto_renew.yml:17 Saturday 04 January 2025 07:27:23 -0500 (0:00:00.073) 0:00:08.782 ****** ok: [managed-node3] META: ran handlers TASK [Verify each certificate] ************************************************* task path: /tmp/collections-xzl/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_no_auto_renew.yml:42 Saturday 04 January 2025 07:27:24 -0500 (0:00:00.578) 0:00:09.360 ****** included: /tmp/collections-xzl/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node3 included: /tmp/collections-xzl/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node3 TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-xzl/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Saturday 04 January 2025 07:27:24 -0500 (0:00:00.120) 0:00:09.481 ****** ok: [managed-node3] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-xzl/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Saturday 04 January 2025 07:27:24 -0500 (0:00:00.023) 0:00:09.505 ****** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-xzl/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Saturday 04 January 2025 07:27:24 -0500 (0:00:00.047) 0:00:09.552 ****** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-xzl/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Saturday 04 January 2025 07:27:24 -0500 (0:00:00.043) 0:00:09.596 ****** 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-xzl/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Saturday 04 January 2025 07:27:25 -0500 (0:00:00.601) 0:00:10.197 ****** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-xzl/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Saturday 04 January 2025 07:27:25 -0500 (0:00:00.054) 0:00:10.251 ****** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1735993642.2694461, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "463faf4ab4fd237b0c04ec11068d24610b87dcdf", "ctime": 1735993642.2654462, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 172745, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1735993642.2654462, "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": "18446744072990563751", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-xzl/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Saturday 04 January 2025 07:27:25 -0500 (0:00:00.415) 0:00:10.666 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-xzl/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Saturday 04 January 2025 07:27:25 -0500 (0:00:00.046) 0:00:10.713 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-xzl/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Saturday 04 January 2025 07:27:25 -0500 (0:00:00.051) 0:00:10.765 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-xzl/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Saturday 04 January 2025 07:27:25 -0500 (0:00:00.056) 0:00:10.821 ****** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1735993642.2264462, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d08e5d4434d7e0469231123ab4ccbe5ad9d72634", "ctime": 1735993642.2654462, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 172744, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1735993642.2654462, "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": "18446744072990563738", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-xzl/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Saturday 04 January 2025 07:27:26 -0500 (0:00:00.467) 0:00:11.289 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-xzl/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Saturday 04 January 2025 07:27:26 -0500 (0:00:00.088) 0:00:11.378 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-xzl/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Saturday 04 January 2025 07:27:26 -0500 (0:00:00.067) 0:00:11.445 ****** ok: [managed-node3] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "57:D7:6B:CF:3B:F1:54:5F:D1:CC:CF:AD:70:4E:6C:68:2F:CF:01:A5" }, "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": "C4:44:3C:24:91:15:58:D6:81:86:47:2E:B2:02:97:01:8F:CC:8A:35" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "11:D0:26:BF:4B:D2:C1:D2:FE:5B:63:4C:D8:2C:CB:15:A9:F2:ED:03:9C:E2:D0:32:FC:D5:89:4C:84:DC:3F:53:63:59:2A:9A:41:E2:2A:C1:4A:03:77:4E:D6:20:6E:9E:43:39:93:8C:BD:48:3E:F9:13:68:38:29:6B:64:E6:B8:A2:56:BA:C6:C5:F7:2F:2E:EB:BB:0E:39:46:45:8B:97:78:32:A8:DC:0B:47:BB:2D:95:68:4D:BE:12:22:74:6D:28:8E:AD:A4:7A:9E:E3:BE:CD:AD:1D:75:75:04:DA:04:AF:93:D6:3C:37:A9:9B:CD:6C:82:2C:F7:58:7E:76:D0:FA:09:55:22:05:F0:D7:07:63:F8:8D:75:88:29:42:42:B2:19:F1:8F:D0:2A:42:88:73:D6:A8:F6:0C:94:C4:D1:29:D6:EA:FC:89:80:89:84:9B:F4:55:AB:B6:F9:0F:B3:56:5A:67:BE:5E:4A:E4:E0:4C:6F:0F:C5:21:3E:18:FC:70:AC:A4:49:3F:ED:77:46:DE:08:2F:69:A0:4E:DD:E3:E1:4F:FD:03:2A:BE:BC:B6:78:B9:08:26:39:EB:D4:A1:6F:32:FA:0C:CA:2D:FE:F1:6F:93:66:31:0F:E9:6C:88:BB:44:30:0A:D5:D8:EC:12:D7:8C:04:F8:05:A1:77:44" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260104122700Z", "not_valid_before": "20250104122722Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-xzl/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Saturday 04 January 2025 07:27:27 -0500 (0:00:00.593) 0:00:12.039 ****** ok: [managed-node3] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "57:D7:6B:CF:3B:F1:54:5F:D1:CC:CF:AD:70:4E:6C:68:2F:CF:01:A5" }, "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": "C4:44:3C:24:91:15:58:D6:81:86:47:2E:B2:02:97:01:8F:CC:8A:35" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "11:D0:26:BF:4B:D2:C1:D2:FE:5B:63:4C:D8:2C:CB:15:A9:F2:ED:03:9C:E2:D0:32:FC:D5:89:4C:84:DC:3F:53:63:59:2A:9A:41:E2:2A:C1:4A:03:77:4E:D6:20:6E:9E:43:39:93:8C:BD:48:3E:F9:13:68:38:29:6B:64:E6:B8:A2:56:BA:C6:C5:F7:2F:2E:EB:BB:0E:39:46:45:8B:97:78:32:A8:DC:0B:47:BB:2D:95:68:4D:BE:12:22:74:6D:28:8E:AD:A4:7A:9E:E3:BE:CD:AD:1D:75:75:04:DA:04:AF:93:D6:3C:37:A9:9B:CD:6C:82:2C:F7:58:7E:76:D0:FA:09:55:22:05:F0:D7:07:63:F8:8D:75:88:29:42:42:B2:19:F1:8F:D0:2A:42:88:73:D6:A8:F6:0C:94:C4:D1:29:D6:EA:FC:89:80:89:84:9B:F4:55:AB:B6:F9:0F:B3:56:5A:67:BE:5E:4A:E4:E0:4C:6F:0F:C5:21:3E:18:FC:70:AC:A4:49:3F:ED:77:46:DE:08:2F:69:A0:4E:DD:E3:E1:4F:FD:03:2A:BE:BC:B6:78:B9:08:26:39:EB:D4:A1:6F:32:FA:0C:CA:2D:FE:F1:6F:93:66:31:0F:E9:6C:88:BB:44:30:0A:D5:D8:EC:12:D7:8C:04:F8:05:A1:77:44" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260104122700Z", "not_valid_before": "20250104122722Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-xzl/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Saturday 04 January 2025 07:27:27 -0500 (0:00:00.054) 0:00:12.094 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-xzl/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Saturday 04 January 2025 07:27:27 -0500 (0:00:00.060) 0:00:12.155 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-xzl/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Saturday 04 January 2025 07:27:27 -0500 (0:00:00.052) 0:00:12.208 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-xzl/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Saturday 04 January 2025 07:27:27 -0500 (0:00:00.055) 0:00:12.263 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-xzl/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Saturday 04 January 2025 07:27:27 -0500 (0:00:00.056) 0:00:12.319 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-xzl/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Saturday 04 January 2025 07:27:27 -0500 (0:00:00.073) 0:00:12.393 ****** 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.042435", "end": "2025-01-04 07:27:28.021215", "rc": 0, "start": "2025-01-04 07:27:27.978780" } STDOUT: no TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-xzl/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Saturday 04 January 2025 07:27:28 -0500 (0:00:00.688) 0:00:13.081 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-xzl/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Saturday 04 January 2025 07:27:28 -0500 (0:00:00.155) 0:00:13.237 ****** ok: [managed-node3] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-xzl/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Saturday 04 January 2025 07:27:28 -0500 (0:00:00.045) 0:00:13.282 ****** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-xzl/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Saturday 04 January 2025 07:27:28 -0500 (0:00:00.069) 0:00:13.352 ****** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-xzl/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Saturday 04 January 2025 07:27:28 -0500 (0:00:00.062) 0:00:13.414 ****** 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-xzl/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Saturday 04 January 2025 07:27:29 -0500 (0:00:00.734) 0:00:14.148 ****** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-xzl/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Saturday 04 January 2025 07:27:29 -0500 (0:00:00.058) 0:00:14.207 ****** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1735993643.2614496, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8e90bcdedf8c73a508c080226d3fa15dfceb0916", "ctime": 1735993643.2584496, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 172747, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1735993643.2584496, "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": "18446744072990563789", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-xzl/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Saturday 04 January 2025 07:27:29 -0500 (0:00:00.372) 0:00:14.580 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-xzl/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Saturday 04 January 2025 07:27:29 -0500 (0:00:00.061) 0:00:14.642 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-xzl/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Saturday 04 January 2025 07:27:29 -0500 (0:00:00.087) 0:00:14.729 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-xzl/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Saturday 04 January 2025 07:27:29 -0500 (0:00:00.089) 0:00:14.818 ****** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1735993643.2184496, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "23425569970b7d3460a70592b90fc40d6664ab4f", "ctime": 1735993643.2574496, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 172746, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1735993643.2574496, "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": "18446744072990563776", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-xzl/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Saturday 04 January 2025 07:27:30 -0500 (0:00:00.437) 0:00:15.255 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-xzl/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Saturday 04 January 2025 07:27:30 -0500 (0:00:00.066) 0:00:15.322 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-xzl/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Saturday 04 January 2025 07:27:30 -0500 (0:00:00.076) 0:00:15.398 ****** ok: [managed-node3] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "57:D7:6B:CF:3B:F1:54:5F:D1:CC:CF:AD:70:4E:6C:68:2F:CF:01:A5" }, "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": "98:A6:45:73:98:55:A4:F1:FD:13:8F:E0:9C:71:AB:64:FB:80:22:03" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "93:B2:1A:9C:6E:92:CE:02:75:DD:F6:B5:F1:1F:E2:CF:39:64:B3:C3:BB:EA:C8:B3:13:CC:36:1F:0B:E0:AA:D5:3D:B1:57:4B:6B:22:EF:D5:32:AF:0C:7E:4C:02:F5:E2:1C:A5:2B:40:F6:20:12:2C:22:0F:19:63:0C:B8:FC:92:DE:B0:E0:73:71:1E:26:EC:AD:04:EA:33:4E:DA:07:B9:97:CB:DF:B9:34:6A:3B:1A:C6:DC:A8:DB:5E:4A:36:9B:DE:17:93:68:8A:23:73:D2:3C:1B:D3:2A:70:C7:8E:0B:94:8A:B3:0A:84:D9:FA:83:1A:6C:47:45:33:FB:67:3C:67:EB:19:4D:AB:63:23:A3:B1:DB:48:96:8A:7C:9C:41:0F:AB:FF:D0:40:DC:D7:F7:46:2F:12:B4:C2:09:12:8F:97:A2:E6:09:E8:07:59:8C:86:19:97:9F:DF:D0:94:A0:6D:ED:B4:15:3A:81:69:9C:5A:C8:4F:7A:92:D1:1D:D0:29:AE:77:3B:70:79:1D:C1:4B:DA:E9:03:6E:82:69:57:1E:CE:74:F9:96:CE:4D:63:9A:AA:19:D3:2A:96:AF:96:D3:90:AC:67:70:6D:12:B0:29:DE:7D:A1:BB:C5:80:AD:1F:5E:CB:33:61:BF:C2:F1:6B:84:31:11:46:A2:A0:1C" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260104122700Z", "not_valid_before": "20250104122723Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-xzl/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Saturday 04 January 2025 07:27:30 -0500 (0:00:00.486) 0:00:15.885 ****** ok: [managed-node3] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "57:D7:6B:CF:3B:F1:54:5F:D1:CC:CF:AD:70:4E:6C:68:2F:CF:01:A5" }, "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": "98:A6:45:73:98:55:A4:F1:FD:13:8F:E0:9C:71:AB:64:FB:80:22:03" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "93:B2:1A:9C:6E:92:CE:02:75:DD:F6:B5:F1:1F:E2:CF:39:64:B3:C3:BB:EA:C8:B3:13:CC:36:1F:0B:E0:AA:D5:3D:B1:57:4B:6B:22:EF:D5:32:AF:0C:7E:4C:02:F5:E2:1C:A5:2B:40:F6:20:12:2C:22:0F:19:63:0C:B8:FC:92:DE:B0:E0:73:71:1E:26:EC:AD:04:EA:33:4E:DA:07:B9:97:CB:DF:B9:34:6A:3B:1A:C6:DC:A8:DB:5E:4A:36:9B:DE:17:93:68:8A:23:73:D2:3C:1B:D3:2A:70:C7:8E:0B:94:8A:B3:0A:84:D9:FA:83:1A:6C:47:45:33:FB:67:3C:67:EB:19:4D:AB:63:23:A3:B1:DB:48:96:8A:7C:9C:41:0F:AB:FF:D0:40:DC:D7:F7:46:2F:12:B4:C2:09:12:8F:97:A2:E6:09:E8:07:59:8C:86:19:97:9F:DF:D0:94:A0:6D:ED:B4:15:3A:81:69:9C:5A:C8:4F:7A:92:D1:1D:D0:29:AE:77:3B:70:79:1D:C1:4B:DA:E9:03:6E:82:69:57:1E:CE:74:F9:96:CE:4D:63:9A:AA:19:D3:2A:96:AF:96:D3:90:AC:67:70:6D:12:B0:29:DE:7D:A1:BB:C5:80:AD:1F:5E:CB:33:61:BF:C2:F1:6B:84:31:11:46:A2:A0:1C" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260104122700Z", "not_valid_before": "20250104122723Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-xzl/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Saturday 04 January 2025 07:27:30 -0500 (0:00:00.074) 0:00:15.959 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-xzl/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Saturday 04 January 2025 07:27:31 -0500 (0:00:00.074) 0:00:16.034 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-xzl/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Saturday 04 January 2025 07:27:31 -0500 (0:00:00.071) 0:00:16.105 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-xzl/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Saturday 04 January 2025 07:27:31 -0500 (0:00:00.070) 0:00:16.176 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-xzl/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Saturday 04 January 2025 07:27:31 -0500 (0:00:00.082) 0:00:16.258 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-xzl/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Saturday 04 January 2025 07:27:31 -0500 (0:00:00.108) 0:00:16.366 ****** 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.042994", "end": "2025-01-04 07:27:31.779477", "rc": 0, "start": "2025-01-04 07:27:31.736483" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-xzl/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Saturday 04 January 2025 07:27:31 -0500 (0:00:00.425) 0:00:16.791 ****** 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 04 January 2025 07:27:31 -0500 (0:00:00.043) 0:00:16.835 ****** =============================================================================== fedora.linux_system_roles.certificate : Ensure certificate requests ----- 2.03s /tmp/collections-xzl/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 1.74s /tmp/collections-xzl/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Gathering Facts --------------------------------------------------------- 1.10s /tmp/collections-xzl/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_no_auto_renew.yml:2 fedora.linux_system_roles.certificate : Ensure provider service is running --- 1.04s /tmp/collections-xzl/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 0.73s /tmp/collections-xzl/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Ensure python3 is installed --------------------------------------------- 0.73s /tmp/collections-xzl/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Retrieve auto-renew flag ------------------------------------------------ 0.69s /tmp/collections-xzl/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists --- 0.65s /tmp/collections-xzl/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Ensure python3 is installed --------------------------------------------- 0.60s /tmp/collections-xzl/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Parse certificate ------------------------------------------------------- 0.59s /tmp/collections-xzl/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Gathering Facts --------------------------------------------------------- 0.58s /tmp/collections-xzl/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_no_auto_renew.yml:17 Parse certificate ------------------------------------------------------- 0.49s /tmp/collections-xzl/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.47s /tmp/collections-xzl/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Retrieve key file stats ------------------------------------------------- 0.47s /tmp/collections-xzl/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Retrieve key file stats ------------------------------------------------- 0.44s /tmp/collections-xzl/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Retrieve auto-renew flag ------------------------------------------------ 0.43s /tmp/collections-xzl/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Retrieve certificate file stats ----------------------------------------- 0.42s /tmp/collections-xzl/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.41s /tmp/collections-xzl/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Retrieve certificate file stats ----------------------------------------- 0.37s /tmp/collections-xzl/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Verify certificate auto-renew flag -------------------------------------- 0.16s /tmp/collections-xzl/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152