[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.9] 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-I2G 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-I2G/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-I2G/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:2 Saturday 10 August 2024 08:34:29 -0400 (0:00:00.009) 0:00:00.009 ******* ok: [managed_node1] TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /tmp/collections-I2G/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Saturday 10 August 2024 08:34:30 -0400 (0:00:00.989) 0:00:00.998 ******* included: /tmp/collections-I2G/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.certificate : Ensure ansible_facts used by role] *** task path: /tmp/collections-I2G/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Saturday 10 August 2024 08:34:30 -0400 (0:00:00.017) 0:00:01.015 ******* skipping: [managed_node1] => { "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-I2G/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Saturday 10 August 2024 08:34:30 -0400 (0:00:00.031) 0:00:01.046 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.certificate : Set flag to indicate system is ostree] *** task path: /tmp/collections-I2G/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Saturday 10 August 2024 08:34:31 -0400 (0:00:00.397) 0:00:01.443 ******* ok: [managed_node1] => { "ansible_facts": { "__certificate_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.certificate : Set platform/version specific variables] *** task path: /tmp/collections-I2G/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Saturday 10 August 2024 08:34:31 -0400 (0:00:00.020) 0:00:01.464 ******* skipping: [managed_node1] => (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_node1] => (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_node1] => (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_node1] => (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_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed] *** task path: /tmp/collections-I2G/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Saturday 10 August 2024 08:34:31 -0400 (0:00:00.029) 0:00:01.494 ******* ok: [managed_node1] => { "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-I2G/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Saturday 10 August 2024 08:34:34 -0400 (0:00:03.227) 0:00:04.722 ******* ok: [managed_node1] => (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-I2G/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Saturday 10 August 2024 08:34:37 -0400 (0:00:03.005) 0:00:07.727 ******* ok: [managed_node1] => (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-I2G/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Saturday 10 August 2024 08:34:37 -0400 (0:00:00.445) 0:00:08.172 ******* ok: [managed_node1] => (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-I2G/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Saturday 10 August 2024 08:34:38 -0400 (0:00:00.349) 0:00:08.522 ******* ok: [managed_node1] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "enabled": true, "name": "certmonger", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-08-10 08:28:48 EDT", "ActiveEnterTimestampMonotonic": "461406680", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target system.slice basic.target systemd-journald.socket dbus.service network.target dbus.socket syslog.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-10 08:28:48 EDT", "AssertTimestampMonotonic": "461388687", "Before": "shutdown.target multi-user.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-10 08:28:48 EDT", "ConditionTimestampMonotonic": "461388685", "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": "16521", "ExecMainStartTimestamp": "Sat 2024-08-10 08:28:48 EDT", "ExecMainStartTimestampMonotonic": "461389882", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /run/certmonger.pid -n $OPTS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; 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-10 08:28:48 EDT", "InactiveExitTimestampMonotonic": "461389927", "InvocationID": "b10bf78c8c3441b0828f6d1cef7178a2", "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": "16521", "MemoryAccounting": "yes", "MemoryCurrent": "2990080", "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-10 08:28:48 EDT", "StateChangeTimestampMonotonic": "461406680", "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-10 08:28:48 EDT", "WatchdogTimestampMonotonic": "461406678", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.certificate : Ensure certificate requests] ***** task path: /tmp/collections-I2G/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Saturday 10 August 2024 08:34:38 -0400 (0:00:00.687) 0:00:09.209 ******* changed: [managed_node1] => (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_node1] => (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_node1] => (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-I2G/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Saturday 10 August 2024 08:34:41 -0400 (0:00:02.623) 0:00:11.833 ******* skipping: [managed_node1] => (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_node1] => (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_node1] => (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_node1] => (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_node1] => (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_node1] => (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_node1] => (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_node1] => (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_node1] => (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_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.certificate : Create return data] ************** task path: /tmp/collections-I2G/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Saturday 10 August 2024 08:34:41 -0400 (0:00:00.059) 0:00:11.892 ******* skipping: [managed_node1] => { "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-I2G/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Saturday 10 August 2024 08:34:41 -0400 (0:00:00.029) 0:00:11.922 ******* skipping: [managed_node1] => { "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-I2G/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Saturday 10 August 2024 08:34:41 -0400 (0:00:00.030) 0:00:11.953 ******* skipping: [managed_node1] => { "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-I2G/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:18 Saturday 10 August 2024 08:34:41 -0400 (0:00:00.048) 0:00:12.001 ******* ok: [managed_node1] TASK [Verify each certificate] ************************************************* task path: /tmp/collections-I2G/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:50 Saturday 10 August 2024 08:34:42 -0400 (0:00:00.708) 0:00:12.710 ******* included: /tmp/collections-I2G/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed_node1 => (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-I2G/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed_node1 => (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-I2G/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed_node1 => (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-I2G/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Saturday 10 August 2024 08:34:42 -0400 (0:00:00.059) 0:00:12.769 ******* ok: [managed_node1] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-I2G/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Saturday 10 August 2024 08:34:42 -0400 (0:00:00.013) 0:00:12.783 ******* skipping: [managed_node1] => { "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-I2G/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Saturday 10 August 2024 08:34:42 -0400 (0:00:00.016) 0:00:12.799 ******* skipping: [managed_node1] => { "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-I2G/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Saturday 10 August 2024 08:34:42 -0400 (0:00:00.015) 0:00:12.814 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == \"7\"", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-I2G/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Saturday 10 August 2024 08:34:42 -0400 (0:00:00.011) 0:00:12.826 ******* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: python3-cryptography python3-pyasn1 TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-I2G/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Saturday 10 August 2024 08:34:45 -0400 (0:00:03.097) 0:00:15.924 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723293279.4755013, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "93fd47d205c0b15f61b859f444fb633859690995", "ctime": 1723293279.4725013, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6986980, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1723293279.4725013, "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": "595265145", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-I2G/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Saturday 10 August 2024 08:34:45 -0400 (0:00:00.323) 0:00:16.247 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-I2G/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Saturday 10 August 2024 08:34:45 -0400 (0:00:00.016) 0:00:16.264 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-I2G/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Saturday 10 August 2024 08:34:45 -0400 (0:00:00.037) 0:00:16.302 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-I2G/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Saturday 10 August 2024 08:34:45 -0400 (0:00:00.034) 0:00:16.336 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723293279.428501, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "0a77b496dc79a2023e9463cada701e0f57b3af08", "ctime": 1723293279.4725013, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6986979, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1723293279.4725013, "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": "3965515404", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-I2G/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Saturday 10 August 2024 08:34:46 -0400 (0:00:00.319) 0:00:16.656 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-I2G/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Saturday 10 August 2024 08:34:46 -0400 (0:00:00.016) 0:00:16.673 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-I2G/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Saturday 10 August 2024 08:34:46 -0400 (0:00:00.036) 0:00:16.710 ******* ok: [managed_node1] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "D7:84:54:C7:A9:85:6D:1A:92:A6:24:37:A4:32:9C:80:AF:14:3F:07" }, "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": "6E:D0:4B:9F:3E:2A:19:27:6B:CE:BA:7F:E4:81:B0:3E:CE:D6:C9:20" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "6C:72:3B:86:91:44:45:98:95:14:D1:C4:4D:AE:CA:CC:99:3D:B2:E1:88:60:22:60:FC:13:A5:D2:08:01:7B:77:11:AC:8D:73:AF:E9:6B:67:B8:B1:8C:FB:12:40:2D:A3:17:9D:92:B6:1B:FD:4E:40:21:6C:9A:6E:BB:2E:33:B7:2A:53:B3:DD:CA:9E:DE:3B:DD:83:53:B9:2E:BD:C6:DD:5D:64:DD:C3:01:22:F8:EA:4F:E1:29:D3:89:02:F1:CC:BD:0C:DB:1B:09:C1:64:40:04:2C:81:CF:A6:65:54:8E:CB:CF:46:02:DD:3A:E9:B2:F8:63:31:D1:AE:D9:44:B5:17:8E:7A:71:96:46:0B:21:2C:BC:B5:CE:F1:23:1F:1C:9F:21:F9:0A:18:3F:BE:55:70:A8:A9:B5:61:B1:61:23:A1:99:7D:8F:1C:F8:44:F8:F2:A4:BE:95:C5:E5:F7:6D:B0:E9:A3:F2:6B:31:6E:15:02:45:66:50:13:CD:ED:86:48:7C:B4:56:3F:74:58:D2:5F:51:1C:EC:40:AB:A2:1F:7F:02:74:2B:23:6D:B9:3F:08:54:E7:C4:DE:E6:CA:E7:55:2A:8B:3C:9B:D5:0A:A0:24:DA:C4:8B:34:CE:39:AE:45:95:29:63:E3:96:6C:A5:4F:E5:1D:82:22:6D:98:62" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250810122848Z", "not_valid_before": "20240810123439Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-I2G/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Saturday 10 August 2024 08:34:46 -0400 (0:00:00.464) 0:00:17.174 ******* ok: [managed_node1] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "D7:84:54:C7:A9:85:6D:1A:92:A6:24:37:A4:32:9C:80:AF:14:3F:07" }, "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": "6E:D0:4B:9F:3E:2A:19:27:6B:CE:BA:7F:E4:81:B0:3E:CE:D6:C9:20" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "6C:72:3B:86:91:44:45:98:95:14:D1:C4:4D:AE:CA:CC:99:3D:B2:E1:88:60:22:60:FC:13:A5:D2:08:01:7B:77:11:AC:8D:73:AF:E9:6B:67:B8:B1:8C:FB:12:40:2D:A3:17:9D:92:B6:1B:FD:4E:40:21:6C:9A:6E:BB:2E:33:B7:2A:53:B3:DD:CA:9E:DE:3B:DD:83:53:B9:2E:BD:C6:DD:5D:64:DD:C3:01:22:F8:EA:4F:E1:29:D3:89:02:F1:CC:BD:0C:DB:1B:09:C1:64:40:04:2C:81:CF:A6:65:54:8E:CB:CF:46:02:DD:3A:E9:B2:F8:63:31:D1:AE:D9:44:B5:17:8E:7A:71:96:46:0B:21:2C:BC:B5:CE:F1:23:1F:1C:9F:21:F9:0A:18:3F:BE:55:70:A8:A9:B5:61:B1:61:23:A1:99:7D:8F:1C:F8:44:F8:F2:A4:BE:95:C5:E5:F7:6D:B0:E9:A3:F2:6B:31:6E:15:02:45:66:50:13:CD:ED:86:48:7C:B4:56:3F:74:58:D2:5F:51:1C:EC:40:AB:A2:1F:7F:02:74:2B:23:6D:B9:3F:08:54:E7:C4:DE:E6:CA:E7:55:2A:8B:3C:9B:D5:0A:A0:24:DA:C4:8B:34:CE:39:AE:45:95:29:63:E3:96:6C:A5:4F:E5:1D:82:22:6D:98:62" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250810122848Z", "not_valid_before": "20240810123439Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-I2G/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Saturday 10 August 2024 08:34:46 -0400 (0:00:00.018) 0:00:17.193 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-I2G/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Saturday 10 August 2024 08:34:46 -0400 (0:00:00.038) 0:00:17.231 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-I2G/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Saturday 10 August 2024 08:34:46 -0400 (0:00:00.018) 0:00:17.249 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-I2G/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Saturday 10 August 2024 08:34:46 -0400 (0:00:00.037) 0:00:17.287 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-I2G/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Saturday 10 August 2024 08:34:46 -0400 (0:00:00.041) 0:00:17.328 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-I2G/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Saturday 10 August 2024 08:34:46 -0400 (0:00:00.041) 0:00:17.370 ******* ok: [managed_node1] => { "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.081167", "end": "2024-08-10 08:34:47.382185", "rc": 0, "start": "2024-08-10 08:34:47.301018" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-I2G/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Saturday 10 August 2024 08:34:47 -0400 (0:00:00.485) 0:00:17.856 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-I2G/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Saturday 10 August 2024 08:34:47 -0400 (0:00:00.037) 0:00:17.893 ******* ok: [managed_node1] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-I2G/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Saturday 10 August 2024 08:34:47 -0400 (0:00:00.014) 0:00:17.908 ******* skipping: [managed_node1] => { "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-I2G/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Saturday 10 August 2024 08:34:47 -0400 (0:00:00.018) 0:00:17.926 ******* skipping: [managed_node1] => { "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-I2G/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Saturday 10 August 2024 08:34:47 -0400 (0:00:00.017) 0:00:17.943 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == \"7\"", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-I2G/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Saturday 10 August 2024 08:34:47 -0400 (0:00:00.013) 0:00:17.956 ******* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: python3-cryptography python3-pyasn1 TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-I2G/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Saturday 10 August 2024 08:34:50 -0400 (0:00:02.920) 0:00:20.877 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723293280.2175076, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "be9270fe75f9c0a996934b5ace527c5060f7bf4f", "ctime": 1723293280.2145076, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6986982, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1723293280.2145076, "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": "3184940756", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-I2G/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Saturday 10 August 2024 08:34:50 -0400 (0:00:00.317) 0:00:21.195 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-I2G/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Saturday 10 August 2024 08:34:50 -0400 (0:00:00.016) 0:00:21.211 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-I2G/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Saturday 10 August 2024 08:34:50 -0400 (0:00:00.036) 0:00:21.248 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-I2G/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Saturday 10 August 2024 08:34:50 -0400 (0:00:00.034) 0:00:21.282 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723293280.1705072, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "52f40d011e96a9b6ff7d9cea0486b1647fc827e5", "ctime": 1723293280.2145076, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6986981, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1723293280.2145076, "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": "1449405711", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-I2G/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Saturday 10 August 2024 08:34:51 -0400 (0:00:00.320) 0:00:21.602 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-I2G/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Saturday 10 August 2024 08:34:51 -0400 (0:00:00.016) 0:00:21.619 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-I2G/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Saturday 10 August 2024 08:34:51 -0400 (0:00:00.038) 0:00:21.657 ******* ok: [managed_node1] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "D7:84:54:C7:A9:85:6D:1A:92:A6:24:37:A4:32:9C:80:AF:14:3F:07" }, "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": "A8:67:F1:83:F5:92:8B:3E:44:E2:A3:59:2D:59:0C:27:7B:D8:E1:57" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "39:1B:8B:29:B9:CE:2E:9B:ED:BA:77:9C:2B:14:90:AC:ED:43:8C:ED:44:0B:6A:EF:2D:5A:A0:F1:A6:A2:03:4E:6C:83:F2:AA:02:C3:29:86:6A:59:87:91:BF:9D:F0:76:68:1C:4C:43:CA:2B:9B:9B:09:F6:79:B8:35:B9:B1:FD:52:B2:F0:67:EE:D8:54:95:A4:82:D5:20:BB:4A:73:65:1E:ED:4D:5D:3F:4F:06:A7:32:AD:4B:91:26:2A:E9:49:01:35:67:B7:72:C8:97:EC:CC:6F:17:84:FF:6D:47:43:C5:2E:CD:0E:8F:01:08:C3:1F:00:E4:69:FB:0F:6D:47:4B:88:8E:78:32:D1:62:FF:5A:CD:6B:A0:F8:B8:96:58:7D:C1:DE:DE:10:1F:71:B4:E1:BE:2A:FD:5D:C8:33:F2:64:9F:BE:AF:27:22:53:B1:A2:FD:6F:55:A6:DE:52:EA:60:BD:87:E5:5D:13:B5:2F:9A:4C:4C:3F:46:71:E9:E3:7F:BC:30:65:83:4F:E9:4F:B0:A7:C7:9C:83:72:02:F2:00:39:60:80:16:77:FE:16:05:5D:82:D2:2A:CA:63:25:4B:35:8A:52:C7:AC:22:58:54:50:3A:A6:6D:2D:73:9A:57:4C:0B:32:00:30:8F:69:32:7D:CB:F1:96:96:9F:C8" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.org" } ], "validity": { "not_valid_after": "20250810122848Z", "not_valid_before": "20240810123440Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-I2G/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Saturday 10 August 2024 08:34:51 -0400 (0:00:00.368) 0:00:22.026 ******* ok: [managed_node1] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "D7:84:54:C7:A9:85:6D:1A:92:A6:24:37:A4:32:9C:80:AF:14:3F:07" }, "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": "A8:67:F1:83:F5:92:8B:3E:44:E2:A3:59:2D:59:0C:27:7B:D8:E1:57" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "39:1B:8B:29:B9:CE:2E:9B:ED:BA:77:9C:2B:14:90:AC:ED:43:8C:ED:44:0B:6A:EF:2D:5A:A0:F1:A6:A2:03:4E:6C:83:F2:AA:02:C3:29:86:6A:59:87:91:BF:9D:F0:76:68:1C:4C:43:CA:2B:9B:9B:09:F6:79:B8:35:B9:B1:FD:52:B2:F0:67:EE:D8:54:95:A4:82:D5:20:BB:4A:73:65:1E:ED:4D:5D:3F:4F:06:A7:32:AD:4B:91:26:2A:E9:49:01:35:67:B7:72:C8:97:EC:CC:6F:17:84:FF:6D:47:43:C5:2E:CD:0E:8F:01:08:C3:1F:00:E4:69:FB:0F:6D:47:4B:88:8E:78:32:D1:62:FF:5A:CD:6B:A0:F8:B8:96:58:7D:C1:DE:DE:10:1F:71:B4:E1:BE:2A:FD:5D:C8:33:F2:64:9F:BE:AF:27:22:53:B1:A2:FD:6F:55:A6:DE:52:EA:60:BD:87:E5:5D:13:B5:2F:9A:4C:4C:3F:46:71:E9:E3:7F:BC:30:65:83:4F:E9:4F:B0:A7:C7:9C:83:72:02:F2:00:39:60:80:16:77:FE:16:05:5D:82:D2:2A:CA:63:25:4B:35:8A:52:C7:AC:22:58:54:50:3A:A6:6D:2D:73:9A:57:4C:0B:32:00:30:8F:69:32:7D:CB:F1:96:96:9F:C8" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.org" } ], "validity": { "not_valid_after": "20250810122848Z", "not_valid_before": "20240810123440Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-I2G/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Saturday 10 August 2024 08:34:51 -0400 (0:00:00.017) 0:00:22.043 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-I2G/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Saturday 10 August 2024 08:34:51 -0400 (0:00:00.036) 0:00:22.080 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-I2G/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Saturday 10 August 2024 08:34:51 -0400 (0:00:00.017) 0:00:22.098 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-I2G/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Saturday 10 August 2024 08:34:51 -0400 (0:00:00.034) 0:00:22.132 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-I2G/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Saturday 10 August 2024 08:34:51 -0400 (0:00:00.038) 0:00:22.171 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-I2G/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Saturday 10 August 2024 08:34:51 -0400 (0:00:00.037) 0:00:22.209 ******* ok: [managed_node1] => { "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.080435", "end": "2024-08-10 08:34:52.121793", "rc": 0, "start": "2024-08-10 08:34:52.041358" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-I2G/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Saturday 10 August 2024 08:34:52 -0400 (0:00:00.385) 0:00:22.594 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-I2G/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Saturday 10 August 2024 08:34:52 -0400 (0:00:00.039) 0:00:22.633 ******* ok: [managed_node1] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-I2G/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Saturday 10 August 2024 08:34:52 -0400 (0:00:00.014) 0:00:22.648 ******* skipping: [managed_node1] => { "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-I2G/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Saturday 10 August 2024 08:34:52 -0400 (0:00:00.017) 0:00:22.665 ******* skipping: [managed_node1] => { "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-I2G/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Saturday 10 August 2024 08:34:52 -0400 (0:00:00.016) 0:00:22.682 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == \"7\"", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-I2G/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Saturday 10 August 2024 08:34:52 -0400 (0:00:00.013) 0:00:22.695 ******* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: python3-cryptography python3-pyasn1 TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-I2G/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Saturday 10 August 2024 08:34:55 -0400 (0:00:02.920) 0:00:25.616 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723293281.2895167, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "119db7ebefeff35c7bd8b0a72349d3eb17c91751", "ctime": 1723293281.2875166, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6986984, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1723293281.2875166, "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": "2440186957", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-I2G/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Saturday 10 August 2024 08:34:55 -0400 (0:00:00.321) 0:00:25.937 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-I2G/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Saturday 10 August 2024 08:34:55 -0400 (0:00:00.016) 0:00:25.954 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-I2G/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Saturday 10 August 2024 08:34:55 -0400 (0:00:00.038) 0:00:25.992 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-I2G/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Saturday 10 August 2024 08:34:55 -0400 (0:00:00.035) 0:00:26.028 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723293281.2415164, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "0893c4c84e0c640d2588d066843e31915cc47cc2", "ctime": 1723293281.2875166, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6986983, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1723293281.2875166, "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": "2757358874", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-I2G/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Saturday 10 August 2024 08:34:55 -0400 (0:00:00.322) 0:00:26.350 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-I2G/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Saturday 10 August 2024 08:34:55 -0400 (0:00:00.017) 0:00:26.367 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-I2G/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Saturday 10 August 2024 08:34:55 -0400 (0:00:00.037) 0:00:26.405 ******* ok: [managed_node1] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "D7:84:54:C7:A9:85:6D:1A:92:A6:24:37:A4:32:9C:80:AF:14:3F:07" }, "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": "57:7E:2C:DA:D5:95:D6:6A:1E:A9:75:FC:E6:94:37:DF:75:73:43:AC" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "4E:FD:08:51:45:E7:90:C7:69:B7:B5:B6:B4:61:58:DC:DD:10:4A:CC:88:5C:EE:89:8D:52:F9:72:23:06:9A:D9:66:95:CF:89:BE:F7:12:8D:5D:28:0E:12:0C:EA:97:16:AC:0F:0B:0B:99:EA:77:55:51:73:4A:00:9A:C3:1A:C6:41:11:BE:36:93:57:34:1F:11:B2:55:73:35:74:5B:B9:A2:79:6E:AB:1E:BD:E6:3A:4A:BC:C9:DD:AA:B5:CD:2F:7E:C7:D5:19:4F:C9:A4:7C:AB:43:65:8A:AA:8F:AD:14:67:03:C2:4A:A9:C9:1D:F5:00:23:BE:4F:04:22:48:C7:55:0E:AF:71:2F:62:4A:06:49:41:84:7F:E1:EC:D4:5F:BB:32:D6:EC:28:39:A0:35:FA:2F:44:DF:E4:A4:60:B9:B1:8F:14:E9:BD:2B:DA:A3:71:AD:7C:2C:0D:C8:37:88:09:07:44:42:C7:B1:4F:2A:5C:8E:40:96:5A:5B:75:F3:AC:18:AD:DF:6B:50:25:DD:2C:59:95:0C:39:D7:7A:97:7C:CB:45:F8:14:83:12:A9:A4:DF:D7:A0:EC:AD:08:AE:7C:1B:69:64:03:8C:96:4D:BC:B9:60:7A:90:21:3C:E2:2B:95:DD:56:08:CF:FF:19:69:6C:B8:79:29:FC:F6:E6" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.net" } ], "validity": { "not_valid_after": "20250810122848Z", "not_valid_before": "20240810123441Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-I2G/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Saturday 10 August 2024 08:34:56 -0400 (0:00:00.370) 0:00:26.776 ******* ok: [managed_node1] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "D7:84:54:C7:A9:85:6D:1A:92:A6:24:37:A4:32:9C:80:AF:14:3F:07" }, "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": "57:7E:2C:DA:D5:95:D6:6A:1E:A9:75:FC:E6:94:37:DF:75:73:43:AC" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "4E:FD:08:51:45:E7:90:C7:69:B7:B5:B6:B4:61:58:DC:DD:10:4A:CC:88:5C:EE:89:8D:52:F9:72:23:06:9A:D9:66:95:CF:89:BE:F7:12:8D:5D:28:0E:12:0C:EA:97:16:AC:0F:0B:0B:99:EA:77:55:51:73:4A:00:9A:C3:1A:C6:41:11:BE:36:93:57:34:1F:11:B2:55:73:35:74:5B:B9:A2:79:6E:AB:1E:BD:E6:3A:4A:BC:C9:DD:AA:B5:CD:2F:7E:C7:D5:19:4F:C9:A4:7C:AB:43:65:8A:AA:8F:AD:14:67:03:C2:4A:A9:C9:1D:F5:00:23:BE:4F:04:22:48:C7:55:0E:AF:71:2F:62:4A:06:49:41:84:7F:E1:EC:D4:5F:BB:32:D6:EC:28:39:A0:35:FA:2F:44:DF:E4:A4:60:B9:B1:8F:14:E9:BD:2B:DA:A3:71:AD:7C:2C:0D:C8:37:88:09:07:44:42:C7:B1:4F:2A:5C:8E:40:96:5A:5B:75:F3:AC:18:AD:DF:6B:50:25:DD:2C:59:95:0C:39:D7:7A:97:7C:CB:45:F8:14:83:12:A9:A4:DF:D7:A0:EC:AD:08:AE:7C:1B:69:64:03:8C:96:4D:BC:B9:60:7A:90:21:3C:E2:2B:95:DD:56:08:CF:FF:19:69:6C:B8:79:29:FC:F6:E6" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.net" } ], "validity": { "not_valid_after": "20250810122848Z", "not_valid_before": "20240810123441Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-I2G/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Saturday 10 August 2024 08:34:56 -0400 (0:00:00.018) 0:00:26.794 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-I2G/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Saturday 10 August 2024 08:34:56 -0400 (0:00:00.035) 0:00:26.829 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-I2G/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Saturday 10 August 2024 08:34:56 -0400 (0:00:00.017) 0:00:26.847 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-I2G/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Saturday 10 August 2024 08:34:56 -0400 (0:00:00.035) 0:00:26.883 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-I2G/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Saturday 10 August 2024 08:34:56 -0400 (0:00:00.040) 0:00:26.924 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-I2G/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Saturday 10 August 2024 08:34:56 -0400 (0:00:00.039) 0:00:26.963 ******* ok: [managed_node1] => { "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.080820", "end": "2024-08-10 08:34:56.885663", "rc": 0, "start": "2024-08-10 08:34:56.804843" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-I2G/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Saturday 10 August 2024 08:34:56 -0400 (0:00:00.394) 0:00:27.358 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* managed_node1 : ok=68 changed=1 unreachable=0 failed=0 skipped=15 rescued=0 ignored=0 Saturday 10 August 2024 08:34:56 -0400 (0:00:00.045) 0:00:27.404 ******* =============================================================================== fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 3.23s /tmp/collections-I2G/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Ensure python3 is installed --------------------------------------------- 3.10s /tmp/collections-I2G/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 3.01s /tmp/collections-I2G/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Ensure python3 is installed --------------------------------------------- 2.92s /tmp/collections-I2G/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Ensure python3 is installed --------------------------------------------- 2.92s /tmp/collections-I2G/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 2.62s /tmp/collections-I2G/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Gathering Facts --------------------------------------------------------- 0.99s /tmp/collections-I2G/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:2 Gathering Facts --------------------------------------------------------- 0.71s /tmp/collections-I2G/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-I2G/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Retrieve auto-renew flag ------------------------------------------------ 0.49s /tmp/collections-I2G/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Parse certificate ------------------------------------------------------- 0.46s /tmp/collections-I2G/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.45s /tmp/collections-I2G/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 fedora.linux_system_roles.certificate : Check if system is ostree ------- 0.40s /tmp/collections-I2G/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Retrieve auto-renew flag ------------------------------------------------ 0.39s /tmp/collections-I2G/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Retrieve auto-renew flag ------------------------------------------------ 0.39s /tmp/collections-I2G/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Parse certificate ------------------------------------------------------- 0.37s /tmp/collections-I2G/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Parse certificate ------------------------------------------------------- 0.37s /tmp/collections-I2G/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists --- 0.35s /tmp/collections-I2G/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Retrieve certificate file stats ----------------------------------------- 0.32s /tmp/collections-I2G/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Retrieve key file stats ------------------------------------------------- 0.32s /tmp/collections-I2G/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65