[DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ansible-playbook [core 2.16.11] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-Ed0 executable location = /usr/local/bin/ansible-playbook python version = 3.12.1 (main, Feb 21 2024, 14:18:26) [GCC 8.5.0 20210514 (Red Hat 8.5.0-21)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_many_self_signed.yml ******************************************* 2 plays in /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml PLAY [Issue many self-signed certificates] ************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:2 Saturday 21 September 2024 08:26:48 -0400 (0:00:00.024) 0:00:00.024 **** ok: [managed_node3] TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Saturday 21 September 2024 08:26:50 -0400 (0:00:01.137) 0:00:01.161 **** included: /tmp/collections-Ed0/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-Ed0/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Saturday 21 September 2024 08:26:50 -0400 (0:00:00.031) 0:00:01.192 **** skipping: [managed_node3] => { "changed": false, "false_condition": "__certificate_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Check if system is ostree] ******* task path: /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Saturday 21 September 2024 08:26:50 -0400 (0:00:00.058) 0:00:01.251 **** 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-Ed0/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Saturday 21 September 2024 08:26:50 -0400 (0:00:00.557) 0:00:01.808 **** 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-Ed0/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Saturday 21 September 2024 08:26:50 -0400 (0:00:00.024) 0:00:01.833 **** skipping: [managed_node3] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node3] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node3] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node3] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node3] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed] *** task path: /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Saturday 21 September 2024 08:26:50 -0400 (0:00:00.034) 0:00:01.868 **** ok: [managed_node3] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: python3-cryptography python3-dbus python3-pyasn1 TASK [fedora.linux_system_roles.certificate : Ensure provider packages are installed] *** task path: /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Saturday 21 September 2024 08:26:53 -0400 (0:00:02.993) 0:00:04.862 **** ok: [managed_node3] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: certmonger TASK [fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists] *** task path: /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Saturday 21 September 2024 08:26:56 -0400 (0:00:02.912) 0:00:07.774 **** 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": 6, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists] *** task path: /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Saturday 21 September 2024 08:26:57 -0400 (0:00:00.499) 0:00:08.274 **** 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": 6, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure provider service is running] *** task path: /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Saturday 21 September 2024 08:26:57 -0400 (0:00:00.384) 0:00:08.658 **** ok: [managed_node3] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "enabled": true, "name": "certmonger", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-09-21 08:25:43 EDT", "ActiveEnterTimestampMonotonic": "239383715", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "syslog.target network.target dbus.service system.slice dbus.socket systemd-journald.socket sysinit.target basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-09-21 08:25:43 EDT", "AssertTimestampMonotonic": "239371258", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedorahosted.certmonger", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-09-21 08:25:43 EDT", "ConditionTimestampMonotonic": "239371257", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/certmonger.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Certificate monitoring and PKI enrollment", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/certmonger (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9329", "ExecMainStartTimestamp": "Sat 2024-09-21 08:25:43 EDT", "ExecMainStartTimestampMonotonic": "239372185", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /run/certmonger.pid -n $OPTS ; ignore_errors=no ; start_time=[Sat 2024-09-21 08:25:43 EDT] ; stop_time=[n/a] ; pid=9329 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/certmonger.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "certmonger.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2024-09-21 08:25:43 EDT", "InactiveExitTimestampMonotonic": "239372238", "InvocationID": "62383ead6ca64f0e94fa29868c8acd1e", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "9329", "MemoryAccounting": "yes", "MemoryCurrent": "3842048", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "certmonger.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/certmonger.pid", "PartOf": "dbus.service", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2024-09-21 08:25:43 EDT", "StateChangeTimestampMonotonic": "239383715", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "1", "TasksMax": "22405", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2024-09-21 08:25:43 EDT", "WatchdogTimestampMonotonic": "239383712", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.certificate : Ensure certificate requests] ***** task path: /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Saturday 21 September 2024 08:26:58 -0400 (0:00:00.740) 0:00:09.399 **** changed: [managed_node3] => (item={'name': 'mycert_many_self_signed', 'dns': 'www.example.com', 'ca': 'self-sign'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ca": "self-sign", "dns": "www.example.com", "name": "mycert_many_self_signed" } } MSG: Certificate requested (new). changed: [managed_node3] => (item={'name': 'other-cert', 'dns': 'www.example.org', 'ca': 'self-sign'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ca": "self-sign", "dns": "www.example.org", "name": "other-cert" } } MSG: Certificate requested (new). changed: [managed_node3] => (item={'name': 'another-cert', 'dns': 'www.example.net', 'ca': 'self-sign'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ca": "self-sign", "dns": "www.example.net", "name": "another-cert" } } MSG: Certificate requested (new). TASK [fedora.linux_system_roles.certificate : Slurp the contents of the files] *** task path: /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Saturday 21 September 2024 08:27:00 -0400 (0:00:02.354) 0:00:11.754 **** skipping: [managed_node3] => (item=['cert', {'name': 'mycert_many_self_signed', 'dns': 'www.example.com', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "cert", { "ca": "self-sign", "dns": "www.example.com", "name": "mycert_many_self_signed" } ], "skip_reason": "Conditional result was False" } skipping: [managed_node3] => (item=['cert', {'name': 'other-cert', 'dns': 'www.example.org', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "cert", { "ca": "self-sign", "dns": "www.example.org", "name": "other-cert" } ], "skip_reason": "Conditional result was False" } skipping: [managed_node3] => (item=['cert', {'name': 'another-cert', 'dns': 'www.example.net', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "cert", { "ca": "self-sign", "dns": "www.example.net", "name": "another-cert" } ], "skip_reason": "Conditional result was False" } skipping: [managed_node3] => (item=['key', {'name': 'mycert_many_self_signed', 'dns': 'www.example.com', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "key", { "ca": "self-sign", "dns": "www.example.com", "name": "mycert_many_self_signed" } ], "skip_reason": "Conditional result was False" } skipping: [managed_node3] => (item=['key', {'name': 'other-cert', 'dns': 'www.example.org', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "key", { "ca": "self-sign", "dns": "www.example.org", "name": "other-cert" } ], "skip_reason": "Conditional result was False" } skipping: [managed_node3] => (item=['key', {'name': 'another-cert', 'dns': 'www.example.net', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "key", { "ca": "self-sign", "dns": "www.example.net", "name": "another-cert" } ], "skip_reason": "Conditional result was False" } skipping: [managed_node3] => (item=['ca', {'name': 'mycert_many_self_signed', 'dns': 'www.example.com', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "ca", { "ca": "self-sign", "dns": "www.example.com", "name": "mycert_many_self_signed" } ], "skip_reason": "Conditional result was False" } skipping: [managed_node3] => (item=['ca', {'name': 'other-cert', 'dns': 'www.example.org', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "ca", { "ca": "self-sign", "dns": "www.example.org", "name": "other-cert" } ], "skip_reason": "Conditional result was False" } skipping: [managed_node3] => (item=['ca', {'name': 'another-cert', 'dns': 'www.example.net', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "ca", { "ca": "self-sign", "dns": "www.example.net", "name": "another-cert" } ], "skip_reason": "Conditional result was False" } skipping: [managed_node3] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.certificate : Create return data] ************** task path: /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Saturday 21 September 2024 08:27:00 -0400 (0:00:00.070) 0:00:11.824 **** skipping: [managed_node3] => { "changed": false, "false_condition": "certificate_test_mode | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Stop tracking certificates] ****** task path: /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Saturday 21 September 2024 08:27:00 -0400 (0:00:00.039) 0:00:11.863 **** skipping: [managed_node3] => { "changed": false, "false_condition": "certificate_test_mode | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Remove files] ******************** task path: /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Saturday 21 September 2024 08:27:00 -0400 (0:00:00.036) 0:00:11.900 **** skipping: [managed_node3] => { "changed": false, "false_condition": "certificate_test_mode | d(false)", "skip_reason": "Conditional result was False" } PLAY [Verify certificate] ****************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:18 Saturday 21 September 2024 08:27:00 -0400 (0:00:00.051) 0:00:11.951 **** ok: [managed_node3] TASK [Verify each certificate] ************************************************* task path: /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:50 Saturday 21 September 2024 08:27:01 -0400 (0:00:00.780) 0:00:12.732 **** included: /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed_node3 => (item={'path': '/etc/pki/tls/certs/mycert_many_self_signed.crt', 'key_path': '/etc/pki/tls/private/mycert_many_self_signed.key', 'subject': [{'name': 'commonName', 'oid': '2.5.4.3', 'value': 'www.example.com'}], 'subject_alt_name': [{'name': 'DNS', 'value': 'www.example.com'}]}) included: /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed_node3 => (item={'path': '/etc/pki/tls/certs/other-cert.crt', 'key_path': '/etc/pki/tls/private/other-cert.key', 'subject': [{'name': 'commonName', 'oid': '2.5.4.3', 'value': 'www.example.org'}], 'subject_alt_name': [{'name': 'DNS', 'value': 'www.example.org'}]}) included: /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed_node3 => (item={'path': '/etc/pki/tls/certs/another-cert.crt', 'key_path': '/etc/pki/tls/private/another-cert.key', 'subject': [{'name': 'commonName', 'oid': '2.5.4.3', 'value': 'www.example.net'}], 'subject_alt_name': [{'name': 'DNS', 'value': 'www.example.net'}]}) TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Saturday 21 September 2024 08:27:01 -0400 (0:00:00.095) 0:00:12.827 **** ok: [managed_node3] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Saturday 21 September 2024 08:27:01 -0400 (0:00:00.022) 0:00:12.849 **** skipping: [managed_node3] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Saturday 21 September 2024 08:27:01 -0400 (0:00:00.031) 0:00:12.881 **** skipping: [managed_node3] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Saturday 21 September 2024 08:27:01 -0400 (0:00:00.033) 0:00:12.914 **** skipping: [managed_node3] => { "changed": false, "false_condition": "ansible_distribution_major_version == \"7\"", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Saturday 21 September 2024 08:27:01 -0400 (0:00:00.028) 0:00:12.942 **** ok: [managed_node3] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: python3-cryptography python3-pyasn1 TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Saturday 21 September 2024 08:27:04 -0400 (0:00:02.898) 0:00:15.841 **** ok: [managed_node3] => { "changed": false, "stat": { "atime": 1726921619.086258, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "32946d9c69ac42079b0cc37a835f7d2871f767a3", "ctime": 1726921619.083258, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6894529, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1726921619.083258, "nlink": 1, "path": "/etc/pki/tls/certs/mycert_many_self_signed.crt", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1294, "uid": 0, "version": "2193874756", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Saturday 21 September 2024 08:27:05 -0400 (0:00:00.365) 0:00:16.206 **** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Saturday 21 September 2024 08:27:05 -0400 (0:00:00.016) 0:00:16.223 **** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Saturday 21 September 2024 08:27:05 -0400 (0:00:00.037) 0:00:16.260 **** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Saturday 21 September 2024 08:27:05 -0400 (0:00:00.034) 0:00:16.295 **** ok: [managed_node3] => { "changed": false, "stat": { "atime": 1726921619.0412579, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "dab4b40c1b944b0cf46125d006cca848e2340819", "ctime": 1726921619.083258, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6894528, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1726921619.083258, "nlink": 1, "path": "/etc/pki/tls/private/mycert_many_self_signed.key", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1704, "uid": 0, "version": "3161018523", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Saturday 21 September 2024 08:27:05 -0400 (0:00:00.351) 0:00:16.646 **** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Saturday 21 September 2024 08:27:05 -0400 (0:00:00.017) 0:00:16.664 **** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Saturday 21 September 2024 08:27:05 -0400 (0:00:00.038) 0:00:16.702 **** ok: [managed_node3] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "A2:23:E4:62:C3:85:2F:89:DF:5A:71:29:8A:BE:4B:60:A7:05:F4:B0" }, "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": [ "digital_signature", "key_encipherment" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.com" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "52:00:DA:39:CD:91:45:54:F8:7F:E6:70:CE:76:1C:4F:51:D4:90:3A" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "37:A1:43:BE:65:CA:E2:39:24:62:E1:48:3F:9A:1B:A6:B3:45:ED:D4:2B:45:CC:2C:FE:AB:CC:E5:F5:28:DE:59:AD:EC:8F:1C:9D:91:CC:AA:00:3A:ED:79:FC:6D:6E:C2:C5:CE:F3:92:BA:CD:D0:F2:DE:D8:7E:5D:91:36:70:0C:EE:4E:6F:F9:CE:00:66:41:00:0C:65:FF:7C:C6:F3:B3:38:E6:BE:84:4A:03:DB:E5:C9:1E:48:8B:A2:37:A2:9A:0B:4E:12:8F:99:62:BD:5B:CD:6F:13:2A:05:0C:1F:A7:88:D7:EC:4C:6D:0D:0F:9B:BF:EC:30:9F:BA:9D:2F:DB:55:55:09:98:28:92:9F:BD:3C:09:2C:29:91:D2:4B:F4:69:25:E0:A3:EF:69:6F:41:98:17:99:4E:87:C7:1D:62:34:4B:21:B3:8B:17:FA:80:9B:AD:10:33:A0:B9:BD:9C:17:6F:89:BB:CE:04:01:C1:4D:7F:C5:D7:C4:3C:02:C9:B8:E2:60:27:9B:76:ED:F2:E9:6D:CA:65:C0:59:AD:74:74:89:D7:C2:1E:1D:FA:0E:FA:EC:A4:CF:36:A4:34:49:E3:37:F3:0D:90:B3:C8:FF:9E:6D:8D:2D:8E:82:F9:FA:CF:EC:D4:A6:5D:7C:98:C7:18:7A:4D:ED:49:9B:4E:5D" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250921122543Z", "not_valid_before": "20240921122659Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Saturday 21 September 2024 08:27:06 -0400 (0:00:00.506) 0:00:17.208 **** ok: [managed_node3] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "A2:23:E4:62:C3:85:2F:89:DF:5A:71:29:8A:BE:4B:60:A7:05:F4:B0" }, "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": [ "digital_signature", "key_encipherment" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.com" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "52:00:DA:39:CD:91:45:54:F8:7F:E6:70:CE:76:1C:4F:51:D4:90:3A" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "37:A1:43:BE:65:CA:E2:39:24:62:E1:48:3F:9A:1B:A6:B3:45:ED:D4:2B:45:CC:2C:FE:AB:CC:E5:F5:28:DE:59:AD:EC:8F:1C:9D:91:CC:AA:00:3A:ED:79:FC:6D:6E:C2:C5:CE:F3:92:BA:CD:D0:F2:DE:D8:7E:5D:91:36:70:0C:EE:4E:6F:F9:CE:00:66:41:00:0C:65:FF:7C:C6:F3:B3:38:E6:BE:84:4A:03:DB:E5:C9:1E:48:8B:A2:37:A2:9A:0B:4E:12:8F:99:62:BD:5B:CD:6F:13:2A:05:0C:1F:A7:88:D7:EC:4C:6D:0D:0F:9B:BF:EC:30:9F:BA:9D:2F:DB:55:55:09:98:28:92:9F:BD:3C:09:2C:29:91:D2:4B:F4:69:25:E0:A3:EF:69:6F:41:98:17:99:4E:87:C7:1D:62:34:4B:21:B3:8B:17:FA:80:9B:AD:10:33:A0:B9:BD:9C:17:6F:89:BB:CE:04:01:C1:4D:7F:C5:D7:C4:3C:02:C9:B8:E2:60:27:9B:76:ED:F2:E9:6D:CA:65:C0:59:AD:74:74:89:D7:C2:1E:1D:FA:0E:FA:EC:A4:CF:36:A4:34:49:E3:37:F3:0D:90:B3:C8:FF:9E:6D:8D:2D:8E:82:F9:FA:CF:EC:D4:A6:5D:7C:98:C7:18:7A:4D:ED:49:9B:4E:5D" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250921122543Z", "not_valid_before": "20240921122659Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Saturday 21 September 2024 08:27:06 -0400 (0:00:00.018) 0:00:17.227 **** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Saturday 21 September 2024 08:27:06 -0400 (0:00:00.036) 0:00:17.264 **** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Saturday 21 September 2024 08:27:06 -0400 (0:00:00.018) 0:00:17.282 **** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Saturday 21 September 2024 08:27:06 -0400 (0:00:00.036) 0:00:17.319 **** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Saturday 21 September 2024 08:27:06 -0400 (0:00:00.040) 0:00:17.359 **** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Saturday 21 September 2024 08:27:06 -0400 (0:00:00.038) 0:00:17.398 **** ok: [managed_node3] => { "changed": false, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/mycert_many_self_signed.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "delta": "0:00:00.049049", "end": "2024-09-21 08:27:06.776344", "rc": 0, "start": "2024-09-21 08:27:06.727295" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Saturday 21 September 2024 08:27:06 -0400 (0:00:00.482) 0:00:17.881 **** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Saturday 21 September 2024 08:27:06 -0400 (0:00:00.036) 0:00:17.917 **** ok: [managed_node3] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Saturday 21 September 2024 08:27:06 -0400 (0:00:00.014) 0:00:17.931 **** skipping: [managed_node3] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Saturday 21 September 2024 08:27:06 -0400 (0:00:00.016) 0:00:17.947 **** skipping: [managed_node3] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Saturday 21 September 2024 08:27:06 -0400 (0:00:00.015) 0:00:17.963 **** skipping: [managed_node3] => { "changed": false, "false_condition": "ansible_distribution_major_version == \"7\"", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Saturday 21 September 2024 08:27:06 -0400 (0:00:00.012) 0:00:17.975 **** ok: [managed_node3] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: python3-cryptography python3-pyasn1 TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Saturday 21 September 2024 08:27:09 -0400 (0:00:02.819) 0:00:20.795 **** ok: [managed_node3] => { "changed": false, "stat": { "atime": 1726921619.7602606, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a8e5bb5d239509a3650b5961218c9a452686d411", "ctime": 1726921619.7582607, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6894531, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1726921619.7582607, "nlink": 1, "path": "/etc/pki/tls/certs/other-cert.crt", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1294, "uid": 0, "version": "2615474808", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Saturday 21 September 2024 08:27:10 -0400 (0:00:00.354) 0:00:21.149 **** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Saturday 21 September 2024 08:27:10 -0400 (0:00:00.019) 0:00:21.169 **** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Saturday 21 September 2024 08:27:10 -0400 (0:00:00.042) 0:00:21.211 **** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Saturday 21 September 2024 08:27:10 -0400 (0:00:00.041) 0:00:21.253 **** ok: [managed_node3] => { "changed": false, "stat": { "atime": 1726921619.7172606, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "946f78dcf9ed93c90b77c525944bfcd336ed1bf7", "ctime": 1726921619.7582607, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6894530, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1726921619.7582607, "nlink": 1, "path": "/etc/pki/tls/private/other-cert.key", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1704, "uid": 0, "version": "1104741963", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Saturday 21 September 2024 08:27:10 -0400 (0:00:00.352) 0:00:21.606 **** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Saturday 21 September 2024 08:27:10 -0400 (0:00:00.017) 0:00:21.623 **** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Saturday 21 September 2024 08:27:10 -0400 (0:00:00.038) 0:00:21.661 **** ok: [managed_node3] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "A2:23:E4:62:C3:85:2F:89:DF:5A:71:29:8A:BE:4B:60:A7:05:F4:B0" }, "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": [ "digital_signature", "key_encipherment" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.org" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "EF:96:88:5E:5F:B0:10:8C:0A:3F:37:14:AB:D7:77:95:BF:78:DF:1A" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "66:65:59:0E:D4:AC:DB:DF:29:3B:52:0E:E4:DC:23:2F:5B:B9:EF:F6:F1:76:CB:E5:7D:6C:BF:6F:93:D1:2A:5A:D9:A3:E0:31:F2:7E:73:29:30:C3:FE:56:B8:23:11:8F:7F:9A:17:37:AB:A8:47:9E:05:19:1D:FD:A8:07:57:D2:B2:D9:B8:A8:0A:C5:25:74:1D:7C:B9:7F:DF:7F:B9:EC:F6:48:37:3A:82:29:03:66:E3:CB:2F:EB:CB:6E:86:A6:3B:94:90:F5:04:47:D8:DE:36:26:5C:72:CF:8E:A1:5F:35:75:B1:76:70:FA:C4:1B:ED:91:D8:D2:3F:AE:DB:FC:22:21:B4:48:B6:18:C3:8E:7D:08:D6:16:4D:90:41:9D:62:E7:43:A4:6C:58:D4:CC:D6:B2:73:D4:B5:40:D5:A4:46:06:71:26:0F:0B:F0:7E:9C:AC:9B:C8:39:4A:9C:04:14:F3:5F:9A:61:4C:A4:E0:FF:2D:88:23:50:E0:6E:CB:D3:83:CB:1E:23:30:29:6C:D0:2E:88:E0:05:31:54:3A:75:CF:55:43:6D:B1:C7:54:8E:8B:65:ED:FE:AB:09:A5:80:14:A5:DA:79:0D:96:98:9A:A1:DF:CA:43:5E:DD:AE:D2:C1:EA:9A:C1:36:FC:97:9A:D5:4D:16:E6:4C:A7:FC" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.org" } ], "validity": { "not_valid_after": "20250921122543Z", "not_valid_before": "20240921122659Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Saturday 21 September 2024 08:27:11 -0400 (0:00:00.409) 0:00:22.071 **** ok: [managed_node3] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "A2:23:E4:62:C3:85:2F:89:DF:5A:71:29:8A:BE:4B:60:A7:05:F4:B0" }, "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": [ "digital_signature", "key_encipherment" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.org" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "EF:96:88:5E:5F:B0:10:8C:0A:3F:37:14:AB:D7:77:95:BF:78:DF:1A" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "66:65:59:0E:D4:AC:DB:DF:29:3B:52:0E:E4:DC:23:2F:5B:B9:EF:F6:F1:76:CB:E5:7D:6C:BF:6F:93:D1:2A:5A:D9:A3:E0:31:F2:7E:73:29:30:C3:FE:56:B8:23:11:8F:7F:9A:17:37:AB:A8:47:9E:05:19:1D:FD:A8:07:57:D2:B2:D9:B8:A8:0A:C5:25:74:1D:7C:B9:7F:DF:7F:B9:EC:F6:48:37:3A:82:29:03:66:E3:CB:2F:EB:CB:6E:86:A6:3B:94:90:F5:04:47:D8:DE:36:26:5C:72:CF:8E:A1:5F:35:75:B1:76:70:FA:C4:1B:ED:91:D8:D2:3F:AE:DB:FC:22:21:B4:48:B6:18:C3:8E:7D:08:D6:16:4D:90:41:9D:62:E7:43:A4:6C:58:D4:CC:D6:B2:73:D4:B5:40:D5:A4:46:06:71:26:0F:0B:F0:7E:9C:AC:9B:C8:39:4A:9C:04:14:F3:5F:9A:61:4C:A4:E0:FF:2D:88:23:50:E0:6E:CB:D3:83:CB:1E:23:30:29:6C:D0:2E:88:E0:05:31:54:3A:75:CF:55:43:6D:B1:C7:54:8E:8B:65:ED:FE:AB:09:A5:80:14:A5:DA:79:0D:96:98:9A:A1:DF:CA:43:5E:DD:AE:D2:C1:EA:9A:C1:36:FC:97:9A:D5:4D:16:E6:4C:A7:FC" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.org" } ], "validity": { "not_valid_after": "20250921122543Z", "not_valid_before": "20240921122659Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Saturday 21 September 2024 08:27:11 -0400 (0:00:00.018) 0:00:22.090 **** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Saturday 21 September 2024 08:27:11 -0400 (0:00:00.037) 0:00:22.127 **** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Saturday 21 September 2024 08:27:11 -0400 (0:00:00.018) 0:00:22.145 **** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Saturday 21 September 2024 08:27:11 -0400 (0:00:00.036) 0:00:22.182 **** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Saturday 21 September 2024 08:27:11 -0400 (0:00:00.041) 0:00:22.223 **** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Saturday 21 September 2024 08:27:11 -0400 (0:00:00.039) 0:00:22.263 **** ok: [managed_node3] => { "changed": false, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/other-cert.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "delta": "0:00:00.049158", "end": "2024-09-21 08:27:11.551836", "rc": 0, "start": "2024-09-21 08:27:11.502678" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Saturday 21 September 2024 08:27:11 -0400 (0:00:00.390) 0:00:22.654 **** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Saturday 21 September 2024 08:27:11 -0400 (0:00:00.039) 0:00:22.693 **** ok: [managed_node3] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Saturday 21 September 2024 08:27:11 -0400 (0:00:00.013) 0:00:22.707 **** skipping: [managed_node3] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Saturday 21 September 2024 08:27:11 -0400 (0:00:00.017) 0:00:22.724 **** skipping: [managed_node3] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Saturday 21 September 2024 08:27:11 -0400 (0:00:00.016) 0:00:22.741 **** skipping: [managed_node3] => { "changed": false, "false_condition": "ansible_distribution_major_version == \"7\"", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Saturday 21 September 2024 08:27:11 -0400 (0:00:00.012) 0:00:22.753 **** ok: [managed_node3] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: python3-cryptography python3-pyasn1 TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Saturday 21 September 2024 08:27:14 -0400 (0:00:02.842) 0:00:25.596 **** ok: [managed_node3] => { "changed": false, "stat": { "atime": 1726921620.556264, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "cfe44ead5c99e13cb6341d703c4ddac0c4aad8ab", "ctime": 1726921620.553264, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6894533, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1726921620.553264, "nlink": 1, "path": "/etc/pki/tls/certs/another-cert.crt", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1294, "uid": 0, "version": "3028260816", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Saturday 21 September 2024 08:27:14 -0400 (0:00:00.380) 0:00:25.977 **** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Saturday 21 September 2024 08:27:14 -0400 (0:00:00.017) 0:00:25.994 **** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Saturday 21 September 2024 08:27:14 -0400 (0:00:00.046) 0:00:26.040 **** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Saturday 21 September 2024 08:27:15 -0400 (0:00:00.034) 0:00:26.075 **** ok: [managed_node3] => { "changed": false, "stat": { "atime": 1726921620.5122638, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "703ad9549bb38b8325bcad105a3131830c869c41", "ctime": 1726921620.553264, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6894532, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1726921620.553264, "nlink": 1, "path": "/etc/pki/tls/private/another-cert.key", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1704, "uid": 0, "version": "4265727974", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Saturday 21 September 2024 08:27:15 -0400 (0:00:00.349) 0:00:26.424 **** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Saturday 21 September 2024 08:27:15 -0400 (0:00:00.017) 0:00:26.441 **** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Saturday 21 September 2024 08:27:15 -0400 (0:00:00.038) 0:00:26.480 **** ok: [managed_node3] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "A2:23:E4:62:C3:85:2F:89:DF:5A:71:29:8A:BE:4B:60:A7:05:F4:B0" }, "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": [ "digital_signature", "key_encipherment" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.net" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "D7:4B:A1:1D:CF:70:BF:21:B4:2C:4A:45:52:0C:C4:07:20:76:6C:52" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "17:E1:B4:8C:4A:7D:50:4C:8D:86:E6:B1:1F:20:85:32:8D:31:F7:85:7F:C2:3A:34:28:40:C5:F4:1D:6E:3B:86:C5:37:DD:C5:5F:C7:39:18:A2:D7:81:15:36:C9:6C:1D:75:2A:5B:6E:54:D4:84:4B:4A:0C:EC:E4:61:E0:6A:D0:AC:61:BF:B8:41:57:A6:D7:F0:01:70:37:9D:0A:EC:98:EE:62:56:15:76:9A:26:E1:22:28:8A:B1:4D:00:D1:FF:1E:3B:9C:52:CE:14:53:B6:F4:68:C2:0F:E0:20:03:B3:12:E5:73:9C:87:E3:47:83:05:37:5C:38:37:A4:C5:D9:BB:C1:D2:D9:61:5D:D8:4C:3A:92:9A:8F:77:13:9E:DD:19:02:13:29:5B:9F:A8:1F:0B:DD:F2:B9:E6:A7:7B:E4:E6:56:81:FE:87:16:B0:DA:DA:6F:82:B7:95:1C:66:E7:4D:B2:77:87:E9:7E:B4:6D:41:A3:7D:CC:16:D6:93:1A:20:0E:5D:36:D6:36:1B:D6:0D:CF:46:F0:43:9D:EB:AD:28:99:23:4E:F2:05:88:06:0F:63:5C:C6:6F:93:E7:66:71:14:32:C7:17:C5:68:0A:45:DB:FC:80:12:10:99:38:84:D8:0E:3C:DB:0B:EB:C6:B3:F4:B7:12:5C:35:AF:4C" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.net" } ], "validity": { "not_valid_after": "20250921122543Z", "not_valid_before": "20240921122700Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Saturday 21 September 2024 08:27:15 -0400 (0:00:00.409) 0:00:26.889 **** ok: [managed_node3] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "A2:23:E4:62:C3:85:2F:89:DF:5A:71:29:8A:BE:4B:60:A7:05:F4:B0" }, "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": [ "digital_signature", "key_encipherment" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.net" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "D7:4B:A1:1D:CF:70:BF:21:B4:2C:4A:45:52:0C:C4:07:20:76:6C:52" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "17:E1:B4:8C:4A:7D:50:4C:8D:86:E6:B1:1F:20:85:32:8D:31:F7:85:7F:C2:3A:34:28:40:C5:F4:1D:6E:3B:86:C5:37:DD:C5:5F:C7:39:18:A2:D7:81:15:36:C9:6C:1D:75:2A:5B:6E:54:D4:84:4B:4A:0C:EC:E4:61:E0:6A:D0:AC:61:BF:B8:41:57:A6:D7:F0:01:70:37:9D:0A:EC:98:EE:62:56:15:76:9A:26:E1:22:28:8A:B1:4D:00:D1:FF:1E:3B:9C:52:CE:14:53:B6:F4:68:C2:0F:E0:20:03:B3:12:E5:73:9C:87:E3:47:83:05:37:5C:38:37:A4:C5:D9:BB:C1:D2:D9:61:5D:D8:4C:3A:92:9A:8F:77:13:9E:DD:19:02:13:29:5B:9F:A8:1F:0B:DD:F2:B9:E6:A7:7B:E4:E6:56:81:FE:87:16:B0:DA:DA:6F:82:B7:95:1C:66:E7:4D:B2:77:87:E9:7E:B4:6D:41:A3:7D:CC:16:D6:93:1A:20:0E:5D:36:D6:36:1B:D6:0D:CF:46:F0:43:9D:EB:AD:28:99:23:4E:F2:05:88:06:0F:63:5C:C6:6F:93:E7:66:71:14:32:C7:17:C5:68:0A:45:DB:FC:80:12:10:99:38:84:D8:0E:3C:DB:0B:EB:C6:B3:F4:B7:12:5C:35:AF:4C" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.net" } ], "validity": { "not_valid_after": "20250921122543Z", "not_valid_before": "20240921122700Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Saturday 21 September 2024 08:27:15 -0400 (0:00:00.018) 0:00:26.907 **** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Saturday 21 September 2024 08:27:15 -0400 (0:00:00.036) 0:00:26.943 **** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Saturday 21 September 2024 08:27:15 -0400 (0:00:00.018) 0:00:26.962 **** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Saturday 21 September 2024 08:27:15 -0400 (0:00:00.036) 0:00:26.998 **** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Saturday 21 September 2024 08:27:15 -0400 (0:00:00.048) 0:00:27.046 **** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Saturday 21 September 2024 08:27:16 -0400 (0:00:00.060) 0:00:27.107 **** ok: [managed_node3] => { "changed": false, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/another-cert.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "delta": "0:00:00.049331", "end": "2024-09-21 08:27:16.420375", "rc": 0, "start": "2024-09-21 08:27:16.371044" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Saturday 21 September 2024 08:27:16 -0400 (0:00:00.420) 0:00:27.527 **** ok: [managed_node3] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* managed_node3 : ok=68 changed=1 unreachable=0 failed=0 skipped=15 rescued=0 ignored=0 Saturday 21 September 2024 08:27:16 -0400 (0:00:00.052) 0:00:27.580 **** =============================================================================== fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 2.99s /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 2.91s /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Ensure python3 is installed --------------------------------------------- 2.90s /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Ensure python3 is installed --------------------------------------------- 2.84s /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Ensure python3 is installed --------------------------------------------- 2.82s /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 2.35s /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Gathering Facts --------------------------------------------------------- 1.14s /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:2 Gathering Facts --------------------------------------------------------- 0.78s /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:18 fedora.linux_system_roles.certificate : Ensure provider service is running --- 0.74s /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 fedora.linux_system_roles.certificate : Check if system is ostree ------- 0.56s /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Parse certificate ------------------------------------------------------- 0.51s /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists --- 0.50s /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Retrieve auto-renew flag ------------------------------------------------ 0.48s /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Retrieve auto-renew flag ------------------------------------------------ 0.42s /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Parse certificate ------------------------------------------------------- 0.41s /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Parse certificate ------------------------------------------------------- 0.41s /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Retrieve auto-renew flag ------------------------------------------------ 0.39s /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists --- 0.38s /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Retrieve certificate file stats ----------------------------------------- 0.38s /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Retrieve certificate file stats ----------------------------------------- 0.37s /tmp/collections-Ed0/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38