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-54p executable location = /usr/local/bin/ansible-playbook python version = 3.12.7 (main, Oct 1 2024, 00:00:00) [GCC 14.2.1 20240912 (Red Hat 14.2.1-3)] (/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-54p/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-54p/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:2 Saturday 26 October 2024 08:29:33 -0400 (0:00:00.012) 0:00:00.012 ****** [WARNING]: Platform linux on host managed-node3 is using the discovered Python interpreter at /usr/bin/python3.12, 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-node3] TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Saturday 26 October 2024 08:29:35 -0400 (0:00:01.294) 0:00:01.306 ****** included: /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml for managed-node3 TASK [fedora.linux_system_roles.certificate : Ensure ansible_facts used by role] *** task path: /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Saturday 26 October 2024 08:29:35 -0400 (0:00:00.021) 0:00:01.328 ****** skipping: [managed-node3] => { "changed": false, "false_condition": "__certificate_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Check if system is ostree] ******* task path: /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Saturday 26 October 2024 08:29:35 -0400 (0:00:00.038) 0:00:01.366 ****** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.certificate : Set flag to indicate system is ostree] *** task path: /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Saturday 26 October 2024 08:29:35 -0400 (0:00:00.519) 0:00:01.886 ****** ok: [managed-node3] => { "ansible_facts": { "__certificate_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.certificate : Set platform/version specific variables] *** task path: /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Saturday 26 October 2024 08:29:35 -0400 (0:00:00.026) 0:00:01.912 ****** skipping: [managed-node3] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [managed-node3] => (item=Fedora.yml) => { "ansible_facts": { "__certificate_certmonger_packages": [ "certmonger", "python3-packaging" ] }, "ansible_included_var_files": [ "/tmp/collections-54p/ansible_collections/fedora/linux_system_roles/roles/certificate/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [managed-node3] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed] *** task path: /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Saturday 26 October 2024 08:29:35 -0400 (0:00:00.043) 0:00:01.955 ****** ok: [managed-node3] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: python3-cryptography python3-dbus python3-pyasn1 TASK [fedora.linux_system_roles.certificate : Ensure provider packages are installed] *** task path: /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Saturday 26 October 2024 08:29:37 -0400 (0:00:01.590) 0:00:03.546 ****** ok: [managed-node3] => (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-54p/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Saturday 26 October 2024 08:29:38 -0400 (0:00:01.531) 0:00:05.077 ****** ok: [managed-node3] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/etc/certmonger//pre-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists] *** task path: /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Saturday 26 October 2024 08:29:39 -0400 (0:00:00.656) 0:00:05.734 ****** ok: [managed-node3] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/etc/certmonger//post-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure provider service is running] *** task path: /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Saturday 26 October 2024 08:29:39 -0400 (0:00:00.476) 0:00:06.210 ****** ok: [managed-node3] => (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-10-26 08:28:33 EDT", "ActiveEnterTimestampMonotonic": "302263914", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.socket system.slice network.target dbus-broker.service systemd-journald.socket syslog.target basic.target sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-10-26 08:28:33 EDT", "AssertTimestampMonotonic": "302239767", "Before": "shutdown.target multi-user.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": "1291203000", "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-10-26 08:28:33 EDT", "ConditionTimestampMonotonic": "302239764", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/certmonger.service", "ControlGroupId": "5332", "ControlPID": "0", "CoredumpFilter": "0x33", "CoredumpReceive": "no", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "DefaultStartupMemoryLow": "0", "Delegate": "no", "Description": "Certificate monitoring and PKI enrollment", "DevicePolicy": "auto", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "EnvironmentFiles": "/etc/sysconfig/certmonger (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "4150", "ExecMainStartTimestamp": "Sat 2024-10-26 08:28:33 EDT", "ExecMainStartTimestampMonotonic": "302249093", "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-10-26 08:28:33 EDT] ; stop_time=[n/a] ; pid=4150 ; 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-10-26 08:28:33 EDT] ; stop_time=[n/a] ; pid=4150 ; code=(null) ; status=0/0 }", "ExitType": "main", "ExtensionImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FileDescriptorStorePreserve": "restart", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/certmonger.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "[not set]", "IOReadOperations": "[not set]", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "[not set]", "IOWriteOperations": "[not set]", "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-10-26 08:28:33 EDT", "InactiveExitTimestampMonotonic": "302249314", "InvocationID": "354ffe44e6f748bd846a2e40666e64d6", "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": "14719", "LimitNPROCSoft": "14719", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14719", "LimitSIGPENDINGSoft": "14719", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "4150", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "3467141120", "MemoryCurrent": "4435968", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryKSM": "no", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "11354112", "MemoryPressureThresholdUSec": "200ms", "MemoryPressureWatch": "auto", "MemorySwapCurrent": "0", "MemorySwapMax": "infinity", "MemorySwapPeak": "0", "MemoryZSwapCurrent": "0", "MemoryZSwapMax": "infinity", "MountAPIVFS": "no", "MountImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "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": "dbus.socket system.slice sysinit.target", "Restart": "no", "RestartKillSignal": "15", "RestartMaxDelayUSec": "infinity", "RestartMode": "normal", "RestartSteps": "0", "RestartUSec": "100ms", "RestartUSecNext": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RootEphemeral": "no", "RootImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "SetLoginEnvironment": "no", "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]", "StartupMemoryHigh": "infinity", "StartupMemoryLow": "0", "StartupMemoryMax": "infinity", "StartupMemorySwapMax": "infinity", "StartupMemoryZSwapMax": "infinity", "StateChangeTimestamp": "Sat 2024-10-26 08:28:33 EDT", "StateChangeTimestampMonotonic": "302263914", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SurviveFinalKillSignal": "no", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "1", "TasksMax": "4415", "TimeoutAbortUSec": "45s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "45s", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "45s", "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-54p/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Saturday 26 October 2024 08:29:40 -0400 (0:00:00.854) 0:00:07.064 ****** changed: [managed-node3] => (item={'name': 'mycert_many_self_signed', 'dns': 'www.example.com', 'ca': 'self-sign'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ca": "self-sign", "dns": "www.example.com", "name": "mycert_many_self_signed" } } MSG: Certificate requested (new). changed: [managed-node3] => (item={'name': 'other-cert', 'dns': 'www.example.org', 'ca': 'self-sign'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ca": "self-sign", "dns": "www.example.org", "name": "other-cert" } } MSG: Certificate requested (new). changed: [managed-node3] => (item={'name': 'another-cert', 'dns': 'www.example.net', 'ca': 'self-sign'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ca": "self-sign", "dns": "www.example.net", "name": "another-cert" } } MSG: Certificate requested (new). TASK [fedora.linux_system_roles.certificate : Slurp the contents of the files] *** task path: /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Saturday 26 October 2024 08:29:43 -0400 (0:00:02.592) 0:00:09.657 ****** skipping: [managed-node3] => (item=['cert', {'name': 'mycert_many_self_signed', 'dns': 'www.example.com', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "cert", { "ca": "self-sign", "dns": "www.example.com", "name": "mycert_many_self_signed" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=['cert', {'name': 'other-cert', 'dns': 'www.example.org', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "cert", { "ca": "self-sign", "dns": "www.example.org", "name": "other-cert" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=['cert', {'name': 'another-cert', 'dns': 'www.example.net', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "cert", { "ca": "self-sign", "dns": "www.example.net", "name": "another-cert" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=['key', {'name': 'mycert_many_self_signed', 'dns': 'www.example.com', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "key", { "ca": "self-sign", "dns": "www.example.com", "name": "mycert_many_self_signed" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=['key', {'name': 'other-cert', 'dns': 'www.example.org', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "key", { "ca": "self-sign", "dns": "www.example.org", "name": "other-cert" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=['key', {'name': 'another-cert', 'dns': 'www.example.net', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "key", { "ca": "self-sign", "dns": "www.example.net", "name": "another-cert" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=['ca', {'name': 'mycert_many_self_signed', 'dns': 'www.example.com', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "ca", { "ca": "self-sign", "dns": "www.example.com", "name": "mycert_many_self_signed" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=['ca', {'name': 'other-cert', 'dns': 'www.example.org', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "ca", { "ca": "self-sign", "dns": "www.example.org", "name": "other-cert" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=['ca', {'name': 'another-cert', 'dns': 'www.example.net', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "ca", { "ca": "self-sign", "dns": "www.example.net", "name": "another-cert" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node3] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.certificate : Create return data] ************** task path: /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Saturday 26 October 2024 08:29:43 -0400 (0:00:00.071) 0:00:09.729 ****** skipping: [managed-node3] => { "changed": false, "false_condition": "certificate_test_mode | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Stop tracking certificates] ****** task path: /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Saturday 26 October 2024 08:29:43 -0400 (0:00:00.036) 0:00:09.766 ****** skipping: [managed-node3] => { "changed": false, "false_condition": "certificate_test_mode | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Remove files] ******************** task path: /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Saturday 26 October 2024 08:29:43 -0400 (0:00:00.038) 0:00:09.804 ****** skipping: [managed-node3] => { "changed": false, "false_condition": "certificate_test_mode | d(false)", "skip_reason": "Conditional result was False" } PLAY [Verify certificate] ****************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:18 Saturday 26 October 2024 08:29:43 -0400 (0:00:00.061) 0:00:09.865 ****** ok: [managed-node3] TASK [Verify each certificate] ************************************************* task path: /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:50 Saturday 26 October 2024 08:29:44 -0400 (0:00:00.899) 0:00:10.765 ****** included: /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node3 => (item={'path': '/etc/pki/tls/certs/mycert_many_self_signed.crt', 'key_path': '/etc/pki/tls/private/mycert_many_self_signed.key', 'subject': [{'name': 'commonName', 'oid': '2.5.4.3', 'value': 'www.example.com'}], 'subject_alt_name': [{'name': 'DNS', 'value': 'www.example.com'}]}) included: /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node3 => (item={'path': '/etc/pki/tls/certs/other-cert.crt', 'key_path': '/etc/pki/tls/private/other-cert.key', 'subject': [{'name': 'commonName', 'oid': '2.5.4.3', 'value': 'www.example.org'}], 'subject_alt_name': [{'name': 'DNS', 'value': 'www.example.org'}]}) included: /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node3 => (item={'path': '/etc/pki/tls/certs/another-cert.crt', 'key_path': '/etc/pki/tls/private/another-cert.key', 'subject': [{'name': 'commonName', 'oid': '2.5.4.3', 'value': 'www.example.net'}], 'subject_alt_name': [{'name': 'DNS', 'value': 'www.example.net'}]}) TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Saturday 26 October 2024 08:29:44 -0400 (0:00:00.105) 0:00:10.871 ****** ok: [managed-node3] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Saturday 26 October 2024 08:29:44 -0400 (0:00:00.017) 0:00:10.888 ****** skipping: [managed-node3] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Saturday 26 October 2024 08:29:44 -0400 (0:00:00.030) 0:00:10.918 ****** skipping: [managed-node3] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Saturday 26 October 2024 08:29:44 -0400 (0:00:00.031) 0:00:10.950 ****** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution_major_version == \"7\"", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Saturday 26 October 2024 08:29:44 -0400 (0:00:00.023) 0:00:10.974 ****** ok: [managed-node3] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: python3-cryptography python3-pyasn1 TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Saturday 26 October 2024 08:29:46 -0400 (0:00:01.505) 0:00:12.479 ****** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1729945781.6178873, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "9a0dde68545690df7274010f533bc6f4faafafc8", "ctime": 1729945781.6138873, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 1854, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1729945781.6138873, "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": "2455249269", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Saturday 26 October 2024 08:29:46 -0400 (0:00:00.404) 0:00:12.884 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Saturday 26 October 2024 08:29:46 -0400 (0:00:00.034) 0:00:12.918 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Saturday 26 October 2024 08:29:46 -0400 (0:00:00.073) 0:00:12.992 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Saturday 26 October 2024 08:29:46 -0400 (0:00:00.055) 0:00:13.048 ****** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1729945781.5668871, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "278e2195556a06502f4955238c7cefec13690dcf", "ctime": 1729945781.6138873, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 1853, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1729945781.6138873, "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": "3997218207", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Saturday 26 October 2024 08:29:47 -0400 (0:00:00.385) 0:00:13.433 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Saturday 26 October 2024 08:29:47 -0400 (0:00:00.022) 0:00:13.455 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Saturday 26 October 2024 08:29:47 -0400 (0:00:00.046) 0:00:13.501 ****** ok: [managed-node3] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "E9:D9:E8:73:F1:0E:8A:6A:34:E5:86:43:7C:0E:32:A0:25:54:22:A1" }, "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": "75:B1:24:8F:08:EF:F9:76:52:28:AF:B6:4B:B9:B0:87:32:D6:63:2A" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "A1:D5:20:8B:16:36:FC:7A:E2:54:B0:7C:14:35:B7:6B:7F:CF:1F:FA:59:70:6B:96:22:A3:39:67:9E:AF:9B:7C:E7:71:EC:24:26:75:87:3B:B7:AE:13:53:66:02:C9:73:0A:1B:C7:10:04:6A:B6:7D:35:16:0C:38:10:A0:F3:91:E6:33:89:DB:B1:A4:2D:17:8C:BB:C6:77:FB:C9:92:21:54:78:7E:C5:AB:6B:5D:53:AD:04:6F:BA:82:8E:20:26:46:82:88:E1:1F:98:D8:9A:03:B7:D8:A3:75:94:40:55:05:BF:D7:05:57:CF:D1:05:74:25:A3:83:54:85:02:AA:CF:E4:27:5D:9E:CC:84:05:68:E5:16:75:B3:4B:1D:8D:B1:F7:77:71:38:83:00:D4:D6:1B:AD:87:75:A3:8C:07:B4:1C:77:C1:B9:06:81:8A:0E:B2:25:A3:05:4A:F7:C3:96:B8:88:43:9C:1C:83:8D:F5:14:94:BC:6C:7D:8A:D3:13:1C:6E:74:ED:31:EA:81:D3:1E:48:42:B8:F2:7F:E1:9D:84:90:D4:B6:70:BC:05:2D:D8:D6:34:32:DB:FE:35:DE:5F:4E:4C:5A:3A:92:C9:8A:F8:F7:6C:B0:EF:89:AE:4F:39:B8:1D:74:FC:EB:60:D9:3F:3C:5B:06:53:44:EC" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20251026122833Z", "not_valid_before": "20241026122941Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Saturday 26 October 2024 08:29:47 -0400 (0:00:00.592) 0:00:14.094 ****** ok: [managed-node3] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "E9:D9:E8:73:F1:0E:8A:6A:34:E5:86:43:7C:0E:32:A0:25:54:22:A1" }, "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": "75:B1:24:8F:08:EF:F9:76:52:28:AF:B6:4B:B9:B0:87:32:D6:63:2A" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "A1:D5:20:8B:16:36:FC:7A:E2:54:B0:7C:14:35:B7:6B:7F:CF:1F:FA:59:70:6B:96:22:A3:39:67:9E:AF:9B:7C:E7:71:EC:24:26:75:87:3B:B7:AE:13:53:66:02:C9:73:0A:1B:C7:10:04:6A:B6:7D:35:16:0C:38:10:A0:F3:91:E6:33:89:DB:B1:A4:2D:17:8C:BB:C6:77:FB:C9:92:21:54:78:7E:C5:AB:6B:5D:53:AD:04:6F:BA:82:8E:20:26:46:82:88:E1:1F:98:D8:9A:03:B7:D8:A3:75:94:40:55:05:BF:D7:05:57:CF:D1:05:74:25:A3:83:54:85:02:AA:CF:E4:27:5D:9E:CC:84:05:68:E5:16:75:B3:4B:1D:8D:B1:F7:77:71:38:83:00:D4:D6:1B:AD:87:75:A3:8C:07:B4:1C:77:C1:B9:06:81:8A:0E:B2:25:A3:05:4A:F7:C3:96:B8:88:43:9C:1C:83:8D:F5:14:94:BC:6C:7D:8A:D3:13:1C:6E:74:ED:31:EA:81:D3:1E:48:42:B8:F2:7F:E1:9D:84:90:D4:B6:70:BC:05:2D:D8:D6:34:32:DB:FE:35:DE:5F:4E:4C:5A:3A:92:C9:8A:F8:F7:6C:B0:EF:89:AE:4F:39:B8:1D:74:FC:EB:60:D9:3F:3C:5B:06:53:44:EC" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20251026122833Z", "not_valid_before": "20241026122941Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Saturday 26 October 2024 08:29:47 -0400 (0:00:00.024) 0:00:14.119 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Saturday 26 October 2024 08:29:47 -0400 (0:00:00.048) 0:00:14.168 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Saturday 26 October 2024 08:29:47 -0400 (0:00:00.027) 0:00:14.195 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Saturday 26 October 2024 08:29:47 -0400 (0:00:00.043) 0:00:14.239 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Saturday 26 October 2024 08:29:47 -0400 (0:00:00.048) 0:00:14.288 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Saturday 26 October 2024 08:29:48 -0400 (0:00:00.046) 0:00:14.334 ****** ok: [managed-node3] => { "changed": false, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/mycert_many_self_signed.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "delta": "0:00:00.046304", "end": "2024-10-26 08:29:48.505271", "rc": 0, "start": "2024-10-26 08:29:48.458967" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Saturday 26 October 2024 08:29:48 -0400 (0:00:00.543) 0:00:14.878 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Saturday 26 October 2024 08:29:48 -0400 (0:00:00.076) 0:00:14.954 ****** ok: [managed-node3] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Saturday 26 October 2024 08:29:48 -0400 (0:00:00.021) 0:00:14.975 ****** skipping: [managed-node3] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Saturday 26 October 2024 08:29:48 -0400 (0:00:00.022) 0:00:14.997 ****** skipping: [managed-node3] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Saturday 26 October 2024 08:29:48 -0400 (0:00:00.024) 0:00:15.022 ****** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution_major_version == \"7\"", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Saturday 26 October 2024 08:29:48 -0400 (0:00:00.022) 0:00:15.044 ****** ok: [managed-node3] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: python3-cryptography python3-pyasn1 TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Saturday 26 October 2024 08:29:50 -0400 (0:00:01.461) 0:00:16.506 ****** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1729945782.3868895, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "467d3acf1281d7623aa1ecaa8c79d25323cae37e", "ctime": 1729945782.3838897, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 1856, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1729945782.3838897, "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": "1731967317", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Saturday 26 October 2024 08:29:50 -0400 (0:00:00.375) 0:00:16.881 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Saturday 26 October 2024 08:29:50 -0400 (0:00:00.021) 0:00:16.903 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Saturday 26 October 2024 08:29:50 -0400 (0:00:00.045) 0:00:16.949 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Saturday 26 October 2024 08:29:50 -0400 (0:00:00.042) 0:00:16.991 ****** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1729945782.3368895, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "ab90334006145684e67357bb5144d2be7b5b1a12", "ctime": 1729945782.3838897, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 1855, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1729945782.3838897, "nlink": 1, "path": "/etc/pki/tls/private/other-cert.key", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1708, "uid": 0, "version": "598638240", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Saturday 26 October 2024 08:29:51 -0400 (0:00:00.389) 0:00:17.381 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Saturday 26 October 2024 08:29:51 -0400 (0:00:00.021) 0:00:17.403 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Saturday 26 October 2024 08:29:51 -0400 (0:00:00.047) 0:00:17.450 ****** ok: [managed-node3] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "E9:D9:E8:73:F1:0E:8A:6A:34:E5:86:43:7C:0E:32:A0:25:54:22:A1" }, "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": "55:EB:C2:0C:94:08:1E:13:00:85:89:5C:99:44:28:26:DA:25:A5:49" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "67:69:1D:8F:20:59:07:C0:38:B4:FA:13:58:1C:B1:09:F6:06:8B:BF:62:34:CF:22:EE:77:CE:4C:F2:35:82:04:32:3F:95:24:8E:55:67:BF:7F:66:99:36:F9:23:24:56:A6:C2:D5:48:DC:C0:61:5F:D0:9B:63:2D:97:3E:68:B8:04:2E:E6:2C:60:CA:91:D6:B8:79:CF:0F:2A:71:A2:9B:10:A3:6B:AD:D8:E6:19:A7:23:DC:C0:DF:87:1F:41:6F:2E:96:3E:0E:48:68:60:84:13:26:F4:CD:90:85:21:4E:3F:58:95:32:BD:1D:BA:3B:8F:1A:DA:C4:4C:96:C7:7C:C9:05:39:81:B6:60:57:6A:9E:69:71:1D:4E:40:6A:C5:4F:2A:61:93:9A:C7:02:8A:2E:6A:5B:7E:B1:3A:02:86:07:CF:C8:1B:69:23:41:69:82:5B:B3:CA:83:97:00:74:14:DB:29:74:F5:E0:09:F5:C1:C9:06:BF:47:B9:ED:28:AA:6C:0D:02:F6:84:53:01:C9:79:F3:C5:1D:2B:C7:E3:27:F4:CE:5D:1B:C0:CE:B9:2D:FD:87:0B:1B:85:BD:24:60:7A:30:AA:7E:BA:C2:A1:4F:35:65:1A:B9:6A:D6:EA:A1:CF:EA:02:3E:55:E7:E1:CE:57:28:35:7C:1E:D2:22" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.org" } ], "validity": { "not_valid_after": "20251026122833Z", "not_valid_before": "20241026122942Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Saturday 26 October 2024 08:29:51 -0400 (0:00:00.437) 0:00:17.887 ****** ok: [managed-node3] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "E9:D9:E8:73:F1:0E:8A:6A:34:E5:86:43:7C:0E:32:A0:25:54:22:A1" }, "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": "55:EB:C2:0C:94:08:1E:13:00:85:89:5C:99:44:28:26:DA:25:A5:49" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "67:69:1D:8F:20:59:07:C0:38:B4:FA:13:58:1C:B1:09:F6:06:8B:BF:62:34:CF:22:EE:77:CE:4C:F2:35:82:04:32:3F:95:24:8E:55:67:BF:7F:66:99:36:F9:23:24:56:A6:C2:D5:48:DC:C0:61:5F:D0:9B:63:2D:97:3E:68:B8:04:2E:E6:2C:60:CA:91:D6:B8:79:CF:0F:2A:71:A2:9B:10:A3:6B:AD:D8:E6:19:A7:23:DC:C0:DF:87:1F:41:6F:2E:96:3E:0E:48:68:60:84:13:26:F4:CD:90:85:21:4E:3F:58:95:32:BD:1D:BA:3B:8F:1A:DA:C4:4C:96:C7:7C:C9:05:39:81:B6:60:57:6A:9E:69:71:1D:4E:40:6A:C5:4F:2A:61:93:9A:C7:02:8A:2E:6A:5B:7E:B1:3A:02:86:07:CF:C8:1B:69:23:41:69:82:5B:B3:CA:83:97:00:74:14:DB:29:74:F5:E0:09:F5:C1:C9:06:BF:47:B9:ED:28:AA:6C:0D:02:F6:84:53:01:C9:79:F3:C5:1D:2B:C7:E3:27:F4:CE:5D:1B:C0:CE:B9:2D:FD:87:0B:1B:85:BD:24:60:7A:30:AA:7E:BA:C2:A1:4F:35:65:1A:B9:6A:D6:EA:A1:CF:EA:02:3E:55:E7:E1:CE:57:28:35:7C:1E:D2:22" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.org" } ], "validity": { "not_valid_after": "20251026122833Z", "not_valid_before": "20241026122942Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Saturday 26 October 2024 08:29:51 -0400 (0:00:00.023) 0:00:17.911 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Saturday 26 October 2024 08:29:51 -0400 (0:00:00.067) 0:00:17.979 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Saturday 26 October 2024 08:29:51 -0400 (0:00:00.035) 0:00:18.014 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Saturday 26 October 2024 08:29:51 -0400 (0:00:00.061) 0:00:18.076 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Saturday 26 October 2024 08:29:51 -0400 (0:00:00.066) 0:00:18.142 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Saturday 26 October 2024 08:29:51 -0400 (0:00:00.068) 0:00:18.211 ****** ok: [managed-node3] => { "changed": false, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/other-cert.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "delta": "0:00:00.046499", "end": "2024-10-26 08:29:52.312388", "rc": 0, "start": "2024-10-26 08:29:52.265889" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Saturday 26 October 2024 08:29:52 -0400 (0:00:00.449) 0:00:18.660 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Saturday 26 October 2024 08:29:52 -0400 (0:00:00.060) 0:00:18.720 ****** ok: [managed-node3] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Saturday 26 October 2024 08:29:52 -0400 (0:00:00.027) 0:00:18.748 ****** skipping: [managed-node3] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Saturday 26 October 2024 08:29:52 -0400 (0:00:00.031) 0:00:18.780 ****** skipping: [managed-node3] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Saturday 26 October 2024 08:29:52 -0400 (0:00:00.032) 0:00:18.813 ****** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution_major_version == \"7\"", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Saturday 26 October 2024 08:29:52 -0400 (0:00:00.024) 0:00:18.837 ****** ok: [managed-node3] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: python3-cryptography python3-pyasn1 TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Saturday 26 October 2024 08:29:54 -0400 (0:00:01.467) 0:00:20.305 ****** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1729945783.168892, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "9ea8b8996568b48f4a1f2a4f9c93f01d5e1d51c5", "ctime": 1729945783.1648917, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 1858, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1729945783.1648917, "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": "1602241714", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Saturday 26 October 2024 08:29:54 -0400 (0:00:00.379) 0:00:20.684 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Saturday 26 October 2024 08:29:54 -0400 (0:00:00.021) 0:00:20.706 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Saturday 26 October 2024 08:29:54 -0400 (0:00:00.046) 0:00:20.752 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Saturday 26 October 2024 08:29:54 -0400 (0:00:00.041) 0:00:20.793 ****** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1729945783.1178916, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "699651c94ba6934222dc8874c424e23a42853a19", "ctime": 1729945783.1648917, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 1857, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1729945783.1648917, "nlink": 1, "path": "/etc/pki/tls/private/another-cert.key", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1704, "uid": 0, "version": "1516517084", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Saturday 26 October 2024 08:29:54 -0400 (0:00:00.375) 0:00:21.169 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Saturday 26 October 2024 08:29:54 -0400 (0:00:00.021) 0:00:21.191 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Saturday 26 October 2024 08:29:54 -0400 (0:00:00.046) 0:00:21.238 ****** ok: [managed-node3] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "E9:D9:E8:73:F1:0E:8A:6A:34:E5:86:43:7C:0E:32:A0:25:54:22:A1" }, "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": "95:23:CF:AB:B0:DE:C6:5C:53:6A:08:17:03:D3:DD:3C:19:4F:F5:1D" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "1D:0D:1A:92:9F:09:33:37:9F:29:3D:CB:20:4B:D7:6D:BB:1C:1C:A3:E8:70:89:A0:59:12:DD:EF:00:72:B7:92:20:76:A6:ED:7F:21:27:9F:9F:B0:F6:7F:B2:26:D5:FA:22:BA:9C:0A:CF:49:88:E0:E6:52:2C:3D:AA:8D:A5:DC:95:51:74:5D:F1:9F:CD:21:F5:70:0E:91:FF:9B:C3:AA:6A:E0:F5:88:46:B3:C4:7C:A2:3C:34:1B:EA:12:DB:DB:DC:9B:BF:27:70:18:B0:6B:73:5E:E9:B1:9E:82:28:99:9C:D7:B8:7B:0F:FD:54:93:B0:B0:25:F5:1E:6E:42:CE:C4:88:EB:A8:CA:CE:3A:7C:D5:77:1E:1B:5E:A0:31:6F:EC:14:BD:62:E1:8F:C2:CC:9F:CB:BE:17:A6:3A:8B:33:57:2E:11:BA:E5:54:1E:09:CD:92:3B:92:3A:2E:52:BA:3E:F5:82:5E:D0:BD:4D:4F:2B:8A:BC:9F:D1:D5:8C:68:7E:2A:86:87:81:71:73:FF:46:B2:7F:6D:E3:75:D3:92:A7:02:00:C9:9C:6B:2A:C5:0F:D5:8C:D7:27:B0:B9:5F:C2:A1:02:AA:BC:91:4E:49:72:14:75:28:FE:75:B4:30:9F:B6:2E:CE:34:03:A1:16:85:04:01:7F:D8:8B:E2:32" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.net" } ], "validity": { "not_valid_after": "20251026122833Z", "not_valid_before": "20241026122943Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Saturday 26 October 2024 08:29:55 -0400 (0:00:00.448) 0:00:21.686 ****** ok: [managed-node3] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "E9:D9:E8:73:F1:0E:8A:6A:34:E5:86:43:7C:0E:32:A0:25:54:22:A1" }, "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": "95:23:CF:AB:B0:DE:C6:5C:53:6A:08:17:03:D3:DD:3C:19:4F:F5:1D" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "1D:0D:1A:92:9F:09:33:37:9F:29:3D:CB:20:4B:D7:6D:BB:1C:1C:A3:E8:70:89:A0:59:12:DD:EF:00:72:B7:92:20:76:A6:ED:7F:21:27:9F:9F:B0:F6:7F:B2:26:D5:FA:22:BA:9C:0A:CF:49:88:E0:E6:52:2C:3D:AA:8D:A5:DC:95:51:74:5D:F1:9F:CD:21:F5:70:0E:91:FF:9B:C3:AA:6A:E0:F5:88:46:B3:C4:7C:A2:3C:34:1B:EA:12:DB:DB:DC:9B:BF:27:70:18:B0:6B:73:5E:E9:B1:9E:82:28:99:9C:D7:B8:7B:0F:FD:54:93:B0:B0:25:F5:1E:6E:42:CE:C4:88:EB:A8:CA:CE:3A:7C:D5:77:1E:1B:5E:A0:31:6F:EC:14:BD:62:E1:8F:C2:CC:9F:CB:BE:17:A6:3A:8B:33:57:2E:11:BA:E5:54:1E:09:CD:92:3B:92:3A:2E:52:BA:3E:F5:82:5E:D0:BD:4D:4F:2B:8A:BC:9F:D1:D5:8C:68:7E:2A:86:87:81:71:73:FF:46:B2:7F:6D:E3:75:D3:92:A7:02:00:C9:9C:6B:2A:C5:0F:D5:8C:D7:27:B0:B9:5F:C2:A1:02:AA:BC:91:4E:49:72:14:75:28:FE:75:B4:30:9F:B6:2E:CE:34:03:A1:16:85:04:01:7F:D8:8B:E2:32" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.net" } ], "validity": { "not_valid_after": "20251026122833Z", "not_valid_before": "20241026122943Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Saturday 26 October 2024 08:29:55 -0400 (0:00:00.038) 0:00:21.725 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Saturday 26 October 2024 08:29:55 -0400 (0:00:00.050) 0:00:21.776 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Saturday 26 October 2024 08:29:55 -0400 (0:00:00.027) 0:00:21.803 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Saturday 26 October 2024 08:29:55 -0400 (0:00:00.049) 0:00:21.852 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Saturday 26 October 2024 08:29:55 -0400 (0:00:00.047) 0:00:21.900 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Saturday 26 October 2024 08:29:55 -0400 (0:00:00.046) 0:00:21.946 ****** ok: [managed-node3] => { "changed": false, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/another-cert.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "delta": "0:00:00.046254", "end": "2024-10-26 08:29:56.019565", "rc": 0, "start": "2024-10-26 08:29:55.973311" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Saturday 26 October 2024 08:29:56 -0400 (0:00:00.421) 0:00:22.367 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* managed-node3 : ok=69 changed=1 unreachable=0 failed=0 skipped=14 rescued=0 ignored=0 Saturday 26 October 2024 08:29:56 -0400 (0:00:00.053) 0:00:22.421 ****** =============================================================================== fedora.linux_system_roles.certificate : Ensure certificate requests ----- 2.59s /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 1.59s /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 1.53s /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Ensure python3 is installed --------------------------------------------- 1.51s /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Ensure python3 is installed --------------------------------------------- 1.47s /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Ensure python3 is installed --------------------------------------------- 1.46s /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Gathering Facts --------------------------------------------------------- 1.29s /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:2 Gathering Facts --------------------------------------------------------- 0.90s /tmp/collections-54p/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.85s /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists --- 0.66s /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Parse certificate ------------------------------------------------------- 0.59s /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Retrieve auto-renew flag ------------------------------------------------ 0.54s /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 fedora.linux_system_roles.certificate : Check if system is ostree ------- 0.52s /tmp/collections-54p/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.48s /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Retrieve auto-renew flag ------------------------------------------------ 0.45s /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Parse certificate ------------------------------------------------------- 0.45s /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Parse certificate ------------------------------------------------------- 0.44s /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Retrieve auto-renew flag ------------------------------------------------ 0.42s /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Retrieve certificate file stats ----------------------------------------- 0.40s /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Retrieve key file stats ------------------------------------------------- 0.39s /tmp/collections-54p/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65