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-t3Q 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-t3Q/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_subject.yml PLAY [Issue simple self-signed certificate] ************************************ TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-t3Q/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_subject.yml:2 Wednesday 22 April 2026 16:35:49 -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-t3Q/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_subject.yml:16 Wednesday 22 April 2026 16:35:50 -0400 (0:00:01.065) 0:00:01.108 ******* included: /tmp/collections-t3Q/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-t3Q/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/run_role_with_clear_facts.yml:9 Wednesday 22 April 2026 16:35:50 -0400 (0:00:00.017) 0:00:01.125 ******* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-t3Q/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/run_role_with_clear_facts.yml:23 Wednesday 22 April 2026 16:35:50 -0400 (0:00:00.000) 0:00:01.126 ******* 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-t3Q/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/run_role_with_clear_facts.yml:33 Wednesday 22 April 2026 16:35:50 -0400 (0:00:00.036) 0:00:01.163 ******* included: fedora.linux_system_roles.certificate for managed-node2 TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /tmp/collections-t3Q/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Wednesday 22 April 2026 16:35:50 -0400 (0:00:00.105) 0:00:01.268 ******* included: /tmp/collections-t3Q/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-t3Q/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Wednesday 22 April 2026 16:35:50 -0400 (0:00:00.018) 0:00:01.287 ******* ok: [managed-node2] TASK [fedora.linux_system_roles.certificate : Record role begin fingerprint] *** task path: /tmp/collections-t3Q/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:7 Wednesday 22 April 2026 16:35:51 -0400 (0:00:00.539) 0:00:01.826 ******* ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.certificate : Check if system is ostree] ******* task path: /tmp/collections-t3Q/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:16 Wednesday 22 April 2026 16:35:51 -0400 (0:00:00.523) 0:00:02.350 ******* 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-t3Q/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:21 Wednesday 22 April 2026 16:35:52 -0400 (0:00:00.465) 0:00:02.815 ******* ok: [managed-node2] => { "ansible_facts": { "__certificate_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.certificate : Run systemctl] ******************* task path: /tmp/collections-t3Q/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:28 Wednesday 22 April 2026 16:35:52 -0400 (0:00:00.021) 0:00:02.837 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-system-running" ], "delta": "0:00:00.007999", "end": "2026-04-22 16:35:52.711877", "failed_when_result": false, "rc": 0, "start": "2026-04-22 16:35:52.703878" } STDOUT: running TASK [fedora.linux_system_roles.certificate : Require installed systemd] ******* task path: /tmp/collections-t3Q/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:36 Wednesday 22 April 2026 16:35:52 -0400 (0:00:00.436) 0:00:03.273 ******* 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-t3Q/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:41 Wednesday 22 April 2026 16:35:52 -0400 (0:00:00.029) 0:00:03.303 ******* 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-t3Q/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:46 Wednesday 22 April 2026 16:35:52 -0400 (0:00:00.029) 0:00:03.333 ******* 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-t3Q/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-t3Q/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-t3Q/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Wednesday 22 April 2026 16:35:52 -0400 (0:00:00.054) 0:00:03.388 ******* 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-t3Q/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:15 Wednesday 22 April 2026 16:35:54 -0400 (0:00:01.403) 0:00:04.791 ******* 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-t3Q/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:25 Wednesday 22 April 2026 16:35:55 -0400 (0:00:01.263) 0:00:06.055 ******* 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-t3Q/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:49 Wednesday 22 April 2026 16:35:56 -0400 (0:00:00.451) 0:00:06.506 ******* 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-t3Q/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:76 Wednesday 22 April 2026 16:35:56 -0400 (0:00:00.354) 0:00:06.861 ******* 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 16:33:41 EDT", "ActiveEnterTimestampMonotonic": "220538940", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket dbus-broker.service dbus.socket system.slice syslog.target basic.target sysinit.target network.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Wed 2026-04-22 16:33:41 EDT", "AssertTimestampMonotonic": "220520317", "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": "2903661000", "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 16:33:41 EDT", "ConditionTimestampMonotonic": "220520315", "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": "10976", "ExecMainStartTimestamp": "Wed 2026-04-22 16:33:41 EDT", "ExecMainStartTimestampMonotonic": "220531093", "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 16:33:41 EDT] ; stop_time=[n/a] ; pid=10976 ; 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 16:33:41 EDT] ; stop_time=[n/a] ; pid=10976 ; 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 16:33:41 EDT", "InactiveExitTimestampMonotonic": "220531399", "InvocationID": "bd051ad579c74958832a58fe84be417f", "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": "28520", "LimitNPROCSoft": "28520", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28520", "LimitSIGPENDINGSoft": "28520", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "10976", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "5591040", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "10752000", "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": "dbus.socket sysinit.target 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 16:33:41 EDT", "StateChangeTimestampMonotonic": "220538940", "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": "45632", "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-t3Q/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:86 Wednesday 22 April 2026 16:35:57 -0400 (0:00:01.065) 0:00:07.926 ******* 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-t3Q/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:138 Wednesday 22 April 2026 16:35:58 -0400 (0:00:00.978) 0:00:08.905 ******* 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-t3Q/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:143 Wednesday 22 April 2026 16:35:58 -0400 (0:00:00.013) 0:00:08.918 ******* 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-t3Q/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:151 Wednesday 22 April 2026 16:35:58 -0400 (0:00:00.025) 0:00:08.943 ******* 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-t3Q/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:155 Wednesday 22 April 2026 16:35:58 -0400 (0:00:00.014) 0:00:08.957 ******* 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-t3Q/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:169 Wednesday 22 April 2026 16:35:58 -0400 (0:00:00.021) 0:00:08.979 ******* 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-t3Q/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:174 Wednesday 22 April 2026 16:35:58 -0400 (0:00:00.016) 0:00:08.996 ******* 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-t3Q/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:185 Wednesday 22 April 2026 16:35:58 -0400 (0:00:00.024) 0:00:09.020 ******* ok: [managed-node2] => { "changed": false } PLAY [Verify certificate] ****************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-t3Q/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_subject.yml:19 Wednesday 22 April 2026 16:35:58 -0400 (0:00:00.340) 0:00:09.361 ******* ok: [managed-node2] TASK [Load certificate role platform variables] ******************************** task path: /tmp/collections-t3Q/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_subject.yml:22 Wednesday 22 April 2026 16:35:59 -0400 (0:00:00.728) 0:00:10.089 ******* 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-t3Q/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Wednesday 22 April 2026 16:35:59 -0400 (0:00:00.025) 0:00:10.115 ******* 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-t3Q/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:7 Wednesday 22 April 2026 16:35:59 -0400 (0:00:00.024) 0:00:10.140 ******* ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.certificate : Check if system is ostree] ******* task path: /tmp/collections-t3Q/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:16 Wednesday 22 April 2026 16:35:59 -0400 (0:00:00.347) 0:00:10.487 ******* 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-t3Q/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:21 Wednesday 22 April 2026 16:35:59 -0400 (0:00:00.017) 0:00:10.505 ******* 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-t3Q/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:28 Wednesday 22 April 2026 16:36:00 -0400 (0:00:00.017) 0:00:10.522 ******* 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-t3Q/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:36 Wednesday 22 April 2026 16:36:00 -0400 (0:00:00.019) 0:00:10.541 ******* 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-t3Q/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:41 Wednesday 22 April 2026 16:36:00 -0400 (0:00:00.019) 0:00:10.561 ******* 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-t3Q/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:46 Wednesday 22 April 2026 16:36:00 -0400 (0:00:00.017) 0:00:10.578 ******* 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-t3Q/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-t3Q/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-t3Q/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_subject.yml:54 Wednesday 22 April 2026 16:36:00 -0400 (0:00:00.041) 0:00:10.620 ******* included: /tmp/collections-t3Q/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-t3Q/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:5 Wednesday 22 April 2026 16:36:00 -0400 (0:00:00.038) 0:00:10.658 ******* ok: [managed-node2] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-t3Q/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:12 Wednesday 22 April 2026 16:36:00 -0400 (0:00:00.016) 0:00:10.675 ******* 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-t3Q/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:17 Wednesday 22 April 2026 16:36:00 -0400 (0:00:00.019) 0:00:10.694 ******* 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-t3Q/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:21 Wednesday 22 April 2026 16:36:00 -0400 (0:00:00.017) 0:00:10.712 ******* 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-t3Q/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:31 Wednesday 22 April 2026 16:36:00 -0400 (0:00:00.013) 0:00:10.726 ******* ok: [managed-node2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-t3Q/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:41 Wednesday 22 April 2026 16:36:01 -0400 (0:00:00.910) 0:00:11.637 ******* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1776890158.1858397, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816867f89e88353670e0566df8708c6d557f9f65", "ctime": 1776890158.1838398, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12665243, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1776890158.1838398, "nlink": 1, "path": "/etc/pki/tls/certs/mycert_subject.crt", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1411, "uid": 0, "version": "3450612647", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-t3Q/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:46 Wednesday 22 April 2026 16:36:01 -0400 (0:00:00.345) 0:00:11.983 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-t3Q/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:52 Wednesday 22 April 2026 16:36:01 -0400 (0:00:00.026) 0:00:12.009 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-t3Q/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:62 Wednesday 22 April 2026 16:36:01 -0400 (0:00:00.037) 0:00:12.046 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-t3Q/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:68 Wednesday 22 April 2026 16:36:01 -0400 (0:00:00.033) 0:00:12.080 ******* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1776890158.131839, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e76b40d184ae5b9818606c72b75f4de4d2632817", "ctime": 1776890158.1828396, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 9413648, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1776890158.1828396, "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": "3887694634", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-t3Q/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:73 Wednesday 22 April 2026 16:36:01 -0400 (0:00:00.344) 0:00:12.424 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-t3Q/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:79 Wednesday 22 April 2026 16:36:01 -0400 (0:00:00.023) 0:00:12.448 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-t3Q/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:89 Wednesday 22 April 2026 16:36:01 -0400 (0:00:00.024) 0:00:12.472 ******* ok: [managed-node2] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "DB:59:8D:C4:A1:50:86:E3:C2:0A:25:36:78:82:4A:E4:D0:97:1C:BE" }, "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": "51:FD:E7:47:16:2C:F7:01:86:D1:42:3E:6C:C9:50:6E:F8:0C:2C:EA" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "27:F6:BC:5D:9A:17:5D:34:83:DA:33:D7:A9:92:7F:7E:5E:FD:CC:08:E5:7A:10:28:46:76:23:89:7E:93:64:90:97:6F:9E:EE:28:66:7E:B7:72:14:24:02:78:FD:38:4E:61:C4:00:D5:DD:12:C8:57:31:C2:95:D3:35:C4:75:95:F3:81:BB:9A:C1:97:0A:2C:19:75:16:68:9A:06:55:17:5C:45:B3:E9:AC:C9:CB:0E:63:DA:8E:3D:C9:02:29:EA:C3:18:E5:76:34:D5:E0:2F:12:92:9C:D3:E0:D4:9F:E9:5E:5E:E4:6D:24:11:99:FB:47:93:5F:EC:C1:94:24:83:E2:93:15:A0:CA:74:D6:F2:50:60:1E:F6:06:16:EA:49:BF:58:18:2C:98:3D:01:5B:0B:24:0E:0E:96:D9:1E:31:9D:C6:A1:83:BD:50:AC:5B:FA:AB:2B:73:46:03:6F:6B:05:90:03:31:C8:65:E2:F3:F6:1E:38:A6:DC:36:6B:5E:7C:49:97:1A:6F:36:A2:28:FB:3D:AC:12:85:8A:A0:29:DD:35:82:7E:30:D7:13:24:6E:6A:5C:0A:36:FE:4C:6C:DC:D2:B7:38:D2:8B:E8:D9:4F:EF:CB:57:A3:37:E3:DC:B5:FF:F1:98:C0:E0:5D:EE:D1:09:D0:5F:AE:D0:42:D2" }, "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": "20270422203341Z", "not_valid_before": "20260422203558Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-t3Q/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:95 Wednesday 22 April 2026 16:36:02 -0400 (0:00:00.479) 0:00:12.952 ******* ok: [managed-node2] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "DB:59:8D:C4:A1:50:86:E3:C2:0A:25:36:78:82:4A:E4:D0:97:1C:BE" }, "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": "51:FD:E7:47:16:2C:F7:01:86:D1:42:3E:6C:C9:50:6E:F8:0C:2C:EA" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "27:F6:BC:5D:9A:17:5D:34:83:DA:33:D7:A9:92:7F:7E:5E:FD:CC:08:E5:7A:10:28:46:76:23:89:7E:93:64:90:97:6F:9E:EE:28:66:7E:B7:72:14:24:02:78:FD:38:4E:61:C4:00:D5:DD:12:C8:57:31:C2:95:D3:35:C4:75:95:F3:81:BB:9A:C1:97:0A:2C:19:75:16:68:9A:06:55:17:5C:45:B3:E9:AC:C9:CB:0E:63:DA:8E:3D:C9:02:29:EA:C3:18:E5:76:34:D5:E0:2F:12:92:9C:D3:E0:D4:9F:E9:5E:5E:E4:6D:24:11:99:FB:47:93:5F:EC:C1:94:24:83:E2:93:15:A0:CA:74:D6:F2:50:60:1E:F6:06:16:EA:49:BF:58:18:2C:98:3D:01:5B:0B:24:0E:0E:96:D9:1E:31:9D:C6:A1:83:BD:50:AC:5B:FA:AB:2B:73:46:03:6F:6B:05:90:03:31:C8:65:E2:F3:F6:1E:38:A6:DC:36:6B:5E:7C:49:97:1A:6F:36:A2:28:FB:3D:AC:12:85:8A:A0:29:DD:35:82:7E:30:D7:13:24:6E:6A:5C:0A:36:FE:4C:6C:DC:D2:B7:38:D2:8B:E8:D9:4F:EF:CB:57:A3:37:E3:DC:B5:FF:F1:98:C0:E0:5D:EE:D1:09:D0:5F:AE:D0:42:D2" }, "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": "20270422203341Z", "not_valid_before": "20260422203558Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-t3Q/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:99 Wednesday 22 April 2026 16:36:02 -0400 (0:00:00.019) 0:00:12.971 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-t3Q/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:107 Wednesday 22 April 2026 16:36:02 -0400 (0:00:00.025) 0:00:12.996 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-t3Q/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:115 Wednesday 22 April 2026 16:36:02 -0400 (0:00:00.023) 0:00:13.019 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-t3Q/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:122 Wednesday 22 April 2026 16:36:02 -0400 (0:00:00.024) 0:00:13.044 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-t3Q/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:133 Wednesday 22 April 2026 16:36:02 -0400 (0:00:00.028) 0:00:13.072 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-t3Q/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:146 Wednesday 22 April 2026 16:36:02 -0400 (0:00:00.022) 0:00:13.095 ******* 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.054290", "end": "2026-04-22 16:36:02.935637", "rc": 0, "start": "2026-04-22 16:36:02.881347" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-t3Q/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:155 Wednesday 22 April 2026 16:36:02 -0400 (0:00:00.391) 0:00:13.487 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Stat commands file] ****************************************************** task path: /tmp/collections-t3Q/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:163 Wednesday 22 April 2026 16:36:03 -0400 (0:00:00.022) 0:00:13.509 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that commands file got removed] *********************************** task path: /tmp/collections-t3Q/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:168 Wednesday 22 April 2026 16:36:03 -0400 (0:00:00.325) 0:00:13.835 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Stat first-boot unit file] *********************************************** task path: /tmp/collections-t3Q/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:176 Wednesday 22 April 2026 16:36:03 -0400 (0:00:00.020) 0:00:13.855 ******* 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-t3Q/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:181 Wednesday 22 April 2026 16:36:03 -0400 (0:00:00.019) 0:00:13.874 ******* 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-t3Q/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:186 Wednesday 22 April 2026 16:36:03 -0400 (0:00:00.018) 0:00:13.893 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_connection == \"buildah\"", "skip_reason": "Conditional result was False" } TASK [Stat commands file] ****************************************************** task path: /tmp/collections-t3Q/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:193 Wednesday 22 April 2026 16:36:03 -0400 (0:00:00.014) 0:00:13.907 ******* 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-t3Q/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:198 Wednesday 22 April 2026 16:36:03 -0400 (0:00:00.011) 0:00:13.918 ******* 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 16:36:03 -0400 (0:00:00.010) 0:00:13.929 ******* =============================================================================== fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 1.40s /tmp/collections-t3Q/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 1.26s /tmp/collections-t3Q/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:15 fedora.linux_system_roles.certificate : Ensure provider service is running --- 1.07s /tmp/collections-t3Q/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:76 Gathering Facts --------------------------------------------------------- 1.07s /tmp/collections-t3Q/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_subject.yml:2 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 0.98s /tmp/collections-t3Q/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:86 Ensure python3 is installed --------------------------------------------- 0.91s /tmp/collections-t3Q/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:31 Gathering Facts --------------------------------------------------------- 0.73s /tmp/collections-t3Q/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_subject.yml:19 fedora.linux_system_roles.certificate : Ensure ansible_facts used by role --- 0.54s /tmp/collections-t3Q/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 fedora.linux_system_roles.certificate : Record role begin fingerprint --- 0.52s /tmp/collections-t3Q/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:7 Parse certificate ------------------------------------------------------- 0.48s /tmp/collections-t3Q/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:89 fedora.linux_system_roles.certificate : Check if system is ostree ------- 0.47s /tmp/collections-t3Q/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:16 fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists --- 0.45s /tmp/collections-t3Q/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:25 fedora.linux_system_roles.certificate : Run systemctl ------------------- 0.44s /tmp/collections-t3Q/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:28 Retrieve auto-renew flag ------------------------------------------------ 0.39s /tmp/collections-t3Q/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.35s /tmp/collections-t3Q/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:49 fedora.linux_system_roles.certificate : Record role begin fingerprint --- 0.35s /tmp/collections-t3Q/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:7 Retrieve certificate file stats ----------------------------------------- 0.35s /tmp/collections-t3Q/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:41 Retrieve key file stats ------------------------------------------------- 0.34s /tmp/collections-t3Q/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:68 fedora.linux_system_roles.certificate : Record role success fingerprint --- 0.34s /tmp/collections-t3Q/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:185 Stat commands file ------------------------------------------------------ 0.33s /tmp/collections-t3Q/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:163