[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.10] 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-vGB 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-vGB/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-vGB/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:2 Saturday 24 August 2024 08:26:17 -0400 (0:00:00.010) 0:00:00.010 ******* ok: [managed_node2] TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /tmp/collections-vGB/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Saturday 24 August 2024 08:26:18 -0400 (0:00:00.998) 0:00:01.009 ******* included: /tmp/collections-vGB/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml for managed_node2 TASK [fedora.linux_system_roles.certificate : Ensure ansible_facts used by role] *** task path: /tmp/collections-vGB/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Saturday 24 August 2024 08:26:18 -0400 (0:00:00.017) 0:00:01.026 ******* skipping: [managed_node2] => { "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-vGB/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Saturday 24 August 2024 08:26:18 -0400 (0:00:00.032) 0:00:01.059 ******* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.certificate : Set flag to indicate system is ostree] *** task path: /tmp/collections-vGB/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Saturday 24 August 2024 08:26:18 -0400 (0:00:00.393) 0:00:01.453 ******* ok: [managed_node2] => { "ansible_facts": { "__certificate_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.certificate : Set platform/version specific variables] *** task path: /tmp/collections-vGB/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Saturday 24 August 2024 08:26:18 -0400 (0:00:00.020) 0:00:01.474 ******* skipping: [managed_node2] => (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_node2] => (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_node2] => (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_node2] => (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_node2] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed] *** task path: /tmp/collections-vGB/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Saturday 24 August 2024 08:26:18 -0400 (0:00:00.031) 0:00:01.505 ******* ok: [managed_node2] => { "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-vGB/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Saturday 24 August 2024 08:26:21 -0400 (0:00:02.893) 0:00:04.398 ******* ok: [managed_node2] => (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-vGB/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Saturday 24 August 2024 08:26:24 -0400 (0:00:02.691) 0:00:07.090 ******* ok: [managed_node2] => (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-vGB/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Saturday 24 August 2024 08:26:24 -0400 (0:00:00.444) 0:00:07.534 ******* ok: [managed_node2] => (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-vGB/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Saturday 24 August 2024 08:26:25 -0400 (0:00:00.352) 0:00:07.887 ******* ok: [managed_node2] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "enabled": true, "name": "certmonger", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-08-24 08:25:10 EDT", "ActiveEnterTimestampMonotonic": "236501370", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target dbus.service sysinit.target syslog.target system.slice network.target systemd-journald.socket dbus.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-24 08:25:10 EDT", "AssertTimestampMonotonic": "236490284", "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-08-24 08:25:10 EDT", "ConditionTimestampMonotonic": "236490282", "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": "8809", "ExecMainStartTimestamp": "Sat 2024-08-24 08:25:10 EDT", "ExecMainStartTimestampMonotonic": "236490952", "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-08-24 08:25:10 EDT] ; stop_time=[n/a] ; pid=8809 ; 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-08-24 08:25:10 EDT", "InactiveExitTimestampMonotonic": "236491031", "InvocationID": "8aa40503059540689c4f9473a4180c84", "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": "8809", "MemoryAccounting": "yes", "MemoryCurrent": "3911680", "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-08-24 08:25:10 EDT", "StateChangeTimestampMonotonic": "236501370", "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-08-24 08:25:10 EDT", "WatchdogTimestampMonotonic": "236501368", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.certificate : Ensure certificate requests] ***** task path: /tmp/collections-vGB/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Saturday 24 August 2024 08:26:25 -0400 (0:00:00.689) 0:00:08.577 ******* changed: [managed_node2] => (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_node2] => (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_node2] => (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-vGB/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Saturday 24 August 2024 08:26:28 -0400 (0:00:02.696) 0:00:11.273 ******* skipping: [managed_node2] => (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_node2] => (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_node2] => (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_node2] => (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_node2] => (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_node2] => (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_node2] => (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_node2] => (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_node2] => (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_node2] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.certificate : Create return data] ************** task path: /tmp/collections-vGB/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Saturday 24 August 2024 08:26:28 -0400 (0:00:00.062) 0:00:11.335 ******* skipping: [managed_node2] => { "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-vGB/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Saturday 24 August 2024 08:26:28 -0400 (0:00:00.031) 0:00:11.367 ******* skipping: [managed_node2] => { "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-vGB/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Saturday 24 August 2024 08:26:28 -0400 (0:00:00.033) 0:00:11.401 ******* skipping: [managed_node2] => { "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-vGB/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:18 Saturday 24 August 2024 08:26:28 -0400 (0:00:00.051) 0:00:11.452 ******* ok: [managed_node2] TASK [Verify each certificate] ************************************************* task path: /tmp/collections-vGB/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:50 Saturday 24 August 2024 08:26:29 -0400 (0:00:00.718) 0:00:12.171 ******* included: /tmp/collections-vGB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed_node2 => (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-vGB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed_node2 => (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-vGB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed_node2 => (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-vGB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Saturday 24 August 2024 08:26:29 -0400 (0:00:00.085) 0:00:12.256 ******* ok: [managed_node2] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-vGB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Saturday 24 August 2024 08:26:29 -0400 (0:00:00.022) 0:00:12.279 ******* skipping: [managed_node2] => { "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-vGB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Saturday 24 August 2024 08:26:29 -0400 (0:00:00.025) 0:00:12.304 ******* skipping: [managed_node2] => { "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-vGB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Saturday 24 August 2024 08:26:29 -0400 (0:00:00.024) 0:00:12.329 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version == \"7\"", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-vGB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Saturday 24 August 2024 08:26:29 -0400 (0:00:00.018) 0:00:12.347 ******* ok: [managed_node2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: python3-cryptography python3-pyasn1 TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-vGB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Saturday 24 August 2024 08:26:32 -0400 (0:00:02.711) 0:00:15.059 ******* ok: [managed_node2] => { "changed": false, "stat": { "atime": 1724502386.461533, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "19270d8a5b97c7db6a1acd8592e8d972f4a37793", "ctime": 1724502386.458533, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6894537, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1724502386.458533, "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": "1318726341", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-vGB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Saturday 24 August 2024 08:26:32 -0400 (0:00:00.346) 0:00:15.406 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-vGB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Saturday 24 August 2024 08:26:32 -0400 (0:00:00.017) 0:00:15.423 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-vGB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Saturday 24 August 2024 08:26:32 -0400 (0:00:00.037) 0:00:15.460 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-vGB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Saturday 24 August 2024 08:26:32 -0400 (0:00:00.035) 0:00:15.496 ******* ok: [managed_node2] => { "changed": false, "stat": { "atime": 1724502386.4205327, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a680ddb29d94e98e596343d3088bf51cb0ff06d9", "ctime": 1724502386.458533, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6894536, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1724502386.458533, "nlink": 1, "path": "/etc/pki/tls/private/mycert_many_self_signed.key", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1708, "uid": 0, "version": "4188408422", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-vGB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Saturday 24 August 2024 08:26:33 -0400 (0:00:00.317) 0:00:15.813 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-vGB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Saturday 24 August 2024 08:26:33 -0400 (0:00:00.021) 0:00:15.834 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-vGB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Saturday 24 August 2024 08:26:33 -0400 (0:00:00.051) 0:00:15.886 ******* ok: [managed_node2] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "DF:29:BD:93:EB:FD:DE:57:9A:86:DF:56:4D:51:1B:95:2F:96:D5:4A" }, "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": "2C:6B:0B:6E:73:B7:B8:D4:9B:8B:E2:D4:BF:F1:01:02:64:06:0D:00" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "2A:42:C9:63:8B:ED:C0:02:16:C7:60:45:02:D5:D0:F6:17:A1:E4:66:A8:CC:CD:6D:AE:11:A8:54:38:DA:4C:D4:62:2B:1F:8D:E0:46:58:0A:3D:DF:C8:51:33:31:90:9D:45:7D:B4:7F:D1:C2:1F:0D:C9:67:E4:41:3E:35:16:11:D0:E1:5F:96:82:A3:3E:AD:AA:10:61:33:21:11:5D:DD:D7:E4:EA:31:22:36:4F:80:50:87:8A:3C:CF:4B:B7:B3:EF:D3:7B:46:8B:33:B4:53:FE:DF:50:62:38:1B:17:C3:25:EA:8F:7F:E3:02:79:A5:5A:AE:AD:1D:8A:FC:A7:3E:CE:36:3C:9F:B4:A4:FE:DA:C1:BF:0D:1A:7D:A2:BD:67:6E:2C:E3:13:0B:6B:45:12:5E:69:A5:C6:51:26:24:25:31:A4:69:FD:EF:0E:06:42:9F:D4:9E:EA:7C:6D:15:2E:7D:CE:F1:29:74:13:B6:D8:BD:30:88:F2:E8:D1:0B:E1:A3:5A:5A:4F:EE:E9:E5:8A:A5:3B:91:B2:6B:24:BD:6A:C2:F1:30:67:0A:7B:BC:84:FE:DF:9E:13:12:FB:C2:F7:76:02:87:68:99:C9:67:36:45:FE:C6:76:33:F7:00:64:4C:9E:0D:B2:82:2E:A2:B5:4B:6B:0F:E4:57:67:01:5E" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250824122510Z", "not_valid_before": "20240824122626Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-vGB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Saturday 24 August 2024 08:26:33 -0400 (0:00:00.517) 0:00:16.403 ******* ok: [managed_node2] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "DF:29:BD:93:EB:FD:DE:57:9A:86:DF:56:4D:51:1B:95:2F:96:D5:4A" }, "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": "2C:6B:0B:6E:73:B7:B8:D4:9B:8B:E2:D4:BF:F1:01:02:64:06:0D:00" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "2A:42:C9:63:8B:ED:C0:02:16:C7:60:45:02:D5:D0:F6:17:A1:E4:66:A8:CC:CD:6D:AE:11:A8:54:38:DA:4C:D4:62:2B:1F:8D:E0:46:58:0A:3D:DF:C8:51:33:31:90:9D:45:7D:B4:7F:D1:C2:1F:0D:C9:67:E4:41:3E:35:16:11:D0:E1:5F:96:82:A3:3E:AD:AA:10:61:33:21:11:5D:DD:D7:E4:EA:31:22:36:4F:80:50:87:8A:3C:CF:4B:B7:B3:EF:D3:7B:46:8B:33:B4:53:FE:DF:50:62:38:1B:17:C3:25:EA:8F:7F:E3:02:79:A5:5A:AE:AD:1D:8A:FC:A7:3E:CE:36:3C:9F:B4:A4:FE:DA:C1:BF:0D:1A:7D:A2:BD:67:6E:2C:E3:13:0B:6B:45:12:5E:69:A5:C6:51:26:24:25:31:A4:69:FD:EF:0E:06:42:9F:D4:9E:EA:7C:6D:15:2E:7D:CE:F1:29:74:13:B6:D8:BD:30:88:F2:E8:D1:0B:E1:A3:5A:5A:4F:EE:E9:E5:8A:A5:3B:91:B2:6B:24:BD:6A:C2:F1:30:67:0A:7B:BC:84:FE:DF:9E:13:12:FB:C2:F7:76:02:87:68:99:C9:67:36:45:FE:C6:76:33:F7:00:64:4C:9E:0D:B2:82:2E:A2:B5:4B:6B:0F:E4:57:67:01:5E" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250824122510Z", "not_valid_before": "20240824122626Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-vGB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Saturday 24 August 2024 08:26:33 -0400 (0:00:00.018) 0:00:16.422 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-vGB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Saturday 24 August 2024 08:26:33 -0400 (0:00:00.037) 0:00:16.459 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-vGB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Saturday 24 August 2024 08:26:33 -0400 (0:00:00.018) 0:00:16.477 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-vGB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Saturday 24 August 2024 08:26:33 -0400 (0:00:00.037) 0:00:16.514 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-vGB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Saturday 24 August 2024 08:26:33 -0400 (0:00:00.040) 0:00:16.555 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-vGB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Saturday 24 August 2024 08:26:33 -0400 (0:00:00.040) 0:00:16.595 ******* ok: [managed_node2] => { "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.054070", "end": "2024-08-24 08:26:34.252976", "rc": 0, "start": "2024-08-24 08:26:34.198906" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-vGB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Saturday 24 August 2024 08:26:34 -0400 (0:00:00.458) 0:00:17.054 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-vGB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Saturday 24 August 2024 08:26:34 -0400 (0:00:00.037) 0:00:17.091 ******* ok: [managed_node2] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-vGB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Saturday 24 August 2024 08:26:34 -0400 (0:00:00.013) 0:00:17.105 ******* skipping: [managed_node2] => { "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-vGB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Saturday 24 August 2024 08:26:34 -0400 (0:00:00.017) 0:00:17.123 ******* skipping: [managed_node2] => { "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-vGB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Saturday 24 August 2024 08:26:34 -0400 (0:00:00.016) 0:00:17.140 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version == \"7\"", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-vGB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Saturday 24 August 2024 08:26:34 -0400 (0:00:00.012) 0:00:17.152 ******* ok: [managed_node2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: python3-cryptography python3-pyasn1 TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-vGB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Saturday 24 August 2024 08:26:37 -0400 (0:00:02.697) 0:00:19.850 ******* ok: [managed_node2] => { "changed": false, "stat": { "atime": 1724502387.303541, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fe79a837dcc1e5506980d327957ef319c35afc6d", "ctime": 1724502387.3015409, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6894539, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1724502387.3015409, "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": "2948076810", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-vGB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Saturday 24 August 2024 08:26:37 -0400 (0:00:00.320) 0:00:20.171 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-vGB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Saturday 24 August 2024 08:26:37 -0400 (0:00:00.026) 0:00:20.197 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-vGB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Saturday 24 August 2024 08:26:37 -0400 (0:00:00.049) 0:00:20.247 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-vGB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Saturday 24 August 2024 08:26:37 -0400 (0:00:00.044) 0:00:20.291 ******* ok: [managed_node2] => { "changed": false, "stat": { "atime": 1724502387.2625406, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "825794c22d89a42054a79dba0cb5abb6fef28932", "ctime": 1724502387.3015409, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6894538, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1724502387.3015409, "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": "2450907126", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-vGB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Saturday 24 August 2024 08:26:37 -0400 (0:00:00.340) 0:00:20.632 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-vGB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Saturday 24 August 2024 08:26:37 -0400 (0:00:00.016) 0:00:20.649 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-vGB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Saturday 24 August 2024 08:26:37 -0400 (0:00:00.041) 0:00:20.690 ******* ok: [managed_node2] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "DF:29:BD:93:EB:FD:DE:57:9A:86:DF:56:4D:51:1B:95:2F:96:D5:4A" }, "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": "45:31:18:6C:56:06:AE:25:DA:F4:1D:A1:34:D0:A5:88:F2:B9:A8:9B" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "98:F0:97:08:25:4D:3E:45:F6:62:F7:B7:E4:11:D2:A3:06:B3:E6:A4:28:BB:87:F4:5B:45:71:1F:0A:01:67:AA:B4:51:A6:5D:EF:8F:41:02:89:5E:99:42:B6:A8:48:87:40:69:DF:9C:8B:40:C8:48:A6:EA:38:EF:FC:E2:6E:37:1D:B6:6C:86:01:02:74:EF:16:E2:A3:10:50:A4:FD:35:6C:AB:CF:A4:1D:9A:FF:B7:E1:1B:FF:AD:9F:35:EC:D8:F7:8D:C1:43:16:B8:29:BB:01:EA:E7:05:23:EC:7A:32:85:B8:91:CB:EE:14:02:1D:79:B4:0A:73:FD:7A:9C:50:3E:5A:81:16:F3:DA:E7:33:EF:8C:CC:50:16:38:83:5E:CD:7F:0F:4F:39:50:BD:68:CF:BB:44:75:0F:C0:75:65:58:0D:F3:2F:6C:3C:1B:A1:89:F1:A1:C2:F7:64:43:1B:60:EF:57:F7:7B:18:23:D9:A4:E4:7A:2E:F3:F1:6C:92:B9:FF:A8:06:C2:D5:93:43:19:EF:D9:79:07:8F:91:E4:13:DA:21:CD:16:4F:88:10:EB:E5:DE:FD:C4:D2:33:D6:E1:8E:80:B6:7C:1D:3E:D4:2C:BE:F7:46:91:9E:0D:69:69:AC:94:8F:0C:2D:7E:9C:D3:99:8E:7E:28:51:56:FD" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.org" } ], "validity": { "not_valid_after": "20250824122510Z", "not_valid_before": "20240824122627Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-vGB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Saturday 24 August 2024 08:26:38 -0400 (0:00:00.397) 0:00:21.088 ******* ok: [managed_node2] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "DF:29:BD:93:EB:FD:DE:57:9A:86:DF:56:4D:51:1B:95:2F:96:D5:4A" }, "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": "45:31:18:6C:56:06:AE:25:DA:F4:1D:A1:34:D0:A5:88:F2:B9:A8:9B" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "98:F0:97:08:25:4D:3E:45:F6:62:F7:B7:E4:11:D2:A3:06:B3:E6:A4:28:BB:87:F4:5B:45:71:1F:0A:01:67:AA:B4:51:A6:5D:EF:8F:41:02:89:5E:99:42:B6:A8:48:87:40:69:DF:9C:8B:40:C8:48:A6:EA:38:EF:FC:E2:6E:37:1D:B6:6C:86:01:02:74:EF:16:E2:A3:10:50:A4:FD:35:6C:AB:CF:A4:1D:9A:FF:B7:E1:1B:FF:AD:9F:35:EC:D8:F7:8D:C1:43:16:B8:29:BB:01:EA:E7:05:23:EC:7A:32:85:B8:91:CB:EE:14:02:1D:79:B4:0A:73:FD:7A:9C:50:3E:5A:81:16:F3:DA:E7:33:EF:8C:CC:50:16:38:83:5E:CD:7F:0F:4F:39:50:BD:68:CF:BB:44:75:0F:C0:75:65:58:0D:F3:2F:6C:3C:1B:A1:89:F1:A1:C2:F7:64:43:1B:60:EF:57:F7:7B:18:23:D9:A4:E4:7A:2E:F3:F1:6C:92:B9:FF:A8:06:C2:D5:93:43:19:EF:D9:79:07:8F:91:E4:13:DA:21:CD:16:4F:88:10:EB:E5:DE:FD:C4:D2:33:D6:E1:8E:80:B6:7C:1D:3E:D4:2C:BE:F7:46:91:9E:0D:69:69:AC:94:8F:0C:2D:7E:9C:D3:99:8E:7E:28:51:56:FD" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.org" } ], "validity": { "not_valid_after": "20250824122510Z", "not_valid_before": "20240824122627Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-vGB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Saturday 24 August 2024 08:26:38 -0400 (0:00:00.018) 0:00:21.106 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-vGB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Saturday 24 August 2024 08:26:38 -0400 (0:00:00.037) 0:00:21.144 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-vGB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Saturday 24 August 2024 08:26:38 -0400 (0:00:00.017) 0:00:21.162 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-vGB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Saturday 24 August 2024 08:26:38 -0400 (0:00:00.036) 0:00:21.199 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-vGB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Saturday 24 August 2024 08:26:38 -0400 (0:00:00.041) 0:00:21.240 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-vGB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Saturday 24 August 2024 08:26:38 -0400 (0:00:00.039) 0:00:21.280 ******* ok: [managed_node2] => { "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.054389", "end": "2024-08-24 08:26:38.842480", "rc": 0, "start": "2024-08-24 08:26:38.788091" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-vGB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Saturday 24 August 2024 08:26:38 -0400 (0:00:00.361) 0:00:21.641 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-vGB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Saturday 24 August 2024 08:26:38 -0400 (0:00:00.040) 0:00:21.682 ******* ok: [managed_node2] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-vGB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Saturday 24 August 2024 08:26:38 -0400 (0:00:00.013) 0:00:21.695 ******* skipping: [managed_node2] => { "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-vGB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Saturday 24 August 2024 08:26:38 -0400 (0:00:00.017) 0:00:21.712 ******* skipping: [managed_node2] => { "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-vGB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Saturday 24 August 2024 08:26:38 -0400 (0:00:00.016) 0:00:21.728 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version == \"7\"", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-vGB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Saturday 24 August 2024 08:26:38 -0400 (0:00:00.012) 0:00:21.741 ******* ok: [managed_node2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: python3-cryptography python3-pyasn1 TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-vGB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Saturday 24 August 2024 08:26:41 -0400 (0:00:02.698) 0:00:24.439 ******* ok: [managed_node2] => { "changed": false, "stat": { "atime": 1724502388.3265505, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fda3a4aa242a4ecb4463807dc581fded71b3c959", "ctime": 1724502388.3235505, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6894541, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1724502388.3235505, "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": "21912000", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-vGB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Saturday 24 August 2024 08:26:42 -0400 (0:00:00.328) 0:00:24.768 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-vGB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Saturday 24 August 2024 08:26:42 -0400 (0:00:00.026) 0:00:24.795 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-vGB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Saturday 24 August 2024 08:26:42 -0400 (0:00:00.058) 0:00:24.853 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-vGB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Saturday 24 August 2024 08:26:42 -0400 (0:00:00.055) 0:00:24.908 ******* ok: [managed_node2] => { "changed": false, "stat": { "atime": 1724502388.28455, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "61e91b0a455b8d2c11a88f9ace9e7055edfebb44", "ctime": 1724502388.3235505, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6894540, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1724502388.3235505, "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": "3524660398", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-vGB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Saturday 24 August 2024 08:26:42 -0400 (0:00:00.322) 0:00:25.230 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-vGB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Saturday 24 August 2024 08:26:42 -0400 (0:00:00.021) 0:00:25.252 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-vGB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Saturday 24 August 2024 08:26:42 -0400 (0:00:00.058) 0:00:25.311 ******* ok: [managed_node2] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "DF:29:BD:93:EB:FD:DE:57:9A:86:DF:56:4D:51:1B:95:2F:96:D5:4A" }, "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": "A5:C0:B9:30:65:18:FA:A4:61:DF:85:CF:9A:C9:0A:B1:43:FA:83:D3" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "82:98:B2:4D:35:08:47:CE:DD:A2:86:BD:D8:87:BC:33:1D:7A:96:A5:50:71:39:1A:02:B1:78:1C:EF:08:18:5E:0F:EC:C0:35:6E:03:FC:E8:6B:DB:AC:15:98:31:F8:AA:8F:0C:0D:4D:E5:74:F0:33:BF:95:13:81:10:76:90:16:89:B9:C9:CF:DB:C8:0D:55:3E:1A:6F:67:B4:3B:7F:2E:2B:5A:E2:6D:66:DB:DB:A9:F2:D7:FD:18:12:4F:F7:29:E6:71:ED:F8:E2:97:E7:30:27:11:64:AB:80:C8:C5:61:F8:97:F9:AF:85:94:25:50:73:50:CE:ED:88:F3:41:0E:CB:CE:4C:13:55:B4:44:B2:0A:A9:6D:E3:65:35:F4:51:E5:A2:F1:B8:7C:DA:A1:8D:DA:07:F6:7C:9E:24:77:57:6B:B1:E8:55:D8:20:FE:24:31:F7:66:41:AC:53:F6:D4:94:D7:74:12:73:8D:2F:96:9F:3B:4A:D0:04:FE:99:CE:74:06:BB:A7:83:87:5E:27:B8:A8:93:0F:31:71:1D:8C:18:83:9D:E2:9B:77:5E:91:74:0D:64:24:F2:5A:76:B4:7C:B9:00:5B:69:A5:04:CC:87:4B:4D:74:BE:C3:16:FD:0B:09:3E:DE:7F:FD:C4:37:1F:B1:AE:FF:80:E0:A4:D4" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.net" } ], "validity": { "not_valid_after": "20250824122510Z", "not_valid_before": "20240824122628Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-vGB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Saturday 24 August 2024 08:26:42 -0400 (0:00:00.386) 0:00:25.698 ******* ok: [managed_node2] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "DF:29:BD:93:EB:FD:DE:57:9A:86:DF:56:4D:51:1B:95:2F:96:D5:4A" }, "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": "A5:C0:B9:30:65:18:FA:A4:61:DF:85:CF:9A:C9:0A:B1:43:FA:83:D3" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "82:98:B2:4D:35:08:47:CE:DD:A2:86:BD:D8:87:BC:33:1D:7A:96:A5:50:71:39:1A:02:B1:78:1C:EF:08:18:5E:0F:EC:C0:35:6E:03:FC:E8:6B:DB:AC:15:98:31:F8:AA:8F:0C:0D:4D:E5:74:F0:33:BF:95:13:81:10:76:90:16:89:B9:C9:CF:DB:C8:0D:55:3E:1A:6F:67:B4:3B:7F:2E:2B:5A:E2:6D:66:DB:DB:A9:F2:D7:FD:18:12:4F:F7:29:E6:71:ED:F8:E2:97:E7:30:27:11:64:AB:80:C8:C5:61:F8:97:F9:AF:85:94:25:50:73:50:CE:ED:88:F3:41:0E:CB:CE:4C:13:55:B4:44:B2:0A:A9:6D:E3:65:35:F4:51:E5:A2:F1:B8:7C:DA:A1:8D:DA:07:F6:7C:9E:24:77:57:6B:B1:E8:55:D8:20:FE:24:31:F7:66:41:AC:53:F6:D4:94:D7:74:12:73:8D:2F:96:9F:3B:4A:D0:04:FE:99:CE:74:06:BB:A7:83:87:5E:27:B8:A8:93:0F:31:71:1D:8C:18:83:9D:E2:9B:77:5E:91:74:0D:64:24:F2:5A:76:B4:7C:B9:00:5B:69:A5:04:CC:87:4B:4D:74:BE:C3:16:FD:0B:09:3E:DE:7F:FD:C4:37:1F:B1:AE:FF:80:E0:A4:D4" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.net" } ], "validity": { "not_valid_after": "20250824122510Z", "not_valid_before": "20240824122628Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-vGB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Saturday 24 August 2024 08:26:42 -0400 (0:00:00.019) 0:00:25.717 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-vGB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Saturday 24 August 2024 08:26:43 -0400 (0:00:00.039) 0:00:25.757 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-vGB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Saturday 24 August 2024 08:26:43 -0400 (0:00:00.018) 0:00:25.775 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-vGB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Saturday 24 August 2024 08:26:43 -0400 (0:00:00.038) 0:00:25.814 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-vGB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Saturday 24 August 2024 08:26:43 -0400 (0:00:00.041) 0:00:25.856 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-vGB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Saturday 24 August 2024 08:26:43 -0400 (0:00:00.042) 0:00:25.898 ******* ok: [managed_node2] => { "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.054115", "end": "2024-08-24 08:26:43.464086", "rc": 0, "start": "2024-08-24 08:26:43.409971" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-vGB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Saturday 24 August 2024 08:26:43 -0400 (0:00:00.373) 0:00:26.271 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* managed_node2 : ok=68 changed=1 unreachable=0 failed=0 skipped=15 rescued=0 ignored=0 Saturday 24 August 2024 08:26:43 -0400 (0:00:00.074) 0:00:26.345 ******* =============================================================================== fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 2.89s /tmp/collections-vGB/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Ensure python3 is installed --------------------------------------------- 2.71s /tmp/collections-vGB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Ensure python3 is installed --------------------------------------------- 2.70s /tmp/collections-vGB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Ensure python3 is installed --------------------------------------------- 2.70s /tmp/collections-vGB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 2.70s /tmp/collections-vGB/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 2.69s /tmp/collections-vGB/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Gathering Facts --------------------------------------------------------- 1.00s /tmp/collections-vGB/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:2 Gathering Facts --------------------------------------------------------- 0.72s /tmp/collections-vGB/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.69s /tmp/collections-vGB/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Parse certificate ------------------------------------------------------- 0.52s /tmp/collections-vGB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Retrieve auto-renew flag ------------------------------------------------ 0.46s /tmp/collections-vGB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists --- 0.44s /tmp/collections-vGB/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Parse certificate ------------------------------------------------------- 0.40s /tmp/collections-vGB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 fedora.linux_system_roles.certificate : Check if system is ostree ------- 0.39s /tmp/collections-vGB/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Parse certificate ------------------------------------------------------- 0.39s /tmp/collections-vGB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Retrieve auto-renew flag ------------------------------------------------ 0.37s /tmp/collections-vGB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Retrieve auto-renew flag ------------------------------------------------ 0.36s /tmp/collections-vGB/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.35s /tmp/collections-vGB/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Retrieve certificate file stats ----------------------------------------- 0.35s /tmp/collections-vGB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Retrieve key file stats ------------------------------------------------- 0.34s /tmp/collections-vGB/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65