ansible-playbook [core 2.17.5] config file = /etc/ansible/ansible.cfg 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-8Ko executable location = /usr/local/bin/ansible-playbook python version = 3.12.6 (main, Sep 9 2024, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-2)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True Using /etc/ansible/ansible.cfg as config file 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-8Ko/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-8Ko/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:2 Saturday 02 November 2024 08:27:31 -0400 (0:00:00.013) 0:00:00.013 ***** [WARNING]: Platform linux on host managed-node2 is using the discovered Python interpreter at /usr/bin/python3.9, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed-node2] TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Saturday 02 November 2024 08:27:33 -0400 (0:00:01.163) 0:00:01.177 ***** included: /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.certificate : Ensure ansible_facts used by role] *** task path: /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Saturday 02 November 2024 08:27:33 -0400 (0:00:00.019) 0:00:01.196 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__certificate_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Check if system is ostree] ******* task path: /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Saturday 02 November 2024 08:27:33 -0400 (0:00:00.034) 0:00:01.231 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.certificate : Set flag to indicate system is ostree] *** task path: /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Saturday 02 November 2024 08:27:33 -0400 (0:00:00.450) 0:00:01.681 ***** ok: [managed-node2] => { "ansible_facts": { "__certificate_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.certificate : Set platform/version specific variables] *** task path: /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Saturday 02 November 2024 08:27:33 -0400 (0:00:00.034) 0:00:01.716 ***** skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node2] => (item=CentOS_9.yml) => { "ansible_facts": { "__certificate_certmonger_packages": [ "certmonger", "python3-packaging" ] }, "ansible_included_var_files": [ "/tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/roles/certificate/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } ok: [managed-node2] => (item=CentOS_9.yml) => { "ansible_facts": { "__certificate_certmonger_packages": [ "certmonger", "python3-packaging" ] }, "ansible_included_var_files": [ "/tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/roles/certificate/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } TASK [fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed] *** task path: /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Saturday 02 November 2024 08:27:33 -0400 (0:00:00.071) 0:00:01.787 ***** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: python3-cryptography python3-dbus python3-pyasn1 TASK [fedora.linux_system_roles.certificate : Ensure provider packages are installed] *** task path: /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Saturday 02 November 2024 08:27:35 -0400 (0:00:01.512) 0:00:03.300 ***** ok: [managed-node2] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: certmonger python3-packaging TASK [fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists] *** task path: /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Saturday 02 November 2024 08:27:36 -0400 (0:00:01.328) 0:00:04.628 ***** ok: [managed-node2] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/etc/certmonger//pre-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists] *** task path: /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Saturday 02 November 2024 08:27:37 -0400 (0:00:00.485) 0:00:05.113 ***** ok: [managed-node2] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/etc/certmonger//post-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure provider service is running] *** task path: /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Saturday 02 November 2024 08:27:37 -0400 (0:00:00.413) 0:00:05.527 ***** ok: [managed-node2] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "enabled": true, "name": "certmonger", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:certmonger_unit_file_t:s0", "ActiveEnterTimestamp": "Sat 2024-11-02 08:26:37 EDT", "ActiveEnterTimestampMonotonic": "272816569", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus-broker.service basic.target sysinit.target network.target systemd-journald.socket dbus.socket system.slice syslog.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-11-02 08:26:37 EDT", "AssertTimestampMonotonic": "272798268", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedorahosted.certmonger", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "1504434000", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-11-02 08:26:37 EDT", "ConditionTimestampMonotonic": "272798265", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/certmonger.service", "ControlGroupId": "4174", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Certificate monitoring and PKI enrollment", "DevicePolicy": "auto", "DynamicUser": "no", "EnvironmentFiles": "/etc/sysconfig/certmonger (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "7309", "ExecMainStartTimestamp": "Sat 2024-11-02 08:26:37 EDT", "ExecMainStartTimestampMonotonic": "272808244", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /run/certmonger.pid -n $OPTS ; ignore_errors=no ; start_time=[Sat 2024-11-02 08:26:37 EDT] ; stop_time=[n/a] ; pid=7309 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /run/certmonger.pid -n $OPTS ; flags= ; start_time=[Sat 2024-11-02 08:26:37 EDT] ; stop_time=[n/a] ; pid=7309 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/certmonger.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "certmonger.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2024-11-02 08:26:37 EDT", "InactiveExitTimestampMonotonic": "272808523", "InvocationID": "29fe512649ff48abb9963ff23acf2ec2", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "13955", "LimitNPROCSoft": "13955", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13955", "LimitSIGPENDINGSoft": "13955", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "7309", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "4743168", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "certmonger.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "PIDFile": "/run/certmonger.pid", "PartOf": "dbus-broker.service", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice dbus.socket", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2024-11-02 08:26:37 EDT", "StateChangeTimestampMonotonic": "272816569", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "1", "TasksMax": "22328", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.certificate : Ensure certificate requests] ***** task path: /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Saturday 02 November 2024 08:27:38 -0400 (0:00:00.736) 0:00:06.264 ***** changed: [managed-node2] => (item={'name': 'mycert_many_self_signed', 'dns': 'www.example.com', 'ca': 'self-sign'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ca": "self-sign", "dns": "www.example.com", "name": "mycert_many_self_signed" } } MSG: Certificate requested (new). changed: [managed-node2] => (item={'name': 'other-cert', 'dns': 'www.example.org', 'ca': 'self-sign'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ca": "self-sign", "dns": "www.example.org", "name": "other-cert" } } MSG: Certificate requested (new). changed: [managed-node2] => (item={'name': 'another-cert', 'dns': 'www.example.net', 'ca': 'self-sign'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ca": "self-sign", "dns": "www.example.net", "name": "another-cert" } } MSG: Certificate requested (new). TASK [fedora.linux_system_roles.certificate : Slurp the contents of the files] *** task path: /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Saturday 02 November 2024 08:27:40 -0400 (0:00:02.404) 0:00:08.668 ***** skipping: [managed-node2] => (item=['cert', {'name': 'mycert_many_self_signed', 'dns': 'www.example.com', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "cert", { "ca": "self-sign", "dns": "www.example.com", "name": "mycert_many_self_signed" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=['cert', {'name': 'other-cert', 'dns': 'www.example.org', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "cert", { "ca": "self-sign", "dns": "www.example.org", "name": "other-cert" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=['cert', {'name': 'another-cert', 'dns': 'www.example.net', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "cert", { "ca": "self-sign", "dns": "www.example.net", "name": "another-cert" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=['key', {'name': 'mycert_many_self_signed', 'dns': 'www.example.com', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "key", { "ca": "self-sign", "dns": "www.example.com", "name": "mycert_many_self_signed" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=['key', {'name': 'other-cert', 'dns': 'www.example.org', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "key", { "ca": "self-sign", "dns": "www.example.org", "name": "other-cert" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=['key', {'name': 'another-cert', 'dns': 'www.example.net', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "key", { "ca": "self-sign", "dns": "www.example.net", "name": "another-cert" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=['ca', {'name': 'mycert_many_self_signed', 'dns': 'www.example.com', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "ca", { "ca": "self-sign", "dns": "www.example.com", "name": "mycert_many_self_signed" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=['ca', {'name': 'other-cert', 'dns': 'www.example.org', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "ca", { "ca": "self-sign", "dns": "www.example.org", "name": "other-cert" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=['ca', {'name': 'another-cert', 'dns': 'www.example.net', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "ca", { "ca": "self-sign", "dns": "www.example.net", "name": "another-cert" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node2] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.certificate : Create return data] ************** task path: /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Saturday 02 November 2024 08:27:40 -0400 (0:00:00.066) 0:00:08.735 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "certificate_test_mode | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Stop tracking certificates] ****** task path: /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Saturday 02 November 2024 08:27:40 -0400 (0:00:00.032) 0:00:08.767 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "certificate_test_mode | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Remove files] ******************** task path: /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Saturday 02 November 2024 08:27:40 -0400 (0:00:00.034) 0:00:08.801 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "certificate_test_mode | d(false)", "skip_reason": "Conditional result was False" } PLAY [Verify certificate] ****************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:18 Saturday 02 November 2024 08:27:40 -0400 (0:00:00.056) 0:00:08.858 ***** ok: [managed-node2] TASK [Verify each certificate] ************************************************* task path: /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:50 Saturday 02 November 2024 08:27:41 -0400 (0:00:00.758) 0:00:09.617 ***** included: /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node2 => (item={'path': '/etc/pki/tls/certs/mycert_many_self_signed.crt', 'key_path': '/etc/pki/tls/private/mycert_many_self_signed.key', 'subject': [{'name': 'commonName', 'oid': '2.5.4.3', 'value': 'www.example.com'}], 'subject_alt_name': [{'name': 'DNS', 'value': 'www.example.com'}]}) included: /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node2 => (item={'path': '/etc/pki/tls/certs/other-cert.crt', 'key_path': '/etc/pki/tls/private/other-cert.key', 'subject': [{'name': 'commonName', 'oid': '2.5.4.3', 'value': 'www.example.org'}], 'subject_alt_name': [{'name': 'DNS', 'value': 'www.example.org'}]}) included: /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node2 => (item={'path': '/etc/pki/tls/certs/another-cert.crt', 'key_path': '/etc/pki/tls/private/another-cert.key', 'subject': [{'name': 'commonName', 'oid': '2.5.4.3', 'value': 'www.example.net'}], 'subject_alt_name': [{'name': 'DNS', 'value': 'www.example.net'}]}) TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Saturday 02 November 2024 08:27:41 -0400 (0:00:00.132) 0:00:09.749 ***** ok: [managed-node2] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Saturday 02 November 2024 08:27:41 -0400 (0:00:00.023) 0:00:09.773 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Saturday 02 November 2024 08:27:41 -0400 (0:00:00.030) 0:00:09.804 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Saturday 02 November 2024 08:27:41 -0400 (0:00:00.028) 0:00:09.832 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version == \"7\"", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Saturday 02 November 2024 08:27:41 -0400 (0:00:00.026) 0:00:09.859 ***** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: python3-cryptography python3-pyasn1 TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Saturday 02 November 2024 08:27:43 -0400 (0:00:01.318) 0:00:11.178 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1730550458.9768732, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a0876de78849b01f54fa7e91060dc47d1e123d57", "ctime": 1730550458.9738731, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 13270013, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1730550458.9738731, "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": "3871635402", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Saturday 02 November 2024 08:27:43 -0400 (0:00:00.342) 0:00:11.520 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Saturday 02 November 2024 08:27:43 -0400 (0:00:00.019) 0:00:11.539 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Saturday 02 November 2024 08:27:43 -0400 (0:00:00.040) 0:00:11.580 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Saturday 02 November 2024 08:27:43 -0400 (0:00:00.038) 0:00:11.618 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1730550458.9278731, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b738d8787d3ec8aa95f0c8684cee1df3e2cdc7e1", "ctime": 1730550458.9738731, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 9073519, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1730550458.9738731, "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": "251936903", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Saturday 02 November 2024 08:27:43 -0400 (0:00:00.347) 0:00:11.966 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Saturday 02 November 2024 08:27:43 -0400 (0:00:00.018) 0:00:11.984 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Saturday 02 November 2024 08:27:44 -0400 (0:00:00.046) 0:00:12.031 ***** ok: [managed-node2] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "59:38:28:DA:D3:7A:83:F7:61:BF:B6:D4:32:35:45:6D:AE:70:D9:85" }, "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": "49:A8:C4:A0:51:19:DF:46:C8:2C:D3:7D:3D:2D:A3:E4:55:B8:DC:35" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "BA:3C:B2:52:BE:CD:7B:73:BA:B7:D0:69:8C:55:85:98:1C:9C:9B:30:38:7D:45:23:E1:79:B8:6A:E9:45:3A:09:17:74:22:D8:3F:06:87:F6:60:71:DC:E4:31:35:BC:16:04:EF:71:23:21:C2:91:67:77:56:D2:0F:51:3D:73:83:A2:F6:23:F4:02:68:3B:7F:82:6E:C6:E0:29:9F:A9:72:C2:99:B7:29:5D:B7:6A:0E:BD:6B:09:5C:FB:D7:B6:06:2F:8F:33:06:7B:B2:39:49:F2:FA:51:AC:34:D1:FC:8D:F0:F3:FD:1D:F6:7A:C5:43:C3:C9:B4:77:79:BD:D3:D4:92:79:E4:B8:8B:0A:3F:E8:A5:19:8C:DD:ED:D7:11:85:08:87:58:9E:A3:5F:AB:CA:88:EE:56:C5:53:61:F8:24:52:0D:FB:47:5E:46:79:62:B5:DF:6A:EF:94:10:27:B4:A2:EE:6D:3C:9D:88:19:0F:53:05:04:F5:81:37:C8:DB:D6:D2:1A:8F:A5:66:BE:41:62:F8:3A:FE:54:39:D2:33:76:AD:99:7C:F5:18:5F:84:65:5B:5A:F9:92:ED:B6:90:FE:83:BA:88:95:F2:55:D5:4D:0A:E9:B1:E3:4B:FC:1A:84:FD:F0:6C:B7:8A:31:16:88:7A:13:2A:5A:BA:33:0B" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20251102122638Z", "not_valid_before": "20241102122738Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Saturday 02 November 2024 08:27:44 -0400 (0:00:00.505) 0:00:12.537 ***** ok: [managed-node2] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "59:38:28:DA:D3:7A:83:F7:61:BF:B6:D4:32:35:45:6D:AE:70:D9:85" }, "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": "49:A8:C4:A0:51:19:DF:46:C8:2C:D3:7D:3D:2D:A3:E4:55:B8:DC:35" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "BA:3C:B2:52:BE:CD:7B:73:BA:B7:D0:69:8C:55:85:98:1C:9C:9B:30:38:7D:45:23:E1:79:B8:6A:E9:45:3A:09:17:74:22:D8:3F:06:87:F6:60:71:DC:E4:31:35:BC:16:04:EF:71:23:21:C2:91:67:77:56:D2:0F:51:3D:73:83:A2:F6:23:F4:02:68:3B:7F:82:6E:C6:E0:29:9F:A9:72:C2:99:B7:29:5D:B7:6A:0E:BD:6B:09:5C:FB:D7:B6:06:2F:8F:33:06:7B:B2:39:49:F2:FA:51:AC:34:D1:FC:8D:F0:F3:FD:1D:F6:7A:C5:43:C3:C9:B4:77:79:BD:D3:D4:92:79:E4:B8:8B:0A:3F:E8:A5:19:8C:DD:ED:D7:11:85:08:87:58:9E:A3:5F:AB:CA:88:EE:56:C5:53:61:F8:24:52:0D:FB:47:5E:46:79:62:B5:DF:6A:EF:94:10:27:B4:A2:EE:6D:3C:9D:88:19:0F:53:05:04:F5:81:37:C8:DB:D6:D2:1A:8F:A5:66:BE:41:62:F8:3A:FE:54:39:D2:33:76:AD:99:7C:F5:18:5F:84:65:5B:5A:F9:92:ED:B6:90:FE:83:BA:88:95:F2:55:D5:4D:0A:E9:B1:E3:4B:FC:1A:84:FD:F0:6C:B7:8A:31:16:88:7A:13:2A:5A:BA:33:0B" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20251102122638Z", "not_valid_before": "20241102122738Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Saturday 02 November 2024 08:27:44 -0400 (0:00:00.022) 0:00:12.559 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Saturday 02 November 2024 08:27:44 -0400 (0:00:00.045) 0:00:12.604 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Saturday 02 November 2024 08:27:44 -0400 (0:00:00.022) 0:00:12.626 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Saturday 02 November 2024 08:27:44 -0400 (0:00:00.048) 0:00:12.675 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Saturday 02 November 2024 08:27:44 -0400 (0:00:00.050) 0:00:12.725 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Saturday 02 November 2024 08:27:44 -0400 (0:00:00.046) 0:00:12.772 ***** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/mycert_many_self_signed.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "delta": "0:00:00.045246", "end": "2024-11-02 08:27:45.197197", "rc": 0, "start": "2024-11-02 08:27:45.151951" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Saturday 02 November 2024 08:27:45 -0400 (0:00:00.504) 0:00:13.276 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Saturday 02 November 2024 08:27:45 -0400 (0:00:00.039) 0:00:13.316 ***** ok: [managed-node2] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Saturday 02 November 2024 08:27:45 -0400 (0:00:00.014) 0:00:13.331 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Saturday 02 November 2024 08:27:45 -0400 (0:00:00.021) 0:00:13.352 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Saturday 02 November 2024 08:27:45 -0400 (0:00:00.016) 0:00:13.369 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version == \"7\"", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Saturday 02 November 2024 08:27:45 -0400 (0:00:00.012) 0:00:13.381 ***** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: python3-cryptography python3-pyasn1 TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Saturday 02 November 2024 08:27:46 -0400 (0:00:01.291) 0:00:14.673 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1730550459.8008752, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d87f8c8220534ba51355718829d73ce51a66ee06", "ctime": 1730550459.7978752, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 13270014, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1730550459.7978752, "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": "2392808421", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Saturday 02 November 2024 08:27:46 -0400 (0:00:00.346) 0:00:15.020 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Saturday 02 November 2024 08:27:47 -0400 (0:00:00.018) 0:00:15.038 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Saturday 02 November 2024 08:27:47 -0400 (0:00:00.040) 0:00:15.079 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Saturday 02 November 2024 08:27:47 -0400 (0:00:00.037) 0:00:15.117 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1730550459.7518752, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "aef470a6ac0373838a25ebfaaa642b62c7c38a84", "ctime": 1730550459.7978752, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 9073520, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1730550459.7978752, "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": "1947706673", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Saturday 02 November 2024 08:27:47 -0400 (0:00:00.338) 0:00:15.456 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Saturday 02 November 2024 08:27:47 -0400 (0:00:00.023) 0:00:15.479 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Saturday 02 November 2024 08:27:47 -0400 (0:00:00.052) 0:00:15.531 ***** ok: [managed-node2] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "59:38:28:DA:D3:7A:83:F7:61:BF:B6:D4:32:35:45:6D:AE:70:D9:85" }, "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": "A7:0E:F7:AE:C7:43:04:0A:51:B1:17:26:53:CE:89:59:DA:91:ED:F8" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "6F:13:FD:82:B0:94:0B:CD:D3:2D:51:97:7D:D3:72:0D:C6:87:BE:BE:7B:03:61:2D:72:41:3C:6F:46:D5:FE:6C:63:8F:EF:6F:A7:B8:F8:68:17:39:DE:38:59:41:86:26:E5:56:A8:13:D3:E6:D4:BF:C0:3E:A3:FD:90:3B:3A:0F:79:EF:7B:7A:36:EE:BC:AA:78:D5:4F:3B:88:04:B0:70:EF:A7:E7:36:16:E1:70:17:C3:3E:9E:FE:C4:A0:BF:A0:8D:01:97:C5:CE:6D:FF:E1:58:48:08:F3:CC:10:66:DE:78:F6:4B:97:17:F7:48:84:2E:6A:4C:4B:EF:92:0D:A4:C3:9D:29:03:10:10:EE:3D:40:AA:7D:D7:B3:40:E3:13:0C:79:63:05:6F:02:C2:39:52:60:01:8D:15:24:CA:56:2C:4A:56:69:E4:06:CD:CC:A2:78:98:C2:CC:CF:B1:FF:C1:5E:33:10:6C:07:22:CE:D6:24:F7:B2:45:38:76:4C:FA:5A:B8:C0:48:93:EC:24:0B:1F:F5:B1:F3:35:4C:34:BB:3E:02:D8:6A:DF:B6:D8:63:28:8B:50:DA:BB:09:06:EF:18:8D:7D:02:BC:11:F0:79:37:7E:32:51:30:C3:7E:28:2A:3F:54:19:C5:E3:EB:D5:2C:31:67:E2:8B:32:A0" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.org" } ], "validity": { "not_valid_after": "20251102122638Z", "not_valid_before": "20241102122739Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Saturday 02 November 2024 08:27:47 -0400 (0:00:00.390) 0:00:15.922 ***** ok: [managed-node2] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "59:38:28:DA:D3:7A:83:F7:61:BF:B6:D4:32:35:45:6D:AE:70:D9:85" }, "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": "A7:0E:F7:AE:C7:43:04:0A:51:B1:17:26:53:CE:89:59:DA:91:ED:F8" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "6F:13:FD:82:B0:94:0B:CD:D3:2D:51:97:7D:D3:72:0D:C6:87:BE:BE:7B:03:61:2D:72:41:3C:6F:46:D5:FE:6C:63:8F:EF:6F:A7:B8:F8:68:17:39:DE:38:59:41:86:26:E5:56:A8:13:D3:E6:D4:BF:C0:3E:A3:FD:90:3B:3A:0F:79:EF:7B:7A:36:EE:BC:AA:78:D5:4F:3B:88:04:B0:70:EF:A7:E7:36:16:E1:70:17:C3:3E:9E:FE:C4:A0:BF:A0:8D:01:97:C5:CE:6D:FF:E1:58:48:08:F3:CC:10:66:DE:78:F6:4B:97:17:F7:48:84:2E:6A:4C:4B:EF:92:0D:A4:C3:9D:29:03:10:10:EE:3D:40:AA:7D:D7:B3:40:E3:13:0C:79:63:05:6F:02:C2:39:52:60:01:8D:15:24:CA:56:2C:4A:56:69:E4:06:CD:CC:A2:78:98:C2:CC:CF:B1:FF:C1:5E:33:10:6C:07:22:CE:D6:24:F7:B2:45:38:76:4C:FA:5A:B8:C0:48:93:EC:24:0B:1F:F5:B1:F3:35:4C:34:BB:3E:02:D8:6A:DF:B6:D8:63:28:8B:50:DA:BB:09:06:EF:18:8D:7D:02:BC:11:F0:79:37:7E:32:51:30:C3:7E:28:2A:3F:54:19:C5:E3:EB:D5:2C:31:67:E2:8B:32:A0" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.org" } ], "validity": { "not_valid_after": "20251102122638Z", "not_valid_before": "20241102122739Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Saturday 02 November 2024 08:27:47 -0400 (0:00:00.031) 0:00:15.954 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Saturday 02 November 2024 08:27:47 -0400 (0:00:00.047) 0:00:16.001 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Saturday 02 November 2024 08:27:47 -0400 (0:00:00.022) 0:00:16.024 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Saturday 02 November 2024 08:27:48 -0400 (0:00:00.043) 0:00:16.068 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Saturday 02 November 2024 08:27:48 -0400 (0:00:00.048) 0:00:16.117 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Saturday 02 November 2024 08:27:48 -0400 (0:00:00.043) 0:00:16.160 ***** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/other-cert.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "delta": "0:00:00.046056", "end": "2024-11-02 08:27:48.460260", "rc": 0, "start": "2024-11-02 08:27:48.414204" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Saturday 02 November 2024 08:27:48 -0400 (0:00:00.380) 0:00:16.541 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Saturday 02 November 2024 08:27:48 -0400 (0:00:00.040) 0:00:16.581 ***** ok: [managed-node2] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Saturday 02 November 2024 08:27:48 -0400 (0:00:00.014) 0:00:16.596 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Saturday 02 November 2024 08:27:48 -0400 (0:00:00.017) 0:00:16.613 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Saturday 02 November 2024 08:27:48 -0400 (0:00:00.017) 0:00:16.630 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version == \"7\"", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Saturday 02 November 2024 08:27:48 -0400 (0:00:00.014) 0:00:16.644 ***** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: python3-cryptography python3-pyasn1 TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Saturday 02 November 2024 08:27:49 -0400 (0:00:01.296) 0:00:17.941 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1730550460.482877, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "91e9f08b78a80b5c2ade73449891b364fc5dfdfb", "ctime": 1730550460.479877, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 13270677, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1730550460.479877, "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": "55518128", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Saturday 02 November 2024 08:27:50 -0400 (0:00:00.383) 0:00:18.325 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Saturday 02 November 2024 08:27:50 -0400 (0:00:00.028) 0:00:18.354 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Saturday 02 November 2024 08:27:50 -0400 (0:00:00.063) 0:00:18.417 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Saturday 02 November 2024 08:27:50 -0400 (0:00:00.057) 0:00:18.474 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1730550460.4338768, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6e456a171d57b1b509559cfbdbba3820e4a03657", "ctime": 1730550460.479877, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 9073521, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1730550460.479877, "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": "144461641", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Saturday 02 November 2024 08:27:50 -0400 (0:00:00.369) 0:00:18.844 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Saturday 02 November 2024 08:27:50 -0400 (0:00:00.019) 0:00:18.864 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Saturday 02 November 2024 08:27:50 -0400 (0:00:00.053) 0:00:18.917 ***** ok: [managed-node2] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "59:38:28:DA:D3:7A:83:F7:61:BF:B6:D4:32:35:45:6D:AE:70:D9:85" }, "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": "55:8A:AC:E0:56:4A:3D:37:4D:7B:02:CB:12:FB:4D:E0:13:54:E4:07" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "31:66:47:B7:1C:D8:68:57:1C:DB:81:06:4B:72:12:81:E3:B5:4E:7D:06:AD:61:95:7D:BE:87:4B:9C:4D:6F:75:CE:52:EA:44:B1:AF:6D:D9:A7:25:71:A4:7A:E4:64:76:30:19:49:83:62:0C:58:83:F6:4D:92:F0:B3:0F:6E:6F:7C:04:26:5E:A4:DE:AC:39:1C:E9:C5:CE:5E:31:B5:FC:EE:D3:EB:21:3B:99:D9:2C:16:79:5B:07:73:62:14:A1:1F:2C:DD:83:7A:F9:26:57:AB:2A:4C:F4:F7:3C:87:D7:5B:45:85:CC:0B:77:B0:7B:42:5B:89:2B:B7:0C:A7:27:07:32:61:93:21:6C:96:8E:5D:27:1F:E5:5B:56:82:07:90:46:DA:0D:93:52:2A:95:21:90:9E:D5:9A:15:E6:82:39:62:93:B3:A9:4C:93:02:A1:EC:17:24:31:85:5B:E4:59:40:B0:10:AF:EE:8B:5B:F4:28:E7:D9:57:F2:6E:02:45:61:D6:BB:C1:0D:5C:F0:E5:B8:E3:C0:AD:36:B6:0C:AA:C4:7B:4D:D9:27:5D:6D:0B:85:73:54:2B:54:69:8B:0C:9E:2B:18:60:09:CE:62:E7:1F:D2:A3:80:F5:39:51:61:20:F3:2F:4B:39:68:5D:4A:FD:8D:45:95:5F:E2:EF" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.net" } ], "validity": { "not_valid_after": "20251102122638Z", "not_valid_before": "20241102122740Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Saturday 02 November 2024 08:27:51 -0400 (0:00:00.390) 0:00:19.307 ***** ok: [managed-node2] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "59:38:28:DA:D3:7A:83:F7:61:BF:B6:D4:32:35:45:6D:AE:70:D9:85" }, "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": "55:8A:AC:E0:56:4A:3D:37:4D:7B:02:CB:12:FB:4D:E0:13:54:E4:07" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "31:66:47:B7:1C:D8:68:57:1C:DB:81:06:4B:72:12:81:E3:B5:4E:7D:06:AD:61:95:7D:BE:87:4B:9C:4D:6F:75:CE:52:EA:44:B1:AF:6D:D9:A7:25:71:A4:7A:E4:64:76:30:19:49:83:62:0C:58:83:F6:4D:92:F0:B3:0F:6E:6F:7C:04:26:5E:A4:DE:AC:39:1C:E9:C5:CE:5E:31:B5:FC:EE:D3:EB:21:3B:99:D9:2C:16:79:5B:07:73:62:14:A1:1F:2C:DD:83:7A:F9:26:57:AB:2A:4C:F4:F7:3C:87:D7:5B:45:85:CC:0B:77:B0:7B:42:5B:89:2B:B7:0C:A7:27:07:32:61:93:21:6C:96:8E:5D:27:1F:E5:5B:56:82:07:90:46:DA:0D:93:52:2A:95:21:90:9E:D5:9A:15:E6:82:39:62:93:B3:A9:4C:93:02:A1:EC:17:24:31:85:5B:E4:59:40:B0:10:AF:EE:8B:5B:F4:28:E7:D9:57:F2:6E:02:45:61:D6:BB:C1:0D:5C:F0:E5:B8:E3:C0:AD:36:B6:0C:AA:C4:7B:4D:D9:27:5D:6D:0B:85:73:54:2B:54:69:8B:0C:9E:2B:18:60:09:CE:62:E7:1F:D2:A3:80:F5:39:51:61:20:F3:2F:4B:39:68:5D:4A:FD:8D:45:95:5F:E2:EF" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.net" } ], "validity": { "not_valid_after": "20251102122638Z", "not_valid_before": "20241102122740Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Saturday 02 November 2024 08:27:51 -0400 (0:00:00.020) 0:00:19.328 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Saturday 02 November 2024 08:27:51 -0400 (0:00:00.039) 0:00:19.367 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Saturday 02 November 2024 08:27:51 -0400 (0:00:00.020) 0:00:19.387 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Saturday 02 November 2024 08:27:51 -0400 (0:00:00.037) 0:00:19.425 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Saturday 02 November 2024 08:27:51 -0400 (0:00:00.043) 0:00:19.468 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Saturday 02 November 2024 08:27:51 -0400 (0:00:00.047) 0:00:19.516 ***** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/another-cert.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "delta": "0:00:00.045572", "end": "2024-11-02 08:27:51.841101", "rc": 0, "start": "2024-11-02 08:27:51.795529" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Saturday 02 November 2024 08:27:51 -0400 (0:00:00.410) 0:00:19.926 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* managed-node2 : ok=69 changed=1 unreachable=0 failed=0 skipped=14 rescued=0 ignored=0 Saturday 02 November 2024 08:27:51 -0400 (0:00:00.050) 0:00:19.977 ***** =============================================================================== fedora.linux_system_roles.certificate : Ensure certificate requests ----- 2.40s /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 1.51s /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 1.33s /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Ensure python3 is installed --------------------------------------------- 1.32s /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Ensure python3 is installed --------------------------------------------- 1.30s /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Ensure python3 is installed --------------------------------------------- 1.29s /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Gathering Facts --------------------------------------------------------- 1.16s /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:2 Gathering Facts --------------------------------------------------------- 0.76s /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:18 fedora.linux_system_roles.certificate : Ensure provider service is running --- 0.74s /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Parse certificate ------------------------------------------------------- 0.51s /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Retrieve auto-renew flag ------------------------------------------------ 0.50s /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists --- 0.49s /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 fedora.linux_system_roles.certificate : Check if system is ostree ------- 0.45s /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists --- 0.41s /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Retrieve auto-renew flag ------------------------------------------------ 0.41s /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Parse certificate ------------------------------------------------------- 0.39s /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Parse certificate ------------------------------------------------------- 0.39s /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Retrieve certificate file stats ----------------------------------------- 0.38s /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Retrieve auto-renew flag ------------------------------------------------ 0.38s /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Retrieve key file stats ------------------------------------------------- 0.37s /tmp/collections-8Ko/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65