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-AWM executable location = /usr/local/bin/ansible-playbook python version = 3.12.12 (main, Nov 14 2025, 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_run_hooks.yml ************************************************** 2 plays in /tmp/collections-AWM/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml PLAY [Issue simple self-signed certificate] ************************************ TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-AWM/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:2 Monday 05 January 2026 15:00:31 -0500 (0:00:00.021) 0:00:00.021 ******** [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 [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /tmp/collections-AWM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Monday 05 January 2026 15:00:32 -0500 (0:00:01.127) 0:00:01.148 ******** included: /tmp/collections-AWM/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-AWM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Monday 05 January 2026 15:00:32 -0500 (0:00:00.020) 0:00:01.169 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "__certificate_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Check if system is ostree] ******* task path: /tmp/collections-AWM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Monday 05 January 2026 15:00:33 -0500 (0:00:00.037) 0:00:01.206 ******** 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-AWM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Monday 05 January 2026 15:00:33 -0500 (0:00:00.507) 0:00:01.714 ******** ok: [managed-node2] => { "ansible_facts": { "__certificate_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.certificate : Run systemctl] ******************* task path: /tmp/collections-AWM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:22 Monday 05 January 2026 15:00:33 -0500 (0:00:00.023) 0:00:01.737 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-system-running" ], "delta": "0:00:00.008497", "end": "2026-01-05 15:00:33.958428", "failed_when_result": false, "rc": 0, "start": "2026-01-05 15:00:33.949931" } STDOUT: running TASK [fedora.linux_system_roles.certificate : Require installed systemd] ******* task path: /tmp/collections-AWM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:30 Monday 05 January 2026 15:00:34 -0500 (0:00:00.456) 0:00:02.194 ******** 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-AWM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:35 Monday 05 January 2026 15:00:34 -0500 (0:00:00.037) 0:00:02.232 ******** 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-AWM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:40 Monday 05 January 2026 15:00:34 -0500 (0:00:00.026) 0:00:02.258 ******** 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-AWM/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-AWM/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-AWM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Monday 05 January 2026 15:00:34 -0500 (0:00:00.046) 0:00:02.304 ******** 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-AWM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:15 Monday 05 January 2026 15:00:35 -0500 (0:00:01.139) 0:00:03.443 ******** 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-AWM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:25 Monday 05 January 2026 15:00:36 -0500 (0:00:00.949) 0:00:04.392 ******** 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-AWM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:49 Monday 05 January 2026 15:00:36 -0500 (0:00:00.502) 0:00:04.895 ******** 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-AWM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:76 Monday 05 January 2026 15:00:37 -0500 (0:00:00.395) 0:00:05.290 ******** 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": "Mon 2026-01-05 14:58:54 EST", "ActiveEnterTimestampMonotonic": "189222652", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target dbus.socket syslog.target basic.target systemd-journald.socket network.target dbus-broker.service system.slice", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Mon 2026-01-05 14:58:54 EST", "AssertTimestampMonotonic": "189199466", "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": "2181365000", "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": "Mon 2026-01-05 14:58:54 EST", "ConditionTimestampMonotonic": "189199463", "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": "9207", "ExecMainStartTimestamp": "Mon 2026-01-05 14:58:54 EST", "ExecMainStartTimestampMonotonic": "189215099", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /run/certmonger.pid -n $OPTS ; ignore_errors=no ; start_time=[Mon 2026-01-05 14:58:54 EST] ; stop_time=[n/a] ; pid=9207 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /run/certmonger.pid -n $OPTS ; flags= ; start_time=[Mon 2026-01-05 14:58:54 EST] ; stop_time=[n/a] ; pid=9207 ; 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": "Mon 2026-01-05 14:58:54 EST", "InactiveExitTimestampMonotonic": "189215402", "InvocationID": "43f68a4308a94d3895c7e5bb8f75ce1c", "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": "28523", "LimitNPROCSoft": "28523", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28523", "LimitSIGPENDINGSoft": "28523", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "9207", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "5529600", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "10817536", "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": "system.slice dbus.socket sysinit.target", "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": "Mon 2026-01-05 14:58:54 EST", "StateChangeTimestampMonotonic": "189222652", "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": "45636", "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-AWM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:86 Monday 05 January 2026 15:00:37 -0500 (0:00:00.818) 0:00:06.109 ******** changed: [managed-node2] => (item={'name': 'mycert_run_hooks', 'dns': 'www.example.com', 'ca': 'self-sign', 'run_before': 'touch /etc/pki/before_cert.tmp\n', 'run_after': 'touch /etc/pki/after_cert.tmp\n'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ca": "self-sign", "dns": "www.example.com", "name": "mycert_run_hooks", "run_after": "touch /etc/pki/after_cert.tmp\n", "run_before": "touch /etc/pki/before_cert.tmp\n" } } MSG: Certificate requested (new). Pre/Post run hooks updated. TASK [fedora.linux_system_roles.certificate : Check if test mode is supported] *** task path: /tmp/collections-AWM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:138 Monday 05 January 2026 15:00:38 -0500 (0:00:00.987) 0:00:07.096 ******** 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-AWM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:143 Monday 05 January 2026 15:00:38 -0500 (0:00:00.032) 0:00:07.129 ******** skipping: [managed-node2] => (item=['cert', {'name': 'mycert_run_hooks', 'dns': 'www.example.com', 'ca': 'self-sign', 'run_before': 'touch /etc/pki/before_cert.tmp\n', 'run_after': 'touch /etc/pki/after_cert.tmp\n'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "cert", { "ca": "self-sign", "dns": "www.example.com", "name": "mycert_run_hooks", "run_after": "touch /etc/pki/after_cert.tmp\n", "run_before": "touch /etc/pki/before_cert.tmp\n" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=['key', {'name': 'mycert_run_hooks', 'dns': 'www.example.com', 'ca': 'self-sign', 'run_before': 'touch /etc/pki/before_cert.tmp\n', 'run_after': 'touch /etc/pki/after_cert.tmp\n'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "key", { "ca": "self-sign", "dns": "www.example.com", "name": "mycert_run_hooks", "run_after": "touch /etc/pki/after_cert.tmp\n", "run_before": "touch /etc/pki/before_cert.tmp\n" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=['ca', {'name': 'mycert_run_hooks', 'dns': 'www.example.com', 'ca': 'self-sign', 'run_before': 'touch /etc/pki/before_cert.tmp\n', 'run_after': 'touch /etc/pki/after_cert.tmp\n'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "ca", { "ca": "self-sign", "dns": "www.example.com", "name": "mycert_run_hooks", "run_after": "touch /etc/pki/after_cert.tmp\n", "run_before": "touch /etc/pki/before_cert.tmp\n" } ], "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-AWM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:151 Monday 05 January 2026 15:00:38 -0500 (0:00:00.042) 0:00:07.172 ******** 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-AWM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:155 Monday 05 January 2026 15:00:39 -0500 (0:00:00.032) 0:00:07.204 ******** skipping: [managed-node2] => (item=mycert_run_hooks) => { "ansible_loop_var": "cert_name", "cert_name": "mycert_run_hooks", "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-AWM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:169 Monday 05 January 2026 15:00:39 -0500 (0:00:00.036) 0:00:07.241 ******** 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-AWM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:174 Monday 05 January 2026 15:00:39 -0500 (0:00:00.032) 0:00:07.274 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "certificate_test_mode | d(false)", "skip_reason": "Conditional result was False" } PLAY [Verify certificate] ****************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-AWM/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:17 Monday 05 January 2026 15:00:39 -0500 (0:00:00.042) 0:00:07.317 ******** ok: [managed-node2] TASK [Verify each certificate] ************************************************* task path: /tmp/collections-AWM/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:31 Monday 05 January 2026 15:00:39 -0500 (0:00:00.740) 0:00:08.057 ******** included: /tmp/collections-AWM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node2 => (item={'path': '/etc/pki/tls/certs/mycert_run_hooks.crt', 'key_path': '/etc/pki/tls/private/mycert_run_hooks.key', 'subject': [{'name': 'commonName', 'oid': '2.5.4.3', 'value': 'www.example.com'}], 'subject_alt_name': [{'name': 'DNS', 'value': 'www.example.com'}]}) TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-AWM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:5 Monday 05 January 2026 15:00:39 -0500 (0:00:00.042) 0:00:08.100 ******** ok: [managed-node2] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-AWM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:12 Monday 05 January 2026 15:00:39 -0500 (0:00:00.016) 0:00:08.116 ******** 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-AWM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:17 Monday 05 January 2026 15:00:39 -0500 (0:00:00.021) 0:00:08.138 ******** 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-AWM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:21 Monday 05 January 2026 15:00:39 -0500 (0:00:00.018) 0:00:08.156 ******** 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-AWM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:31 Monday 05 January 2026 15:00:39 -0500 (0:00:00.015) 0:00:08.171 ******** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-AWM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:41 Monday 05 January 2026 15:00:40 -0500 (0:00:00.917) 0:00:09.089 ******** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1767643238.695304, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b350b2ad24ca754e157a1bf583406a4ea2732e61", "ctime": 1767643238.6933038, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5282869, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1767643238.6933038, "nlink": 1, "path": "/etc/pki/tls/certs/mycert_run_hooks.crt", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1294, "uid": 0, "version": "1143090154", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-AWM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:46 Monday 05 January 2026 15:00:41 -0500 (0:00:00.361) 0:00:09.451 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-AWM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:52 Monday 05 January 2026 15:00:41 -0500 (0:00:00.019) 0:00:09.470 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-AWM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:62 Monday 05 January 2026 15:00:41 -0500 (0:00:00.039) 0:00:09.510 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-AWM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:68 Monday 05 January 2026 15:00:41 -0500 (0:00:00.038) 0:00:09.548 ******** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1767643238.6383038, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "030d39a53678f392ff17c25a97d3d25acc3ca50c", "ctime": 1767643238.6933038, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 1771764, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1767643238.6933038, "nlink": 1, "path": "/etc/pki/tls/private/mycert_run_hooks.key", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1704, "uid": 0, "version": "645807769", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-AWM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:73 Monday 05 January 2026 15:00:41 -0500 (0:00:00.343) 0:00:09.892 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-AWM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:79 Monday 05 January 2026 15:00:41 -0500 (0:00:00.026) 0:00:09.918 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-AWM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:89 Monday 05 January 2026 15:00:41 -0500 (0:00:00.059) 0:00:09.978 ******** ok: [managed-node2] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "29:04:23:FA:49:DA:CF:AE:94:C1:47:40:B1:16:0F:71:00:31:80:85" }, "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": "C8:CC:D1:78:D6:AB:FE:72:E7:B3:BF:A4:36:97:D6:13:E8:AB:6F:BA" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "31:91:61:84:54:D2:DB:F8:A3:F2:78:3B:BF:5C:11:AF:09:10:99:D9:8B:27:56:8C:E4:06:39:B0:AA:1C:B6:60:C3:8E:00:F1:D5:ED:FE:7E:69:1E:B0:FC:A1:1E:D1:AE:A9:B7:E7:CA:D5:B7:10:F8:1E:32:C7:ED:C5:E0:E7:E1:0C:E1:05:A1:CB:BF:87:64:BE:ED:01:06:89:B3:B3:BC:F6:97:C7:BE:96:D1:BD:AF:F1:4A:62:D8:63:32:88:77:E4:EE:A1:24:B0:DC:51:28:F4:E5:7F:C0:66:2D:C8:8A:CC:0F:29:EE:4E:6F:BA:9B:09:CC:7C:D8:AD:69:5C:0A:BC:FC:6F:9B:C4:F7:35:9C:5B:E5:42:7D:B7:BB:76:A9:D2:A7:70:85:4F:EC:16:93:E9:94:DC:CA:58:17:32:CE:BA:BE:54:E3:EA:C5:CC:97:8F:23:4D:8A:34:08:C4:15:AB:DF:76:AF:B5:A6:1F:5F:CA:FE:DE:C8:E6:2B:EA:19:E8:F9:C6:59:0F:A0:BB:83:FF:67:9A:AE:C5:1B:25:F9:8F:9A:C6:0B:62:F1:10:61:C2:70:7D:21:3D:68:0F:C0:BA:D2:74:06:78:BB:C7:4E:BB:09:25:CB:42:8D:45:8B:81:B2:D7:42:57:E2:4D:C0:6A:73:01:76:95:5C:26:35" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20270105195854Z", "not_valid_before": "20260105200038Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-AWM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:95 Monday 05 January 2026 15:00:42 -0500 (0:00:00.538) 0:00:10.516 ******** ok: [managed-node2] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "29:04:23:FA:49:DA:CF:AE:94:C1:47:40:B1:16:0F:71:00:31:80:85" }, "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": "C8:CC:D1:78:D6:AB:FE:72:E7:B3:BF:A4:36:97:D6:13:E8:AB:6F:BA" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "31:91:61:84:54:D2:DB:F8:A3:F2:78:3B:BF:5C:11:AF:09:10:99:D9:8B:27:56:8C:E4:06:39:B0:AA:1C:B6:60:C3:8E:00:F1:D5:ED:FE:7E:69:1E:B0:FC:A1:1E:D1:AE:A9:B7:E7:CA:D5:B7:10:F8:1E:32:C7:ED:C5:E0:E7:E1:0C:E1:05:A1:CB:BF:87:64:BE:ED:01:06:89:B3:B3:BC:F6:97:C7:BE:96:D1:BD:AF:F1:4A:62:D8:63:32:88:77:E4:EE:A1:24:B0:DC:51:28:F4:E5:7F:C0:66:2D:C8:8A:CC:0F:29:EE:4E:6F:BA:9B:09:CC:7C:D8:AD:69:5C:0A:BC:FC:6F:9B:C4:F7:35:9C:5B:E5:42:7D:B7:BB:76:A9:D2:A7:70:85:4F:EC:16:93:E9:94:DC:CA:58:17:32:CE:BA:BE:54:E3:EA:C5:CC:97:8F:23:4D:8A:34:08:C4:15:AB:DF:76:AF:B5:A6:1F:5F:CA:FE:DE:C8:E6:2B:EA:19:E8:F9:C6:59:0F:A0:BB:83:FF:67:9A:AE:C5:1B:25:F9:8F:9A:C6:0B:62:F1:10:61:C2:70:7D:21:3D:68:0F:C0:BA:D2:74:06:78:BB:C7:4E:BB:09:25:CB:42:8D:45:8B:81:B2:D7:42:57:E2:4D:C0:6A:73:01:76:95:5C:26:35" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20270105195854Z", "not_valid_before": "20260105200038Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-AWM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:99 Monday 05 January 2026 15:00:42 -0500 (0:00:00.020) 0:00:10.536 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-AWM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:107 Monday 05 January 2026 15:00:42 -0500 (0:00:00.038) 0:00:10.575 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-AWM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:115 Monday 05 January 2026 15:00:42 -0500 (0:00:00.019) 0:00:10.594 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-AWM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:122 Monday 05 January 2026 15:00:42 -0500 (0:00:00.037) 0:00:10.631 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-AWM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:133 Monday 05 January 2026 15:00:42 -0500 (0:00:00.042) 0:00:10.674 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-AWM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:146 Monday 05 January 2026 15:00:42 -0500 (0:00:00.041) 0:00:10.715 ******** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/mycert_run_hooks.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "delta": "0:00:00.050391", "end": "2026-01-05 15:00:42.861982", "rc": 0, "start": "2026-01-05 15:00:42.811591" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-AWM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:155 Monday 05 January 2026 15:00:42 -0500 (0:00:00.392) 0:00:11.107 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Stat commands file] ****************************************************** task path: /tmp/collections-AWM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:163 Monday 05 January 2026 15:00:42 -0500 (0:00:00.053) 0:00:11.161 ******** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that commands file got removed] *********************************** task path: /tmp/collections-AWM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:168 Monday 05 January 2026 15:00:43 -0500 (0:00:00.337) 0:00:11.499 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Stat first-boot unit file] *********************************************** task path: /tmp/collections-AWM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:176 Monday 05 January 2026 15:00:43 -0500 (0:00:00.019) 0:00:11.518 ******** 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-AWM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:181 Monday 05 January 2026 15:00:43 -0500 (0:00:00.013) 0:00:11.531 ******** 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-AWM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:186 Monday 05 January 2026 15:00:43 -0500 (0:00:00.017) 0:00:11.548 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_connection == \"buildah\"", "skip_reason": "Conditional result was False" } TASK [Stat commands file] ****************************************************** task path: /tmp/collections-AWM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:193 Monday 05 January 2026 15:00:43 -0500 (0:00:00.013) 0:00:11.561 ******** 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-AWM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:198 Monday 05 January 2026 15:00:43 -0500 (0:00:00.013) 0:00:11.575 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_connection == \"buildah\"", "skip_reason": "Conditional result was False" } TASK [Get certificate timestamp] *********************************************** task path: /tmp/collections-AWM/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:41 Monday 05 January 2026 15:00:43 -0500 (0:00:00.013) 0:00:11.588 ******** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1767643238.695304, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b350b2ad24ca754e157a1bf583406a4ea2732e61", "ctime": 1767643238.6933038, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5282869, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1767643238.6933038, "nlink": 1, "path": "/etc/pki/tls/certs/mycert_run_hooks.crt", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1294, "uid": 0, "version": "1143090154", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Get pre-run file timestamp] ********************************************** task path: /tmp/collections-AWM/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:45 Monday 05 January 2026 15:00:43 -0500 (0:00:00.346) 0:00:11.934 ******** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1767643238.6903038, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1767643238.6903038, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 1771762, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1767643238.6903038, "nlink": 1, "path": "/etc/pki/before_cert.tmp", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "2631824116", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Get post-run file timestamp] ********************************************* task path: /tmp/collections-AWM/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:49 Monday 05 January 2026 15:00:44 -0500 (0:00:00.342) 0:00:12.276 ******** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1767643238.7263038, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1767643238.7263038, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 1771766, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1767643238.7263038, "nlink": 1, "path": "/etc/pki/after_cert.tmp", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "4230541819", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Assert file created before cert] ***************************************** task path: /tmp/collections-AWM/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:53 Monday 05 January 2026 15:00:44 -0500 (0:00:00.347) 0:00:12.624 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert file created after cert] ****************************************** task path: /tmp/collections-AWM/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:60 Monday 05 January 2026 15:00:44 -0500 (0:00:00.023) 0:00:12.647 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Get pre/post-scripts files] ********************************************** task path: /tmp/collections-AWM/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:68 Monday 05 January 2026 15:00:44 -0500 (0:00:00.020) 0:00:12.668 ******** ok: [managed-node2] => { "changed": false, "examined": 2, "files": [ { "atime": 1767643238.688304, "ctime": 1767643238.4233038, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 629145795, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0770", "mtime": 1767643238.4233038, "nlink": 1, "path": "/etc/certmonger/pre-scripts/mycert_run_hooks-369fd46.sh", "pw_name": "root", "rgrp": true, "roth": false, "rusr": true, "size": 92, "uid": 0, "wgrp": true, "woth": false, "wusr": true, "xgrp": true, "xoth": false, "xusr": true }, { "atime": 1767643238.724304, "ctime": 1767643238.4233038, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 641728706, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0770", "mtime": 1767643238.4233038, "nlink": 1, "path": "/etc/certmonger/post-scripts/mycert_run_hooks-369fd46.sh", "pw_name": "root", "rgrp": true, "roth": false, "rusr": true, "size": 91, "uid": 0, "wgrp": true, "woth": false, "wusr": true, "xgrp": true, "xoth": false, "xusr": true } ], "matched": 2, "skipped_paths": {} } MSG: All paths examined TASK [Check generated files for ansible_managed, fingerprint] ****************** task path: /tmp/collections-AWM/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:76 Monday 05 January 2026 15:00:44 -0500 (0:00:00.441) 0:00:13.110 ******** included: /tmp/collections-AWM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/check_header.yml for managed-node2 => (item=/etc/certmonger/pre-scripts/mycert_run_hooks-369fd46.sh) included: /tmp/collections-AWM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/check_header.yml for managed-node2 => (item=/etc/certmonger/post-scripts/mycert_run_hooks-369fd46.sh) TASK [Get file] **************************************************************** task path: /tmp/collections-AWM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/check_header.yml:3 Monday 05 January 2026 15:00:44 -0500 (0:00:00.053) 0:00:13.164 ******** ok: [managed-node2] => { "changed": false, "content": "IyEvYmluL2Jhc2gKIwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6Y2VydGlmaWNhdGUKCnRvdWNoIC9ldGMvcGtpL2JlZm9yZV9jZXJ0LnRtcAo=", "encoding": "base64", "source": "/etc/certmonger/pre-scripts/mycert_run_hooks-369fd46.sh" } TASK [Check for presence of ansible managed header, fingerprint] *************** task path: /tmp/collections-AWM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/check_header.yml:8 Monday 05 January 2026 15:00:45 -0500 (0:00:00.426) 0:00:13.591 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /tmp/collections-AWM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/check_header.yml:3 Monday 05 January 2026 15:00:45 -0500 (0:00:00.077) 0:00:13.668 ******** ok: [managed-node2] => { "changed": false, "content": "IyEvYmluL2Jhc2gKIwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6Y2VydGlmaWNhdGUKCnRvdWNoIC9ldGMvcGtpL2FmdGVyX2NlcnQudG1wCg==", "encoding": "base64", "source": "/etc/certmonger/post-scripts/mycert_run_hooks-369fd46.sh" } TASK [Check for presence of ansible managed header, fingerprint] *************** task path: /tmp/collections-AWM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/check_header.yml:8 Monday 05 January 2026 15:00:45 -0500 (0:00:00.341) 0:00:14.010 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* managed-node2 : ok=47 changed=1 unreachable=0 failed=0 skipped=16 rescued=0 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Monday 05 January 2026 15:00:45 -0500 (0:00:00.045) 0:00:14.055 ******** =============================================================================== fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 1.14s /tmp/collections-AWM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Gathering Facts --------------------------------------------------------- 1.13s /tmp/collections-AWM/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:2 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 0.99s /tmp/collections-AWM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:86 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 0.95s /tmp/collections-AWM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:15 Ensure python3 is installed --------------------------------------------- 0.92s /tmp/collections-AWM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:31 fedora.linux_system_roles.certificate : Ensure provider service is running --- 0.82s /tmp/collections-AWM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:76 Gathering Facts --------------------------------------------------------- 0.74s /tmp/collections-AWM/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:17 Parse certificate ------------------------------------------------------- 0.54s /tmp/collections-AWM/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.51s /tmp/collections-AWM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists --- 0.50s /tmp/collections-AWM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:25 fedora.linux_system_roles.certificate : Run systemctl ------------------- 0.46s /tmp/collections-AWM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:22 Get pre/post-scripts files ---------------------------------------------- 0.44s /tmp/collections-AWM/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:68 Get file ---------------------------------------------------------------- 0.43s /tmp/collections-AWM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/check_header.yml:3 fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists --- 0.40s /tmp/collections-AWM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:49 Retrieve auto-renew flag ------------------------------------------------ 0.39s /tmp/collections-AWM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:146 Retrieve certificate file stats ----------------------------------------- 0.36s /tmp/collections-AWM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:41 Get post-run file timestamp --------------------------------------------- 0.35s /tmp/collections-AWM/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:49 Get certificate timestamp ----------------------------------------------- 0.35s /tmp/collections-AWM/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:41 Retrieve key file stats ------------------------------------------------- 0.34s /tmp/collections-AWM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:68 Get pre-run file timestamp ---------------------------------------------- 0.34s /tmp/collections-AWM/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:45