ansible-playbook 2.9.27 config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.9/site-packages/ansible executable location = /usr/local/bin/ansible-playbook python version = 3.9.19 (main, May 16 2024, 11:40:09) [GCC 8.5.0 20210514 (Red Hat 8.5.0-22)] No config file found; using defaults [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', 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 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_run_hooks.yml ************************************************** 2 plays in /tmp/collections-wh4/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-wh4/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:2 Saturday 30 August 2025 08:31:32 -0400 (0:00:00.032) 0:00:00.032 ******* ok: [managed-node3] META: ran handlers TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /tmp/collections-wh4/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Saturday 30 August 2025 08:31:33 -0400 (0:00:00.919) 0:00:00.952 ******* included: /tmp/collections-wh4/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-wh4/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Saturday 30 August 2025 08:31:33 -0400 (0:00:00.037) 0:00:00.989 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Check if system is ostree] ******* task path: /tmp/collections-wh4/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Saturday 30 August 2025 08:31:33 -0400 (0:00:00.049) 0:00:01.039 ******* 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-wh4/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Saturday 30 August 2025 08:31:34 -0400 (0:00:00.451) 0:00:01.490 ******* ok: [managed-node3] => { "ansible_facts": { "__certificate_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.certificate : Run systemctl] ******************* task path: /tmp/collections-wh4/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:22 Saturday 30 August 2025 08:31:34 -0400 (0:00:00.039) 0:00:01.529 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "systemctl", "is-system-running" ], "delta": "0:00:00.006554", "end": "2025-08-30 08:31:34.701544", "failed_when_result": false, "rc": 0, "start": "2025-08-30 08:31:34.694990" } STDOUT: running TASK [fedora.linux_system_roles.certificate : Require installed systemd] ******* task path: /tmp/collections-wh4/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:30 Saturday 30 August 2025 08:31:34 -0400 (0:00:00.452) 0:00:01.982 ******* skipping: [managed-node3] => { "changed": false, "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-wh4/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:35 Saturday 30 August 2025 08:31:34 -0400 (0:00:00.037) 0:00:02.019 ******* 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-wh4/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:40 Saturday 30 August 2025 08:31:34 -0400 (0:00:00.038) 0:00:02.057 ******* skipping: [managed-node3] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed] *** task path: /tmp/collections-wh4/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Saturday 30 August 2025 08:31:34 -0400 (0:00:00.055) 0:00:02.113 ******* 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-wh4/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:15 Saturday 30 August 2025 08:31:37 -0400 (0:00:02.915) 0:00:05.029 ******* 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-wh4/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:25 Saturday 30 August 2025 08:31:40 -0400 (0:00:02.860) 0:00:07.889 ******* 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-wh4/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:49 Saturday 30 August 2025 08:31:41 -0400 (0:00:00.595) 0:00:08.484 ******* 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-wh4/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:76 Saturday 30 August 2025 08:31:41 -0400 (0:00:00.381) 0:00:08.866 ******* 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-30 08:29:10 EDT", "ActiveEnterTimestampMonotonic": "257914421", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target dbus.service dbus.socket network.target syslog.target system.slice systemd-journald.socket sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2025-08-30 08:29:10 EDT", "AssertTimestampMonotonic": "257904776", "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-30 08:29:10 EDT", "ConditionTimestampMonotonic": "257904775", "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": "9179", "ExecMainStartTimestamp": "Sat 2025-08-30 08:29:10 EDT", "ExecMainStartTimestampMonotonic": "257905429", "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-30 08:29:10 EDT] ; stop_time=[n/a] ; pid=9179 ; 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-30 08:29:10 EDT", "InactiveExitTimestampMonotonic": "257905452", "InvocationID": "436ad565bfde446b87ee403053a611a7", "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": "9179", "MemoryAccounting": "yes", "MemoryCurrent": "4001792", "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 sysinit.target system.slice", "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-30 08:29:10 EDT", "StateChangeTimestampMonotonic": "257914421", "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-30 08:29:10 EDT", "WatchdogTimestampMonotonic": "257914420", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.certificate : Ensure certificate requests] ***** task path: /tmp/collections-wh4/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:86 Saturday 30 August 2025 08:31:42 -0400 (0:00:00.741) 0:00:09.607 ******* 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-wh4/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:138 Saturday 30 August 2025 08:31:43 -0400 (0:00:00.824) 0:00:10.432 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Slurp the contents of the files] *** task path: /tmp/collections-wh4/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:143 Saturday 30 August 2025 08:31:43 -0400 (0:00:00.055) 0:00:10.487 ******* 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, "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, "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, "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" } TASK [fedora.linux_system_roles.certificate : Reset certificate_test_certs] **** task path: /tmp/collections-wh4/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:151 Saturday 30 August 2025 08:31:43 -0400 (0:00:00.072) 0:00:10.559 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Create return data] ************** task path: /tmp/collections-wh4/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:155 Saturday 30 August 2025 08:31:43 -0400 (0:00:00.038) 0:00:10.598 ******* skipping: [managed-node3] => (item=mycert_run_hooks) => { "ansible_loop_var": "cert_name", "cert_name": "mycert_run_hooks", "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Stop tracking certificates] ****** task path: /tmp/collections-wh4/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:169 Saturday 30 August 2025 08:31:43 -0400 (0:00:00.049) 0:00:10.648 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Remove files] ******************** task path: /tmp/collections-wh4/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:174 Saturday 30 August 2025 08:31:43 -0400 (0:00:00.061) 0:00:10.710 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY [Verify certificate] ****************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-wh4/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:17 Saturday 30 August 2025 08:31:43 -0400 (0:00:00.070) 0:00:10.780 ******* ok: [managed-node3] META: ran handlers TASK [Verify each certificate] ************************************************* task path: /tmp/collections-wh4/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:31 Saturday 30 August 2025 08:31:44 -0400 (0:00:00.610) 0:00:11.391 ******* included: /tmp/collections-wh4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node3 TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-wh4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:5 Saturday 30 August 2025 08:31:44 -0400 (0:00:00.058) 0:00:11.450 ******* ok: [managed-node3] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-wh4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:12 Saturday 30 August 2025 08:31:44 -0400 (0:00:00.039) 0:00:11.489 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-wh4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:17 Saturday 30 August 2025 08:31:44 -0400 (0:00:00.036) 0:00:11.526 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python2 is installed] ********************************************* task path: /tmp/collections-wh4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:21 Saturday 30 August 2025 08:31:44 -0400 (0:00:00.036) 0:00:11.562 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-wh4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:31 Saturday 30 August 2025 08:31:44 -0400 (0:00:00.036) 0:00:11.599 ******* 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-wh4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:41 Saturday 30 August 2025 08:31:47 -0400 (0:00:02.804) 0:00:14.404 ******* ok: [managed-node3] => { "changed": false, "stat": { "atime": 1756557103.0730906, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "68231145289cb1c288ac547a6380385d42d6db60", "ctime": 1756557103.0710905, "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": 1756557103.0710905, "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": "2197962887", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-wh4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:46 Saturday 30 August 2025 08:31:47 -0400 (0:00:00.362) 0:00:14.766 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-wh4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:52 Saturday 30 August 2025 08:31:47 -0400 (0:00:00.039) 0:00:14.805 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-wh4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:62 Saturday 30 August 2025 08:31:47 -0400 (0:00:00.044) 0:00:14.849 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-wh4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:68 Saturday 30 August 2025 08:31:47 -0400 (0:00:00.042) 0:00:14.892 ******* ok: [managed-node3] => { "changed": false, "stat": { "atime": 1756557103.0260906, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "4286aff79c8ad696d1a76407cab266ada4f622ec", "ctime": 1756557103.0710905, "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": 1756557103.0710905, "nlink": 1, "path": "/etc/pki/tls/private/mycert_run_hooks.key", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1708, "uid": 0, "version": "3992505543", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-wh4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:73 Saturday 30 August 2025 08:31:48 -0400 (0:00:00.363) 0:00:15.255 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-wh4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:79 Saturday 30 August 2025 08:31:48 -0400 (0:00:00.039) 0:00:15.295 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-wh4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:89 Saturday 30 August 2025 08:31:48 -0400 (0:00:00.044) 0:00:15.339 ******* ok: [managed-node3] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "C2:13:20:A3:29:9F:28:81:67:A1:0B:5C:AD:4E:60:7E:D1:FB:B8:F1" }, "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": "6D:5C:7B:13:D0:05:95:C6:C1:F4:AA:1C:1F:C9:3D:AD:4F:26:DA:E9" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "0B:96:2E:6D:BD:2A:DB:D9:4E:C6:0B:EB:41:69:2F:45:7E:CA:4D:CE:F4:30:07:FD:15:F9:81:47:02:53:31:DA:48:FE:D1:C9:D1:5E:5C:10:4F:31:EA:CD:23:E8:E6:58:0F:69:55:86:E7:D7:77:C3:C2:E6:C6:98:A6:1A:7C:D8:72:4C:42:AE:3D:EB:A3:68:86:AC:BF:A3:27:10:C8:57:C3:C4:94:5F:92:D3:20:1F:94:52:8B:60:7B:8B:62:7D:B3:48:03:0D:71:5B:76:49:81:E0:BD:CF:97:06:D7:07:31:E2:06:DF:9F:AA:31:29:5D:EA:42:4A:8A:13:87:3D:A4:22:A6:8C:96:35:FB:33:07:B5:17:74:3D:98:01:7D:2D:BC:DD:B1:50:14:33:56:77:6B:7C:25:29:67:AD:30:14:91:6B:25:3B:7F:B9:7B:00:5F:BD:DB:08:B2:28:4B:EF:DC:C8:50:1D:7C:3F:A9:88:C4:32:92:33:2A:FB:4F:82:7F:BE:0A:4D:68:86:E1:43:11:E5:36:3A:21:24:1F:18:24:59:43:0A:E8:38:7C:85:6F:55:94:27:F3:72:C7:8F:96:1C:63:6C:71:F9:9C:43:5D:21:5F:E5:B5:5F:16:DC:0D:24:9F:15:BD:79:21:A2:35:5C:7C:B6:64:DB:6F" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260830122911Z", "not_valid_before": "20250830123143Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-wh4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:95 Saturday 30 August 2025 08:31:48 -0400 (0:00:00.517) 0:00:15.856 ******* ok: [managed-node3] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "C2:13:20:A3:29:9F:28:81:67:A1:0B:5C:AD:4E:60:7E:D1:FB:B8:F1" }, "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": "6D:5C:7B:13:D0:05:95:C6:C1:F4:AA:1C:1F:C9:3D:AD:4F:26:DA:E9" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "0B:96:2E:6D:BD:2A:DB:D9:4E:C6:0B:EB:41:69:2F:45:7E:CA:4D:CE:F4:30:07:FD:15:F9:81:47:02:53:31:DA:48:FE:D1:C9:D1:5E:5C:10:4F:31:EA:CD:23:E8:E6:58:0F:69:55:86:E7:D7:77:C3:C2:E6:C6:98:A6:1A:7C:D8:72:4C:42:AE:3D:EB:A3:68:86:AC:BF:A3:27:10:C8:57:C3:C4:94:5F:92:D3:20:1F:94:52:8B:60:7B:8B:62:7D:B3:48:03:0D:71:5B:76:49:81:E0:BD:CF:97:06:D7:07:31:E2:06:DF:9F:AA:31:29:5D:EA:42:4A:8A:13:87:3D:A4:22:A6:8C:96:35:FB:33:07:B5:17:74:3D:98:01:7D:2D:BC:DD:B1:50:14:33:56:77:6B:7C:25:29:67:AD:30:14:91:6B:25:3B:7F:B9:7B:00:5F:BD:DB:08:B2:28:4B:EF:DC:C8:50:1D:7C:3F:A9:88:C4:32:92:33:2A:FB:4F:82:7F:BE:0A:4D:68:86:E1:43:11:E5:36:3A:21:24:1F:18:24:59:43:0A:E8:38:7C:85:6F:55:94:27:F3:72:C7:8F:96:1C:63:6C:71:F9:9C:43:5D:21:5F:E5:B5:5F:16:DC:0D:24:9F:15:BD:79:21:A2:35:5C:7C:B6:64:DB:6F" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260830122911Z", "not_valid_before": "20250830123143Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-wh4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:99 Saturday 30 August 2025 08:31:48 -0400 (0:00:00.041) 0:00:15.898 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-wh4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:107 Saturday 30 August 2025 08:31:48 -0400 (0:00:00.043) 0:00:15.942 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-wh4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:115 Saturday 30 August 2025 08:31:48 -0400 (0:00:00.042) 0:00:15.984 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-wh4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:122 Saturday 30 August 2025 08:31:48 -0400 (0:00:00.042) 0:00:16.026 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-wh4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:133 Saturday 30 August 2025 08:31:48 -0400 (0:00:00.046) 0:00:16.072 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-wh4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:146 Saturday 30 August 2025 08:31:48 -0400 (0:00:00.046) 0:00:16.119 ******* 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.051282", "end": "2025-08-30 08:31:49.244214", "rc": 0, "start": "2025-08-30 08:31:49.192932" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-wh4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:155 Saturday 30 August 2025 08:31:49 -0400 (0:00:00.405) 0:00:16.524 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Stat commands file] ****************************************************** task path: /tmp/collections-wh4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:163 Saturday 30 August 2025 08:31:49 -0400 (0:00:00.044) 0:00:16.568 ******* ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that commands file got removed] *********************************** task path: /tmp/collections-wh4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:168 Saturday 30 August 2025 08:31:49 -0400 (0:00:00.348) 0:00:16.916 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Stat first-boot unit file] *********************************************** task path: /tmp/collections-wh4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:176 Saturday 30 August 2025 08:31:49 -0400 (0:00:00.055) 0:00:16.972 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert presence of first-boot unit] ************************************** task path: /tmp/collections-wh4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:181 Saturday 30 August 2025 08:31:49 -0400 (0:00:00.044) 0:00:17.017 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that first-boot unit is enabled] ********************************** task path: /tmp/collections-wh4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:186 Saturday 30 August 2025 08:31:49 -0400 (0:00:00.039) 0:00:17.056 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat commands file] ****************************************************** task path: /tmp/collections-wh4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:193 Saturday 30 August 2025 08:31:49 -0400 (0:00:00.055) 0:00:17.112 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that commands file exists] **************************************** task path: /tmp/collections-wh4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:198 Saturday 30 August 2025 08:31:49 -0400 (0:00:00.053) 0:00:17.166 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get certificate timestamp] *********************************************** task path: /tmp/collections-wh4/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:41 Saturday 30 August 2025 08:31:49 -0400 (0:00:00.050) 0:00:17.217 ******* ok: [managed-node3] => { "changed": false, "stat": { "atime": 1756557103.0730906, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "68231145289cb1c288ac547a6380385d42d6db60", "ctime": 1756557103.0710905, "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": 1756557103.0710905, "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": "2197962887", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Get pre-run file timestamp] ********************************************** task path: /tmp/collections-wh4/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:45 Saturday 30 August 2025 08:31:50 -0400 (0:00:00.376) 0:00:17.594 ******* ok: [managed-node3] => { "changed": false, "stat": { "atime": 1756557103.0680904, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1756557103.0680904, "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": 1756557103.0680904, "nlink": 1, "path": "/etc/pki/before_cert.tmp", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "1568536947", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Get post-run file timestamp] ********************************************* task path: /tmp/collections-wh4/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:49 Saturday 30 August 2025 08:31:50 -0400 (0:00:00.367) 0:00:17.961 ******* ok: [managed-node3] => { "changed": false, "stat": { "atime": 1756557103.1020904, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1756557103.1020904, "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": 1756557103.1020904, "nlink": 1, "path": "/etc/pki/after_cert.tmp", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "135587815", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Assert file created before cert] ***************************************** task path: /tmp/collections-wh4/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:53 Saturday 30 August 2025 08:31:51 -0400 (0:00:00.397) 0:00:18.358 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert file created after cert] ****************************************** task path: /tmp/collections-wh4/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:60 Saturday 30 August 2025 08:31:51 -0400 (0:00:00.044) 0:00:18.403 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Get pre/post-scripts files] ********************************************** task path: /tmp/collections-wh4/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:68 Saturday 30 August 2025 08:31:51 -0400 (0:00:00.040) 0:00:18.443 ******* ok: [managed-node3] => { "changed": false, "examined": 2, "files": [ { "atime": 1756557103.0670905, "ctime": 1756557102.9590907, "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": 1756557102.9590907, "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": 1756557103.1000905, "ctime": 1756557102.9590907, "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": 1756557102.9590907, "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 } TASK [Check generated files for ansible_managed, fingerprint] ****************** task path: /tmp/collections-wh4/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:76 Saturday 30 August 2025 08:31:51 -0400 (0:00:00.448) 0:00:18.892 ******* included: /tmp/collections-wh4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/check_header.yml for managed-node3 included: /tmp/collections-wh4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/check_header.yml for managed-node3 TASK [Get file] **************************************************************** task path: /tmp/collections-wh4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/check_header.yml:3 Saturday 30 August 2025 08:31:51 -0400 (0:00:00.073) 0:00:18.966 ******* 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-wh4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/check_header.yml:8 Saturday 30 August 2025 08:31:52 -0400 (0:00:00.459) 0:00:19.426 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /tmp/collections-wh4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/check_header.yml:3 Saturday 30 August 2025 08:31:52 -0400 (0:00:00.052) 0:00:19.478 ******* 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-wh4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/check_header.yml:8 Saturday 30 August 2025 08:31:52 -0400 (0:00:00.364) 0:00:19.842 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers 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 30 August 2025 08:31:52 -0400 (0:00:00.094) 0:00:19.936 ******* =============================================================================== fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 2.92s /tmp/collections-wh4/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 2.86s /tmp/collections-wh4/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:15 Ensure python3 is installed --------------------------------------------- 2.80s /tmp/collections-wh4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:31 Gathering Facts --------------------------------------------------------- 0.92s /tmp/collections-wh4/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:2 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 0.82s /tmp/collections-wh4/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:86 fedora.linux_system_roles.certificate : Ensure provider service is running --- 0.74s /tmp/collections-wh4/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:76 Gathering Facts --------------------------------------------------------- 0.61s /tmp/collections-wh4/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:17 fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists --- 0.60s /tmp/collections-wh4/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:25 Parse certificate ------------------------------------------------------- 0.52s /tmp/collections-wh4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:89 Get file ---------------------------------------------------------------- 0.46s /tmp/collections-wh4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/check_header.yml:3 fedora.linux_system_roles.certificate : Run systemctl ------------------- 0.45s /tmp/collections-wh4/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:22 fedora.linux_system_roles.certificate : Check if system is ostree ------- 0.45s /tmp/collections-wh4/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Get pre/post-scripts files ---------------------------------------------- 0.45s /tmp/collections-wh4/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:68 Retrieve auto-renew flag ------------------------------------------------ 0.41s /tmp/collections-wh4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:146 Get post-run file timestamp --------------------------------------------- 0.40s /tmp/collections-wh4/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:49 fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists --- 0.38s /tmp/collections-wh4/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:49 Get certificate timestamp ----------------------------------------------- 0.38s /tmp/collections-wh4/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:41 Get pre-run file timestamp ---------------------------------------------- 0.37s /tmp/collections-wh4/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:45 Get file ---------------------------------------------------------------- 0.36s /tmp/collections-wh4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/check_header.yml:3 Retrieve key file stats ------------------------------------------------- 0.36s /tmp/collections-wh4/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:68