[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-UJM executable location = /usr/local/bin/ansible-playbook python version = 3.12.5 (main, Aug 23 2024, 00:00:00) [GCC 14.2.1 20240801 (Red Hat 14.2.1-1)] (/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-UJM/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-UJM/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:2 Saturday 07 September 2024 08:25:40 -0400 (0:00:00.020) 0:00:00.020 **** [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-UJM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Saturday 07 September 2024 08:25:41 -0400 (0:00:01.104) 0:00:01.125 **** included: /tmp/collections-UJM/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-UJM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Saturday 07 September 2024 08:25:41 -0400 (0:00:00.017) 0:00:01.142 **** 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-UJM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Saturday 07 September 2024 08:25:41 -0400 (0:00:00.032) 0:00:01.174 **** 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-UJM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Saturday 07 September 2024 08:25:42 -0400 (0:00:00.467) 0:00:01.642 **** 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-UJM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Saturday 07 September 2024 08:25:42 -0400 (0:00:00.034) 0:00:01.677 **** 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-UJM/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-UJM/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-UJM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Saturday 07 September 2024 08:25:42 -0400 (0:00:00.043) 0:00:01.720 **** 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-UJM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Saturday 07 September 2024 08:25:43 -0400 (0:00:00.784) 0:00:02.504 **** 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-UJM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Saturday 07 September 2024 08:25:43 -0400 (0:00:00.705) 0:00:03.210 **** 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-UJM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Saturday 07 September 2024 08:25:44 -0400 (0:00:00.561) 0:00:03.771 **** 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-UJM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Saturday 07 September 2024 08:25:44 -0400 (0:00:00.435) 0:00:04.206 **** 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-09-07 08:25:08 EDT", "ActiveEnterTimestampMonotonic": "208613845", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket system.slice syslog.target sysinit.target dbus.socket basic.target network.target dbus-broker.service", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-09-07 08:25:08 EDT", "AssertTimestampMonotonic": "208589139", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedorahosted.certmonger", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "777825000", "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-09-07 08:25:08 EDT", "ConditionTimestampMonotonic": "208589136", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/certmonger.service", "ControlGroupId": "4399", "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": "3702865920", "EffectiveMemoryMax": "3702865920", "EffectiveTasksMax": "22364", "EnvironmentFiles": "/etc/sysconfig/certmonger (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainHandoffTimestamp": "Sat 2024-09-07 08:25:08 EDT", "ExecMainHandoffTimestampMonotonic": "208604338", "ExecMainPID": "7692", "ExecMainStartTimestamp": "Sat 2024-09-07 08:25:08 EDT", "ExecMainStartTimestampMonotonic": "208590585", "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-09-07 08:25:08 EDT] ; stop_time=[n/a] ; pid=7692 ; 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-09-07 08:25:08 EDT] ; stop_time=[n/a] ; pid=7692 ; 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-09-07 08:25:08 EDT", "InactiveExitTimestampMonotonic": "208591939", "InvocationID": "811e455e66ee4bbf942606ace78ecbf2", "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": "7692", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "3282296832", "MemoryCurrent": "2674688", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryKSM": "no", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "8044544", "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": "system.slice dbus.socket 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-09-07 08:25:08 EDT", "StateChangeTimestampMonotonic": "208613845", "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-UJM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Saturday 07 September 2024 08:25:45 -0400 (0:00:00.784) 0:00:04.991 **** 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-UJM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Saturday 07 September 2024 08:25:48 -0400 (0:00:02.866) 0:00:07.858 **** 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-UJM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Saturday 07 September 2024 08:25:48 -0400 (0:00:00.057) 0:00:07.915 **** 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-UJM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Saturday 07 September 2024 08:25:48 -0400 (0:00:00.028) 0:00:07.944 **** 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-UJM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Saturday 07 September 2024 08:25:48 -0400 (0:00:00.029) 0:00:07.974 **** 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-UJM/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:18 Saturday 07 September 2024 08:25:48 -0400 (0:00:00.050) 0:00:08.024 **** ok: [managed_node3] TASK [Verify each certificate] ************************************************* task path: /tmp/collections-UJM/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:50 Saturday 07 September 2024 08:25:49 -0400 (0:00:00.855) 0:00:08.879 **** included: /tmp/collections-UJM/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-UJM/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-UJM/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-UJM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Saturday 07 September 2024 08:25:49 -0400 (0:00:00.104) 0:00:08.983 **** ok: [managed_node3] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-UJM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Saturday 07 September 2024 08:25:49 -0400 (0:00:00.024) 0:00:09.008 **** 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-UJM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Saturday 07 September 2024 08:25:49 -0400 (0:00:00.027) 0:00:09.035 **** 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-UJM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Saturday 07 September 2024 08:25:49 -0400 (0:00:00.026) 0:00:09.061 **** 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-UJM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Saturday 07 September 2024 08:25:49 -0400 (0:00:00.034) 0:00:09.096 **** 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-UJM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Saturday 07 September 2024 08:25:50 -0400 (0:00:00.750) 0:00:09.846 **** ok: [managed_node3] => { "changed": false, "stat": { "atime": 1725711946.3347309, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "dfe6b79805ce773c6f95986c94e474f9a8dde789", "ctime": 1725711946.332731, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 378942, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1725711946.332731, "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": "1983113096", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-UJM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Saturday 07 September 2024 08:25:50 -0400 (0:00:00.352) 0:00:10.198 **** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-UJM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Saturday 07 September 2024 08:25:50 -0400 (0:00:00.049) 0:00:10.248 **** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-UJM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Saturday 07 September 2024 08:25:50 -0400 (0:00:00.116) 0:00:10.364 **** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-UJM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Saturday 07 September 2024 08:25:51 -0400 (0:00:00.122) 0:00:10.487 **** ok: [managed_node3] => { "changed": false, "stat": { "atime": 1725711946.2907307, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "1ac8578af912ad57ef4649909ab68be56bdaf0ed", "ctime": 1725711946.332731, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6299629, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1725711946.332731, "nlink": 1, "path": "/etc/pki/tls/private/mycert_many_self_signed.key", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1708, "uid": 0, "version": "2250510124", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-UJM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Saturday 07 September 2024 08:25:51 -0400 (0:00:00.377) 0:00:10.864 **** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-UJM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Saturday 07 September 2024 08:25:51 -0400 (0:00:00.020) 0:00:10.884 **** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-UJM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Saturday 07 September 2024 08:25:51 -0400 (0:00:00.056) 0:00:10.941 **** ok: [managed_node3] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "DA:B2:A6:1F:65:C7:83:0B:71:19:0E:E0:5D:30:A0:AC:69:56:9F:23" }, "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": "88:04:74:EA:29:5C:D9:6F:57:7A:1A:25:F5:B4:BF:4C:18:D6:37:06" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "33:CB:74:0F:97:E9:E8:78:6E:B6:8B:8F:76:1E:A9:C9:FA:82:0E:1B:92:CE:48:E2:1E:28:EF:AE:4F:37:F4:46:C8:F8:44:0E:3A:9C:42:EB:15:49:41:F4:CF:45:F3:53:7D:EB:13:B2:DC:38:BE:36:75:AC:99:42:82:3D:4D:4F:D8:C1:A2:96:F3:6B:B1:29:5A:E4:06:A7:C7:21:7F:90:B5:69:64:F0:31:94:29:93:F9:7D:E9:79:6D:ED:A4:43:58:C5:7D:0D:7B:01:EE:8E:87:AF:85:8B:94:EA:5E:9F:0C:E6:53:42:AF:2D:7C:F1:CB:FA:6F:C2:ED:03:A7:D5:97:3A:D8:8D:1D:BB:96:3F:0D:F9:19:24:4E:4F:FD:EC:F6:AF:DD:3F:A1:10:49:53:61:D0:62:09:01:05:3D:A3:AC:4C:1C:A4:5F:3D:40:02:4B:E4:F6:BE:2B:32:F9:9D:82:CE:D3:4F:A3:41:20:54:2C:DD:D8:7F:59:FD:7B:5B:8F:00:CA:46:F7:86:26:57:E0:8A:FB:1A:E4:E2:CB:AF:13:FD:26:EC:05:B4:6C:FF:C8:6D:33:57:ED:C6:4E:3D:33:FC:FB:D6:1A:45:31:36:C2:2D:AF:E7:D8:DF:41:B0:45:55:66:D7:18:71:07:85:77:15:85:F9:A4:5E:3C:26" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250907122508Z", "not_valid_before": "20240907122546Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-UJM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Saturday 07 September 2024 08:25:52 -0400 (0:00:00.580) 0:00:11.521 **** ok: [managed_node3] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "DA:B2:A6:1F:65:C7:83:0B:71:19:0E:E0:5D:30:A0:AC:69:56:9F:23" }, "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": "88:04:74:EA:29:5C:D9:6F:57:7A:1A:25:F5:B4:BF:4C:18:D6:37:06" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "33:CB:74:0F:97:E9:E8:78:6E:B6:8B:8F:76:1E:A9:C9:FA:82:0E:1B:92:CE:48:E2:1E:28:EF:AE:4F:37:F4:46:C8:F8:44:0E:3A:9C:42:EB:15:49:41:F4:CF:45:F3:53:7D:EB:13:B2:DC:38:BE:36:75:AC:99:42:82:3D:4D:4F:D8:C1:A2:96:F3:6B:B1:29:5A:E4:06:A7:C7:21:7F:90:B5:69:64:F0:31:94:29:93:F9:7D:E9:79:6D:ED:A4:43:58:C5:7D:0D:7B:01:EE:8E:87:AF:85:8B:94:EA:5E:9F:0C:E6:53:42:AF:2D:7C:F1:CB:FA:6F:C2:ED:03:A7:D5:97:3A:D8:8D:1D:BB:96:3F:0D:F9:19:24:4E:4F:FD:EC:F6:AF:DD:3F:A1:10:49:53:61:D0:62:09:01:05:3D:A3:AC:4C:1C:A4:5F:3D:40:02:4B:E4:F6:BE:2B:32:F9:9D:82:CE:D3:4F:A3:41:20:54:2C:DD:D8:7F:59:FD:7B:5B:8F:00:CA:46:F7:86:26:57:E0:8A:FB:1A:E4:E2:CB:AF:13:FD:26:EC:05:B4:6C:FF:C8:6D:33:57:ED:C6:4E:3D:33:FC:FB:D6:1A:45:31:36:C2:2D:AF:E7:D8:DF:41:B0:45:55:66:D7:18:71:07:85:77:15:85:F9:A4:5E:3C:26" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250907122508Z", "not_valid_before": "20240907122546Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-UJM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Saturday 07 September 2024 08:25:52 -0400 (0:00:00.031) 0:00:11.553 **** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-UJM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Saturday 07 September 2024 08:25:52 -0400 (0:00:00.059) 0:00:11.612 **** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-UJM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Saturday 07 September 2024 08:25:52 -0400 (0:00:00.031) 0:00:11.644 **** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-UJM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Saturday 07 September 2024 08:25:52 -0400 (0:00:00.033) 0:00:11.677 **** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-UJM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Saturday 07 September 2024 08:25:52 -0400 (0:00:00.041) 0:00:11.719 **** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-UJM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Saturday 07 September 2024 08:25:52 -0400 (0:00:00.050) 0:00:11.770 **** 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.038960", "end": "2024-09-07 08:25:52.747755", "rc": 0, "start": "2024-09-07 08:25:52.708795" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-UJM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Saturday 07 September 2024 08:25:52 -0400 (0:00:00.485) 0:00:12.256 **** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-UJM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Saturday 07 September 2024 08:25:52 -0400 (0:00:00.034) 0:00:12.290 **** ok: [managed_node3] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-UJM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Saturday 07 September 2024 08:25:52 -0400 (0:00:00.013) 0:00:12.303 **** 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-UJM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Saturday 07 September 2024 08:25:52 -0400 (0:00:00.016) 0:00:12.320 **** 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-UJM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Saturday 07 September 2024 08:25:52 -0400 (0:00:00.016) 0:00:12.336 **** 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-UJM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Saturday 07 September 2024 08:25:52 -0400 (0:00:00.014) 0:00:12.351 **** 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-UJM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Saturday 07 September 2024 08:25:53 -0400 (0:00:00.694) 0:00:13.045 **** ok: [managed_node3] => { "changed": false, "stat": { "atime": 1725711947.1687338, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "dd656a1b984db850fbd1cf8320f06b3eb5ba123e", "ctime": 1725711947.1667337, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 378943, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1725711947.1667337, "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": "3726925314", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-UJM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Saturday 07 September 2024 08:25:53 -0400 (0:00:00.352) 0:00:13.398 **** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-UJM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Saturday 07 September 2024 08:25:53 -0400 (0:00:00.018) 0:00:13.416 **** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-UJM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Saturday 07 September 2024 08:25:54 -0400 (0:00:00.057) 0:00:13.474 **** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-UJM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Saturday 07 September 2024 08:25:54 -0400 (0:00:00.044) 0:00:13.518 **** ok: [managed_node3] => { "changed": false, "stat": { "atime": 1725711947.1247337, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "376c5cbf8ed2dcdfffdb062d0b976a9f8db9681d", "ctime": 1725711947.1657338, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6299627, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1725711947.1657338, "nlink": 1, "path": "/etc/pki/tls/private/other-cert.key", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1700, "uid": 0, "version": "3683141884", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-UJM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Saturday 07 September 2024 08:25:54 -0400 (0:00:00.385) 0:00:13.904 **** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-UJM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Saturday 07 September 2024 08:25:54 -0400 (0:00:00.054) 0:00:13.959 **** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-UJM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Saturday 07 September 2024 08:25:54 -0400 (0:00:00.076) 0:00:14.035 **** ok: [managed_node3] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "DA:B2:A6:1F:65:C7:83:0B:71:19:0E:E0:5D:30:A0:AC:69:56:9F:23" }, "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": "81:52:B9:03:9D:4D:E7:3B:EF:C6:BF:A8:3B:40:AD:BE:6F:8D:41:5E" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "5E:0F:79:19:FC:0D:78:7C:02:06:0E:05:97:91:1D:B2:E4:0E:E4:F9:7E:3D:40:38:60:74:B1:97:1D:D9:EB:6B:74:03:67:F6:03:B1:9C:FB:8D:04:64:C5:90:D6:FF:EE:21:77:83:43:2C:D7:FA:9F:F5:F1:0D:30:EB:6F:5F:FE:8B:A0:6D:A5:5C:4E:FB:90:F5:06:45:0C:DF:26:F3:BE:2F:14:14:8D:EE:1B:92:EE:35:56:A4:89:9D:D8:02:77:5C:DC:39:4A:BD:8F:64:F8:96:DD:78:01:54:C2:7A:97:66:C7:03:2E:B9:07:AA:5A:17:AA:FB:19:F4:C8:3F:26:10:10:D8:7F:E1:F6:90:12:F4:06:9E:70:C3:EA:AF:33:FB:1D:FF:4D:87:47:B7:37:C5:34:91:AB:92:B3:95:AF:2A:C9:0C:35:72:88:7C:3D:09:28:A1:E5:77:C9:67:69:3C:AB:E1:79:3C:AA:CE:8E:1E:3D:A0:34:A9:67:F1:A6:1E:B8:14:A6:EB:CD:53:BC:DF:61:B8:DC:53:61:69:CC:DB:85:13:C2:D3:0A:19:2B:35:40:14:50:FA:C3:5A:83:2B:26:5E:EE:40:BF:FD:98:68:17:0D:07:AD:BB:72:79:2C:21:34:72:35:23:0B:35:EB:6A:FE:EE:F0:FF:E3:AF" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.org" } ], "validity": { "not_valid_after": "20250907122508Z", "not_valid_before": "20240907122547Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-UJM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Saturday 07 September 2024 08:25:54 -0400 (0:00:00.396) 0:00:14.432 **** ok: [managed_node3] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "DA:B2:A6:1F:65:C7:83:0B:71:19:0E:E0:5D:30:A0:AC:69:56:9F:23" }, "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": "81:52:B9:03:9D:4D:E7:3B:EF:C6:BF:A8:3B:40:AD:BE:6F:8D:41:5E" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "5E:0F:79:19:FC:0D:78:7C:02:06:0E:05:97:91:1D:B2:E4:0E:E4:F9:7E:3D:40:38:60:74:B1:97:1D:D9:EB:6B:74:03:67:F6:03:B1:9C:FB:8D:04:64:C5:90:D6:FF:EE:21:77:83:43:2C:D7:FA:9F:F5:F1:0D:30:EB:6F:5F:FE:8B:A0:6D:A5:5C:4E:FB:90:F5:06:45:0C:DF:26:F3:BE:2F:14:14:8D:EE:1B:92:EE:35:56:A4:89:9D:D8:02:77:5C:DC:39:4A:BD:8F:64:F8:96:DD:78:01:54:C2:7A:97:66:C7:03:2E:B9:07:AA:5A:17:AA:FB:19:F4:C8:3F:26:10:10:D8:7F:E1:F6:90:12:F4:06:9E:70:C3:EA:AF:33:FB:1D:FF:4D:87:47:B7:37:C5:34:91:AB:92:B3:95:AF:2A:C9:0C:35:72:88:7C:3D:09:28:A1:E5:77:C9:67:69:3C:AB:E1:79:3C:AA:CE:8E:1E:3D:A0:34:A9:67:F1:A6:1E:B8:14:A6:EB:CD:53:BC:DF:61:B8:DC:53:61:69:CC:DB:85:13:C2:D3:0A:19:2B:35:40:14:50:FA:C3:5A:83:2B:26:5E:EE:40:BF:FD:98:68:17:0D:07:AD:BB:72:79:2C:21:34:72:35:23:0B:35:EB:6A:FE:EE:F0:FF:E3:AF" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.org" } ], "validity": { "not_valid_after": "20250907122508Z", "not_valid_before": "20240907122547Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-UJM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Saturday 07 September 2024 08:25:54 -0400 (0:00:00.023) 0:00:14.455 **** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-UJM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Saturday 07 September 2024 08:25:55 -0400 (0:00:00.038) 0:00:14.494 **** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-UJM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Saturday 07 September 2024 08:25:55 -0400 (0:00:00.018) 0:00:14.512 **** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-UJM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Saturday 07 September 2024 08:25:55 -0400 (0:00:00.034) 0:00:14.546 **** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-UJM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Saturday 07 September 2024 08:25:55 -0400 (0:00:00.037) 0:00:14.583 **** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-UJM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Saturday 07 September 2024 08:25:55 -0400 (0:00:00.037) 0:00:14.620 **** 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.038892", "end": "2024-09-07 08:25:55.486687", "rc": 0, "start": "2024-09-07 08:25:55.447795" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-UJM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Saturday 07 September 2024 08:25:55 -0400 (0:00:00.383) 0:00:15.004 **** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-UJM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Saturday 07 September 2024 08:25:55 -0400 (0:00:00.083) 0:00:15.087 **** ok: [managed_node3] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-UJM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Saturday 07 September 2024 08:25:55 -0400 (0:00:00.050) 0:00:15.138 **** 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-UJM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Saturday 07 September 2024 08:25:55 -0400 (0:00:00.051) 0:00:15.189 **** 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-UJM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Saturday 07 September 2024 08:25:55 -0400 (0:00:00.028) 0:00:15.218 **** 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-UJM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Saturday 07 September 2024 08:25:55 -0400 (0:00:00.019) 0:00:15.237 **** 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-UJM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Saturday 07 September 2024 08:25:56 -0400 (0:00:00.709) 0:00:15.947 **** ok: [managed_node3] => { "changed": false, "stat": { "atime": 1725711948.1957374, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "597a43e464ea5a030801da408245452c332cbdcb", "ctime": 1725711948.1937373, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 111424, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1725711948.1937373, "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": "195692237", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-UJM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Saturday 07 September 2024 08:25:56 -0400 (0:00:00.386) 0:00:16.333 **** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-UJM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Saturday 07 September 2024 08:25:56 -0400 (0:00:00.041) 0:00:16.374 **** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-UJM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Saturday 07 September 2024 08:25:57 -0400 (0:00:00.092) 0:00:16.466 **** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-UJM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Saturday 07 September 2024 08:25:57 -0400 (0:00:00.093) 0:00:16.560 **** ok: [managed_node3] => { "changed": false, "stat": { "atime": 1725711948.1527371, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "f88f2f104d0d6473b655c4ea9b14646ac55e56a7", "ctime": 1725711948.1937373, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6299631, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1725711948.1937373, "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": "1285870117", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-UJM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Saturday 07 September 2024 08:25:57 -0400 (0:00:00.382) 0:00:16.942 **** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-UJM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Saturday 07 September 2024 08:25:57 -0400 (0:00:00.017) 0:00:16.959 **** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-UJM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Saturday 07 September 2024 08:25:57 -0400 (0:00:00.038) 0:00:16.998 **** ok: [managed_node3] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "DA:B2:A6:1F:65:C7:83:0B:71:19:0E:E0:5D:30:A0:AC:69:56:9F:23" }, "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": "94:F3:FA:ED:67:C8:B2:03:1C:37:5E:21:52:1B:7F:33:BB:91:C0:15" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "40:9B:E0:03:22:8D:5E:61:6C:89:06:06:2E:1C:EC:EB:4F:7A:FD:97:6D:29:DD:C9:32:B2:96:A3:A8:64:E6:23:D9:1D:C9:D1:76:15:4F:D0:8F:07:2B:CA:A7:CC:4F:00:F2:F2:C0:DD:2C:41:C0:07:86:40:F0:65:6A:E2:96:9E:98:88:95:D9:D5:EA:D2:DB:73:9B:3D:7D:19:5B:DD:64:18:6E:77:6B:E4:A5:5D:53:E3:57:0A:F3:BC:96:30:61:F4:E1:14:68:BD:94:C0:02:B9:7A:57:24:76:06:3B:80:99:74:C0:C6:FE:7C:B0:D9:C9:4A:EF:EF:BF:3B:C3:12:55:D0:6C:60:5E:91:35:A6:64:6E:07:46:7D:C3:7A:E8:6D:85:7D:C9:FB:7F:60:16:42:0B:CB:52:F3:C5:BF:91:1F:0D:78:C9:1D:77:E0:D7:FD:23:BF:2A:FD:E9:16:FA:71:3D:E7:98:22:F4:28:C8:B3:E4:B2:26:B8:CB:EF:BE:E4:2D:D3:BE:CB:58:C5:2A:66:FF:4E:C7:21:7C:89:B6:E7:31:C8:AF:7A:3E:CF:55:41:DA:A0:66:EB:33:00:CD:3D:50:5C:C5:2D:3F:A9:4C:E2:FA:31:5D:C1:07:50:EB:A8:48:81:90:99:F8:F1:65:AE:03:26:3A:7D:D3:0F:DB" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.net" } ], "validity": { "not_valid_after": "20250907122508Z", "not_valid_before": "20240907122548Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-UJM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Saturday 07 September 2024 08:25:57 -0400 (0:00:00.419) 0:00:17.418 **** ok: [managed_node3] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "DA:B2:A6:1F:65:C7:83:0B:71:19:0E:E0:5D:30:A0:AC:69:56:9F:23" }, "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": "94:F3:FA:ED:67:C8:B2:03:1C:37:5E:21:52:1B:7F:33:BB:91:C0:15" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "40:9B:E0:03:22:8D:5E:61:6C:89:06:06:2E:1C:EC:EB:4F:7A:FD:97:6D:29:DD:C9:32:B2:96:A3:A8:64:E6:23:D9:1D:C9:D1:76:15:4F:D0:8F:07:2B:CA:A7:CC:4F:00:F2:F2:C0:DD:2C:41:C0:07:86:40:F0:65:6A:E2:96:9E:98:88:95:D9:D5:EA:D2:DB:73:9B:3D:7D:19:5B:DD:64:18:6E:77:6B:E4:A5:5D:53:E3:57:0A:F3:BC:96:30:61:F4:E1:14:68:BD:94:C0:02:B9:7A:57:24:76:06:3B:80:99:74:C0:C6:FE:7C:B0:D9:C9:4A:EF:EF:BF:3B:C3:12:55:D0:6C:60:5E:91:35:A6:64:6E:07:46:7D:C3:7A:E8:6D:85:7D:C9:FB:7F:60:16:42:0B:CB:52:F3:C5:BF:91:1F:0D:78:C9:1D:77:E0:D7:FD:23:BF:2A:FD:E9:16:FA:71:3D:E7:98:22:F4:28:C8:B3:E4:B2:26:B8:CB:EF:BE:E4:2D:D3:BE:CB:58:C5:2A:66:FF:4E:C7:21:7C:89:B6:E7:31:C8:AF:7A:3E:CF:55:41:DA:A0:66:EB:33:00:CD:3D:50:5C:C5:2D:3F:A9:4C:E2:FA:31:5D:C1:07:50:EB:A8:48:81:90:99:F8:F1:65:AE:03:26:3A:7D:D3:0F:DB" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.net" } ], "validity": { "not_valid_after": "20250907122508Z", "not_valid_before": "20240907122548Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-UJM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Saturday 07 September 2024 08:25:57 -0400 (0:00:00.037) 0:00:17.456 **** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-UJM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Saturday 07 September 2024 08:25:58 -0400 (0:00:00.053) 0:00:17.509 **** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-UJM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Saturday 07 September 2024 08:25:58 -0400 (0:00:00.018) 0:00:17.528 **** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-UJM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Saturday 07 September 2024 08:25:58 -0400 (0:00:00.033) 0:00:17.562 **** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-UJM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Saturday 07 September 2024 08:25:58 -0400 (0:00:00.037) 0:00:17.599 **** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-UJM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Saturday 07 September 2024 08:25:58 -0400 (0:00:00.036) 0:00:17.636 **** 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.039208", "end": "2024-09-07 08:25:58.509856", "rc": 0, "start": "2024-09-07 08:25:58.470648" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-UJM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Saturday 07 September 2024 08:25:58 -0400 (0:00:00.381) 0:00:18.017 **** 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 07 September 2024 08:25:58 -0400 (0:00:00.042) 0:00:18.059 **** =============================================================================== fedora.linux_system_roles.certificate : Ensure certificate requests ----- 2.87s /tmp/collections-UJM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Gathering Facts --------------------------------------------------------- 1.10s /tmp/collections-UJM/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:2 Gathering Facts --------------------------------------------------------- 0.86s /tmp/collections-UJM/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.78s /tmp/collections-UJM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 0.78s /tmp/collections-UJM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Ensure python3 is installed --------------------------------------------- 0.75s /tmp/collections-UJM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Ensure python3 is installed --------------------------------------------- 0.71s /tmp/collections-UJM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 0.71s /tmp/collections-UJM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Ensure python3 is installed --------------------------------------------- 0.69s /tmp/collections-UJM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Parse certificate ------------------------------------------------------- 0.58s /tmp/collections-UJM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists --- 0.56s /tmp/collections-UJM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Retrieve auto-renew flag ------------------------------------------------ 0.49s /tmp/collections-UJM/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.47s /tmp/collections-UJM/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.44s /tmp/collections-UJM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Parse certificate ------------------------------------------------------- 0.42s /tmp/collections-UJM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Parse certificate ------------------------------------------------------- 0.40s /tmp/collections-UJM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Retrieve certificate file stats ----------------------------------------- 0.39s /tmp/collections-UJM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Retrieve key file stats ------------------------------------------------- 0.39s /tmp/collections-UJM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Retrieve auto-renew flag ------------------------------------------------ 0.38s /tmp/collections-UJM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Retrieve key file stats ------------------------------------------------- 0.38s /tmp/collections-UJM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65