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-K8V/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-K8V/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:2 Saturday 28 June 2025 08:32:47 -0400 (0:00:00.021) 0:00:00.021 ********* ok: [managed-node2] META: ran handlers TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /tmp/collections-K8V/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Saturday 28 June 2025 08:32:48 -0400 (0:00:00.854) 0:00:00.875 ********* included: /tmp/collections-K8V/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.certificate : Ensure ansible_facts used by role] *** task path: /tmp/collections-K8V/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Saturday 28 June 2025 08:32:48 -0400 (0:00:00.021) 0:00:00.897 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Check if system is ostree] ******* task path: /tmp/collections-K8V/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Saturday 28 June 2025 08:32:48 -0400 (0:00:00.034) 0:00:00.931 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.certificate : Set flag to indicate system is ostree] *** task path: /tmp/collections-K8V/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Saturday 28 June 2025 08:32:49 -0400 (0:00:00.482) 0:00:01.414 ********* ok: [managed-node2] => { "ansible_facts": { "__certificate_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.certificate : Run systemctl] ******************* task path: /tmp/collections-K8V/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:22 Saturday 28 June 2025 08:32:49 -0400 (0:00:00.058) 0:00:01.472 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-system-running" ], "delta": "0:00:00.007228", "end": "2025-06-28 08:32:49.510139", "failed_when_result": false, "rc": 0, "start": "2025-06-28 08:32:49.502911" } STDOUT: running TASK [fedora.linux_system_roles.certificate : Require installed systemd] ******* task path: /tmp/collections-K8V/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:30 Saturday 28 June 2025 08:32:49 -0400 (0:00:00.506) 0:00:01.979 ********* skipping: [managed-node2] => { "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-K8V/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:35 Saturday 28 June 2025 08:32:49 -0400 (0:00:00.050) 0:00:02.030 ********* ok: [managed-node2] => { "ansible_facts": { "__certificate_is_booted": true }, "changed": false } TASK [fedora.linux_system_roles.certificate : Set platform/version specific variables] *** task path: /tmp/collections-K8V/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:40 Saturday 28 June 2025 08:32:49 -0400 (0:00:00.053) 0:00:02.083 ********* skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (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-K8V/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Saturday 28 June 2025 08:32:49 -0400 (0:00:00.069) 0:00:02.153 ********* ok: [managed-node2] => { "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-K8V/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:15 Saturday 28 June 2025 08:32:52 -0400 (0:00:02.924) 0:00:05.077 ********* ok: [managed-node2] => (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-K8V/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:25 Saturday 28 June 2025 08:32:55 -0400 (0:00:02.866) 0:00:07.944 ********* ok: [managed-node2] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/etc/certmonger//pre-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists] *** task path: /tmp/collections-K8V/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:49 Saturday 28 June 2025 08:32:56 -0400 (0:00:00.492) 0:00:08.436 ********* ok: [managed-node2] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/etc/certmonger//post-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure provider service is running] *** task path: /tmp/collections-K8V/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:76 Saturday 28 June 2025 08:32:56 -0400 (0:00:00.376) 0:00:08.813 ********* ok: [managed-node2] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "enabled": true, "name": "certmonger", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2025-06-28 08:30:25 EDT", "ActiveEnterTimestampMonotonic": "223786148", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target dbus.socket system.slice sysinit.target dbus.service syslog.target network.target systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2025-06-28 08:30:25 EDT", "AssertTimestampMonotonic": "223777419", "Before": "multi-user.target shutdown.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-06-28 08:30:25 EDT", "ConditionTimestampMonotonic": "223777418", "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": "8936", "ExecMainStartTimestamp": "Sat 2025-06-28 08:30:25 EDT", "ExecMainStartTimestampMonotonic": "223778059", "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-06-28 08:30:25 EDT] ; stop_time=[n/a] ; pid=8936 ; 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-06-28 08:30:25 EDT", "InactiveExitTimestampMonotonic": "223778088", "InvocationID": "eda350d63ece4dafbcae0e854578dd6f", "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": "8936", "MemoryAccounting": "yes", "MemoryCurrent": "4145152", "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-06-28 08:30:25 EDT", "StateChangeTimestampMonotonic": "223786148", "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-06-28 08:30:25 EDT", "WatchdogTimestampMonotonic": "223786147", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.certificate : Ensure certificate requests] ***** task path: /tmp/collections-K8V/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:86 Saturday 28 June 2025 08:32:57 -0400 (0:00:00.678) 0:00:09.492 ********* changed: [managed-node2] => (item={'name': 'mycert_run_hooks', 'dns': 'www.example.com', 'ca': 'self-sign', 'run_before': 'touch /etc/pki/before_cert.tmp\n', 'run_after': 'touch /etc/pki/after_cert.tmp\n'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ca": "self-sign", "dns": "www.example.com", "name": "mycert_run_hooks", "run_after": "touch /etc/pki/after_cert.tmp\n", "run_before": "touch /etc/pki/before_cert.tmp\n" } } MSG: Certificate requested (new). Pre/Post run hooks updated. TASK [fedora.linux_system_roles.certificate : Check if test mode is supported] *** task path: /tmp/collections-K8V/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:138 Saturday 28 June 2025 08:32:57 -0400 (0:00:00.907) 0:00:10.400 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Slurp the contents of the files] *** task path: /tmp/collections-K8V/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:143 Saturday 28 June 2025 08:32:58 -0400 (0:00:00.035) 0:00:10.435 ********* skipping: [managed-node2] => (item=['cert', {'name': 'mycert_run_hooks', 'dns': 'www.example.com', 'ca': 'self-sign', 'run_before': 'touch /etc/pki/before_cert.tmp\n', 'run_after': 'touch /etc/pki/after_cert.tmp\n'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "cert", { "ca": "self-sign", "dns": "www.example.com", "name": "mycert_run_hooks", "run_after": "touch /etc/pki/after_cert.tmp\n", "run_before": "touch /etc/pki/before_cert.tmp\n" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=['key', {'name': 'mycert_run_hooks', 'dns': 'www.example.com', 'ca': 'self-sign', 'run_before': 'touch /etc/pki/before_cert.tmp\n', 'run_after': 'touch /etc/pki/after_cert.tmp\n'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "key", { "ca": "self-sign", "dns": "www.example.com", "name": "mycert_run_hooks", "run_after": "touch /etc/pki/after_cert.tmp\n", "run_before": "touch /etc/pki/before_cert.tmp\n" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=['ca', {'name': 'mycert_run_hooks', 'dns': 'www.example.com', 'ca': 'self-sign', 'run_before': 'touch /etc/pki/before_cert.tmp\n', 'run_after': 'touch /etc/pki/after_cert.tmp\n'}]) => { "ansible_loop_var": "item", "changed": false, "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-K8V/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:151 Saturday 28 June 2025 08:32:58 -0400 (0:00:00.047) 0:00:10.482 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Create return data] ************** task path: /tmp/collections-K8V/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:155 Saturday 28 June 2025 08:32:58 -0400 (0:00:00.034) 0:00:10.517 ********* skipping: [managed-node2] => (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-K8V/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:169 Saturday 28 June 2025 08:32:58 -0400 (0:00:00.040) 0:00:10.557 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Remove files] ******************** task path: /tmp/collections-K8V/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:174 Saturday 28 June 2025 08:32:58 -0400 (0:00:00.036) 0:00:10.594 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY [Verify certificate] ****************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-K8V/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:17 Saturday 28 June 2025 08:32:58 -0400 (0:00:00.041) 0:00:10.635 ********* ok: [managed-node2] META: ran handlers TASK [Verify each certificate] ************************************************* task path: /tmp/collections-K8V/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:31 Saturday 28 June 2025 08:32:58 -0400 (0:00:00.590) 0:00:11.226 ********* included: /tmp/collections-K8V/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node2 TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-K8V/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:5 Saturday 28 June 2025 08:32:58 -0400 (0:00:00.061) 0:00:11.288 ********* ok: [managed-node2] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-K8V/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:12 Saturday 28 June 2025 08:32:58 -0400 (0:00:00.040) 0:00:11.328 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-K8V/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:17 Saturday 28 June 2025 08:32:58 -0400 (0:00:00.038) 0:00:11.367 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python2 is installed] ********************************************* task path: /tmp/collections-K8V/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:21 Saturday 28 June 2025 08:32:58 -0400 (0:00:00.038) 0:00:11.406 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-K8V/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:31 Saturday 28 June 2025 08:32:59 -0400 (0:00:00.038) 0:00:11.444 ********* ok: [managed-node2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: python3-cryptography python3-pyasn1 TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-K8V/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:41 Saturday 28 June 2025 08:33:01 -0400 (0:00:02.795) 0:00:14.240 ********* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1751113977.8002536, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e622b8349213f2d854ca4cb774db1d3221ecb7be", "ctime": 1751113977.7982535, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6894533, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1751113977.7982535, "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": "616588669", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-K8V/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:46 Saturday 28 June 2025 08:33:02 -0400 (0:00:00.371) 0:00:14.612 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-K8V/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:52 Saturday 28 June 2025 08:33:02 -0400 (0:00:00.052) 0:00:14.664 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-K8V/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:62 Saturday 28 June 2025 08:33:02 -0400 (0:00:00.064) 0:00:14.728 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-K8V/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:68 Saturday 28 June 2025 08:33:02 -0400 (0:00:00.048) 0:00:14.777 ********* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1751113977.7532532, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "5ac8a423f5716fb8217ba5e0c149b69d372e7f4b", "ctime": 1751113977.7982535, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6894531, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1751113977.7982535, "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": "1227887593", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-K8V/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:73 Saturday 28 June 2025 08:33:02 -0400 (0:00:00.409) 0:00:15.187 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-K8V/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:79 Saturday 28 June 2025 08:33:02 -0400 (0:00:00.039) 0:00:15.226 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-K8V/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:89 Saturday 28 June 2025 08:33:02 -0400 (0:00:00.043) 0:00:15.270 ********* ok: [managed-node2] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "3D:E4:B8:AA:7A:E6:F5:E8:AF:84:5F:42:18:51:C0:80:A4:31:0A:75" }, "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": "16:F3:FF:D2:8E:66:50:B6:40:92:5B:BB:59:54:84:D7:CB:7A:47:74" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "67:A0:27:9C:4E:98:EA:EC:53:21:EB:9E:55:A7:F6:52:6B:E6:29:FD:D7:02:98:C2:94:CD:E5:DF:9C:88:AD:D3:98:52:5D:F9:91:98:DF:BF:7D:D7:99:48:EA:4D:21:9B:A8:C9:F1:D2:C4:01:85:4F:FC:82:CF:E6:64:32:19:C6:AC:30:82:02:2D:EA:27:EA:69:B6:69:2A:A0:3B:BE:65:3C:D0:DA:BA:71:5B:7B:C2:81:CB:C5:65:85:6B:99:D6:DE:5E:49:1D:1C:EC:D2:AD:B5:90:90:84:CB:A1:57:B4:27:3B:7F:B9:30:67:2E:74:A8:5E:E5:D6:1B:C9:8E:62:1C:B7:16:87:00:74:39:10:AF:CE:D9:28:58:6D:C7:AD:58:DA:90:E2:FC:6C:13:77:64:EB:FE:65:4D:55:1F:E8:2B:07:18:A5:77:6F:48:9B:40:79:1B:0F:54:ED:3A:1B:1C:64:A3:06:1A:26:C4:6E:54:30:AA:36:37:8C:79:09:20:FD:27:2C:CA:32:E6:A2:CE:FB:96:DE:43:CC:BC:85:59:E5:CB:D9:31:89:76:DE:AC:54:49:B0:95:65:F2:DA:DB:75:1B:E1:0E:30:64:E0:B3:A5:B4:84:FD:78:68:B5:12:AC:1E:3F:5F:6D:F9:A5:36:96:25:27:26:29:A2:36" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260628123025Z", "not_valid_before": "20250628123257Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-K8V/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:95 Saturday 28 June 2025 08:33:03 -0400 (0:00:00.521) 0:00:15.792 ********* ok: [managed-node2] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "3D:E4:B8:AA:7A:E6:F5:E8:AF:84:5F:42:18:51:C0:80:A4:31:0A:75" }, "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": "16:F3:FF:D2:8E:66:50:B6:40:92:5B:BB:59:54:84:D7:CB:7A:47:74" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "67:A0:27:9C:4E:98:EA:EC:53:21:EB:9E:55:A7:F6:52:6B:E6:29:FD:D7:02:98:C2:94:CD:E5:DF:9C:88:AD:D3:98:52:5D:F9:91:98:DF:BF:7D:D7:99:48:EA:4D:21:9B:A8:C9:F1:D2:C4:01:85:4F:FC:82:CF:E6:64:32:19:C6:AC:30:82:02:2D:EA:27:EA:69:B6:69:2A:A0:3B:BE:65:3C:D0:DA:BA:71:5B:7B:C2:81:CB:C5:65:85:6B:99:D6:DE:5E:49:1D:1C:EC:D2:AD:B5:90:90:84:CB:A1:57:B4:27:3B:7F:B9:30:67:2E:74:A8:5E:E5:D6:1B:C9:8E:62:1C:B7:16:87:00:74:39:10:AF:CE:D9:28:58:6D:C7:AD:58:DA:90:E2:FC:6C:13:77:64:EB:FE:65:4D:55:1F:E8:2B:07:18:A5:77:6F:48:9B:40:79:1B:0F:54:ED:3A:1B:1C:64:A3:06:1A:26:C4:6E:54:30:AA:36:37:8C:79:09:20:FD:27:2C:CA:32:E6:A2:CE:FB:96:DE:43:CC:BC:85:59:E5:CB:D9:31:89:76:DE:AC:54:49:B0:95:65:F2:DA:DB:75:1B:E1:0E:30:64:E0:B3:A5:B4:84:FD:78:68:B5:12:AC:1E:3F:5F:6D:F9:A5:36:96:25:27:26:29:A2:36" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260628123025Z", "not_valid_before": "20250628123257Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-K8V/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:99 Saturday 28 June 2025 08:33:03 -0400 (0:00:00.058) 0:00:15.851 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-K8V/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:107 Saturday 28 June 2025 08:33:03 -0400 (0:00:00.063) 0:00:15.914 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-K8V/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:115 Saturday 28 June 2025 08:33:03 -0400 (0:00:00.046) 0:00:15.961 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-K8V/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:122 Saturday 28 June 2025 08:33:03 -0400 (0:00:00.049) 0:00:16.010 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-K8V/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:133 Saturday 28 June 2025 08:33:03 -0400 (0:00:00.053) 0:00:16.063 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-K8V/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:146 Saturday 28 June 2025 08:33:03 -0400 (0:00:00.046) 0:00:16.109 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/mycert_run_hooks.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "delta": "0:00:00.057198", "end": "2025-06-28 08:33:04.058061", "rc": 0, "start": "2025-06-28 08:33:04.000863" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-K8V/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:155 Saturday 28 June 2025 08:33:04 -0400 (0:00:00.412) 0:00:16.522 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Stat commands file] ****************************************************** task path: /tmp/collections-K8V/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:163 Saturday 28 June 2025 08:33:04 -0400 (0:00:00.060) 0:00:16.582 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that commands file got removed] *********************************** task path: /tmp/collections-K8V/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:168 Saturday 28 June 2025 08:33:04 -0400 (0:00:00.388) 0:00:16.971 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Stat first-boot unit file] *********************************************** task path: /tmp/collections-K8V/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:176 Saturday 28 June 2025 08:33:04 -0400 (0:00:00.048) 0:00:17.019 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert presence of first-boot unit] ************************************** task path: /tmp/collections-K8V/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:181 Saturday 28 June 2025 08:33:04 -0400 (0:00:00.035) 0:00:17.055 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that first-boot unit is enabled] ********************************** task path: /tmp/collections-K8V/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:186 Saturday 28 June 2025 08:33:04 -0400 (0:00:00.035) 0:00:17.091 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat commands file] ****************************************************** task path: /tmp/collections-K8V/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:193 Saturday 28 June 2025 08:33:04 -0400 (0:00:00.035) 0:00:17.126 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that commands file exists] **************************************** task path: /tmp/collections-K8V/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:198 Saturday 28 June 2025 08:33:04 -0400 (0:00:00.033) 0:00:17.160 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get certificate timestamp] *********************************************** task path: /tmp/collections-K8V/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:41 Saturday 28 June 2025 08:33:04 -0400 (0:00:00.034) 0:00:17.194 ********* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1751113977.8002536, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e622b8349213f2d854ca4cb774db1d3221ecb7be", "ctime": 1751113977.7982535, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6894533, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1751113977.7982535, "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": "616588669", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Get pre-run file timestamp] ********************************************** task path: /tmp/collections-K8V/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:45 Saturday 28 June 2025 08:33:05 -0400 (0:00:00.360) 0:00:17.554 ********* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1751113977.7952535, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1751113977.7952535, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6894532, "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": 1751113977.7952535, "nlink": 1, "path": "/etc/pki/before_cert.tmp", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "712060420", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Get post-run file timestamp] ********************************************* task path: /tmp/collections-K8V/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:49 Saturday 28 June 2025 08:33:05 -0400 (0:00:00.357) 0:00:17.911 ********* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1751113977.8282537, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1751113977.8282537, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6894534, "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": 1751113977.8282537, "nlink": 1, "path": "/etc/pki/after_cert.tmp", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "3102546468", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Assert file created before cert] ***************************************** task path: /tmp/collections-K8V/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:53 Saturday 28 June 2025 08:33:05 -0400 (0:00:00.358) 0:00:18.270 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert file created after cert] ****************************************** task path: /tmp/collections-K8V/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:60 Saturday 28 June 2025 08:33:05 -0400 (0:00:00.040) 0:00:18.310 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Get pre/post-scripts files] ********************************************** task path: /tmp/collections-K8V/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:68 Saturday 28 June 2025 08:33:05 -0400 (0:00:00.040) 0:00:18.350 ********* ok: [managed-node2] => { "changed": false, "examined": 2, "files": [ { "atime": 1751113977.7932537, "ctime": 1751113977.6242523, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 278921409, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0770", "mtime": 1751113977.6242523, "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": 1751113977.8272538, "ctime": 1751113977.6242523, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 285212865, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0770", "mtime": 1751113977.6242523, "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-K8V/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:76 Saturday 28 June 2025 08:33:06 -0400 (0:00:00.428) 0:00:18.779 ********* included: /tmp/collections-K8V/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/check_header.yml for managed-node2 included: /tmp/collections-K8V/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/check_header.yml for managed-node2 TASK [Get file] **************************************************************** task path: /tmp/collections-K8V/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/check_header.yml:3 Saturday 28 June 2025 08:33:06 -0400 (0:00:00.047) 0:00:18.827 ********* ok: [managed-node2] => { "changed": false, "content": "IyEvYmluL2Jhc2gKIwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6Y2VydGlmaWNhdGUKCnRvdWNoIC9ldGMvcGtpL2JlZm9yZV9jZXJ0LnRtcAo=", "encoding": "base64", "source": "/etc/certmonger/pre-scripts/mycert_run_hooks-369fd46.sh" } TASK [Check for presence of ansible managed header, fingerprint] *************** task path: /tmp/collections-K8V/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/check_header.yml:8 Saturday 28 June 2025 08:33:06 -0400 (0:00:00.453) 0:00:19.280 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /tmp/collections-K8V/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/check_header.yml:3 Saturday 28 June 2025 08:33:06 -0400 (0:00:00.051) 0:00:19.332 ********* ok: [managed-node2] => { "changed": false, "content": "IyEvYmluL2Jhc2gKIwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6Y2VydGlmaWNhdGUKCnRvdWNoIC9ldGMvcGtpL2FmdGVyX2NlcnQudG1wCg==", "encoding": "base64", "source": "/etc/certmonger/post-scripts/mycert_run_hooks-369fd46.sh" } TASK [Check for presence of ansible managed header, fingerprint] *************** task path: /tmp/collections-K8V/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/check_header.yml:8 Saturday 28 June 2025 08:33:07 -0400 (0:00:00.354) 0:00:19.687 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node2 : 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 28 June 2025 08:33:07 -0400 (0:00:00.056) 0:00:19.743 ********* =============================================================================== fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 2.92s /tmp/collections-K8V/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 2.87s /tmp/collections-K8V/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:15 Ensure python3 is installed --------------------------------------------- 2.80s /tmp/collections-K8V/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:31 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 0.91s /tmp/collections-K8V/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:86 Gathering Facts --------------------------------------------------------- 0.85s /tmp/collections-K8V/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:2 fedora.linux_system_roles.certificate : Ensure provider service is running --- 0.68s /tmp/collections-K8V/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:76 Gathering Facts --------------------------------------------------------- 0.59s /tmp/collections-K8V/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:17 Parse certificate ------------------------------------------------------- 0.52s /tmp/collections-K8V/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:89 fedora.linux_system_roles.certificate : Run systemctl ------------------- 0.51s /tmp/collections-K8V/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:22 fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists --- 0.49s /tmp/collections-K8V/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:25 fedora.linux_system_roles.certificate : Check if system is ostree ------- 0.48s /tmp/collections-K8V/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Get file ---------------------------------------------------------------- 0.45s /tmp/collections-K8V/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/check_header.yml:3 Get pre/post-scripts files ---------------------------------------------- 0.43s /tmp/collections-K8V/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:68 Retrieve auto-renew flag ------------------------------------------------ 0.41s /tmp/collections-K8V/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:146 Retrieve key file stats ------------------------------------------------- 0.41s /tmp/collections-K8V/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:68 Stat commands file ------------------------------------------------------ 0.39s /tmp/collections-K8V/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:163 fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists --- 0.38s /tmp/collections-K8V/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:49 Retrieve certificate file stats ----------------------------------------- 0.37s /tmp/collections-K8V/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:41 Get certificate timestamp ----------------------------------------------- 0.36s /tmp/collections-K8V/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:41 Get post-run file timestamp --------------------------------------------- 0.36s /tmp/collections-K8V/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:49