ansible-playbook [core 2.16.13] 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-oX3 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-oX3/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-oX3/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:2 Monday 11 November 2024 20:08:32 -0500 (0:00:00.024) 0:00:00.024 ******* ok: [managed-node1] TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /tmp/collections-oX3/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Monday 11 November 2024 20:08:34 -0500 (0:00:01.231) 0:00:01.256 ******* included: /tmp/collections-oX3/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-oX3/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Monday 11 November 2024 20:08:34 -0500 (0:00:00.037) 0:00:01.294 ******* 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-oX3/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Monday 11 November 2024 20:08:34 -0500 (0:00:00.035) 0:00:01.329 ******* 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-oX3/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Monday 11 November 2024 20:08:34 -0500 (0:00:00.552) 0:00:01.882 ******* 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-oX3/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Monday 11 November 2024 20:08:34 -0500 (0:00:00.035) 0:00:01.918 ******* 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-oX3/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Monday 11 November 2024 20:08:34 -0500 (0:00:00.050) 0:00:01.969 ******* 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-oX3/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Monday 11 November 2024 20:08:38 -0500 (0:00:03.368) 0:00:05.338 ******* 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-oX3/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Monday 11 November 2024 20:08:41 -0500 (0:00:02.949) 0:00:08.287 ******* changed: [managed-node1] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "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-oX3/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Monday 11 November 2024 20:08:41 -0500 (0:00:00.543) 0:00:08.831 ******* changed: [managed-node1] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "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-oX3/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Monday 11 November 2024 20:08:41 -0500 (0:00:00.365) 0:00:09.196 ******* changed: [managed-node1] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "enabled": true, "name": "certmonger", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "dbus.service network.target basic.target sysinit.target dbus.socket system.slice syslog.target systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "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": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "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": "0", "ExecMainStartTimestampMonotonic": "0", "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", "InactiveExitTimestampMonotonic": "0", "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": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "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]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22405", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "UtmpMode": "init", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.certificate : Ensure certificate requests] ***** task path: /tmp/collections-oX3/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Monday 11 November 2024 20:08:43 -0500 (0:00:01.049) 0:00:10.245 ******* 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-oX3/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Monday 11 November 2024 20:08:45 -0500 (0:00:02.453) 0:00:12.699 ******* 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-oX3/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Monday 11 November 2024 20:08:45 -0500 (0:00:00.079) 0:00:12.778 ******* 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-oX3/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Monday 11 November 2024 20:08:45 -0500 (0:00:00.035) 0:00:12.814 ******* 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-oX3/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Monday 11 November 2024 20:08:45 -0500 (0:00:00.036) 0:00:12.850 ******* 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-oX3/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:18 Monday 11 November 2024 20:08:45 -0500 (0:00:00.047) 0:00:12.898 ******* ok: [managed-node1] TASK [Verify each certificate] ************************************************* task path: /tmp/collections-oX3/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:50 Monday 11 November 2024 20:08:46 -0500 (0:00:00.795) 0:00:13.693 ******* included: /tmp/collections-oX3/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-oX3/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-oX3/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-oX3/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Monday 11 November 2024 20:08:46 -0500 (0:00:00.132) 0:00:13.825 ******* ok: [managed-node1] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-oX3/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Monday 11 November 2024 20:08:46 -0500 (0:00:00.024) 0:00:13.850 ******* 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-oX3/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Monday 11 November 2024 20:08:46 -0500 (0:00:00.028) 0:00:13.879 ******* 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-oX3/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Monday 11 November 2024 20:08:46 -0500 (0:00:00.028) 0:00:13.907 ******* 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-oX3/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Monday 11 November 2024 20:08:46 -0500 (0:00:00.018) 0:00:13.926 ******* 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-oX3/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Monday 11 November 2024 20:08:49 -0500 (0:00:02.923) 0:00:16.850 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731373723.7047167, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "ca655bda1087c63416a0663a7040554ce3f91823", "ctime": 1731373723.7017167, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6986923, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1731373723.7017167, "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": "4160090608", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-oX3/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Monday 11 November 2024 20:08:50 -0500 (0:00:00.389) 0:00:17.240 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-oX3/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Monday 11 November 2024 20:08:50 -0500 (0:00:00.018) 0:00:17.258 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-oX3/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Monday 11 November 2024 20:08:50 -0500 (0:00:00.041) 0:00:17.300 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-oX3/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Monday 11 November 2024 20:08:50 -0500 (0:00:00.038) 0:00:17.338 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731373723.6537166, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "acc40657fc3a4c8a494020810d4fbef77d32eb17", "ctime": 1731373723.7017167, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6986922, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1731373723.7017167, "nlink": 1, "path": "/etc/pki/tls/private/mycert_many_self_signed.key", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1704, "uid": 0, "version": "2705325448", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-oX3/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Monday 11 November 2024 20:08:50 -0500 (0:00:00.369) 0:00:17.708 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-oX3/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Monday 11 November 2024 20:08:50 -0500 (0:00:00.027) 0:00:17.735 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-oX3/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Monday 11 November 2024 20:08:50 -0500 (0:00:00.055) 0:00:17.790 ******* ok: [managed-node1] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "65:13:19:0F:91:5B:04:42:A9:E8:92:5C:05:7B:DD:BC:71:99:B0:1F" }, "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": "AC:B3:C6:DD:52:05:FD:16:CD:EC:94:A3:80:A6:02:50:A0:82:49:E2" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "19:E9:21:7E:1F:0B:38:AF:2E:EC:15:7E:D1:BC:F7:AB:A0:DF:E1:42:98:EF:80:19:46:4D:4F:F0:B2:AE:C4:B2:16:40:37:1D:4B:AF:39:39:09:22:92:AE:7F:52:B3:C9:A9:1A:3D:FD:7D:5F:13:76:BE:81:C7:01:83:24:E2:FC:5E:3B:39:2B:3B:EA:CA:CC:EE:1F:65:BB:23:37:A8:16:D6:5B:B0:8E:8B:8D:51:F6:D4:78:80:D5:6A:6B:EA:56:E2:AD:5F:9E:BE:2B:05:9B:AD:1A:3F:14:4F:61:22:90:B9:A9:CB:EF:DF:A8:94:11:E2:B8:64:00:D5:A6:0E:13:06:DB:2C:69:4E:A5:35:64:C8:60:A7:77:7B:5C:ED:58:17:90:23:99:84:6B:41:EC:1C:D1:70:F4:6A:3B:1D:DE:91:71:5C:A5:77:CE:CE:2E:31:ED:CA:5B:BF:7C:51:31:C2:29:F5:80:C5:6A:96:34:2B:3C:A9:4A:71:A0:D0:18:05:D1:CF:14:10:7E:BC:7C:C0:0D:95:86:6F:85:C9:A1:7C:2B:FF:9A:40:47:E1:D9:36:5A:67:C7:EF:AF:0F:58:78:D0:B4:2E:EA:B6:13:BA:C9:B4:B1:96:C3:96:EC:4C:40:1F:E7:4F:77:CF:C6:6D:65:98:47:F6:DC:9A:DA:94" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20251112010843Z", "not_valid_before": "20241112010843Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-oX3/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Monday 11 November 2024 20:08:51 -0500 (0:00:00.530) 0:00:18.321 ******* ok: [managed-node1] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "65:13:19:0F:91:5B:04:42:A9:E8:92:5C:05:7B:DD:BC:71:99:B0:1F" }, "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": "AC:B3:C6:DD:52:05:FD:16:CD:EC:94:A3:80:A6:02:50:A0:82:49:E2" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "19:E9:21:7E:1F:0B:38:AF:2E:EC:15:7E:D1:BC:F7:AB:A0:DF:E1:42:98:EF:80:19:46:4D:4F:F0:B2:AE:C4:B2:16:40:37:1D:4B:AF:39:39:09:22:92:AE:7F:52:B3:C9:A9:1A:3D:FD:7D:5F:13:76:BE:81:C7:01:83:24:E2:FC:5E:3B:39:2B:3B:EA:CA:CC:EE:1F:65:BB:23:37:A8:16:D6:5B:B0:8E:8B:8D:51:F6:D4:78:80:D5:6A:6B:EA:56:E2:AD:5F:9E:BE:2B:05:9B:AD:1A:3F:14:4F:61:22:90:B9:A9:CB:EF:DF:A8:94:11:E2:B8:64:00:D5:A6:0E:13:06:DB:2C:69:4E:A5:35:64:C8:60:A7:77:7B:5C:ED:58:17:90:23:99:84:6B:41:EC:1C:D1:70:F4:6A:3B:1D:DE:91:71:5C:A5:77:CE:CE:2E:31:ED:CA:5B:BF:7C:51:31:C2:29:F5:80:C5:6A:96:34:2B:3C:A9:4A:71:A0:D0:18:05:D1:CF:14:10:7E:BC:7C:C0:0D:95:86:6F:85:C9:A1:7C:2B:FF:9A:40:47:E1:D9:36:5A:67:C7:EF:AF:0F:58:78:D0:B4:2E:EA:B6:13:BA:C9:B4:B1:96:C3:96:EC:4C:40:1F:E7:4F:77:CF:C6:6D:65:98:47:F6:DC:9A:DA:94" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20251112010843Z", "not_valid_before": "20241112010843Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-oX3/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Monday 11 November 2024 20:08:51 -0500 (0:00:00.024) 0:00:18.345 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-oX3/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Monday 11 November 2024 20:08:51 -0500 (0:00:00.048) 0:00:18.393 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-oX3/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Monday 11 November 2024 20:08:51 -0500 (0:00:00.023) 0:00:18.416 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-oX3/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Monday 11 November 2024 20:08:51 -0500 (0:00:00.043) 0:00:18.460 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-oX3/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Monday 11 November 2024 20:08:51 -0500 (0:00:00.054) 0:00:18.514 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-oX3/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Monday 11 November 2024 20:08:51 -0500 (0:00:00.048) 0:00:18.563 ******* 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.050145", "end": "2024-11-11 20:08:51.822171", "rc": 0, "start": "2024-11-11 20:08:51.772026" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-oX3/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Monday 11 November 2024 20:08:51 -0500 (0:00:00.540) 0:00:19.103 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-oX3/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Monday 11 November 2024 20:08:51 -0500 (0:00:00.060) 0:00:19.163 ******* ok: [managed-node1] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-oX3/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Monday 11 November 2024 20:08:51 -0500 (0:00:00.017) 0:00:19.181 ******* 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-oX3/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Monday 11 November 2024 20:08:51 -0500 (0:00:00.027) 0:00:19.208 ******* 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-oX3/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Monday 11 November 2024 20:08:52 -0500 (0:00:00.048) 0:00:19.257 ******* 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-oX3/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Monday 11 November 2024 20:08:52 -0500 (0:00:00.020) 0:00:19.277 ******* 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-oX3/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Monday 11 November 2024 20:08:55 -0500 (0:00:03.020) 0:00:22.298 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731373724.5507169, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "56619e674c00356172a6d42f7121dc81b7970217", "ctime": 1731373724.5477169, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6986928, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1731373724.5477169, "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": "4052729449", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-oX3/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Monday 11 November 2024 20:08:55 -0500 (0:00:00.334) 0:00:22.633 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-oX3/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Monday 11 November 2024 20:08:55 -0500 (0:00:00.018) 0:00:22.651 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-oX3/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Monday 11 November 2024 20:08:55 -0500 (0:00:00.042) 0:00:22.694 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-oX3/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Monday 11 November 2024 20:08:55 -0500 (0:00:00.050) 0:00:22.745 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731373724.4827168, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "657716e6c564cc60b72131363d6db0899b0d32d9", "ctime": 1731373724.5477169, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6986926, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1731373724.5477169, "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": "435934877", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-oX3/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Monday 11 November 2024 20:08:55 -0500 (0:00:00.368) 0:00:23.113 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-oX3/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Monday 11 November 2024 20:08:55 -0500 (0:00:00.029) 0:00:23.143 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-oX3/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Monday 11 November 2024 20:08:55 -0500 (0:00:00.063) 0:00:23.206 ******* ok: [managed-node1] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "65:13:19:0F:91:5B:04:42:A9:E8:92:5C:05:7B:DD:BC:71:99:B0:1F" }, "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": "66:83:89:B6:70:09:43:03:21:31:9A:74:9B:96:DB:A5:A5:24:A0:E2" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "6F:88:07:44:E3:A1:BC:25:58:9A:F6:A8:2F:0E:67:DC:71:31:3D:29:1C:75:69:C0:53:96:4F:C9:25:C1:57:79:F4:2B:0F:34:1F:71:1F:9A:06:98:65:C6:23:5D:A1:42:16:81:5C:F0:9B:47:B1:95:E5:AC:89:BE:EC:88:D9:6A:FF:B1:D3:E8:BE:0B:DA:C2:5F:DE:D7:A1:32:54:1A:7C:EE:4C:39:D3:5D:54:D2:4E:39:57:BC:F6:9D:C3:CA:A3:63:87:98:D8:6A:1B:5F:E6:2E:58:D9:79:DB:DB:1A:E7:1F:F7:65:AB:89:12:FF:FB:7A:85:8F:DA:FE:51:46:F4:A0:BC:D1:B7:70:D8:E8:09:4D:B4:57:47:49:BB:77:19:DB:C3:38:AD:12:4A:09:DA:7F:42:17:8A:5C:45:D5:68:45:69:43:67:06:47:32:98:63:3F:4C:26:F6:D5:15:0B:30:6D:0B:AF:54:3D:23:B4:30:ED:56:63:C8:BB:9B:92:B5:2A:40:12:9D:7C:6D:6D:76:56:96:D2:0B:80:64:96:E0:27:4A:B2:4E:3E:B4:64:2A:95:E7:14:52:CA:03:01:62:C0:B4:F0:14:06:50:45:13:24:17:78:09:9C:6F:DE:FC:97:C9:A3:7C:F4:12:BE:DB:88:94:C1:6E:29:51:2D" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.org" } ], "validity": { "not_valid_after": "20251112010843Z", "not_valid_before": "20241112010844Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-oX3/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Monday 11 November 2024 20:08:56 -0500 (0:00:00.410) 0:00:23.616 ******* ok: [managed-node1] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "65:13:19:0F:91:5B:04:42:A9:E8:92:5C:05:7B:DD:BC:71:99:B0:1F" }, "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": "66:83:89:B6:70:09:43:03:21:31:9A:74:9B:96:DB:A5:A5:24:A0:E2" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "6F:88:07:44:E3:A1:BC:25:58:9A:F6:A8:2F:0E:67:DC:71:31:3D:29:1C:75:69:C0:53:96:4F:C9:25:C1:57:79:F4:2B:0F:34:1F:71:1F:9A:06:98:65:C6:23:5D:A1:42:16:81:5C:F0:9B:47:B1:95:E5:AC:89:BE:EC:88:D9:6A:FF:B1:D3:E8:BE:0B:DA:C2:5F:DE:D7:A1:32:54:1A:7C:EE:4C:39:D3:5D:54:D2:4E:39:57:BC:F6:9D:C3:CA:A3:63:87:98:D8:6A:1B:5F:E6:2E:58:D9:79:DB:DB:1A:E7:1F:F7:65:AB:89:12:FF:FB:7A:85:8F:DA:FE:51:46:F4:A0:BC:D1:B7:70:D8:E8:09:4D:B4:57:47:49:BB:77:19:DB:C3:38:AD:12:4A:09:DA:7F:42:17:8A:5C:45:D5:68:45:69:43:67:06:47:32:98:63:3F:4C:26:F6:D5:15:0B:30:6D:0B:AF:54:3D:23:B4:30:ED:56:63:C8:BB:9B:92:B5:2A:40:12:9D:7C:6D:6D:76:56:96:D2:0B:80:64:96:E0:27:4A:B2:4E:3E:B4:64:2A:95:E7:14:52:CA:03:01:62:C0:B4:F0:14:06:50:45:13:24:17:78:09:9C:6F:DE:FC:97:C9:A3:7C:F4:12:BE:DB:88:94:C1:6E:29:51:2D" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.org" } ], "validity": { "not_valid_after": "20251112010843Z", "not_valid_before": "20241112010844Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-oX3/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Monday 11 November 2024 20:08:56 -0500 (0:00:00.031) 0:00:23.648 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-oX3/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Monday 11 November 2024 20:08:56 -0500 (0:00:00.067) 0:00:23.715 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-oX3/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Monday 11 November 2024 20:08:56 -0500 (0:00:00.030) 0:00:23.746 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-oX3/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Monday 11 November 2024 20:08:56 -0500 (0:00:00.049) 0:00:23.796 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-oX3/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Monday 11 November 2024 20:08:56 -0500 (0:00:00.073) 0:00:23.870 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-oX3/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Monday 11 November 2024 20:08:56 -0500 (0:00:00.064) 0:00:23.935 ******* 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.050261", "end": "2024-11-11 20:08:57.055442", "rc": 0, "start": "2024-11-11 20:08:57.005181" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-oX3/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Monday 11 November 2024 20:08:57 -0500 (0:00:00.423) 0:00:24.359 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-oX3/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Monday 11 November 2024 20:08:57 -0500 (0:00:00.059) 0:00:24.418 ******* ok: [managed-node1] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-oX3/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Monday 11 November 2024 20:08:57 -0500 (0:00:00.021) 0:00:24.440 ******* 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-oX3/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Monday 11 November 2024 20:08:57 -0500 (0:00:00.027) 0:00:24.468 ******* 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-oX3/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Monday 11 November 2024 20:08:57 -0500 (0:00:00.028) 0:00:24.496 ******* 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-oX3/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Monday 11 November 2024 20:08:57 -0500 (0:00:00.023) 0:00:24.520 ******* 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-oX3/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Monday 11 November 2024 20:09:00 -0500 (0:00:03.066) 0:00:27.587 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731373725.328717, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "4fc79c231a719066fadf32c3c98bb5375a8a2387", "ctime": 1731373725.3257172, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6986930, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1731373725.3257172, "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": "1261072635", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-oX3/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Monday 11 November 2024 20:09:00 -0500 (0:00:00.358) 0:00:27.945 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-oX3/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Monday 11 November 2024 20:09:00 -0500 (0:00:00.020) 0:00:27.966 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-oX3/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Monday 11 November 2024 20:09:00 -0500 (0:00:00.044) 0:00:28.010 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-oX3/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Monday 11 November 2024 20:09:00 -0500 (0:00:00.038) 0:00:28.049 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731373725.274717, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d776c011de4fd03f84f97a1ca5c8c1fde6fbb1b9", "ctime": 1731373725.3257172, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6986929, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1731373725.3257172, "nlink": 1, "path": "/etc/pki/tls/private/another-cert.key", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1708, "uid": 0, "version": "2512284287", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-oX3/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Monday 11 November 2024 20:09:01 -0500 (0:00:00.523) 0:00:28.572 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-oX3/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Monday 11 November 2024 20:09:01 -0500 (0:00:00.062) 0:00:28.635 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-oX3/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Monday 11 November 2024 20:09:01 -0500 (0:00:00.064) 0:00:28.699 ******* ok: [managed-node1] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "65:13:19:0F:91:5B:04:42:A9:E8:92:5C:05:7B:DD:BC:71:99:B0:1F" }, "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": "D2:A1:76:8E:4A:44:49:AB:B3:A5:18:F9:17:13:C0:9E:7F:B6:93:1C" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "95:4A:BD:46:1A:5B:69:24:60:B8:C6:6B:56:33:6C:E8:8E:2E:DF:6D:86:AE:F7:A5:63:A2:48:30:52:E2:01:89:79:8F:CD:BB:C4:FA:91:0E:10:76:A2:6C:1C:B8:27:DC:FB:F9:93:37:59:A2:62:AE:4C:A4:9F:6D:74:3D:CA:1D:F1:D1:26:8B:0C:9B:82:80:4B:71:9F:2F:4C:C9:E7:76:7B:02:26:81:39:4F:E3:84:B8:30:C5:E1:2C:8D:2E:53:B2:DD:65:63:5C:84:7A:88:45:94:A7:11:1C:29:C9:80:79:21:E0:5A:FF:F3:DF:AA:FF:02:E0:78:6F:C3:23:A6:E2:D0:A6:65:27:82:60:31:10:80:99:53:11:06:46:63:1D:03:83:F3:E9:7D:A5:B7:7D:CE:39:B7:68:BE:BF:BB:8C:14:4A:CB:4C:5F:29:83:EE:2F:D0:93:D6:6F:CB:FB:A5:39:0E:C4:FA:E0:FF:47:29:DE:1A:AC:35:A2:C5:F1:9E:C0:77:EE:65:BB:86:7A:EC:73:11:13:56:B5:29:4A:D3:37:75:A8:0A:ED:E8:1C:A2:D8:CD:43:71:F8:84:47:07:86:1E:AC:93:85:98:88:EB:A2:0A:7C:31:2C:E2:05:70:8E:B4:9A:7F:77:ED:9B:87:B4:93:72:22:01:2C:4F" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.net" } ], "validity": { "not_valid_after": "20251112010843Z", "not_valid_before": "20241112010845Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-oX3/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Monday 11 November 2024 20:09:01 -0500 (0:00:00.433) 0:00:29.133 ******* ok: [managed-node1] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "65:13:19:0F:91:5B:04:42:A9:E8:92:5C:05:7B:DD:BC:71:99:B0:1F" }, "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": "D2:A1:76:8E:4A:44:49:AB:B3:A5:18:F9:17:13:C0:9E:7F:B6:93:1C" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "95:4A:BD:46:1A:5B:69:24:60:B8:C6:6B:56:33:6C:E8:8E:2E:DF:6D:86:AE:F7:A5:63:A2:48:30:52:E2:01:89:79:8F:CD:BB:C4:FA:91:0E:10:76:A2:6C:1C:B8:27:DC:FB:F9:93:37:59:A2:62:AE:4C:A4:9F:6D:74:3D:CA:1D:F1:D1:26:8B:0C:9B:82:80:4B:71:9F:2F:4C:C9:E7:76:7B:02:26:81:39:4F:E3:84:B8:30:C5:E1:2C:8D:2E:53:B2:DD:65:63:5C:84:7A:88:45:94:A7:11:1C:29:C9:80:79:21:E0:5A:FF:F3:DF:AA:FF:02:E0:78:6F:C3:23:A6:E2:D0:A6:65:27:82:60:31:10:80:99:53:11:06:46:63:1D:03:83:F3:E9:7D:A5:B7:7D:CE:39:B7:68:BE:BF:BB:8C:14:4A:CB:4C:5F:29:83:EE:2F:D0:93:D6:6F:CB:FB:A5:39:0E:C4:FA:E0:FF:47:29:DE:1A:AC:35:A2:C5:F1:9E:C0:77:EE:65:BB:86:7A:EC:73:11:13:56:B5:29:4A:D3:37:75:A8:0A:ED:E8:1C:A2:D8:CD:43:71:F8:84:47:07:86:1E:AC:93:85:98:88:EB:A2:0A:7C:31:2C:E2:05:70:8E:B4:9A:7F:77:ED:9B:87:B4:93:72:22:01:2C:4F" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.net" } ], "validity": { "not_valid_after": "20251112010843Z", "not_valid_before": "20241112010845Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-oX3/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Monday 11 November 2024 20:09:01 -0500 (0:00:00.023) 0:00:29.156 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-oX3/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Monday 11 November 2024 20:09:01 -0500 (0:00:00.042) 0:00:29.198 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-oX3/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Monday 11 November 2024 20:09:01 -0500 (0:00:00.020) 0:00:29.218 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-oX3/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Monday 11 November 2024 20:09:02 -0500 (0:00:00.043) 0:00:29.262 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-oX3/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Monday 11 November 2024 20:09:02 -0500 (0:00:00.051) 0:00:29.314 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-oX3/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Monday 11 November 2024 20:09:02 -0500 (0:00:00.042) 0:00:29.356 ******* 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.050477", "end": "2024-11-11 20:09:02.449173", "rc": 0, "start": "2024-11-11 20:09:02.398696" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-oX3/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Monday 11 November 2024 20:09:02 -0500 (0:00:00.373) 0:00:29.730 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* managed-node1 : ok=68 changed=4 unreachable=0 failed=0 skipped=15 rescued=0 ignored=0 Monday 11 November 2024 20:09:02 -0500 (0:00:00.037) 0:00:29.768 ******* =============================================================================== fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 3.37s /tmp/collections-oX3/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Ensure python3 is installed --------------------------------------------- 3.07s /tmp/collections-oX3/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Ensure python3 is installed --------------------------------------------- 3.02s /tmp/collections-oX3/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 2.95s /tmp/collections-oX3/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Ensure python3 is installed --------------------------------------------- 2.92s /tmp/collections-oX3/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 2.45s /tmp/collections-oX3/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Gathering Facts --------------------------------------------------------- 1.23s /tmp/collections-oX3/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:2 fedora.linux_system_roles.certificate : Ensure provider service is running --- 1.05s /tmp/collections-oX3/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Gathering Facts --------------------------------------------------------- 0.80s /tmp/collections-oX3/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:18 fedora.linux_system_roles.certificate : Check if system is ostree ------- 0.55s /tmp/collections-oX3/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists --- 0.54s /tmp/collections-oX3/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Retrieve auto-renew flag ------------------------------------------------ 0.54s /tmp/collections-oX3/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Parse certificate ------------------------------------------------------- 0.53s /tmp/collections-oX3/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Retrieve key file stats ------------------------------------------------- 0.52s /tmp/collections-oX3/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Parse certificate ------------------------------------------------------- 0.43s /tmp/collections-oX3/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Retrieve auto-renew flag ------------------------------------------------ 0.42s /tmp/collections-oX3/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Parse certificate ------------------------------------------------------- 0.41s /tmp/collections-oX3/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Retrieve certificate file stats ----------------------------------------- 0.39s /tmp/collections-oX3/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Retrieve auto-renew flag ------------------------------------------------ 0.37s /tmp/collections-oX3/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Retrieve key file stats ------------------------------------------------- 0.37s /tmp/collections-oX3/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65