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-tMH 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_complex.yml ******************************************** 2 plays in /tmp/collections-tMH/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_subject_complex.yml PLAY [Issue simple self-signed certificate] ************************************ TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-tMH/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_subject_complex.yml:2 Wednesday 22 April 2026 13:58:46 -0400 (0:00:00.042) 0:00:00.042 ******* [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-tMH/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_subject_complex.yml:13 Wednesday 22 April 2026 13:58:47 -0400 (0:00:01.132) 0:00:01.174 ******* included: /tmp/collections-tMH/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-tMH/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/run_role_with_clear_facts.yml:9 Wednesday 22 April 2026 13:58:47 -0400 (0:00:00.028) 0:00:01.203 ******* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-tMH/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/run_role_with_clear_facts.yml:23 Wednesday 22 April 2026 13:58:47 -0400 (0:00:00.001) 0:00:01.204 ******* 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-tMH/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/run_role_with_clear_facts.yml:33 Wednesday 22 April 2026 13:58:47 -0400 (0:00:00.044) 0:00:01.248 ******* included: fedora.linux_system_roles.certificate for managed-node2 TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /tmp/collections-tMH/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Wednesday 22 April 2026 13:58:47 -0400 (0:00:00.098) 0:00:01.347 ******* included: /tmp/collections-tMH/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-tMH/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Wednesday 22 April 2026 13:58:47 -0400 (0:00:00.018) 0:00:01.366 ******* ok: [managed-node2] TASK [fedora.linux_system_roles.certificate : Record role begin fingerprint] *** task path: /tmp/collections-tMH/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:7 Wednesday 22 April 2026 13:58:48 -0400 (0:00:00.535) 0:00:01.901 ******* ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.certificate : Check if system is ostree] ******* task path: /tmp/collections-tMH/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:16 Wednesday 22 April 2026 13:58:48 -0400 (0:00:00.425) 0:00:02.327 ******* 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-tMH/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:21 Wednesday 22 April 2026 13:58:49 -0400 (0:00:00.433) 0:00:02.760 ******* ok: [managed-node2] => { "ansible_facts": { "__certificate_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.certificate : Run systemctl] ******************* task path: /tmp/collections-tMH/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:28 Wednesday 22 April 2026 13:58:49 -0400 (0:00:00.027) 0:00:02.788 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-system-running" ], "delta": "0:00:00.007934", "end": "2026-04-22 13:58:49.540137", "failed_when_result": false, "rc": 0, "start": "2026-04-22 13:58:49.532203" } STDOUT: running TASK [fedora.linux_system_roles.certificate : Require installed systemd] ******* task path: /tmp/collections-tMH/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:36 Wednesday 22 April 2026 13:58:49 -0400 (0:00:00.514) 0:00:03.302 ******* 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-tMH/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:41 Wednesday 22 April 2026 13:58:49 -0400 (0:00:00.018) 0:00:03.321 ******* 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-tMH/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:46 Wednesday 22 April 2026 13:58:49 -0400 (0:00:00.020) 0:00:03.341 ******* 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-tMH/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-tMH/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-tMH/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Wednesday 22 April 2026 13:58:49 -0400 (0:00:00.037) 0:00:03.379 ******* 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-tMH/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:15 Wednesday 22 April 2026 13:58:51 -0400 (0:00:01.409) 0:00:04.789 ******* 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-tMH/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:25 Wednesday 22 April 2026 13:58:52 -0400 (0:00:01.296) 0:00:06.086 ******* ok: [managed-node2] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/etc/certmonger//pre-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists] *** task path: /tmp/collections-tMH/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:49 Wednesday 22 April 2026 13:58:52 -0400 (0:00:00.481) 0:00:06.567 ******* ok: [managed-node2] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/etc/certmonger//post-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure provider service is running] *** task path: /tmp/collections-tMH/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:76 Wednesday 22 April 2026 13:58:53 -0400 (0:00:00.370) 0:00:06.938 ******* 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-22 13:56:51 EDT", "ActiveEnterTimestampMonotonic": "180247602", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "syslog.target sysinit.target dbus.socket system.slice network.target dbus-broker.service systemd-journald.socket basic.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Wed 2026-04-22 13:56:51 EDT", "AssertTimestampMonotonic": "180226603", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedorahosted.certmonger", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "2719112000", "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-22 13:56:51 EDT", "ConditionTimestampMonotonic": "180226600", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/certmonger.service", "ControlGroupId": "4507", "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": "10986", "ExecMainStartTimestamp": "Wed 2026-04-22 13:56:51 EDT", "ExecMainStartTimestampMonotonic": "180240103", "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-22 13:56:51 EDT] ; stop_time=[n/a] ; pid=10986 ; 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-22 13:56:51 EDT] ; stop_time=[n/a] ; pid=10986 ; 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-22 13:56:51 EDT", "InactiveExitTimestampMonotonic": "180240399", "InvocationID": "229f031e8d854ab28e37949c5ebddaf4", "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": "10986", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "5558272", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "10309632", "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-22 13:56:51 EDT", "StateChangeTimestampMonotonic": "180247602", "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-tMH/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:86 Wednesday 22 April 2026 13:58:54 -0400 (0:00:01.149) 0:00:08.087 ******* changed: [managed-node2] => (item={'name': 'mycert_subject_complex', 'dns': 'www.example.com', 'common_name': '# \\\\Every"thing+that,ne;edsing\\0 ', 'contact_email': 'admin@example.com', 'ca': 'self-sign'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ca": "self-sign", "common_name": "# \\\\Every\"thing+that,ne;edsing\\0 ", "contact_email": "admin@example.com", "dns": "www.example.com", "name": "mycert_subject_complex" } } MSG: Certificate requested (new). TASK [fedora.linux_system_roles.certificate : Check if test mode is supported] *** task path: /tmp/collections-tMH/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:138 Wednesday 22 April 2026 13:58:55 -0400 (0:00:00.850) 0:00:08.938 ******* 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-tMH/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:143 Wednesday 22 April 2026 13:58:55 -0400 (0:00:00.016) 0:00:08.955 ******* skipping: [managed-node2] => (item=['cert', {'name': 'mycert_subject_complex', 'dns': 'www.example.com', 'common_name': '# \\\\Every"thing+that,ne;edsing\\0 ', 'contact_email': 'admin@example.com', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "cert", { "ca": "self-sign", "common_name": "# \\\\Every\"thing+that,ne;edsing\\0 ", "contact_email": "admin@example.com", "dns": "www.example.com", "name": "mycert_subject_complex" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=['key', {'name': 'mycert_subject_complex', 'dns': 'www.example.com', 'common_name': '# \\\\Every"thing+that,ne;edsing\\0 ', 'contact_email': 'admin@example.com', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "key", { "ca": "self-sign", "common_name": "# \\\\Every\"thing+that,ne;edsing\\0 ", "contact_email": "admin@example.com", "dns": "www.example.com", "name": "mycert_subject_complex" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=['ca', {'name': 'mycert_subject_complex', 'dns': 'www.example.com', 'common_name': '# \\\\Every"thing+that,ne;edsing\\0 ', 'contact_email': 'admin@example.com', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "ca", { "ca": "self-sign", "common_name": "# \\\\Every\"thing+that,ne;edsing\\0 ", "contact_email": "admin@example.com", "dns": "www.example.com", "name": "mycert_subject_complex" } ], "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-tMH/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:151 Wednesday 22 April 2026 13:58:55 -0400 (0:00:00.027) 0:00:08.982 ******* 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-tMH/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:155 Wednesday 22 April 2026 13:58:55 -0400 (0:00:00.012) 0:00:08.994 ******* skipping: [managed-node2] => (item=mycert_subject_complex) => { "ansible_loop_var": "cert_name", "cert_name": "mycert_subject_complex", "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-tMH/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:169 Wednesday 22 April 2026 13:58:55 -0400 (0:00:00.016) 0:00:09.011 ******* 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-tMH/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:174 Wednesday 22 April 2026 13:58:55 -0400 (0:00:00.013) 0:00:09.025 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "certificate_test_mode | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Record role success fingerprint] *** task path: /tmp/collections-tMH/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:185 Wednesday 22 April 2026 13:58:55 -0400 (0:00:00.017) 0:00:09.043 ******* ok: [managed-node2] => { "changed": false } PLAY [Verify certificate] ****************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-tMH/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_subject_complex.yml:16 Wednesday 22 April 2026 13:58:55 -0400 (0:00:00.354) 0:00:09.397 ******* ok: [managed-node2] TASK [Load certificate role platform variables] ******************************** task path: /tmp/collections-tMH/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_subject_complex.yml:19 Wednesday 22 April 2026 13:58:56 -0400 (0:00:00.730) 0:00:10.128 ******* 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-tMH/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Wednesday 22 April 2026 13:58:56 -0400 (0:00:00.020) 0:00:10.148 ******* 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 : Record role begin fingerprint] *** task path: /tmp/collections-tMH/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:7 Wednesday 22 April 2026 13:58:56 -0400 (0:00:00.014) 0:00:10.163 ******* ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.certificate : Check if system is ostree] ******* task path: /tmp/collections-tMH/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:16 Wednesday 22 April 2026 13:58:56 -0400 (0:00:00.352) 0:00:10.515 ******* 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-tMH/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:21 Wednesday 22 April 2026 13:58:56 -0400 (0:00:00.016) 0:00:10.532 ******* 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-tMH/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:28 Wednesday 22 April 2026 13:58:56 -0400 (0:00:00.015) 0:00:10.548 ******* 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-tMH/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:36 Wednesday 22 April 2026 13:58:56 -0400 (0:00:00.018) 0:00:10.566 ******* 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-tMH/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:41 Wednesday 22 April 2026 13:58:56 -0400 (0:00:00.018) 0:00:10.585 ******* 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-tMH/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:46 Wednesday 22 April 2026 13:58:56 -0400 (0:00:00.018) 0:00:10.604 ******* 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-tMH/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-tMH/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-tMH/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_subject_complex.yml:47 Wednesday 22 April 2026 13:58:56 -0400 (0:00:00.062) 0:00:10.667 ******* included: /tmp/collections-tMH/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node2 => (item={'path': '/etc/pki/tls/certs/mycert_subject_complex.crt', 'key_path': '/etc/pki/tls/private/mycert_subject_complex.key', 'subject': [{'name': 'emailAddress', 'oid': '1.2.840.113549.1.9.1', 'value': 'admin@example.com'}, {'name': 'commonName', 'oid': '2.5.4.3', 'value': '# \\\\Every"thing+that,ne;edsing\\0 '}], 'subject_alt_name': [{'name': 'DNS', 'value': 'www.example.com'}]}) TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-tMH/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:5 Wednesday 22 April 2026 13:58:57 -0400 (0:00:00.061) 0:00:10.729 ******* ok: [managed-node2] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-tMH/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:12 Wednesday 22 April 2026 13:58:57 -0400 (0:00:00.024) 0:00:10.753 ******* 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-tMH/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:17 Wednesday 22 April 2026 13:58:57 -0400 (0:00:00.032) 0:00:10.785 ******* 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-tMH/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:21 Wednesday 22 April 2026 13:58:57 -0400 (0:00:00.027) 0:00:10.813 ******* 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-tMH/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:31 Wednesday 22 April 2026 13:58:57 -0400 (0:00:00.019) 0:00:10.833 ******* ok: [managed-node2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-tMH/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:41 Wednesday 22 April 2026 13:58:58 -0400 (0:00:00.920) 0:00:11.753 ******* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1776880735.125907, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e94cc50122da6a617dfc11c5a39824717143c51b", "ctime": 1776880735.123907, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12665242, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1776880735.123907, "nlink": 1, "path": "/etc/pki/tls/certs/mycert_subject_complex.crt", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1375, "uid": 0, "version": "2013871357", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-tMH/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:46 Wednesday 22 April 2026 13:58:58 -0400 (0:00:00.383) 0:00:12.137 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-tMH/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:52 Wednesday 22 April 2026 13:58:58 -0400 (0:00:00.020) 0:00:12.158 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-tMH/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:62 Wednesday 22 April 2026 13:58:58 -0400 (0:00:00.023) 0:00:12.181 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-tMH/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:68 Wednesday 22 April 2026 13:58:58 -0400 (0:00:00.021) 0:00:12.202 ******* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1776880735.0719068, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "70f2d385bffba4f3936589f2c7bf9268cbbb33b6", "ctime": 1776880735.122907, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 9413647, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1776880735.122907, "nlink": 1, "path": "/etc/pki/tls/private/mycert_subject_complex.key", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1704, "uid": 0, "version": "3618348970", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-tMH/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:73 Wednesday 22 April 2026 13:58:58 -0400 (0:00:00.371) 0:00:12.574 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-tMH/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:79 Wednesday 22 April 2026 13:58:58 -0400 (0:00:00.019) 0:00:12.593 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-tMH/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:89 Wednesday 22 April 2026 13:58:58 -0400 (0:00:00.024) 0:00:12.618 ******* ok: [managed-node2] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "97:C4:27:18:4D:B3:B0:1E:0B:56:24:53:C7:68:C4:77:BC:D3:0D:B2" }, "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": "91:8D:FE:4C:55:4D:E8:19:A7:C4:59:97:18:5A:2F:C6:A5:32:2C:08" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "24:51:47:67:BF:0B:C7:94:9F:87:BE:32:B9:3F:03:F7:4C:3F:8F:37:0C:9E:CE:A3:5D:AB:3F:1E:7A:02:3F:D5:D9:D5:A0:9A:D1:D1:00:02:9F:58:1C:5E:CF:FA:4A:13:CF:A8:E1:78:39:39:75:AD:67:21:E2:8E:4B:B5:54:C1:85:69:D8:16:92:BB:DD:78:01:AF:87:56:23:42:F1:D7:1F:AA:B5:49:99:DF:AA:5E:90:6B:E5:75:C8:77:4A:67:44:89:DA:A8:E7:E0:06:65:BE:2F:E2:D2:AE:66:49:3D:EC:BB:35:5E:2D:33:B4:4E:83:20:7F:BC:F9:54:E1:98:8B:0B:9A:11:B4:82:DF:FE:95:B3:BD:48:C2:29:26:F4:3C:F6:8B:B0:D7:9C:B4:24:A0:DF:0B:69:E7:59:A3:9C:02:66:BC:E3:B8:77:09:0A:65:C2:8B:8A:23:DC:BF:C1:28:D6:0A:0E:75:E6:AC:4A:BB:14:76:F7:6D:C5:D7:73:83:CF:E9:8E:6E:92:1E:15:50:C3:4E:BA:D7:ED:7C:43:7A:10:FA:B6:F7:00:34:CD:CF:5B:13:E8:DF:EB:65:ED:BD:4A:A3:FD:36:E7:AD:55:53:BA:DF:25:2C:5B:CC:73:94:B7:3D:1E:43:A8:7E:60:7C:2A:08:90:26:0E:EC:52" }, "subject": [ { "name": "emailAddress", "oid": "1.2.840.113549.1.9.1", "value": "admin@example.com" }, { "name": "commonName", "oid": "2.5.4.3", "value": "# \\\\Every\"thing+that,ne;edsing\\0 " } ], "validity": { "not_valid_after": "20270422175651Z", "not_valid_before": "20260422175855Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-tMH/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:95 Wednesday 22 April 2026 13:58:59 -0400 (0:00:00.535) 0:00:13.153 ******* ok: [managed-node2] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "97:C4:27:18:4D:B3:B0:1E:0B:56:24:53:C7:68:C4:77:BC:D3:0D:B2" }, "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": "91:8D:FE:4C:55:4D:E8:19:A7:C4:59:97:18:5A:2F:C6:A5:32:2C:08" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "24:51:47:67:BF:0B:C7:94:9F:87:BE:32:B9:3F:03:F7:4C:3F:8F:37:0C:9E:CE:A3:5D:AB:3F:1E:7A:02:3F:D5:D9:D5:A0:9A:D1:D1:00:02:9F:58:1C:5E:CF:FA:4A:13:CF:A8:E1:78:39:39:75:AD:67:21:E2:8E:4B:B5:54:C1:85:69:D8:16:92:BB:DD:78:01:AF:87:56:23:42:F1:D7:1F:AA:B5:49:99:DF:AA:5E:90:6B:E5:75:C8:77:4A:67:44:89:DA:A8:E7:E0:06:65:BE:2F:E2:D2:AE:66:49:3D:EC:BB:35:5E:2D:33:B4:4E:83:20:7F:BC:F9:54:E1:98:8B:0B:9A:11:B4:82:DF:FE:95:B3:BD:48:C2:29:26:F4:3C:F6:8B:B0:D7:9C:B4:24:A0:DF:0B:69:E7:59:A3:9C:02:66:BC:E3:B8:77:09:0A:65:C2:8B:8A:23:DC:BF:C1:28:D6:0A:0E:75:E6:AC:4A:BB:14:76:F7:6D:C5:D7:73:83:CF:E9:8E:6E:92:1E:15:50:C3:4E:BA:D7:ED:7C:43:7A:10:FA:B6:F7:00:34:CD:CF:5B:13:E8:DF:EB:65:ED:BD:4A:A3:FD:36:E7:AD:55:53:BA:DF:25:2C:5B:CC:73:94:B7:3D:1E:43:A8:7E:60:7C:2A:08:90:26:0E:EC:52" }, "subject": [ { "name": "emailAddress", "oid": "1.2.840.113549.1.9.1", "value": "admin@example.com" }, { "name": "commonName", "oid": "2.5.4.3", "value": "# \\\\Every\"thing+that,ne;edsing\\0 " } ], "validity": { "not_valid_after": "20270422175651Z", "not_valid_before": "20260422175855Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-tMH/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:99 Wednesday 22 April 2026 13:58:59 -0400 (0:00:00.031) 0:00:13.185 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-tMH/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:107 Wednesday 22 April 2026 13:58:59 -0400 (0:00:00.036) 0:00:13.221 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-tMH/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:115 Wednesday 22 April 2026 13:58:59 -0400 (0:00:00.033) 0:00:13.255 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-tMH/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:122 Wednesday 22 April 2026 13:58:59 -0400 (0:00:00.034) 0:00:13.290 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-tMH/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:133 Wednesday 22 April 2026 13:58:59 -0400 (0:00:00.028) 0:00:13.319 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-tMH/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:146 Wednesday 22 April 2026 13:58:59 -0400 (0:00:00.024) 0:00:13.343 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/mycert_subject_complex.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "delta": "0:00:00.051346", "end": "2026-04-22 13:58:59.983070", "rc": 0, "start": "2026-04-22 13:58:59.931724" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-tMH/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:155 Wednesday 22 April 2026 13:59:00 -0400 (0:00:00.402) 0:00:13.746 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Stat commands file] ****************************************************** task path: /tmp/collections-tMH/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:163 Wednesday 22 April 2026 13:59:00 -0400 (0:00:00.021) 0:00:13.768 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that commands file got removed] *********************************** task path: /tmp/collections-tMH/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:168 Wednesday 22 April 2026 13:59:00 -0400 (0:00:00.352) 0:00:14.120 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Stat first-boot unit file] *********************************************** task path: /tmp/collections-tMH/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:176 Wednesday 22 April 2026 13:59:00 -0400 (0:00:00.033) 0:00:14.153 ******* 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-tMH/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:181 Wednesday 22 April 2026 13:59:00 -0400 (0:00:00.031) 0:00:14.185 ******* 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-tMH/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:186 Wednesday 22 April 2026 13:59:00 -0400 (0:00:00.025) 0:00:14.210 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_connection == \"buildah\"", "skip_reason": "Conditional result was False" } TASK [Stat commands file] ****************************************************** task path: /tmp/collections-tMH/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:193 Wednesday 22 April 2026 13:59:00 -0400 (0:00:00.030) 0:00:14.241 ******* 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-tMH/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:198 Wednesday 22 April 2026 13:59:00 -0400 (0:00:00.029) 0:00:14.270 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_connection == \"buildah\"", "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* managed-node2 : ok=43 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 22 April 2026 13:59:00 -0400 (0:00:00.024) 0:00:14.295 ******* =============================================================================== fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 1.41s /tmp/collections-tMH/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 1.30s /tmp/collections-tMH/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:15 fedora.linux_system_roles.certificate : Ensure provider service is running --- 1.15s /tmp/collections-tMH/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:76 Gathering Facts --------------------------------------------------------- 1.13s /tmp/collections-tMH/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_subject_complex.yml:2 Ensure python3 is installed --------------------------------------------- 0.92s /tmp/collections-tMH/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:31 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 0.85s /tmp/collections-tMH/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:86 Gathering Facts --------------------------------------------------------- 0.73s /tmp/collections-tMH/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_subject_complex.yml:16 Parse certificate ------------------------------------------------------- 0.54s /tmp/collections-tMH/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:89 fedora.linux_system_roles.certificate : Ensure ansible_facts used by role --- 0.54s /tmp/collections-tMH/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 fedora.linux_system_roles.certificate : Run systemctl ------------------- 0.51s /tmp/collections-tMH/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:28 fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists --- 0.48s /tmp/collections-tMH/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:25 fedora.linux_system_roles.certificate : Check if system is ostree ------- 0.43s /tmp/collections-tMH/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:16 fedora.linux_system_roles.certificate : Record role begin fingerprint --- 0.43s /tmp/collections-tMH/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:7 Retrieve auto-renew flag ------------------------------------------------ 0.40s /tmp/collections-tMH/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:146 Retrieve certificate file stats ----------------------------------------- 0.38s /tmp/collections-tMH/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:41 Retrieve key file stats ------------------------------------------------- 0.37s /tmp/collections-tMH/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:68 fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists --- 0.37s /tmp/collections-tMH/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:49 fedora.linux_system_roles.certificate : Record role success fingerprint --- 0.35s /tmp/collections-tMH/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:185 fedora.linux_system_roles.certificate : Record role begin fingerprint --- 0.35s /tmp/collections-tMH/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:7 Stat commands file ------------------------------------------------------ 0.35s /tmp/collections-tMH/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:163