ansible-playbook [core 2.17.14] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-7bx executable location = /usr/local/bin/ansible-playbook python version = 3.12.12 (main, Mar 9 2026, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-14)] (/usr/bin/python3.12) jinja version = 3.1.6 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'jsonl', as we already have a stdout callback. 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_subject.yml **************************************************** 2 plays in /tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_subject.yml PLAY [Issue simple self-signed certificate] ************************************ TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_subject.yml:2 Wednesday 01 April 2026 18:48:00 -0400 (0:00:00.043) 0:00:00.043 ******* [WARNING]: Platform linux on host managed-node2 is using the discovered Python interpreter at /usr/bin/python3.9, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed-node2] TASK [Run the role] ************************************************************ task path: /tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_subject.yml:16 Wednesday 01 April 2026 18:48:01 -0400 (0:00:01.050) 0:00:01.093 ******* included: /tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/run_role_with_clear_facts.yml for managed-node2 TASK [Clear facts] ************************************************************* task path: /tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/run_role_with_clear_facts.yml:10 Wednesday 01 April 2026 18:48:01 -0400 (0:00:00.019) 0:00:01.113 ******* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/run_role_with_clear_facts.yml:24 Wednesday 01 April 2026 18:48:01 -0400 (0:00:00.001) 0:00:01.114 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__sr_failed_when is defined", "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/run_role_with_clear_facts.yml:34 Wednesday 01 April 2026 18:48:01 -0400 (0:00:00.049) 0:00:01.164 ******* included: fedora.linux_system_roles.certificate for managed-node2 TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Wednesday 01 April 2026 18:48:02 -0400 (0:00:00.138) 0:00:01.303 ******* included: /tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.certificate : Ensure ansible_facts used by role] *** task path: /tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Wednesday 01 April 2026 18:48:02 -0400 (0:00:00.020) 0:00:01.323 ******* ok: [managed-node2] TASK [fedora.linux_system_roles.certificate : Check if system is ostree] ******* task path: /tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Wednesday 01 April 2026 18:48:02 -0400 (0:00:00.552) 0:00:01.875 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.certificate : Set flag to indicate system is ostree] *** task path: /tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Wednesday 01 April 2026 18:48:03 -0400 (0:00:00.451) 0:00:02.326 ******* ok: [managed-node2] => { "ansible_facts": { "__certificate_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.certificate : Run systemctl] ******************* task path: /tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:22 Wednesday 01 April 2026 18:48:03 -0400 (0:00:00.025) 0:00:02.352 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-system-running" ], "delta": "0:00:00.007804", "end": "2026-04-01 18:48:03.459712", "failed_when_result": false, "rc": 0, "start": "2026-04-01 18:48:03.451908" } STDOUT: running TASK [fedora.linux_system_roles.certificate : Require installed systemd] ******* task path: /tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:30 Wednesday 01 April 2026 18:48:03 -0400 (0:00:00.436) 0:00:02.789 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "\"No such file or directory\" in __is_system_running.msg | d(\"\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Set flag to indicate that systemd runtime operations are available] *** task path: /tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:35 Wednesday 01 April 2026 18:48:03 -0400 (0:00:00.021) 0:00:02.811 ******* ok: [managed-node2] => { "ansible_facts": { "__certificate_is_booted": true }, "changed": false } TASK [fedora.linux_system_roles.certificate : Set platform/version specific variables] *** task path: /tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:40 Wednesday 01 April 2026 18:48:03 -0400 (0:00:00.023) 0:00:02.834 ******* skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node2] => (item=CentOS_9.yml) => { "ansible_facts": { "__certificate_certmonger_packages": [ "certmonger", "python3-packaging" ] }, "ansible_included_var_files": [ "/tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/roles/certificate/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } ok: [managed-node2] => (item=CentOS_9.yml) => { "ansible_facts": { "__certificate_certmonger_packages": [ "certmonger", "python3-packaging" ] }, "ansible_included_var_files": [ "/tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/roles/certificate/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } TASK [fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed] *** task path: /tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Wednesday 01 April 2026 18:48:03 -0400 (0:00:00.039) 0:00:02.873 ******* ok: [managed-node2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.certificate : Ensure provider packages are installed] *** task path: /tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:15 Wednesday 01 April 2026 18:48:04 -0400 (0:00:01.400) 0:00:04.274 ******* ok: [managed-node2] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists] *** task path: /tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:25 Wednesday 01 April 2026 18:48:06 -0400 (0:00:01.338) 0:00:05.613 ******* ok: [managed-node2] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/etc/certmonger//pre-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 41, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists] *** task path: /tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:49 Wednesday 01 April 2026 18:48:06 -0400 (0:00:00.458) 0:00:06.072 ******* ok: [managed-node2] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/etc/certmonger//post-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 41, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure provider service is running] *** task path: /tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:76 Wednesday 01 April 2026 18:48:07 -0400 (0:00:00.383) 0:00:06.455 ******* ok: [managed-node2] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "enabled": true, "name": "certmonger", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:certmonger_unit_file_t:s0", "ActiveEnterTimestamp": "Wed 2026-04-01 18:45:59 EDT", "ActiveEnterTimestampMonotonic": "279630943", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target syslog.target network.target dbus.socket system.slice basic.target dbus-broker.service systemd-journald.socket", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Wed 2026-04-01 18:45:59 EDT", "AssertTimestampMonotonic": "279614623", "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": "2502354000", "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": "Wed 2026-04-01 18:45:59 EDT", "ConditionTimestampMonotonic": "279614619", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/certmonger.service", "ControlGroupId": "4195", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Certificate monitoring and PKI enrollment", "DevicePolicy": "auto", "DynamicUser": "no", "EnvironmentFiles": "/etc/sysconfig/certmonger (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "10845", "ExecMainStartTimestamp": "Wed 2026-04-01 18:45:59 EDT", "ExecMainStartTimestampMonotonic": "279623103", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /run/certmonger.pid -n $OPTS ; ignore_errors=no ; start_time=[Wed 2026-04-01 18:45:59 EDT] ; stop_time=[n/a] ; pid=10845 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /run/certmonger.pid -n $OPTS ; flags= ; start_time=[Wed 2026-04-01 18:45:59 EDT] ; stop_time=[n/a] ; pid=10845 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/certmonger.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "certmonger.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2026-04-01 18:45:59 EDT", "InactiveExitTimestampMonotonic": "279623429", "InvocationID": "6757893d53a345e5b6f8422fdaf95c74", "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": "28521", "LimitNPROCSoft": "28521", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28521", "LimitSIGPENDINGSoft": "28521", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "10845", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "5500928", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "10747904", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "certmonger.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "PIDFile": "/run/certmonger.pid", "PartOf": "dbus-broker.service", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target dbus.socket system.slice", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2026-04-01 18:45:59 EDT", "StateChangeTimestampMonotonic": "279630943", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "1", "TasksMax": "45633", "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-7bx/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:86 Wednesday 01 April 2026 18:48:08 -0400 (0:00:01.143) 0:00:07.598 ******* changed: [managed-node2] => (item={'name': 'mycert_subject', 'dns': 'www.example.com', 'common_name': 'Some other common name', 'country': 'US', 'state': 'NC', 'locality': 'Raleigh', 'organization': 'Red Hat', 'organizational_unit': 'Linux', 'ca': 'self-sign'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ca": "self-sign", "common_name": "Some other common name", "country": "US", "dns": "www.example.com", "locality": "Raleigh", "name": "mycert_subject", "organization": "Red Hat", "organizational_unit": "Linux", "state": "NC" } } MSG: Certificate requested (new). TASK [fedora.linux_system_roles.certificate : Check if test mode is supported] *** task path: /tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:138 Wednesday 01 April 2026 18:48:09 -0400 (0:00:00.924) 0:00:08.523 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "certificate_test_mode | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Slurp the contents of the files] *** task path: /tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:143 Wednesday 01 April 2026 18:48:09 -0400 (0:00:00.012) 0:00:08.536 ******* skipping: [managed-node2] => (item=['cert', {'name': 'mycert_subject', 'dns': 'www.example.com', 'common_name': 'Some other common name', 'country': 'US', 'state': 'NC', 'locality': 'Raleigh', 'organization': 'Red Hat', 'organizational_unit': 'Linux', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "cert", { "ca": "self-sign", "common_name": "Some other common name", "country": "US", "dns": "www.example.com", "locality": "Raleigh", "name": "mycert_subject", "organization": "Red Hat", "organizational_unit": "Linux", "state": "NC" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=['key', {'name': 'mycert_subject', 'dns': 'www.example.com', 'common_name': 'Some other common name', 'country': 'US', 'state': 'NC', 'locality': 'Raleigh', 'organization': 'Red Hat', 'organizational_unit': 'Linux', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "key", { "ca": "self-sign", "common_name": "Some other common name", "country": "US", "dns": "www.example.com", "locality": "Raleigh", "name": "mycert_subject", "organization": "Red Hat", "organizational_unit": "Linux", "state": "NC" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=['ca', {'name': 'mycert_subject', 'dns': 'www.example.com', 'common_name': 'Some other common name', 'country': 'US', 'state': 'NC', 'locality': 'Raleigh', 'organization': 'Red Hat', 'organizational_unit': 'Linux', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "ca", { "ca": "self-sign", "common_name": "Some other common name", "country": "US", "dns": "www.example.com", "locality": "Raleigh", "name": "mycert_subject", "organization": "Red Hat", "organizational_unit": "Linux", "state": "NC" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node2] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.certificate : Reset certificate_test_certs] **** task path: /tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:151 Wednesday 01 April 2026 18:48:09 -0400 (0:00:00.023) 0:00:08.559 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "certificate_test_mode | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Create return data] ************** task path: /tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:155 Wednesday 01 April 2026 18:48:09 -0400 (0:00:00.012) 0:00:08.571 ******* skipping: [managed-node2] => (item=mycert_subject) => { "ansible_loop_var": "cert_name", "cert_name": "mycert_subject", "changed": false, "false_condition": "certificate_test_mode | d(false)", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.certificate : Stop tracking certificates] ****** task path: /tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:169 Wednesday 01 April 2026 18:48:09 -0400 (0:00:00.016) 0:00:08.588 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "certificate_test_mode | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Remove files] ******************** task path: /tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:174 Wednesday 01 April 2026 18:48:09 -0400 (0:00:00.013) 0:00:08.601 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "certificate_test_mode | d(false)", "skip_reason": "Conditional result was False" } PLAY [Verify certificate] ****************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_subject.yml:19 Wednesday 01 April 2026 18:48:09 -0400 (0:00:00.020) 0:00:08.622 ******* ok: [managed-node2] TASK [Load certificate role platform variables] ******************************** task path: /tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_subject.yml:22 Wednesday 01 April 2026 18:48:10 -0400 (0:00:00.727) 0:00:09.349 ******* included: fedora.linux_system_roles.certificate for managed-node2 TASK [fedora.linux_system_roles.certificate : Ensure ansible_facts used by role] *** task path: /tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Wednesday 01 April 2026 18:48:10 -0400 (0:00:00.019) 0:00:09.369 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__certificate_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Check if system is ostree] ******* task path: /tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Wednesday 01 April 2026 18:48:10 -0400 (0:00:00.015) 0:00:09.384 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Set flag to indicate system is ostree] *** task path: /tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Wednesday 01 April 2026 18:48:10 -0400 (0:00:00.016) 0:00:09.401 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Run systemctl] ******************* task path: /tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:22 Wednesday 01 April 2026 18:48:10 -0400 (0:00:00.016) 0:00:09.417 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__certificate_is_booted is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Require installed systemd] ******* task path: /tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:30 Wednesday 01 April 2026 18:48:10 -0400 (0:00:00.015) 0:00:09.433 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__certificate_is_booted is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Set flag to indicate that systemd runtime operations are available] *** task path: /tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:35 Wednesday 01 April 2026 18:48:10 -0400 (0:00:00.014) 0:00:09.447 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__certificate_is_booted is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Set platform/version specific variables] *** task path: /tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:40 Wednesday 01 April 2026 18:48:10 -0400 (0:00:00.014) 0:00:09.462 ******* skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node2] => (item=CentOS_9.yml) => { "ansible_facts": { "__certificate_certmonger_packages": [ "certmonger", "python3-packaging" ] }, "ansible_included_var_files": [ "/tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/roles/certificate/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } ok: [managed-node2] => (item=CentOS_9.yml) => { "ansible_facts": { "__certificate_certmonger_packages": [ "certmonger", "python3-packaging" ] }, "ansible_included_var_files": [ "/tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/roles/certificate/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } TASK [Verify each certificate] ************************************************* task path: /tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_subject.yml:54 Wednesday 01 April 2026 18:48:10 -0400 (0:00:00.037) 0:00:09.500 ******* included: /tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node2 => (item={'path': '/etc/pki/tls/certs/mycert_subject.crt', 'key_path': '/etc/pki/tls/private/mycert_subject.key', 'subject': [{'name': 'countryName', 'oid': '2.5.4.6', 'value': 'US'}, {'name': 'stateOrProvinceName', 'oid': '2.5.4.8', 'value': 'NC'}, {'name': 'localityName', 'oid': '2.5.4.7', 'value': 'Raleigh'}, {'name': 'organizationName', 'oid': '2.5.4.10', 'value': 'Red Hat'}, {'name': 'organizationalUnitName', 'oid': '2.5.4.11', 'value': 'Linux'}, {'name': 'commonName', 'oid': '2.5.4.3', 'value': 'Some other common name'}], 'subject_alt_name': [{'name': 'DNS', 'value': 'www.example.com'}]}) TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:5 Wednesday 01 April 2026 18:48:10 -0400 (0:00:00.035) 0:00:09.535 ******* ok: [managed-node2] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:12 Wednesday 01 April 2026 18:48:10 -0400 (0:00:00.013) 0:00:09.549 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:17 Wednesday 01 April 2026 18:48:10 -0400 (0:00:00.016) 0:00:09.566 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Ensure python2 is installed] ********************************************* task path: /tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:21 Wednesday 01 April 2026 18:48:10 -0400 (0:00:00.015) 0:00:09.581 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_facts[\"distribution_major_version\"] == \"7\"", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:31 Wednesday 01 April 2026 18:48:10 -0400 (0:00:00.012) 0:00:09.593 ******* ok: [managed-node2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:41 Wednesday 01 April 2026 18:48:11 -0400 (0:00:00.926) 0:00:10.519 ******* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1775083689.0667005, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "c6def610ae74d7dd50a7a391fb511b16a534c5a6", "ctime": 1775083689.0637004, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12801808, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1775083689.0637004, "nlink": 1, "path": "/etc/pki/tls/certs/mycert_subject.crt", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1407, "uid": 0, "version": "4065025088", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:46 Wednesday 01 April 2026 18:48:11 -0400 (0:00:00.342) 0:00:10.862 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:52 Wednesday 01 April 2026 18:48:11 -0400 (0:00:00.018) 0:00:10.880 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:62 Wednesday 01 April 2026 18:48:11 -0400 (0:00:00.019) 0:00:10.900 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:68 Wednesday 01 April 2026 18:48:11 -0400 (0:00:00.018) 0:00:10.918 ******* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1775083689.0117002, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "aa16d2aa3b31ba9c2e43c19726978a19958ba39c", "ctime": 1775083689.0637004, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 9640084, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1775083689.0637004, "nlink": 1, "path": "/etc/pki/tls/private/mycert_subject.key", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1704, "uid": 0, "version": "19850391", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:73 Wednesday 01 April 2026 18:48:11 -0400 (0:00:00.342) 0:00:11.261 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:79 Wednesday 01 April 2026 18:48:11 -0400 (0:00:00.016) 0:00:11.278 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:89 Wednesday 01 April 2026 18:48:12 -0400 (0:00:00.021) 0:00:11.299 ******* ok: [managed-node2] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "D9:F9:92:45:33:4C:CD:2C:64:73:C1:B3:94:4F:F5:E9:5C:99:77:00" }, "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": "4E:A6:34:B5:1C:7D:C6:C2:BF:7F:B0:D2:99:3D:8F:97:F3:F1:D5:FD" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "0C:AE:80:04:EC:F5:62:B6:78:46:1B:CE:D2:8D:5C:48:20:78:55:B7:35:51:F3:E7:79:12:61:BE:52:9E:61:C7:5A:F2:29:31:FF:68:C5:8A:7B:F1:2B:35:F8:F0:17:A2:63:2B:B2:BC:15:6F:E1:62:CF:FD:A2:8C:6A:07:DD:BC:A8:7A:E7:7B:52:60:CD:AA:3F:B7:80:72:E0:00:77:C8:11:03:CD:D9:0F:1C:73:25:88:71:4B:DC:0D:E6:DF:90:38:DB:44:B3:22:FB:72:01:44:B6:ED:2A:25:B1:39:1D:3D:15:F4:89:16:EF:4A:93:E4:6E:29:9B:E1:FE:C1:61:10:F1:FC:CE:A6:A0:73:73:36:C7:C7:2C:6D:15:B8:AC:BC:29:24:F7:4F:B6:8C:9F:90:7F:92:AF:2D:A0:52:61:C6:35:68:C7:90:73:96:FE:98:75:2E:07:45:3A:CE:E6:CA:EC:43:0B:2D:3C:66:EA:C7:97:26:19:1A:AF:4D:C2:5B:ED:3D:AD:3A:29:B8:46:B7:F1:19:37:1C:C7:41:EE:F2:B6:CB:C3:E0:A4:BA:5C:4C:A2:E4:84:4A:F8:CF:53:46:6B:57:E4:0F:AC:C1:9F:A4:E4:57:CF:8E:D0:07:C2:F2:7E:2C:04:95:EC:19:2B:C5:04:A8:71:86:06:92:CF" }, "subject": [ { "name": "countryName", "oid": "2.5.4.6", "value": "US" }, { "name": "stateOrProvinceName", "oid": "2.5.4.8", "value": "NC" }, { "name": "localityName", "oid": "2.5.4.7", "value": "Raleigh" }, { "name": "organizationName", "oid": "2.5.4.10", "value": "Red Hat" }, { "name": "organizationalUnitName", "oid": "2.5.4.11", "value": "Linux" }, { "name": "commonName", "oid": "2.5.4.3", "value": "Some other common name" } ], "validity": { "not_valid_after": "20270401224559Z", "not_valid_before": "20260401224809Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:95 Wednesday 01 April 2026 18:48:12 -0400 (0:00:00.478) 0:00:11.777 ******* ok: [managed-node2] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "D9:F9:92:45:33:4C:CD:2C:64:73:C1:B3:94:4F:F5:E9:5C:99:77:00" }, "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": "4E:A6:34:B5:1C:7D:C6:C2:BF:7F:B0:D2:99:3D:8F:97:F3:F1:D5:FD" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "0C:AE:80:04:EC:F5:62:B6:78:46:1B:CE:D2:8D:5C:48:20:78:55:B7:35:51:F3:E7:79:12:61:BE:52:9E:61:C7:5A:F2:29:31:FF:68:C5:8A:7B:F1:2B:35:F8:F0:17:A2:63:2B:B2:BC:15:6F:E1:62:CF:FD:A2:8C:6A:07:DD:BC:A8:7A:E7:7B:52:60:CD:AA:3F:B7:80:72:E0:00:77:C8:11:03:CD:D9:0F:1C:73:25:88:71:4B:DC:0D:E6:DF:90:38:DB:44:B3:22:FB:72:01:44:B6:ED:2A:25:B1:39:1D:3D:15:F4:89:16:EF:4A:93:E4:6E:29:9B:E1:FE:C1:61:10:F1:FC:CE:A6:A0:73:73:36:C7:C7:2C:6D:15:B8:AC:BC:29:24:F7:4F:B6:8C:9F:90:7F:92:AF:2D:A0:52:61:C6:35:68:C7:90:73:96:FE:98:75:2E:07:45:3A:CE:E6:CA:EC:43:0B:2D:3C:66:EA:C7:97:26:19:1A:AF:4D:C2:5B:ED:3D:AD:3A:29:B8:46:B7:F1:19:37:1C:C7:41:EE:F2:B6:CB:C3:E0:A4:BA:5C:4C:A2:E4:84:4A:F8:CF:53:46:6B:57:E4:0F:AC:C1:9F:A4:E4:57:CF:8E:D0:07:C2:F2:7E:2C:04:95:EC:19:2B:C5:04:A8:71:86:06:92:CF" }, "subject": [ { "name": "countryName", "oid": "2.5.4.6", "value": "US" }, { "name": "stateOrProvinceName", "oid": "2.5.4.8", "value": "NC" }, { "name": "localityName", "oid": "2.5.4.7", "value": "Raleigh" }, { "name": "organizationName", "oid": "2.5.4.10", "value": "Red Hat" }, { "name": "organizationalUnitName", "oid": "2.5.4.11", "value": "Linux" }, { "name": "commonName", "oid": "2.5.4.3", "value": "Some other common name" } ], "validity": { "not_valid_after": "20270401224559Z", "not_valid_before": "20260401224809Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:99 Wednesday 01 April 2026 18:48:12 -0400 (0:00:00.018) 0:00:11.795 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:107 Wednesday 01 April 2026 18:48:12 -0400 (0:00:00.019) 0:00:11.815 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:115 Wednesday 01 April 2026 18:48:12 -0400 (0:00:00.017) 0:00:11.833 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:122 Wednesday 01 April 2026 18:48:12 -0400 (0:00:00.017) 0:00:11.850 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:133 Wednesday 01 April 2026 18:48:12 -0400 (0:00:00.032) 0:00:11.883 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:146 Wednesday 01 April 2026 18:48:12 -0400 (0:00:00.025) 0:00:11.909 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/mycert_subject.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "delta": "0:00:00.051765", "end": "2026-04-01 18:48:12.968471", "rc": 0, "start": "2026-04-01 18:48:12.916706" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:155 Wednesday 01 April 2026 18:48:13 -0400 (0:00:00.391) 0:00:12.301 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Stat commands file] ****************************************************** task path: /tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:163 Wednesday 01 April 2026 18:48:13 -0400 (0:00:00.022) 0:00:12.323 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that commands file got removed] *********************************** task path: /tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:168 Wednesday 01 April 2026 18:48:13 -0400 (0:00:00.332) 0:00:12.655 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Stat first-boot unit file] *********************************************** task path: /tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:176 Wednesday 01 April 2026 18:48:13 -0400 (0:00:00.016) 0:00:12.672 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_connection == \"buildah\"", "skip_reason": "Conditional result was False" } TASK [Assert presence of first-boot unit] ************************************** task path: /tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:181 Wednesday 01 April 2026 18:48:13 -0400 (0:00:00.011) 0:00:12.683 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_connection == \"buildah\"", "skip_reason": "Conditional result was False" } TASK [Assert that first-boot unit is enabled] ********************************** task path: /tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:186 Wednesday 01 April 2026 18:48:13 -0400 (0:00:00.010) 0:00:12.694 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_connection == \"buildah\"", "skip_reason": "Conditional result was False" } TASK [Stat commands file] ****************************************************** task path: /tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:193 Wednesday 01 April 2026 18:48:13 -0400 (0:00:00.009) 0:00:12.704 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_connection == \"buildah\"", "skip_reason": "Conditional result was False" } TASK [Assert that commands file exists] **************************************** task path: /tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:198 Wednesday 01 April 2026 18:48:13 -0400 (0:00:00.010) 0:00:12.714 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_connection == \"buildah\"", "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* managed-node2 : ok=40 changed=1 unreachable=0 failed=0 skipped=22 rescued=0 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Wednesday 01 April 2026 18:48:13 -0400 (0:00:00.009) 0:00:12.724 ******* =============================================================================== fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 1.40s /tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 1.34s /tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:15 fedora.linux_system_roles.certificate : Ensure provider service is running --- 1.14s /tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:76 Gathering Facts --------------------------------------------------------- 1.05s /tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_subject.yml:2 Ensure python3 is installed --------------------------------------------- 0.93s /tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:31 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 0.92s /tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:86 Gathering Facts --------------------------------------------------------- 0.73s /tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_subject.yml:19 fedora.linux_system_roles.certificate : Ensure ansible_facts used by role --- 0.55s /tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Parse certificate ------------------------------------------------------- 0.48s /tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:89 fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists --- 0.46s /tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:25 fedora.linux_system_roles.certificate : Check if system is ostree ------- 0.45s /tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 fedora.linux_system_roles.certificate : Run systemctl ------------------- 0.44s /tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:22 Retrieve auto-renew flag ------------------------------------------------ 0.39s /tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:146 fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists --- 0.38s /tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:49 Retrieve certificate file stats ----------------------------------------- 0.34s /tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:41 Retrieve key file stats ------------------------------------------------- 0.34s /tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:68 Stat commands file ------------------------------------------------------ 0.33s /tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:163 Run the role normally --------------------------------------------------- 0.14s /tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/run_role_with_clear_facts.yml:34 Run the role ------------------------------------------------------------ 0.05s /tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/run_role_with_clear_facts.yml:24 fedora.linux_system_roles.certificate : Set platform/version specific variables --- 0.04s /tmp/collections-7bx/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:40