[DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ansible-playbook [core 2.17.3] 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-MAP executable location = /usr/local/bin/ansible-playbook python version = 3.12.5 (main, Aug 7 2024, 00:00:00) [GCC 14.1.1 20240607 (Red Hat 14.1.1-5)] (/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-MAP/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-MAP/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:2 Saturday 31 August 2024 08:24:40 -0400 (0:00:00.026) 0:00:00.026 ******* [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-MAP/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Saturday 31 August 2024 08:24:41 -0400 (0:00:01.185) 0:00:01.211 ******* included: /tmp/collections-MAP/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-MAP/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Saturday 31 August 2024 08:24:41 -0400 (0:00:00.021) 0:00:01.232 ******* 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-MAP/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Saturday 31 August 2024 08:24:41 -0400 (0:00:00.032) 0:00:01.265 ******* 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-MAP/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Saturday 31 August 2024 08:24:42 -0400 (0:00:00.498) 0:00:01.763 ******* 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-MAP/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Saturday 31 August 2024 08:24:42 -0400 (0:00:00.041) 0:00:01.805 ******* 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" } skipping: [managed_node3] => (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_node3] => (item=CentOS_10.yml) => { "ansible_facts": { "__certificate_certmonger_packages": [ "certmonger", "python3-packaging" ] }, "ansible_included_var_files": [ "/tmp/collections-MAP/ansible_collections/fedora/linux_system_roles/roles/certificate/vars/CentOS_10.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_10.yml" } ok: [managed_node3] => (item=CentOS_10.yml) => { "ansible_facts": { "__certificate_certmonger_packages": [ "certmonger", "python3-packaging" ] }, "ansible_included_var_files": [ "/tmp/collections-MAP/ansible_collections/fedora/linux_system_roles/roles/certificate/vars/CentOS_10.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_10.yml" } TASK [fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed] *** task path: /tmp/collections-MAP/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Saturday 31 August 2024 08:24:42 -0400 (0:00:00.081) 0:00:01.886 ******* 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-MAP/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Saturday 31 August 2024 08:24:43 -0400 (0:00:00.919) 0:00:02.805 ******* 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-MAP/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Saturday 31 August 2024 08:24:43 -0400 (0:00:00.700) 0:00:03.506 ******* 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": 6, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists] *** task path: /tmp/collections-MAP/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Saturday 31 August 2024 08:24:44 -0400 (0:00:00.488) 0:00:03.995 ******* 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": 6, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure provider service is running] *** task path: /tmp/collections-MAP/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Saturday 31 August 2024 08:24:44 -0400 (0:00:00.423) 0:00:04.418 ******* 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-08-31 08:24:11 EDT", "ActiveEnterTimestampMonotonic": "175091588", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus-broker.service basic.target network.target system.slice syslog.target systemd-journald.socket sysinit.target dbus.socket", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-31 08:24:11 EDT", "AssertTimestampMonotonic": "175066634", "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": "659195000", "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-08-31 08:24:11 EDT", "ConditionTimestampMonotonic": "175066631", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/certmonger.service", "ControlGroupId": "4438", "ControlPID": "0", "CoredumpFilter": "0x33", "CoredumpReceive": "no", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "DefaultStartupMemoryLow": "0", "Delegate": "no", "Description": "Certificate monitoring and PKI enrollment", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveMemoryHigh": "3702898688", "EffectiveMemoryMax": "3702898688", "EffectiveTasksMax": "22364", "EnvironmentFiles": "/etc/sysconfig/certmonger (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainHandoffTimestamp": "Sat 2024-08-31 08:24:11 EDT", "ExecMainHandoffTimestampMonotonic": "175080353", "ExecMainPID": "7803", "ExecMainStartTimestamp": "Sat 2024-08-31 08:24:11 EDT", "ExecMainStartTimestampMonotonic": "175067780", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /run/certmonger.pid -n $OPTS ; ignore_errors=no ; start_time=[Sat 2024-08-31 08:24:11 EDT] ; stop_time=[n/a] ; pid=7803 ; 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-08-31 08:24:11 EDT] ; stop_time=[n/a] ; pid=7803 ; 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-08-31 08:24:11 EDT", "InactiveExitTimestampMonotonic": "175068369", "InvocationID": "3728eb4935264c10bbc1152cbeb5ef7f", "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": "13978", "LimitNPROCSoft": "13978", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13978", "LimitSIGPENDINGSoft": "13978", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "7803", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "3270672384", "MemoryCurrent": "2674688", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryKSM": "no", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "8699904", "MemoryPressureThresholdUSec": "200ms", "MemoryPressureWatch": "auto", "MemorySwapCurrent": "0", "MemorySwapMax": "infinity", "MemorySwapPeak": "0", "MemoryZSwapCurrent": "0", "MemoryZSwapMax": "infinity", "MemoryZSwapWriteback": "yes", "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-08-31 08:24:11 EDT", "StateChangeTimestampMonotonic": "175091588", "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": "22364", "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-MAP/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Saturday 31 August 2024 08:24:45 -0400 (0:00:00.927) 0:00:05.345 ******* 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-MAP/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Saturday 31 August 2024 08:24:48 -0400 (0:00:02.525) 0:00:07.871 ******* 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-MAP/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Saturday 31 August 2024 08:24:48 -0400 (0:00:00.057) 0:00:07.928 ******* 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-MAP/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Saturday 31 August 2024 08:24:48 -0400 (0:00:00.030) 0:00:07.959 ******* 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-MAP/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Saturday 31 August 2024 08:24:48 -0400 (0:00:00.034) 0:00:07.994 ******* 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-MAP/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:18 Saturday 31 August 2024 08:24:48 -0400 (0:00:00.070) 0:00:08.064 ******* ok: [managed_node3] TASK [Verify each certificate] ************************************************* task path: /tmp/collections-MAP/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:50 Saturday 31 August 2024 08:24:49 -0400 (0:00:00.876) 0:00:08.941 ******* included: /tmp/collections-MAP/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-MAP/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-MAP/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-MAP/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Saturday 31 August 2024 08:24:49 -0400 (0:00:00.118) 0:00:09.059 ******* ok: [managed_node3] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-MAP/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Saturday 31 August 2024 08:24:49 -0400 (0:00:00.022) 0:00:09.082 ******* 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-MAP/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Saturday 31 August 2024 08:24:49 -0400 (0:00:00.026) 0:00:09.108 ******* 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-MAP/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Saturday 31 August 2024 08:24:49 -0400 (0:00:00.026) 0:00:09.135 ******* 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-MAP/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Saturday 31 August 2024 08:24:49 -0400 (0:00:00.014) 0:00:09.149 ******* 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-MAP/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Saturday 31 August 2024 08:24:50 -0400 (0:00:00.700) 0:00:09.849 ******* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1725107086.6165566, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "5fe8dd86224452fcd67d97fa93e74186b4dc3207", "ctime": 1725107086.6135566, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2421501, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1725107086.6135566, "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": "1087970027", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-MAP/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Saturday 31 August 2024 08:24:50 -0400 (0:00:00.394) 0:00:10.244 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-MAP/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Saturday 31 August 2024 08:24:50 -0400 (0:00:00.026) 0:00:10.271 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-MAP/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Saturday 31 August 2024 08:24:50 -0400 (0:00:00.053) 0:00:10.324 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-MAP/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Saturday 31 August 2024 08:24:50 -0400 (0:00:00.043) 0:00:10.367 ******* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1725107086.573557, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "35d46e90a66ac441e6936400936b881e795ca66f", "ctime": 1725107086.6135566, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 383678, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1725107086.6135566, "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": "812506109", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-MAP/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Saturday 31 August 2024 08:24:51 -0400 (0:00:00.350) 0:00:10.718 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-MAP/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Saturday 31 August 2024 08:24:51 -0400 (0:00:00.034) 0:00:10.752 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-MAP/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Saturday 31 August 2024 08:24:51 -0400 (0:00:00.057) 0:00:10.809 ******* ok: [managed_node3] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "02:76:FC:57:C1:02:A8:29:37:AD:5B:DC:E0:BC:C0:97:DD:9D:DD:CB" }, "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": "9E:CA:DC:5F:5C:2B:DC:5F:1E:DB:84:62:CD:A7:A1:EF:30:59:2F:9F" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "B8:FD:28:A2:30:B1:55:27:AA:97:88:81:05:87:E5:02:64:4A:29:EC:9B:13:B1:EC:1D:5F:DA:4B:27:00:8B:8E:82:D5:DC:10:8E:D1:4E:11:08:2C:13:AA:1D:A7:1C:E0:53:BE:0F:82:E2:BF:33:20:9C:32:4E:3E:43:EE:C2:79:0C:17:77:2C:4D:74:66:87:37:C9:4A:60:AA:66:69:73:6D:41:46:24:BE:B7:50:65:9A:B5:24:F9:5D:7E:84:77:7D:33:76:FB:50:E0:5C:62:9A:E7:F3:4E:2B:75:AD:13:92:59:7F:CB:05:52:91:45:6F:FE:02:A7:31:B6:B1:CB:3D:FA:D3:5A:3D:B1:DF:1F:CA:5D:17:05:D5:0B:0D:79:3A:27:13:C7:0B:8E:1C:3E:06:3C:81:FA:7F:61:51:71:30:6F:AD:AB:D0:7D:69:15:52:5B:38:49:1B:79:A5:46:78:56:27:06:65:14:BA:53:F7:65:3D:97:8C:42:86:1A:D6:64:BA:DB:4B:02:3B:EC:A4:29:B1:D4:33:9F:19:54:49:6F:F0:60:67:67:E2:27:1C:A1:25:BF:0B:26:A4:A0:A0:22:49:F1:9D:FA:DE:81:43:FD:03:DB:78:69:03:53:77:49:90:3C:0C:F6:0D:14:98:E5:67:F4:5B:97:A6:54" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250831122412Z", "not_valid_before": "20240831122446Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-MAP/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Saturday 31 August 2024 08:24:51 -0400 (0:00:00.547) 0:00:11.357 ******* ok: [managed_node3] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "02:76:FC:57:C1:02:A8:29:37:AD:5B:DC:E0:BC:C0:97:DD:9D:DD:CB" }, "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": "9E:CA:DC:5F:5C:2B:DC:5F:1E:DB:84:62:CD:A7:A1:EF:30:59:2F:9F" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "B8:FD:28:A2:30:B1:55:27:AA:97:88:81:05:87:E5:02:64:4A:29:EC:9B:13:B1:EC:1D:5F:DA:4B:27:00:8B:8E:82:D5:DC:10:8E:D1:4E:11:08:2C:13:AA:1D:A7:1C:E0:53:BE:0F:82:E2:BF:33:20:9C:32:4E:3E:43:EE:C2:79:0C:17:77:2C:4D:74:66:87:37:C9:4A:60:AA:66:69:73:6D:41:46:24:BE:B7:50:65:9A:B5:24:F9:5D:7E:84:77:7D:33:76:FB:50:E0:5C:62:9A:E7:F3:4E:2B:75:AD:13:92:59:7F:CB:05:52:91:45:6F:FE:02:A7:31:B6:B1:CB:3D:FA:D3:5A:3D:B1:DF:1F:CA:5D:17:05:D5:0B:0D:79:3A:27:13:C7:0B:8E:1C:3E:06:3C:81:FA:7F:61:51:71:30:6F:AD:AB:D0:7D:69:15:52:5B:38:49:1B:79:A5:46:78:56:27:06:65:14:BA:53:F7:65:3D:97:8C:42:86:1A:D6:64:BA:DB:4B:02:3B:EC:A4:29:B1:D4:33:9F:19:54:49:6F:F0:60:67:67:E2:27:1C:A1:25:BF:0B:26:A4:A0:A0:22:49:F1:9D:FA:DE:81:43:FD:03:DB:78:69:03:53:77:49:90:3C:0C:F6:0D:14:98:E5:67:F4:5B:97:A6:54" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250831122412Z", "not_valid_before": "20240831122446Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-MAP/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Saturday 31 August 2024 08:24:51 -0400 (0:00:00.028) 0:00:11.385 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-MAP/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Saturday 31 August 2024 08:24:51 -0400 (0:00:00.055) 0:00:11.440 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-MAP/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Saturday 31 August 2024 08:24:51 -0400 (0:00:00.020) 0:00:11.461 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-MAP/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Saturday 31 August 2024 08:24:51 -0400 (0:00:00.041) 0:00:11.503 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-MAP/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Saturday 31 August 2024 08:24:52 -0400 (0:00:00.044) 0:00:11.547 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-MAP/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Saturday 31 August 2024 08:24:52 -0400 (0:00:00.040) 0:00:11.587 ******* 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.038320", "end": "2024-08-31 08:24:52.516418", "rc": 0, "start": "2024-08-31 08:24:52.478098" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-MAP/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Saturday 31 August 2024 08:24:52 -0400 (0:00:00.503) 0:00:12.091 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-MAP/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Saturday 31 August 2024 08:24:52 -0400 (0:00:00.040) 0:00:12.131 ******* ok: [managed_node3] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-MAP/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Saturday 31 August 2024 08:24:52 -0400 (0:00:00.014) 0:00:12.146 ******* 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-MAP/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Saturday 31 August 2024 08:24:52 -0400 (0:00:00.016) 0:00:12.162 ******* 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-MAP/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Saturday 31 August 2024 08:24:52 -0400 (0:00:00.017) 0:00:12.180 ******* 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-MAP/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Saturday 31 August 2024 08:24:52 -0400 (0:00:00.012) 0:00:12.192 ******* 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-MAP/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Saturday 31 August 2024 08:24:53 -0400 (0:00:00.687) 0:00:12.880 ******* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1725107087.3345542, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "1d0c60287febe0db60c34e34e9cab3e9bd144df7", "ctime": 1725107087.3325543, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2421502, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1725107087.3325543, "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": "1441475361", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-MAP/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Saturday 31 August 2024 08:24:53 -0400 (0:00:00.353) 0:00:13.233 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-MAP/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Saturday 31 August 2024 08:24:53 -0400 (0:00:00.030) 0:00:13.264 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-MAP/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Saturday 31 August 2024 08:24:53 -0400 (0:00:00.044) 0:00:13.309 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-MAP/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Saturday 31 August 2024 08:24:53 -0400 (0:00:00.049) 0:00:13.359 ******* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1725107087.2915545, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "4ad65cf17b227e38aa678862e426977b3780ca18", "ctime": 1725107087.3325543, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 383679, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1725107087.3325543, "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": "3373608014", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-MAP/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Saturday 31 August 2024 08:24:54 -0400 (0:00:00.356) 0:00:13.715 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-MAP/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Saturday 31 August 2024 08:24:54 -0400 (0:00:00.017) 0:00:13.733 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-MAP/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Saturday 31 August 2024 08:24:54 -0400 (0:00:00.046) 0:00:13.780 ******* ok: [managed_node3] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "02:76:FC:57:C1:02:A8:29:37:AD:5B:DC:E0:BC:C0:97:DD:9D:DD:CB" }, "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": "50:75:32:0F:3B:6B:3A:50:0A:06:33:F2:A0:01:A0:BA:FA:C0:B9:4B" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "1A:F7:29:22:5A:20:2C:B3:B1:30:EF:23:24:57:3F:EA:EA:73:1C:3D:1B:39:C0:FA:1E:51:2E:22:7F:99:4C:26:BD:7A:08:73:D2:E3:CD:CB:F7:B7:96:2A:8A:83:04:D9:EB:A7:B5:AA:40:CE:FC:07:60:AA:3A:40:94:BA:B1:11:3F:DE:20:82:43:B9:4D:A5:BF:AB:95:24:F3:37:4B:86:D0:C7:91:BC:2D:86:E1:27:A4:2D:0E:B6:D8:8A:5F:0E:4E:D8:6B:B5:5B:3A:89:F3:8C:59:CA:37:2E:B6:22:03:8B:09:85:68:39:4A:BE:1D:DF:E9:1F:BD:63:BB:62:6C:12:6C:40:81:68:42:2D:10:32:3A:0D:1A:65:E4:FA:46:35:A3:D2:C1:C5:D7:B3:25:77:8B:39:DE:1A:DE:BE:47:00:3C:2A:D1:B6:53:E2:C1:52:14:79:54:BF:AB:F6:BC:5F:EA:D4:12:8C:42:B5:EE:A0:6F:35:C7:AC:76:C9:0B:5C:60:45:7B:55:5E:2E:2C:76:FA:EC:B7:88:4B:20:EA:7A:AA:AB:E8:6A:56:82:53:B7:59:12:E4:E4:86:3B:2D:EB:41:79:DA:A5:8D:39:A6:DD:AA:A9:6A:C4:96:C9:E6:27:89:08:05:AD:22:88:3D:D7:5E:79:B7:FF:FB:65:84" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.org" } ], "validity": { "not_valid_after": "20250831122412Z", "not_valid_before": "20240831122447Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-MAP/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Saturday 31 August 2024 08:24:54 -0400 (0:00:00.404) 0:00:14.185 ******* ok: [managed_node3] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "02:76:FC:57:C1:02:A8:29:37:AD:5B:DC:E0:BC:C0:97:DD:9D:DD:CB" }, "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": "50:75:32:0F:3B:6B:3A:50:0A:06:33:F2:A0:01:A0:BA:FA:C0:B9:4B" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "1A:F7:29:22:5A:20:2C:B3:B1:30:EF:23:24:57:3F:EA:EA:73:1C:3D:1B:39:C0:FA:1E:51:2E:22:7F:99:4C:26:BD:7A:08:73:D2:E3:CD:CB:F7:B7:96:2A:8A:83:04:D9:EB:A7:B5:AA:40:CE:FC:07:60:AA:3A:40:94:BA:B1:11:3F:DE:20:82:43:B9:4D:A5:BF:AB:95:24:F3:37:4B:86:D0:C7:91:BC:2D:86:E1:27:A4:2D:0E:B6:D8:8A:5F:0E:4E:D8:6B:B5:5B:3A:89:F3:8C:59:CA:37:2E:B6:22:03:8B:09:85:68:39:4A:BE:1D:DF:E9:1F:BD:63:BB:62:6C:12:6C:40:81:68:42:2D:10:32:3A:0D:1A:65:E4:FA:46:35:A3:D2:C1:C5:D7:B3:25:77:8B:39:DE:1A:DE:BE:47:00:3C:2A:D1:B6:53:E2:C1:52:14:79:54:BF:AB:F6:BC:5F:EA:D4:12:8C:42:B5:EE:A0:6F:35:C7:AC:76:C9:0B:5C:60:45:7B:55:5E:2E:2C:76:FA:EC:B7:88:4B:20:EA:7A:AA:AB:E8:6A:56:82:53:B7:59:12:E4:E4:86:3B:2D:EB:41:79:DA:A5:8D:39:A6:DD:AA:A9:6A:C4:96:C9:E6:27:89:08:05:AD:22:88:3D:D7:5E:79:B7:FF:FB:65:84" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.org" } ], "validity": { "not_valid_after": "20250831122412Z", "not_valid_before": "20240831122447Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-MAP/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Saturday 31 August 2024 08:24:54 -0400 (0:00:00.019) 0:00:14.204 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-MAP/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Saturday 31 August 2024 08:24:54 -0400 (0:00:00.042) 0:00:14.247 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-MAP/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Saturday 31 August 2024 08:24:54 -0400 (0:00:00.021) 0:00:14.268 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-MAP/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Saturday 31 August 2024 08:24:54 -0400 (0:00:00.054) 0:00:14.323 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-MAP/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Saturday 31 August 2024 08:24:54 -0400 (0:00:00.059) 0:00:14.382 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-MAP/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Saturday 31 August 2024 08:24:54 -0400 (0:00:00.061) 0:00:14.444 ******* 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.037392", "end": "2024-08-31 08:24:55.261908", "rc": 0, "start": "2024-08-31 08:24:55.224516" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-MAP/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Saturday 31 August 2024 08:24:55 -0400 (0:00:00.414) 0:00:14.858 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-MAP/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Saturday 31 August 2024 08:24:55 -0400 (0:00:00.110) 0:00:14.969 ******* ok: [managed_node3] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-MAP/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Saturday 31 August 2024 08:24:55 -0400 (0:00:00.027) 0:00:14.997 ******* 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-MAP/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Saturday 31 August 2024 08:24:55 -0400 (0:00:00.024) 0:00:15.021 ******* 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-MAP/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Saturday 31 August 2024 08:24:55 -0400 (0:00:00.021) 0:00:15.043 ******* 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-MAP/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Saturday 31 August 2024 08:24:55 -0400 (0:00:00.017) 0:00:15.060 ******* 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-MAP/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Saturday 31 August 2024 08:24:56 -0400 (0:00:00.673) 0:00:15.733 ******* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1725107088.1955514, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "051b91ff719b5af7dae09e2d59ae6f5f0abf4e0e", "ctime": 1725107088.1935513, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2421503, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1725107088.1935513, "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": "3471443400", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-MAP/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Saturday 31 August 2024 08:24:56 -0400 (0:00:00.364) 0:00:16.098 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-MAP/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Saturday 31 August 2024 08:24:56 -0400 (0:00:00.052) 0:00:16.151 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-MAP/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Saturday 31 August 2024 08:24:56 -0400 (0:00:00.079) 0:00:16.230 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-MAP/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Saturday 31 August 2024 08:24:56 -0400 (0:00:00.060) 0:00:16.290 ******* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1725107088.1525514, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b2c045beda93d5ea46e17c86c97640c278cd0f6d", "ctime": 1725107088.1935513, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 282432, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1725107088.1935513, "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": "548555324", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-MAP/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Saturday 31 August 2024 08:24:57 -0400 (0:00:00.394) 0:00:16.685 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-MAP/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Saturday 31 August 2024 08:24:57 -0400 (0:00:00.027) 0:00:16.713 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-MAP/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Saturday 31 August 2024 08:24:57 -0400 (0:00:00.061) 0:00:16.774 ******* ok: [managed_node3] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "02:76:FC:57:C1:02:A8:29:37:AD:5B:DC:E0:BC:C0:97:DD:9D:DD:CB" }, "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": "4A:5E:E5:03:2F:75:20:56:1D:0B:8E:D0:30:45:9B:D8:F1:0E:09:6E" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "83:30:BF:5F:5A:8F:2F:FA:64:04:F6:35:7A:91:B2:F9:F2:BE:A8:07:41:7B:70:08:20:A6:B9:57:A4:76:7B:65:81:AA:9E:72:34:A4:4C:AB:0B:22:FC:68:2F:86:7E:DC:16:D7:39:49:3E:E5:C1:A3:25:80:91:E3:3A:CA:4E:CC:B0:23:8C:4F:AE:F2:C1:25:A6:71:F9:9C:F7:A4:63:45:00:3C:C9:5E:B0:7D:8B:9D:CA:A1:16:07:75:86:C5:64:C9:DE:2D:BE:EF:F9:C0:CD:41:51:1B:B6:3A:1C:43:95:F6:E2:49:EB:45:2E:B5:79:89:41:16:5E:9A:AA:9D:20:42:DF:84:DB:29:F9:1C:5C:99:4E:B6:73:C0:3F:6D:F6:3D:EC:82:20:E1:14:38:7F:85:E4:31:04:37:C4:28:FF:48:A4:C2:1F:92:08:BD:44:B7:17:CF:A0:4D:ED:1E:47:73:CD:24:6A:51:69:48:2C:8E:61:C6:4D:F0:C2:CB:03:D6:89:3F:6A:AC:78:2E:ED:35:21:EA:04:E6:79:09:3F:A5:C1:A1:F7:48:E4:9B:09:ED:90:52:40:E3:47:7A:84:68:31:78:68:C2:EE:C4:41:44:65:B9:C7:D1:66:EE:44:6A:98:67:E6:6F:80:2A:6F:E7:86:64:24:26:F5:4E:3C" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.net" } ], "validity": { "not_valid_after": "20250831122412Z", "not_valid_before": "20240831122448Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-MAP/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Saturday 31 August 2024 08:24:57 -0400 (0:00:00.413) 0:00:17.188 ******* ok: [managed_node3] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "02:76:FC:57:C1:02:A8:29:37:AD:5B:DC:E0:BC:C0:97:DD:9D:DD:CB" }, "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": "4A:5E:E5:03:2F:75:20:56:1D:0B:8E:D0:30:45:9B:D8:F1:0E:09:6E" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "83:30:BF:5F:5A:8F:2F:FA:64:04:F6:35:7A:91:B2:F9:F2:BE:A8:07:41:7B:70:08:20:A6:B9:57:A4:76:7B:65:81:AA:9E:72:34:A4:4C:AB:0B:22:FC:68:2F:86:7E:DC:16:D7:39:49:3E:E5:C1:A3:25:80:91:E3:3A:CA:4E:CC:B0:23:8C:4F:AE:F2:C1:25:A6:71:F9:9C:F7:A4:63:45:00:3C:C9:5E:B0:7D:8B:9D:CA:A1:16:07:75:86:C5:64:C9:DE:2D:BE:EF:F9:C0:CD:41:51:1B:B6:3A:1C:43:95:F6:E2:49:EB:45:2E:B5:79:89:41:16:5E:9A:AA:9D:20:42:DF:84:DB:29:F9:1C:5C:99:4E:B6:73:C0:3F:6D:F6:3D:EC:82:20:E1:14:38:7F:85:E4:31:04:37:C4:28:FF:48:A4:C2:1F:92:08:BD:44:B7:17:CF:A0:4D:ED:1E:47:73:CD:24:6A:51:69:48:2C:8E:61:C6:4D:F0:C2:CB:03:D6:89:3F:6A:AC:78:2E:ED:35:21:EA:04:E6:79:09:3F:A5:C1:A1:F7:48:E4:9B:09:ED:90:52:40:E3:47:7A:84:68:31:78:68:C2:EE:C4:41:44:65:B9:C7:D1:66:EE:44:6A:98:67:E6:6F:80:2A:6F:E7:86:64:24:26:F5:4E:3C" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.net" } ], "validity": { "not_valid_after": "20250831122412Z", "not_valid_before": "20240831122448Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-MAP/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Saturday 31 August 2024 08:24:57 -0400 (0:00:00.019) 0:00:17.207 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-MAP/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Saturday 31 August 2024 08:24:57 -0400 (0:00:00.036) 0:00:17.243 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-MAP/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Saturday 31 August 2024 08:24:57 -0400 (0:00:00.018) 0:00:17.262 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-MAP/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Saturday 31 August 2024 08:24:57 -0400 (0:00:00.033) 0:00:17.296 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-MAP/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Saturday 31 August 2024 08:24:57 -0400 (0:00:00.037) 0:00:17.334 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-MAP/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Saturday 31 August 2024 08:24:57 -0400 (0:00:00.037) 0:00:17.371 ******* 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.038515", "end": "2024-08-31 08:24:58.171037", "rc": 0, "start": "2024-08-31 08:24:58.132522" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-MAP/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Saturday 31 August 2024 08:24:58 -0400 (0:00:00.371) 0:00:17.742 ******* 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 31 August 2024 08:24:58 -0400 (0:00:00.042) 0:00:17.784 ******* =============================================================================== fedora.linux_system_roles.certificate : Ensure certificate requests ----- 2.53s /tmp/collections-MAP/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Gathering Facts --------------------------------------------------------- 1.19s /tmp/collections-MAP/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:2 fedora.linux_system_roles.certificate : Ensure provider service is running --- 0.93s /tmp/collections-MAP/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 0.92s /tmp/collections-MAP/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Gathering Facts --------------------------------------------------------- 0.88s /tmp/collections-MAP/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:18 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 0.70s /tmp/collections-MAP/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Ensure python3 is installed --------------------------------------------- 0.70s /tmp/collections-MAP/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Ensure python3 is installed --------------------------------------------- 0.69s /tmp/collections-MAP/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Ensure python3 is installed --------------------------------------------- 0.67s /tmp/collections-MAP/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Parse certificate ------------------------------------------------------- 0.55s /tmp/collections-MAP/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Retrieve auto-renew flag ------------------------------------------------ 0.50s /tmp/collections-MAP/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.50s /tmp/collections-MAP/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists --- 0.49s /tmp/collections-MAP/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists --- 0.42s /tmp/collections-MAP/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Retrieve auto-renew flag ------------------------------------------------ 0.41s /tmp/collections-MAP/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Parse certificate ------------------------------------------------------- 0.41s /tmp/collections-MAP/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Parse certificate ------------------------------------------------------- 0.40s /tmp/collections-MAP/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Retrieve key file stats ------------------------------------------------- 0.39s /tmp/collections-MAP/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Retrieve certificate file stats ----------------------------------------- 0.39s /tmp/collections-MAP/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Retrieve auto-renew flag ------------------------------------------------ 0.37s /tmp/collections-MAP/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143