ansible-playbook [core 2.16.14] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-VLp executable location = /usr/local/bin/ansible-playbook python version = 3.12.1 (main, Feb 21 2024, 14:18:26) [GCC 8.5.0 20210514 (Red Hat 8.5.0-21)] (/usr/bin/python3.12) jinja version = 3.1.6 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'jsonl', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_run_hooks.yml ************************************************** 2 plays in /tmp/collections-VLp/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-VLp/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:2 Tuesday 17 June 2025 01:13:15 -0400 (0:00:00.021) 0:00:00.021 ********** ok: [managed-node2] TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /tmp/collections-VLp/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Tuesday 17 June 2025 01:13:16 -0400 (0:00:01.067) 0:00:01.089 ********** included: /tmp/collections-VLp/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-VLp/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Tuesday 17 June 2025 01:13:16 -0400 (0:00:00.019) 0:00:01.109 ********** skipping: [managed-node2] => { "changed": false, "false_condition": "__certificate_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Check if system is ostree] ******* task path: /tmp/collections-VLp/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Tuesday 17 June 2025 01:13:16 -0400 (0:00:00.032) 0:00:01.141 ********** 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-VLp/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Tuesday 17 June 2025 01:13:17 -0400 (0:00:00.426) 0:00:01.568 ********** ok: [managed-node2] => { "ansible_facts": { "__certificate_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.certificate : Run systemctl] ******************* task path: /tmp/collections-VLp/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:22 Tuesday 17 June 2025 01:13:17 -0400 (0:00:00.022) 0:00:01.590 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-system-running" ], "delta": "0:00:00.007254", "end": "2025-06-17 01:13:17.726071", "failed_when_result": false, "rc": 0, "start": "2025-06-17 01:13:17.718817" } STDOUT: running TASK [fedora.linux_system_roles.certificate : Require installed systemd] ******* task path: /tmp/collections-VLp/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:30 Tuesday 17 June 2025 01:13:17 -0400 (0:00:00.432) 0:00:02.022 ********** skipping: [managed-node2] => { "changed": false, "false_condition": "\"No such file or directory\" in __is_system_running.msg | d(\"\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Set flag to indicate that systemd runtime operations are available] *** task path: /tmp/collections-VLp/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:35 Tuesday 17 June 2025 01:13:17 -0400 (0:00:00.036) 0:00:02.059 ********** 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-VLp/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:40 Tuesday 17 June 2025 01:13:17 -0400 (0:00:00.021) 0:00:02.080 ********** skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed] *** task path: /tmp/collections-VLp/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Tuesday 17 June 2025 01:13:17 -0400 (0:00:00.030) 0:00:02.111 ********** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.certificate : Ensure provider packages are installed] *** task path: /tmp/collections-VLp/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:15 Tuesday 17 June 2025 01:13:20 -0400 (0:00:02.929) 0:00:05.040 ********** ok: [managed-node2] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists] *** task path: /tmp/collections-VLp/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:25 Tuesday 17 June 2025 01:13:23 -0400 (0:00:02.790) 0:00:07.831 ********** 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-VLp/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:49 Tuesday 17 June 2025 01:13:24 -0400 (0:00:00.469) 0:00:08.301 ********** 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-VLp/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:76 Tuesday 17 June 2025 01:13:24 -0400 (0:00:00.403) 0:00:08.704 ********** ok: [managed-node2] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "enabled": true, "name": "certmonger", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2025-06-17 01:10:56 EDT", "ActiveEnterTimestampMonotonic": "215404403", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.socket basic.target system.slice network.target sysinit.target syslog.target dbus.service systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2025-06-17 01:10:56 EDT", "AssertTimestampMonotonic": "215395250", "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": "Tue 2025-06-17 01:10:56 EDT", "ConditionTimestampMonotonic": "215395249", "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": "8949", "ExecMainStartTimestamp": "Tue 2025-06-17 01:10:56 EDT", "ExecMainStartTimestampMonotonic": "215395831", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /run/certmonger.pid -n $OPTS ; ignore_errors=no ; start_time=[Tue 2025-06-17 01:10:56 EDT] ; stop_time=[n/a] ; pid=8949 ; 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": "Tue 2025-06-17 01:10:56 EDT", "InactiveExitTimestampMonotonic": "215395858", "InvocationID": "948847eb5f79474799c29f55ab7f9244", "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": "8949", "MemoryAccounting": "yes", "MemoryCurrent": "4149248", "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": "system.slice sysinit.target dbus.socket", "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": "Tue 2025-06-17 01:10:56 EDT", "StateChangeTimestampMonotonic": "215404403", "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": "Tue 2025-06-17 01:10:56 EDT", "WatchdogTimestampMonotonic": "215404402", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.certificate : Ensure certificate requests] ***** task path: /tmp/collections-VLp/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:86 Tuesday 17 June 2025 01:13:25 -0400 (0:00:00.801) 0:00:09.506 ********** 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-VLp/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:138 Tuesday 17 June 2025 01:13:27 -0400 (0:00:01.946) 0:00:11.453 ********** skipping: [managed-node2] => { "changed": false, "false_condition": "certificate_test_mode | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Slurp the contents of the files] *** task path: /tmp/collections-VLp/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:143 Tuesday 17 June 2025 01:13:27 -0400 (0:00:00.033) 0:00:11.486 ********** skipping: [managed-node2] => (item=['cert', {'name': 'mycert_run_hooks', 'dns': 'www.example.com', 'ca': 'self-sign', 'run_before': 'touch /etc/pki/before_cert.tmp\n', 'run_after': 'touch /etc/pki/after_cert.tmp\n'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "cert", { "ca": "self-sign", "dns": "www.example.com", "name": "mycert_run_hooks", "run_after": "touch /etc/pki/after_cert.tmp\n", "run_before": "touch /etc/pki/before_cert.tmp\n" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=['key', {'name': 'mycert_run_hooks', 'dns': 'www.example.com', 'ca': 'self-sign', 'run_before': 'touch /etc/pki/before_cert.tmp\n', 'run_after': 'touch /etc/pki/after_cert.tmp\n'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "key", { "ca": "self-sign", "dns": "www.example.com", "name": "mycert_run_hooks", "run_after": "touch /etc/pki/after_cert.tmp\n", "run_before": "touch /etc/pki/before_cert.tmp\n" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=['ca', {'name': 'mycert_run_hooks', 'dns': 'www.example.com', 'ca': 'self-sign', 'run_before': 'touch /etc/pki/before_cert.tmp\n', 'run_after': 'touch /etc/pki/after_cert.tmp\n'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "ca", { "ca": "self-sign", "dns": "www.example.com", "name": "mycert_run_hooks", "run_after": "touch /etc/pki/after_cert.tmp\n", "run_before": "touch /etc/pki/before_cert.tmp\n" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node2] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.certificate : Reset certificate_test_certs] **** task path: /tmp/collections-VLp/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:151 Tuesday 17 June 2025 01:13:27 -0400 (0:00:00.044) 0:00:11.531 ********** skipping: [managed-node2] => { "changed": false, "false_condition": "certificate_test_mode | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Create return data] ************** task path: /tmp/collections-VLp/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:155 Tuesday 17 June 2025 01:13:27 -0400 (0:00:00.032) 0:00:11.564 ********** skipping: [managed-node2] => (item=mycert_run_hooks) => { "ansible_loop_var": "cert_name", "cert_name": "mycert_run_hooks", "changed": false, "false_condition": "certificate_test_mode | d(false)", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.certificate : Stop tracking certificates] ****** task path: /tmp/collections-VLp/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:169 Tuesday 17 June 2025 01:13:27 -0400 (0:00:00.037) 0:00:11.601 ********** skipping: [managed-node2] => { "changed": false, "false_condition": "certificate_test_mode | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Remove files] ******************** task path: /tmp/collections-VLp/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:174 Tuesday 17 June 2025 01:13:27 -0400 (0:00:00.033) 0:00:11.635 ********** skipping: [managed-node2] => { "changed": false, "false_condition": "certificate_test_mode | d(false)", "skip_reason": "Conditional result was False" } PLAY [Verify certificate] ****************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-VLp/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:17 Tuesday 17 June 2025 01:13:27 -0400 (0:00:00.044) 0:00:11.680 ********** ok: [managed-node2] TASK [Verify each certificate] ************************************************* task path: /tmp/collections-VLp/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:31 Tuesday 17 June 2025 01:13:28 -0400 (0:00:00.722) 0:00:12.402 ********** included: /tmp/collections-VLp/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node2 => (item={'path': '/etc/pki/tls/certs/mycert_run_hooks.crt', 'key_path': '/etc/pki/tls/private/mycert_run_hooks.key', 'subject': [{'name': 'commonName', 'oid': '2.5.4.3', 'value': 'www.example.com'}], 'subject_alt_name': [{'name': 'DNS', 'value': 'www.example.com'}]}) TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-VLp/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:5 Tuesday 17 June 2025 01:13:28 -0400 (0:00:00.040) 0:00:12.442 ********** ok: [managed-node2] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-VLp/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:12 Tuesday 17 June 2025 01:13:28 -0400 (0:00:00.017) 0:00:12.459 ********** skipping: [managed-node2] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-VLp/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:17 Tuesday 17 June 2025 01:13:28 -0400 (0:00:00.026) 0:00:12.486 ********** skipping: [managed-node2] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-VLp/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:21 Tuesday 17 June 2025 01:13:28 -0400 (0:00:00.028) 0:00:12.515 ********** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version == \"7\"", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-VLp/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:31 Tuesday 17 June 2025 01:13:28 -0400 (0:00:00.025) 0:00:12.540 ********** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-VLp/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:41 Tuesday 17 June 2025 01:13:31 -0400 (0:00:02.790) 0:00:15.331 ********** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1750137207.0148048, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6d100a1a7eff67c17c5f32fb12965875d84dc2a4", "ctime": 1750137207.0118048, "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": 1750137207.0118048, "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": "1175769748", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-VLp/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:46 Tuesday 17 June 2025 01:13:31 -0400 (0:00:00.359) 0:00:15.690 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-VLp/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:52 Tuesday 17 June 2025 01:13:31 -0400 (0:00:00.018) 0:00:15.709 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-VLp/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:62 Tuesday 17 June 2025 01:13:31 -0400 (0:00:00.038) 0:00:15.747 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-VLp/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:68 Tuesday 17 June 2025 01:13:31 -0400 (0:00:00.044) 0:00:15.792 ********** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1750137206.9678047, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "db01bca0a3304356cefe0caebc809ca7c1373dcd", "ctime": 1750137207.0118048, "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": 1750137207.0118048, "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": "3631559163", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-VLp/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:73 Tuesday 17 June 2025 01:13:31 -0400 (0:00:00.344) 0:00:16.136 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-VLp/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:79 Tuesday 17 June 2025 01:13:31 -0400 (0:00:00.019) 0:00:16.155 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-VLp/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:89 Tuesday 17 June 2025 01:13:31 -0400 (0:00:00.040) 0:00:16.196 ********** ok: [managed-node2] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "F9:7D:B0:5C:4F:28:41:DC:94:96:95:34:68:DF:E3:08:C0:29:B8:EC" }, "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": "5F:1E:DD:6A:A9:33:5B:8A:C3:1D:1B:8E:0A:80:D7:2A:DC:D9:BD:8D" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "2A:8B:79:51:45:02:BB:07:AE:12:65:CE:A9:45:39:8C:89:1D:CD:DD:DD:61:53:52:A0:3F:2F:48:A7:2D:2C:5E:B9:24:70:1F:1D:53:0E:A3:03:2C:66:10:9D:88:51:4D:22:E7:B4:7E:80:08:0A:D8:06:03:88:6C:10:EE:88:17:CB:A0:2D:2A:CF:7E:37:00:C5:5D:50:DD:CF:66:EB:0D:7D:69:6B:C7:15:CB:6E:7E:AE:E0:CF:BF:16:59:A9:63:81:D1:D2:7F:87:72:F7:56:4C:CA:81:E1:57:94:0F:C2:1E:A7:51:0F:B2:9F:8E:CB:19:62:78:64:E2:F9:DA:EF:E0:A8:95:86:F1:6D:1E:5C:8C:FB:75:AF:4B:C5:30:29:A0:45:6E:D5:63:E5:0D:46:40:BA:28:24:55:AB:3D:E7:A3:F3:7C:F4:A2:A0:9F:5C:04:03:4C:FB:6D:9B:07:FF:9E:D7:27:24:00:B5:17:30:CA:CB:C5:30:03:48:97:D8:B3:59:AA:24:CA:BE:47:0E:0E:4F:97:96:96:5E:C1:16:E2:FD:D7:A0:2E:58:42:89:65:B1:46:2A:92:66:EA:AE:58:5E:D5:20:41:6A:86:6B:C0:3C:32:42:26:3D:AF:D7:9B:4E:04:76:1E:7D:AD:58:09:44:06:48:61:EF:2E:A5" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260617051056Z", "not_valid_before": "20250617051327Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-VLp/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:95 Tuesday 17 June 2025 01:13:32 -0400 (0:00:00.529) 0:00:16.725 ********** ok: [managed-node2] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "F9:7D:B0:5C:4F:28:41:DC:94:96:95:34:68:DF:E3:08:C0:29:B8:EC" }, "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": "5F:1E:DD:6A:A9:33:5B:8A:C3:1D:1B:8E:0A:80:D7:2A:DC:D9:BD:8D" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "2A:8B:79:51:45:02:BB:07:AE:12:65:CE:A9:45:39:8C:89:1D:CD:DD:DD:61:53:52:A0:3F:2F:48:A7:2D:2C:5E:B9:24:70:1F:1D:53:0E:A3:03:2C:66:10:9D:88:51:4D:22:E7:B4:7E:80:08:0A:D8:06:03:88:6C:10:EE:88:17:CB:A0:2D:2A:CF:7E:37:00:C5:5D:50:DD:CF:66:EB:0D:7D:69:6B:C7:15:CB:6E:7E:AE:E0:CF:BF:16:59:A9:63:81:D1:D2:7F:87:72:F7:56:4C:CA:81:E1:57:94:0F:C2:1E:A7:51:0F:B2:9F:8E:CB:19:62:78:64:E2:F9:DA:EF:E0:A8:95:86:F1:6D:1E:5C:8C:FB:75:AF:4B:C5:30:29:A0:45:6E:D5:63:E5:0D:46:40:BA:28:24:55:AB:3D:E7:A3:F3:7C:F4:A2:A0:9F:5C:04:03:4C:FB:6D:9B:07:FF:9E:D7:27:24:00:B5:17:30:CA:CB:C5:30:03:48:97:D8:B3:59:AA:24:CA:BE:47:0E:0E:4F:97:96:96:5E:C1:16:E2:FD:D7:A0:2E:58:42:89:65:B1:46:2A:92:66:EA:AE:58:5E:D5:20:41:6A:86:6B:C0:3C:32:42:26:3D:AF:D7:9B:4E:04:76:1E:7D:AD:58:09:44:06:48:61:EF:2E:A5" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260617051056Z", "not_valid_before": "20250617051327Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-VLp/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:99 Tuesday 17 June 2025 01:13:32 -0400 (0:00:00.021) 0:00:16.747 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-VLp/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:107 Tuesday 17 June 2025 01:13:32 -0400 (0:00:00.037) 0:00:16.785 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-VLp/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:115 Tuesday 17 June 2025 01:13:32 -0400 (0:00:00.018) 0:00:16.803 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-VLp/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:122 Tuesday 17 June 2025 01:13:32 -0400 (0:00:00.045) 0:00:16.849 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-VLp/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:133 Tuesday 17 June 2025 01:13:32 -0400 (0:00:00.040) 0:00:16.889 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-VLp/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:146 Tuesday 17 June 2025 01:13:32 -0400 (0:00:00.039) 0:00:16.929 ********** 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.057343", "end": "2025-06-17 01:13:33.018890", "rc": 0, "start": "2025-06-17 01:13:32.961547" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-VLp/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:155 Tuesday 17 June 2025 01:13:33 -0400 (0:00:00.383) 0:00:17.313 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Stat commands file] ****************************************************** task path: /tmp/collections-VLp/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:163 Tuesday 17 June 2025 01:13:33 -0400 (0:00:00.040) 0:00:17.353 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that commands file got removed] *********************************** task path: /tmp/collections-VLp/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:168 Tuesday 17 June 2025 01:13:33 -0400 (0:00:00.322) 0:00:17.676 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Stat first-boot unit file] *********************************************** task path: /tmp/collections-VLp/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:176 Tuesday 17 June 2025 01:13:33 -0400 (0:00:00.017) 0:00:17.693 ********** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_connection == \"buildah\"", "skip_reason": "Conditional result was False" } TASK [Assert presence of first-boot unit] ************************************** task path: /tmp/collections-VLp/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:181 Tuesday 17 June 2025 01:13:33 -0400 (0:00:00.012) 0:00:17.706 ********** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_connection == \"buildah\"", "skip_reason": "Conditional result was False" } TASK [Assert that first-boot unit is enabled] ********************************** task path: /tmp/collections-VLp/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:186 Tuesday 17 June 2025 01:13:33 -0400 (0:00:00.012) 0:00:17.718 ********** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_connection == \"buildah\"", "skip_reason": "Conditional result was False" } TASK [Stat commands file] ****************************************************** task path: /tmp/collections-VLp/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:193 Tuesday 17 June 2025 01:13:33 -0400 (0:00:00.014) 0:00:17.733 ********** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_connection == \"buildah\"", "skip_reason": "Conditional result was False" } TASK [Assert that commands file exists] **************************************** task path: /tmp/collections-VLp/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:198 Tuesday 17 June 2025 01:13:33 -0400 (0:00:00.013) 0:00:17.746 ********** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_connection == \"buildah\"", "skip_reason": "Conditional result was False" } TASK [Get certificate timestamp] *********************************************** task path: /tmp/collections-VLp/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:41 Tuesday 17 June 2025 01:13:33 -0400 (0:00:00.013) 0:00:17.760 ********** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1750137207.0148048, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6d100a1a7eff67c17c5f32fb12965875d84dc2a4", "ctime": 1750137207.0118048, "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": 1750137207.0118048, "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": "1175769748", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Get pre-run file timestamp] ********************************************** task path: /tmp/collections-VLp/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:45 Tuesday 17 June 2025 01:13:33 -0400 (0:00:00.339) 0:00:18.099 ********** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1750137207.0088048, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1750137207.0088048, "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": 1750137207.0088048, "nlink": 1, "path": "/etc/pki/before_cert.tmp", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "862818330", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Get post-run file timestamp] ********************************************* task path: /tmp/collections-VLp/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:49 Tuesday 17 June 2025 01:13:34 -0400 (0:00:00.351) 0:00:18.451 ********** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1750137207.0428052, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1750137207.0428052, "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": 1750137207.0428052, "nlink": 1, "path": "/etc/pki/after_cert.tmp", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "687460517", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Assert file created before cert] ***************************************** task path: /tmp/collections-VLp/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:53 Tuesday 17 June 2025 01:13:34 -0400 (0:00:00.326) 0:00:18.778 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert file created after cert] ****************************************** task path: /tmp/collections-VLp/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:60 Tuesday 17 June 2025 01:13:34 -0400 (0:00:00.020) 0:00:18.798 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Get pre/post-scripts files] ********************************************** task path: /tmp/collections-VLp/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:68 Tuesday 17 June 2025 01:13:34 -0400 (0:00:00.019) 0:00:18.817 ********** ok: [managed-node2] => { "changed": false, "examined": 2, "files": [ { "atime": 1750137207.0078049, "ctime": 1750137205.8487952, "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": 1750137205.8487952, "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": 1750137207.040805, "ctime": 1750137205.8487952, "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": 1750137205.8487952, "nlink": 1, "path": "/etc/certmonger/post-scripts/mycert_run_hooks-369fd46.sh", "pw_name": "root", "rgrp": true, "roth": false, "rusr": true, "size": 91, "uid": 0, "wgrp": true, "woth": false, "wusr": true, "xgrp": true, "xoth": false, "xusr": true } ], "matched": 2, "skipped_paths": {} } MSG: All paths examined TASK [Check generated files for ansible_managed, fingerprint] ****************** task path: /tmp/collections-VLp/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:76 Tuesday 17 June 2025 01:13:35 -0400 (0:00:00.486) 0:00:19.303 ********** included: /tmp/collections-VLp/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/check_header.yml for managed-node2 => (item=/etc/certmonger/pre-scripts/mycert_run_hooks-369fd46.sh) included: /tmp/collections-VLp/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/check_header.yml for managed-node2 => (item=/etc/certmonger/post-scripts/mycert_run_hooks-369fd46.sh) TASK [Get file] **************************************************************** task path: /tmp/collections-VLp/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/check_header.yml:3 Tuesday 17 June 2025 01:13:35 -0400 (0:00:00.046) 0:00:19.350 ********** 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-VLp/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/check_header.yml:8 Tuesday 17 June 2025 01:13:35 -0400 (0:00:00.407) 0:00:19.757 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /tmp/collections-VLp/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/check_header.yml:3 Tuesday 17 June 2025 01:13:35 -0400 (0:00:00.049) 0:00:19.806 ********** 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-VLp/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/check_header.yml:8 Tuesday 17 June 2025 01:13:35 -0400 (0:00:00.332) 0:00:20.139 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed 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 ******************************************************************** Tuesday 17 June 2025 01:13:35 -0400 (0:00:00.052) 0:00:20.192 ********** =============================================================================== fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 2.93s /tmp/collections-VLp/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Ensure python3 is installed --------------------------------------------- 2.79s /tmp/collections-VLp/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:31 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 2.79s /tmp/collections-VLp/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:15 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 1.95s /tmp/collections-VLp/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:86 Gathering Facts --------------------------------------------------------- 1.07s /tmp/collections-VLp/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:2 fedora.linux_system_roles.certificate : Ensure provider service is running --- 0.80s /tmp/collections-VLp/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:76 Gathering Facts --------------------------------------------------------- 0.72s /tmp/collections-VLp/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:17 Parse certificate ------------------------------------------------------- 0.53s /tmp/collections-VLp/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:89 Get pre/post-scripts files ---------------------------------------------- 0.49s /tmp/collections-VLp/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:68 fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists --- 0.47s /tmp/collections-VLp/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:25 fedora.linux_system_roles.certificate : Run systemctl ------------------- 0.43s /tmp/collections-VLp/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:22 fedora.linux_system_roles.certificate : Check if system is ostree ------- 0.43s /tmp/collections-VLp/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Get file ---------------------------------------------------------------- 0.41s /tmp/collections-VLp/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/check_header.yml:3 fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists --- 0.40s /tmp/collections-VLp/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:49 Retrieve auto-renew flag ------------------------------------------------ 0.38s /tmp/collections-VLp/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:146 Retrieve certificate file stats ----------------------------------------- 0.36s /tmp/collections-VLp/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:41 Get pre-run file timestamp ---------------------------------------------- 0.35s /tmp/collections-VLp/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:45 Retrieve key file stats ------------------------------------------------- 0.34s /tmp/collections-VLp/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:68 Get certificate timestamp ----------------------------------------------- 0.34s /tmp/collections-VLp/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:41 Get file ---------------------------------------------------------------- 0.33s /tmp/collections-VLp/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/check_header.yml:3