ansible-playbook [core 2.16.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-QZr executable location = /usr/local/bin/ansible-playbook python version = 3.12.1 (main, Feb 21 2024, 14:18:26) [GCC 8.5.0 20210514 (Red Hat 8.5.0-21)] (/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-QZr/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-QZr/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:2 Saturday 23 August 2025 08:32:07 -0400 (0:00:00.020) 0:00:00.020 ******* ok: [managed-node3] TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /tmp/collections-QZr/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Saturday 23 August 2025 08:32:08 -0400 (0:00:01.135) 0:00:01.156 ******* included: /tmp/collections-QZr/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml for managed-node3 TASK [fedora.linux_system_roles.certificate : Ensure ansible_facts used by role] *** task path: /tmp/collections-QZr/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Saturday 23 August 2025 08:32:08 -0400 (0:00:00.021) 0:00:01.178 ******* skipping: [managed-node3] => { "changed": false, "false_condition": "__certificate_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Check if system is ostree] ******* task path: /tmp/collections-QZr/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Saturday 23 August 2025 08:32:08 -0400 (0:00:00.034) 0:00:01.212 ******* ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.certificate : Set flag to indicate system is ostree] *** task path: /tmp/collections-QZr/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Saturday 23 August 2025 08:32:09 -0400 (0:00:00.423) 0:00:01.635 ******* ok: [managed-node3] => { "ansible_facts": { "__certificate_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.certificate : Run systemctl] ******************* task path: /tmp/collections-QZr/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:22 Saturday 23 August 2025 08:32:09 -0400 (0:00:00.022) 0:00:01.658 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "systemctl", "is-system-running" ], "delta": "0:00:00.006748", "end": "2025-08-23 08:32:09.663478", "failed_when_result": false, "rc": 0, "start": "2025-08-23 08:32:09.656730" } STDOUT: running TASK [fedora.linux_system_roles.certificate : Require installed systemd] ******* task path: /tmp/collections-QZr/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:30 Saturday 23 August 2025 08:32:09 -0400 (0:00:00.421) 0:00:02.080 ******* skipping: [managed-node3] => { "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-QZr/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:35 Saturday 23 August 2025 08:32:09 -0400 (0:00:00.036) 0:00:02.116 ******* ok: [managed-node3] => { "ansible_facts": { "__certificate_is_booted": true }, "changed": false } TASK [fedora.linux_system_roles.certificate : Set platform/version specific variables] *** task path: /tmp/collections-QZr/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:40 Saturday 23 August 2025 08:32:09 -0400 (0:00:00.022) 0:00:02.139 ******* skipping: [managed-node3] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed] *** task path: /tmp/collections-QZr/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Saturday 23 August 2025 08:32:09 -0400 (0:00:00.031) 0:00:02.170 ******* ok: [managed-node3] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: python3-cryptography python3-dbus python3-pyasn1 TASK [fedora.linux_system_roles.certificate : Ensure provider packages are installed] *** task path: /tmp/collections-QZr/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:15 Saturday 23 August 2025 08:32:12 -0400 (0:00:02.925) 0:00:05.096 ******* ok: [managed-node3] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: certmonger TASK [fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists] *** task path: /tmp/collections-QZr/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:25 Saturday 23 August 2025 08:32:15 -0400 (0:00:02.821) 0:00:07.918 ******* ok: [managed-node3] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/etc/certmonger//pre-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists] *** task path: /tmp/collections-QZr/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:49 Saturday 23 August 2025 08:32:16 -0400 (0:00:00.498) 0:00:08.416 ******* ok: [managed-node3] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/etc/certmonger//post-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure provider service is running] *** task path: /tmp/collections-QZr/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:76 Saturday 23 August 2025 08:32:16 -0400 (0:00:00.383) 0:00:08.800 ******* ok: [managed-node3] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "enabled": true, "name": "certmonger", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2025-08-23 08:29:50 EDT", "ActiveEnterTimestampMonotonic": "209967549", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target basic.target sysinit.target syslog.target dbus.service dbus.socket system.slice systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2025-08-23 08:29:50 EDT", "AssertTimestampMonotonic": "209957787", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedorahosted.certmonger", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2025-08-23 08:29:50 EDT", "ConditionTimestampMonotonic": "209957786", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/certmonger.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Certificate monitoring and PKI enrollment", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/certmonger (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9189", "ExecMainStartTimestamp": "Sat 2025-08-23 08:29:50 EDT", "ExecMainStartTimestampMonotonic": "209958390", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /run/certmonger.pid -n $OPTS ; ignore_errors=no ; start_time=[Sat 2025-08-23 08:29:50 EDT] ; stop_time=[n/a] ; pid=9189 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/certmonger.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "certmonger.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2025-08-23 08:29:50 EDT", "InactiveExitTimestampMonotonic": "209958415", "InvocationID": "fb0e60a09663496ba22ed3583657f124", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "28608", "LimitNPROCSoft": "28608", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28608", "LimitSIGPENDINGSoft": "28608", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "9189", "MemoryAccounting": "yes", "MemoryCurrent": "3997696", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "certmonger.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/certmonger.pid", "PartOf": "dbus.service", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2025-08-23 08:29:50 EDT", "StateChangeTimestampMonotonic": "209967549", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "1", "TasksMax": "45773", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2025-08-23 08:29:50 EDT", "WatchdogTimestampMonotonic": "209967548", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.certificate : Ensure certificate requests] ***** task path: /tmp/collections-QZr/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:86 Saturday 23 August 2025 08:32:17 -0400 (0:00:00.761) 0:00:09.561 ******* changed: [managed-node3] => (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-QZr/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:138 Saturday 23 August 2025 08:32:18 -0400 (0:00:01.006) 0:00:10.568 ******* skipping: [managed-node3] => { "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-QZr/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:143 Saturday 23 August 2025 08:32:18 -0400 (0:00:00.043) 0:00:10.612 ******* skipping: [managed-node3] => (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-node3] => (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-node3] => (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-node3] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.certificate : Reset certificate_test_certs] **** task path: /tmp/collections-QZr/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:151 Saturday 23 August 2025 08:32:18 -0400 (0:00:00.047) 0:00:10.659 ******* skipping: [managed-node3] => { "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-QZr/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:155 Saturday 23 August 2025 08:32:18 -0400 (0:00:00.039) 0:00:10.699 ******* skipping: [managed-node3] => (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-node3] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.certificate : Stop tracking certificates] ****** task path: /tmp/collections-QZr/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:169 Saturday 23 August 2025 08:32:18 -0400 (0:00:00.041) 0:00:10.741 ******* skipping: [managed-node3] => { "changed": false, "false_condition": "certificate_test_mode | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Remove files] ******************** task path: /tmp/collections-QZr/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:174 Saturday 23 August 2025 08:32:18 -0400 (0:00:00.035) 0:00:10.776 ******* skipping: [managed-node3] => { "changed": false, "false_condition": "certificate_test_mode | d(false)", "skip_reason": "Conditional result was False" } PLAY [Verify certificate] ****************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-QZr/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:17 Saturday 23 August 2025 08:32:18 -0400 (0:00:00.044) 0:00:10.821 ******* ok: [managed-node3] TASK [Verify each certificate] ************************************************* task path: /tmp/collections-QZr/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:31 Saturday 23 August 2025 08:32:19 -0400 (0:00:00.723) 0:00:11.545 ******* included: /tmp/collections-QZr/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node3 => (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-QZr/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:5 Saturday 23 August 2025 08:32:19 -0400 (0:00:00.037) 0:00:11.583 ******* ok: [managed-node3] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-QZr/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:12 Saturday 23 August 2025 08:32:19 -0400 (0:00:00.017) 0:00:11.600 ******* skipping: [managed-node3] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-QZr/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:17 Saturday 23 August 2025 08:32:19 -0400 (0:00:00.018) 0:00:11.618 ******* skipping: [managed-node3] => { "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-QZr/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:21 Saturday 23 August 2025 08:32:19 -0400 (0:00:00.019) 0:00:11.638 ******* skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution_major_version == \"7\"", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-QZr/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:31 Saturday 23 August 2025 08:32:19 -0400 (0:00:00.016) 0:00:11.654 ******* ok: [managed-node3] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: python3-cryptography python3-pyasn1 TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-QZr/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:41 Saturday 23 August 2025 08:32:22 -0400 (0:00:02.808) 0:00:14.463 ******* ok: [managed-node3] => { "changed": false, "stat": { "atime": 1755952338.0588093, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8e75c57aafea5821af4d2e47644e773e5df22870", "ctime": 1755952338.0568092, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 7718652, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1755952338.0568092, "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": "1441853865", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-QZr/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:46 Saturday 23 August 2025 08:32:22 -0400 (0:00:00.343) 0:00:14.807 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-QZr/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:52 Saturday 23 August 2025 08:32:22 -0400 (0:00:00.019) 0:00:14.827 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-QZr/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:62 Saturday 23 August 2025 08:32:22 -0400 (0:00:00.041) 0:00:14.868 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-QZr/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:68 Saturday 23 August 2025 08:32:22 -0400 (0:00:00.040) 0:00:14.908 ******* ok: [managed-node3] => { "changed": false, "stat": { "atime": 1755952338.010809, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "ef0b85df8447327ea4b4f7ff6ea72af61f4e6f40", "ctime": 1755952338.0568092, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 7718650, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1755952338.0568092, "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": "3978871265", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-QZr/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:73 Saturday 23 August 2025 08:32:22 -0400 (0:00:00.336) 0:00:15.245 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-QZr/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:79 Saturday 23 August 2025 08:32:22 -0400 (0:00:00.019) 0:00:15.265 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-QZr/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:89 Saturday 23 August 2025 08:32:22 -0400 (0:00:00.040) 0:00:15.306 ******* ok: [managed-node3] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "61:98:33:F2:76:36:11:89:0A:3E:32:61:CA:44:FA:E1:1D:59:E2:CF" }, "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": "60:06:7C:EA:D1:DA:50:11:F4:0F:16:8D:56:AB:12:FB:84:7F:D8:F0" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "3C:36:90:7D:64:CD:92:E0:D4:1B:FC:F3:26:AA:7C:75:EF:84:54:24:E3:E4:CA:43:72:C0:6B:9E:74:BB:43:40:4A:12:D2:00:46:CD:64:79:E8:4C:55:CB:29:6A:CD:5E:BB:0A:E0:91:E5:97:76:48:59:41:E6:1F:62:76:58:45:A8:11:C4:42:95:32:40:51:A9:8E:28:AB:11:93:73:AC:EE:8A:15:6C:D3:85:0E:4A:79:A0:EC:4C:EB:12:B8:F5:D1:CE:52:A0:9D:BA:FB:F1:15:BF:7A:1A:3F:A2:6D:4C:B0:7B:1C:94:70:C1:8B:2C:CF:C2:49:73:F3:47:6D:5D:46:F7:2B:5B:94:96:58:42:3D:8B:51:20:A2:E5:9A:5A:C2:78:91:14:53:00:3B:ED:E9:18:08:6D:6A:74:EC:0A:3C:21:6F:D4:0D:33:AF:AD:85:9D:43:17:AE:A0:93:48:81:3D:CC:BA:35:9C:55:DB:67:40:93:0F:C6:35:FA:11:8B:3A:04:CB:BE:DF:F1:F0:A4:18:54:4C:44:04:C2:E1:35:E4:C7:D7:8E:68:7C:66:4A:C3:2D:D7:7D:58:1C:B7:A3:3B:0F:62:70:5C:50:28:6A:DE:2F:56:9E:B7:53:9C:AA:91:84:D5:7C:71:C4:40:E4:CC:83:2A:85:C5:B7:AD" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260823122951Z", "not_valid_before": "20250823123218Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-QZr/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:95 Saturday 23 August 2025 08:32:23 -0400 (0:00:00.483) 0:00:15.789 ******* ok: [managed-node3] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "61:98:33:F2:76:36:11:89:0A:3E:32:61:CA:44:FA:E1:1D:59:E2:CF" }, "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": "60:06:7C:EA:D1:DA:50:11:F4:0F:16:8D:56:AB:12:FB:84:7F:D8:F0" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "3C:36:90:7D:64:CD:92:E0:D4:1B:FC:F3:26:AA:7C:75:EF:84:54:24:E3:E4:CA:43:72:C0:6B:9E:74:BB:43:40:4A:12:D2:00:46:CD:64:79:E8:4C:55:CB:29:6A:CD:5E:BB:0A:E0:91:E5:97:76:48:59:41:E6:1F:62:76:58:45:A8:11:C4:42:95:32:40:51:A9:8E:28:AB:11:93:73:AC:EE:8A:15:6C:D3:85:0E:4A:79:A0:EC:4C:EB:12:B8:F5:D1:CE:52:A0:9D:BA:FB:F1:15:BF:7A:1A:3F:A2:6D:4C:B0:7B:1C:94:70:C1:8B:2C:CF:C2:49:73:F3:47:6D:5D:46:F7:2B:5B:94:96:58:42:3D:8B:51:20:A2:E5:9A:5A:C2:78:91:14:53:00:3B:ED:E9:18:08:6D:6A:74:EC:0A:3C:21:6F:D4:0D:33:AF:AD:85:9D:43:17:AE:A0:93:48:81:3D:CC:BA:35:9C:55:DB:67:40:93:0F:C6:35:FA:11:8B:3A:04:CB:BE:DF:F1:F0:A4:18:54:4C:44:04:C2:E1:35:E4:C7:D7:8E:68:7C:66:4A:C3:2D:D7:7D:58:1C:B7:A3:3B:0F:62:70:5C:50:28:6A:DE:2F:56:9E:B7:53:9C:AA:91:84:D5:7C:71:C4:40:E4:CC:83:2A:85:C5:B7:AD" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260823122951Z", "not_valid_before": "20250823123218Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-QZr/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:99 Saturday 23 August 2025 08:32:23 -0400 (0:00:00.027) 0:00:15.817 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-QZr/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:107 Saturday 23 August 2025 08:32:23 -0400 (0:00:00.045) 0:00:15.862 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-QZr/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:115 Saturday 23 August 2025 08:32:23 -0400 (0:00:00.020) 0:00:15.883 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-QZr/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:122 Saturday 23 August 2025 08:32:23 -0400 (0:00:00.039) 0:00:15.922 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-QZr/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:133 Saturday 23 August 2025 08:32:23 -0400 (0:00:00.043) 0:00:15.965 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-QZr/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:146 Saturday 23 August 2025 08:32:23 -0400 (0:00:00.043) 0:00:16.009 ******* ok: [managed-node3] => { "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.048400", "end": "2025-08-23 08:32:23.971465", "rc": 0, "start": "2025-08-23 08:32:23.923065" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-QZr/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:155 Saturday 23 August 2025 08:32:24 -0400 (0:00:00.385) 0:00:16.395 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Stat commands file] ****************************************************** task path: /tmp/collections-QZr/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:163 Saturday 23 August 2025 08:32:24 -0400 (0:00:00.046) 0:00:16.442 ******* ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that commands file got removed] *********************************** task path: /tmp/collections-QZr/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:168 Saturday 23 August 2025 08:32:24 -0400 (0:00:00.328) 0:00:16.770 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Stat first-boot unit file] *********************************************** task path: /tmp/collections-QZr/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:176 Saturday 23 August 2025 08:32:24 -0400 (0:00:00.020) 0:00:16.791 ******* skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_connection == \"buildah\"", "skip_reason": "Conditional result was False" } TASK [Assert presence of first-boot unit] ************************************** task path: /tmp/collections-QZr/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:181 Saturday 23 August 2025 08:32:24 -0400 (0:00:00.013) 0:00:16.804 ******* skipping: [managed-node3] => { "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-QZr/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:186 Saturday 23 August 2025 08:32:24 -0400 (0:00:00.018) 0:00:16.823 ******* skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_connection == \"buildah\"", "skip_reason": "Conditional result was False" } TASK [Stat commands file] ****************************************************** task path: /tmp/collections-QZr/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:193 Saturday 23 August 2025 08:32:24 -0400 (0:00:00.014) 0:00:16.837 ******* skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_connection == \"buildah\"", "skip_reason": "Conditional result was False" } TASK [Assert that commands file exists] **************************************** task path: /tmp/collections-QZr/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:198 Saturday 23 August 2025 08:32:24 -0400 (0:00:00.024) 0:00:16.861 ******* skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_connection == \"buildah\"", "skip_reason": "Conditional result was False" } TASK [Get certificate timestamp] *********************************************** task path: /tmp/collections-QZr/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:41 Saturday 23 August 2025 08:32:24 -0400 (0:00:00.019) 0:00:16.881 ******* ok: [managed-node3] => { "changed": false, "stat": { "atime": 1755952338.0588093, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8e75c57aafea5821af4d2e47644e773e5df22870", "ctime": 1755952338.0568092, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 7718652, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1755952338.0568092, "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": "1441853865", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Get pre-run file timestamp] ********************************************** task path: /tmp/collections-QZr/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:45 Saturday 23 August 2025 08:32:24 -0400 (0:00:00.342) 0:00:17.223 ******* ok: [managed-node3] => { "changed": false, "stat": { "atime": 1755952338.0538092, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1755952338.0538092, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 7718651, "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": 1755952338.0538092, "nlink": 1, "path": "/etc/pki/before_cert.tmp", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "2725900312", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Get post-run file timestamp] ********************************************* task path: /tmp/collections-QZr/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:49 Saturday 23 August 2025 08:32:25 -0400 (0:00:00.350) 0:00:17.574 ******* ok: [managed-node3] => { "changed": false, "stat": { "atime": 1755952338.0868096, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1755952338.0868096, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 7718653, "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": 1755952338.0868096, "nlink": 1, "path": "/etc/pki/after_cert.tmp", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "2078991247", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Assert file created before cert] ***************************************** task path: /tmp/collections-QZr/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:53 Saturday 23 August 2025 08:32:25 -0400 (0:00:00.340) 0:00:17.914 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert file created after cert] ****************************************** task path: /tmp/collections-QZr/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:60 Saturday 23 August 2025 08:32:25 -0400 (0:00:00.027) 0:00:17.942 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Get pre/post-scripts files] ********************************************** task path: /tmp/collections-QZr/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:68 Saturday 23 August 2025 08:32:25 -0400 (0:00:00.028) 0:00:17.970 ******* ok: [managed-node3] => { "changed": false, "examined": 2, "files": [ { "atime": 1755952338.0518093, "ctime": 1755952337.7168062, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 283115713, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0770", "mtime": 1755952337.7168062, "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": 1755952338.0858095, "ctime": 1755952337.7168062, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 289407169, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0770", "mtime": 1755952337.7168062, "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-QZr/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:76 Saturday 23 August 2025 08:32:26 -0400 (0:00:00.500) 0:00:18.471 ******* included: /tmp/collections-QZr/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/check_header.yml for managed-node3 => (item=/etc/certmonger/pre-scripts/mycert_run_hooks-369fd46.sh) included: /tmp/collections-QZr/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/check_header.yml for managed-node3 => (item=/etc/certmonger/post-scripts/mycert_run_hooks-369fd46.sh) TASK [Get file] **************************************************************** task path: /tmp/collections-QZr/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/check_header.yml:3 Saturday 23 August 2025 08:32:26 -0400 (0:00:00.042) 0:00:18.514 ******* ok: [managed-node3] => { "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-QZr/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/check_header.yml:8 Saturday 23 August 2025 08:32:26 -0400 (0:00:00.423) 0:00:18.937 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /tmp/collections-QZr/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/check_header.yml:3 Saturday 23 August 2025 08:32:26 -0400 (0:00:00.070) 0:00:19.008 ******* ok: [managed-node3] => { "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-QZr/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/check_header.yml:8 Saturday 23 August 2025 08:32:26 -0400 (0:00:00.333) 0:00:19.341 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* managed-node3 : ok=46 changed=1 unreachable=0 failed=0 skipped=17 rescued=0 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Saturday 23 August 2025 08:32:27 -0400 (0:00:00.044) 0:00:19.386 ******* =============================================================================== fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 2.93s /tmp/collections-QZr/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 2.82s /tmp/collections-QZr/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:15 Ensure python3 is installed --------------------------------------------- 2.81s /tmp/collections-QZr/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:31 Gathering Facts --------------------------------------------------------- 1.14s /tmp/collections-QZr/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:2 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 1.01s /tmp/collections-QZr/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:86 fedora.linux_system_roles.certificate : Ensure provider service is running --- 0.76s /tmp/collections-QZr/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:76 Gathering Facts --------------------------------------------------------- 0.72s /tmp/collections-QZr/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:17 Get pre/post-scripts files ---------------------------------------------- 0.50s /tmp/collections-QZr/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:68 fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists --- 0.50s /tmp/collections-QZr/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:25 Parse certificate ------------------------------------------------------- 0.48s /tmp/collections-QZr/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:89 Get file ---------------------------------------------------------------- 0.42s /tmp/collections-QZr/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/check_header.yml:3 fedora.linux_system_roles.certificate : Check if system is ostree ------- 0.42s /tmp/collections-QZr/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 fedora.linux_system_roles.certificate : Run systemctl ------------------- 0.42s /tmp/collections-QZr/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:22 Retrieve auto-renew flag ------------------------------------------------ 0.39s /tmp/collections-QZr/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:146 fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists --- 0.38s /tmp/collections-QZr/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:49 Get pre-run file timestamp ---------------------------------------------- 0.35s /tmp/collections-QZr/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:45 Retrieve certificate file stats ----------------------------------------- 0.34s /tmp/collections-QZr/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:41 Get certificate timestamp ----------------------------------------------- 0.34s /tmp/collections-QZr/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:41 Get post-run file timestamp --------------------------------------------- 0.34s /tmp/collections-QZr/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:49 Retrieve key file stats ------------------------------------------------- 0.34s /tmp/collections-QZr/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:68