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-2ff/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-2ff/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_no_auto_renew.yml:2 Saturday 30 November 2024 07:27:55 -0500 (0:00:00.033) 0:00:00.033 ***** ok: [managed-node3] META: ran handlers TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /tmp/collections-2ff/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Saturday 30 November 2024 07:27:56 -0500 (0:00:00.882) 0:00:00.915 ***** included: /tmp/collections-2ff/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-2ff/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Saturday 30 November 2024 07:27:56 -0500 (0:00:00.029) 0:00:00.944 ***** 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-2ff/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Saturday 30 November 2024 07:27:56 -0500 (0:00:00.050) 0:00:00.995 ***** 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-2ff/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Saturday 30 November 2024 07:27:56 -0500 (0:00:00.492) 0:00:01.487 ***** 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-2ff/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Saturday 30 November 2024 07:27:57 -0500 (0:00:00.080) 0:00:01.568 ***** 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-2ff/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-2ff/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Saturday 30 November 2024 07:27:57 -0500 (0:00:00.121) 0:00:01.690 ***** 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-2ff/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Saturday 30 November 2024 07:27:58 -0500 (0:00:01.634) 0:00:03.324 ***** 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-2ff/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Saturday 30 November 2024 07:27:59 -0500 (0:00:00.640) 0:00:03.965 ***** 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-2ff/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Saturday 30 November 2024 07:27:59 -0500 (0:00:00.453) 0:00:04.419 ***** 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-2ff/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Saturday 30 November 2024 07:28:00 -0500 (0:00:00.382) 0:00:04.801 ***** 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-11-30 07:27:41 EST", "ActiveEnterTimestampMonotonic": "258982845", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target dbus.service system.slice systemd-journald.socket network.target syslog.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-11-30 07:27:41 EST", "AssertTimestampMonotonic": "258959374", "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-11-30 07:27:41 EST", "ConditionTimestampMonotonic": "258959373", "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": "9689", "ExecMainStartTimestamp": "Sat 2024-11-30 07:27:41 EST", "ExecMainStartTimestampMonotonic": "258960027", "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-11-30 07:27:41 EST] ; stop_time=[n/a] ; pid=9689 ; 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-11-30 07:27:41 EST", "InactiveExitTimestampMonotonic": "258960057", "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": "9689", "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-11-30 07:27:41 EST", "WatchdogTimestampMonotonic": "258982719", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.certificate : Ensure certificate requests] ***** task path: /tmp/collections-2ff/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Saturday 30 November 2024 07:28:01 -0500 (0:00:00.945) 0:00:05.747 ***** 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-2ff/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Saturday 30 November 2024 07:28:03 -0500 (0:00:02.170) 0:00:07.918 ***** 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-2ff/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Saturday 30 November 2024 07:28:03 -0500 (0:00:00.134) 0:00:08.052 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Stop tracking certificates] ****** task path: /tmp/collections-2ff/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Saturday 30 November 2024 07:28:03 -0500 (0:00:00.061) 0:00:08.113 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Remove files] ******************** task path: /tmp/collections-2ff/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Saturday 30 November 2024 07:28:03 -0500 (0:00:00.052) 0:00:08.165 ***** 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-2ff/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_no_auto_renew.yml:17 Saturday 30 November 2024 07:28:03 -0500 (0:00:00.056) 0:00:08.222 ***** ok: [managed-node3] META: ran handlers TASK [Verify each certificate] ************************************************* task path: /tmp/collections-2ff/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_no_auto_renew.yml:42 Saturday 30 November 2024 07:28:04 -0500 (0:00:00.489) 0:00:08.712 ***** included: /tmp/collections-2ff/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node3 included: /tmp/collections-2ff/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node3 TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-2ff/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Saturday 30 November 2024 07:28:04 -0500 (0:00:00.092) 0:00:08.804 ***** ok: [managed-node3] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-2ff/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Saturday 30 November 2024 07:28:04 -0500 (0:00:00.027) 0:00:08.832 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-2ff/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Saturday 30 November 2024 07:28:04 -0500 (0:00:00.056) 0:00:08.888 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-2ff/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Saturday 30 November 2024 07:28:04 -0500 (0:00:00.063) 0:00:08.951 ***** 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-2ff/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Saturday 30 November 2024 07:28:05 -0500 (0:00:00.606) 0:00:09.558 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-2ff/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Saturday 30 November 2024 07:28:05 -0500 (0:00:00.044) 0:00:09.602 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1732969682.3275323, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3f0545de5d8a9a956771d92084a1a287b427e096", "ctime": 1732969682.3225322, "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": 1732969682.3225322, "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": "1689310186", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-2ff/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Saturday 30 November 2024 07:28:05 -0500 (0:00:00.398) 0:00:10.001 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-2ff/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Saturday 30 November 2024 07:28:05 -0500 (0:00:00.044) 0:00:10.045 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-2ff/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Saturday 30 November 2024 07:28:05 -0500 (0:00:00.050) 0:00:10.096 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-2ff/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Saturday 30 November 2024 07:28:05 -0500 (0:00:00.062) 0:00:10.158 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1732969682.2825322, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "760261946f7f62c8b0300c17df50d6f611ae79e5", "ctime": 1732969682.3225322, "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": 1732969682.3225322, "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": "1689310173", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-2ff/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Saturday 30 November 2024 07:28:05 -0500 (0:00:00.327) 0:00:10.485 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-2ff/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Saturday 30 November 2024 07:28:06 -0500 (0:00:00.057) 0:00:10.542 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-2ff/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Saturday 30 November 2024 07:28:06 -0500 (0:00:00.049) 0:00:10.591 ***** ok: [managed-node3] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "1B:AE:8D:40:9E:7A:41:BF:C7:CF:BB:55:6D:1E:B8:D6:9F:88:0D:AF" }, "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": "56:51:C1:E5:8C:C1:2C:CC:4C:FF:39:4E:64:30:29:4C:19:55:46:6A" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "A3:E8:53:19:F5:DC:07:91:1E:C8:4E:F7:37:65:65:BB:87:29:9B:DC:C3:1C:4A:81:43:69:9C:EC:88:7C:86:B9:00:4B:72:AB:10:8C:70:C4:7F:11:B8:91:90:91:8C:95:85:1B:68:4A:F7:39:0C:26:CB:B5:FE:34:9A:73:56:86:AA:8D:AC:FD:59:4D:55:78:72:0E:09:11:4E:A5:71:E6:56:76:45:DE:5F:2C:5D:60:63:BB:7E:E7:9F:56:D8:76:30:56:FC:3B:68:6F:F9:4A:CE:A9:6A:17:FB:2C:85:CA:55:FA:1F:90:6C:DB:58:12:EB:CC:78:E6:91:AD:37:91:21:3A:BC:25:38:E8:B6:2C:5E:94:F1:8C:60:E5:06:78:43:71:1A:0A:49:AF:27:98:BD:58:5A:EB:88:53:A4:45:7C:4A:9F:FF:84:B9:99:7F:C9:1F:18:24:E4:39:B5:28:3E:59:C9:40:36:1A:9A:D2:E0:EC:A3:31:3C:A1:4F:EC:81:E7:56:99:77:8D:DA:92:55:1D:41:25:A4:D6:C8:54:19:88:0A:30:A6:A1:43:BB:04:94:1F:F4:54:C5:4B:D8:1F:0C:E9:09:9F:DF:F9:3D:DF:6C:1E:C5:F3:27:2A:6E:CD:AE:A1:BD:34:BC:19:68:9C:E7:4D:D2:F6:3B:E0:16" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20251130122741Z", "not_valid_before": "20241130122802Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-2ff/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Saturday 30 November 2024 07:28:06 -0500 (0:00:00.624) 0:00:11.216 ***** ok: [managed-node3] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "1B:AE:8D:40:9E:7A:41:BF:C7:CF:BB:55:6D:1E:B8:D6:9F:88:0D:AF" }, "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": "56:51:C1:E5:8C:C1:2C:CC:4C:FF:39:4E:64:30:29:4C:19:55:46:6A" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "A3:E8:53:19:F5:DC:07:91:1E:C8:4E:F7:37:65:65:BB:87:29:9B:DC:C3:1C:4A:81:43:69:9C:EC:88:7C:86:B9:00:4B:72:AB:10:8C:70:C4:7F:11:B8:91:90:91:8C:95:85:1B:68:4A:F7:39:0C:26:CB:B5:FE:34:9A:73:56:86:AA:8D:AC:FD:59:4D:55:78:72:0E:09:11:4E:A5:71:E6:56:76:45:DE:5F:2C:5D:60:63:BB:7E:E7:9F:56:D8:76:30:56:FC:3B:68:6F:F9:4A:CE:A9:6A:17:FB:2C:85:CA:55:FA:1F:90:6C:DB:58:12:EB:CC:78:E6:91:AD:37:91:21:3A:BC:25:38:E8:B6:2C:5E:94:F1:8C:60:E5:06:78:43:71:1A:0A:49:AF:27:98:BD:58:5A:EB:88:53:A4:45:7C:4A:9F:FF:84:B9:99:7F:C9:1F:18:24:E4:39:B5:28:3E:59:C9:40:36:1A:9A:D2:E0:EC:A3:31:3C:A1:4F:EC:81:E7:56:99:77:8D:DA:92:55:1D:41:25:A4:D6:C8:54:19:88:0A:30:A6:A1:43:BB:04:94:1F:F4:54:C5:4B:D8:1F:0C:E9:09:9F:DF:F9:3D:DF:6C:1E:C5:F3:27:2A:6E:CD:AE:A1:BD:34:BC:19:68:9C:E7:4D:D2:F6:3B:E0:16" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20251130122741Z", "not_valid_before": "20241130122802Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-2ff/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Saturday 30 November 2024 07:28:06 -0500 (0:00:00.113) 0:00:11.330 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-2ff/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Saturday 30 November 2024 07:28:06 -0500 (0:00:00.082) 0:00:11.412 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-2ff/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Saturday 30 November 2024 07:28:06 -0500 (0:00:00.071) 0:00:11.484 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-2ff/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Saturday 30 November 2024 07:28:07 -0500 (0:00:00.069) 0:00:11.553 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-2ff/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Saturday 30 November 2024 07:28:07 -0500 (0:00:00.086) 0:00:11.640 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-2ff/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Saturday 30 November 2024 07:28:07 -0500 (0:00:00.079) 0:00:11.720 ***** 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.044507", "end": "2024-11-30 07:28:07.899398", "rc": 0, "start": "2024-11-30 07:28:07.854891" } STDOUT: no TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-2ff/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Saturday 30 November 2024 07:28:07 -0500 (0:00:00.722) 0:00:12.443 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-2ff/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Saturday 30 November 2024 07:28:07 -0500 (0:00:00.048) 0:00:12.492 ***** ok: [managed-node3] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-2ff/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Saturday 30 November 2024 07:28:08 -0500 (0:00:00.023) 0:00:12.515 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-2ff/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Saturday 30 November 2024 07:28:08 -0500 (0:00:00.061) 0:00:12.576 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-2ff/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Saturday 30 November 2024 07:28:08 -0500 (0:00:00.066) 0:00:12.643 ***** 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-2ff/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Saturday 30 November 2024 07:28:08 -0500 (0:00:00.773) 0:00:13.416 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-2ff/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Saturday 30 November 2024 07:28:09 -0500 (0:00:00.100) 0:00:13.517 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1732969683.1695328, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "f8d6fdfec366be819ee4d806809486a2133ed90d", "ctime": 1732969683.1655326, "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": 1732969683.1655326, "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": "1689310224", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-2ff/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Saturday 30 November 2024 07:28:09 -0500 (0:00:00.312) 0:00:13.830 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-2ff/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Saturday 30 November 2024 07:28:09 -0500 (0:00:00.087) 0:00:13.918 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-2ff/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Saturday 30 November 2024 07:28:09 -0500 (0:00:00.089) 0:00:14.008 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-2ff/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Saturday 30 November 2024 07:28:09 -0500 (0:00:00.147) 0:00:14.155 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1732969683.1255326, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3a8a6aab2205a2afda83cf874dde8b8e17eb34c0", "ctime": 1732969683.1655326, "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": 1732969683.1655326, "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": "1689310211", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-2ff/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Saturday 30 November 2024 07:28:10 -0500 (0:00:00.469) 0:00:14.625 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-2ff/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Saturday 30 November 2024 07:28:10 -0500 (0:00:00.070) 0:00:14.695 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-2ff/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Saturday 30 November 2024 07:28:10 -0500 (0:00:00.079) 0:00:14.775 ***** ok: [managed-node3] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "1B:AE:8D:40:9E:7A:41:BF:C7:CF:BB:55:6D:1E:B8:D6:9F:88:0D:AF" }, "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": "D0:E1:5F:D3:51:32:AB:1F:2E:4C:0C:EE:92:DB:4F:82:1D:49:6D:9A" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "7A:EC:42:AC:AF:24:4C:23:B8:7E:D3:49:43:4D:C7:83:EB:EC:1E:50:CA:29:25:98:BD:CF:B2:5D:BB:F3:B9:7B:60:EF:95:C4:93:96:0B:D2:B1:20:8A:01:9E:3A:79:1A:93:FD:20:EE:E7:DE:A7:04:7B:66:DE:CC:58:3A:95:FF:24:4A:D3:3A:76:6C:49:3F:74:AE:9F:E8:EF:CE:AA:E4:2C:2F:08:B2:E5:F9:38:5A:5C:73:26:1C:CE:59:39:B4:F7:59:56:79:0A:EF:25:06:34:1A:C0:B1:6D:36:E2:54:7B:38:47:79:5A:28:F6:54:8F:61:48:BD:BA:BE:C3:D4:83:62:36:EC:61:C4:7F:17:A7:76:35:DF:B5:9D:5C:85:24:3E:E3:00:4D:3B:E0:96:C1:A9:EE:5F:54:11:94:C2:C7:89:C8:27:3F:53:7F:7A:7E:AD:5D:67:1E:A9:ED:12:DA:1C:0F:DB:DA:D8:03:D1:1B:4C:D0:5B:D7:26:34:5B:2F:F9:F7:42:70:57:41:48:46:DB:D0:24:A2:5E:6D:96:6A:78:E7:3F:02:FD:89:3F:39:A5:60:69:06:63:6B:23:62:4F:00:13:AF:5A:AC:B8:BE:6A:AA:48:48:39:59:0C:C6:57:AE:A6:62:20:E5:5F:27:61:B7:45:D0:5B:C0:1F" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20251130122741Z", "not_valid_before": "20241130122803Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-2ff/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Saturday 30 November 2024 07:28:10 -0500 (0:00:00.399) 0:00:15.174 ***** ok: [managed-node3] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "1B:AE:8D:40:9E:7A:41:BF:C7:CF:BB:55:6D:1E:B8:D6:9F:88:0D:AF" }, "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": "D0:E1:5F:D3:51:32:AB:1F:2E:4C:0C:EE:92:DB:4F:82:1D:49:6D:9A" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "7A:EC:42:AC:AF:24:4C:23:B8:7E:D3:49:43:4D:C7:83:EB:EC:1E:50:CA:29:25:98:BD:CF:B2:5D:BB:F3:B9:7B:60:EF:95:C4:93:96:0B:D2:B1:20:8A:01:9E:3A:79:1A:93:FD:20:EE:E7:DE:A7:04:7B:66:DE:CC:58:3A:95:FF:24:4A:D3:3A:76:6C:49:3F:74:AE:9F:E8:EF:CE:AA:E4:2C:2F:08:B2:E5:F9:38:5A:5C:73:26:1C:CE:59:39:B4:F7:59:56:79:0A:EF:25:06:34:1A:C0:B1:6D:36:E2:54:7B:38:47:79:5A:28:F6:54:8F:61:48:BD:BA:BE:C3:D4:83:62:36:EC:61:C4:7F:17:A7:76:35:DF:B5:9D:5C:85:24:3E:E3:00:4D:3B:E0:96:C1:A9:EE:5F:54:11:94:C2:C7:89:C8:27:3F:53:7F:7A:7E:AD:5D:67:1E:A9:ED:12:DA:1C:0F:DB:DA:D8:03:D1:1B:4C:D0:5B:D7:26:34:5B:2F:F9:F7:42:70:57:41:48:46:DB:D0:24:A2:5E:6D:96:6A:78:E7:3F:02:FD:89:3F:39:A5:60:69:06:63:6B:23:62:4F:00:13:AF:5A:AC:B8:BE:6A:AA:48:48:39:59:0C:C6:57:AE:A6:62:20:E5:5F:27:61:B7:45:D0:5B:C0:1F" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20251130122741Z", "not_valid_before": "20241130122803Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-2ff/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Saturday 30 November 2024 07:28:10 -0500 (0:00:00.074) 0:00:15.249 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-2ff/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Saturday 30 November 2024 07:28:10 -0500 (0:00:00.064) 0:00:15.314 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-2ff/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Saturday 30 November 2024 07:28:10 -0500 (0:00:00.056) 0:00:15.370 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-2ff/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Saturday 30 November 2024 07:28:10 -0500 (0:00:00.059) 0:00:15.430 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-2ff/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Saturday 30 November 2024 07:28:10 -0500 (0:00:00.056) 0:00:15.486 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-2ff/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Saturday 30 November 2024 07:28:11 -0500 (0:00:00.052) 0:00:15.539 ***** 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.042962", "end": "2024-11-30 07:28:11.343724", "rc": 0, "start": "2024-11-30 07:28:11.300762" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-2ff/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Saturday 30 November 2024 07:28:11 -0500 (0:00:00.434) 0:00:15.974 ***** 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 30 November 2024 07:28:11 -0500 (0:00:00.079) 0:00:16.054 ***** =============================================================================== fedora.linux_system_roles.certificate : Ensure certificate requests ----- 2.17s /tmp/collections-2ff/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 1.63s /tmp/collections-2ff/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 fedora.linux_system_roles.certificate : Ensure provider service is running --- 0.95s /tmp/collections-2ff/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Gathering Facts --------------------------------------------------------- 0.88s /tmp/collections-2ff/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_no_auto_renew.yml:2 Ensure python3 is installed --------------------------------------------- 0.77s /tmp/collections-2ff/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Retrieve auto-renew flag ------------------------------------------------ 0.72s /tmp/collections-2ff/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 0.64s /tmp/collections-2ff/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Parse certificate ------------------------------------------------------- 0.62s /tmp/collections-2ff/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Ensure python3 is installed --------------------------------------------- 0.61s /tmp/collections-2ff/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 fedora.linux_system_roles.certificate : Check if system is ostree ------- 0.49s /tmp/collections-2ff/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Gathering Facts --------------------------------------------------------- 0.49s /tmp/collections-2ff/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_no_auto_renew.yml:17 Retrieve key file stats ------------------------------------------------- 0.47s /tmp/collections-2ff/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists --- 0.45s /tmp/collections-2ff/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Retrieve auto-renew flag ------------------------------------------------ 0.43s /tmp/collections-2ff/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Parse certificate ------------------------------------------------------- 0.40s /tmp/collections-2ff/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Retrieve certificate file stats ----------------------------------------- 0.40s /tmp/collections-2ff/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.38s /tmp/collections-2ff/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Retrieve key file stats ------------------------------------------------- 0.33s /tmp/collections-2ff/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Retrieve certificate file stats ----------------------------------------- 0.31s /tmp/collections-2ff/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Verify certificate permissions ------------------------------------------ 0.15s /tmp/collections-2ff/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59