ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Nov 14 2023, 16:14:06) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] Using /etc/ansible/ansible.cfg as config file [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-RTj/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-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:2 Wednesday 22 April 2026 14:06:38 -0400 (0:00:00.028) 0:00:00.028 ******* ok: [managed-node2] META: ran handlers TASK [Run the role] ************************************************************ task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:14 Wednesday 22 April 2026 14:06:39 -0400 (0:00:00.879) 0:00:00.907 ******* included: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/run_role_with_clear_facts.yml for managed-node2 META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/run_role_with_clear_facts.yml:23 Wednesday 22 April 2026 14:06:39 -0400 (0:00:00.022) 0:00:00.930 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/run_role_with_clear_facts.yml:33 Wednesday 22 April 2026 14:06:39 -0400 (0:00:00.034) 0:00:00.964 ******* TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Wednesday 22 April 2026 14:06:39 -0400 (0:00:00.134) 0:00:01.099 ******* included: /tmp/collections-RTj/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-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Wednesday 22 April 2026 14:06:39 -0400 (0:00:00.039) 0:00:01.138 ******* ok: [managed-node2] TASK [fedora.linux_system_roles.certificate : Record role begin fingerprint] *** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:7 Wednesday 22 April 2026 14:06:40 -0400 (0:00:00.476) 0:00:01.615 ******* ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.certificate : Check if system is ostree] ******* task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:16 Wednesday 22 April 2026 14:06:40 -0400 (0:00:00.527) 0:00:02.142 ******* 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-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:21 Wednesday 22 April 2026 14:06:41 -0400 (0:00:00.483) 0:00:02.626 ******* ok: [managed-node2] => { "ansible_facts": { "__certificate_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.certificate : Run systemctl] ******************* task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:28 Wednesday 22 April 2026 14:06:41 -0400 (0:00:00.039) 0:00:02.665 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-system-running" ], "delta": "0:00:00.008997", "end": "2026-04-22 14:06:41.784829", "failed_when_result": false, "rc": 0, "start": "2026-04-22 14:06:41.775832" } STDOUT: running TASK [fedora.linux_system_roles.certificate : Require installed systemd] ******* task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:36 Wednesday 22 April 2026 14:06:41 -0400 (0:00:00.399) 0:00:03.065 ******* 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-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:41 Wednesday 22 April 2026 14:06:41 -0400 (0:00:00.029) 0:00:03.094 ******* 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-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:46 Wednesday 22 April 2026 14:06:41 -0400 (0:00:00.037) 0:00:03.132 ******* 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" } ok: [managed-node2] => (item=CentOS_7.yml) => { "ansible_facts": { "__certificate_default_directory": "/etc/pki/tls", "__certificate_packages": [ "python-pyasn1", "python-cryptography", "python-dbus" ] }, "ansible_included_var_files": [ "/tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed-node2] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed] *** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Wednesday 22 April 2026 14:06:41 -0400 (0:00:00.067) 0:00:03.199 ******* ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "python2-pyasn1-0.1.9-7.el7.noarch providing python-pyasn1 is already installed", "python2-cryptography-1.7.2-2.el7.x86_64 providing python-cryptography is already installed", "dbus-python-1.1.1-9.el7.x86_64 providing python-dbus is already installed" ] } TASK [fedora.linux_system_roles.certificate : Ensure provider packages are installed] *** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:15 Wednesday 22 April 2026 14:06:43 -0400 (0:00:01.520) 0:00:04.720 ******* ok: [managed-node2] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "rc": 0, "results": [ "certmonger-0.78.4-17.el7_9.x86_64 providing certmonger is already installed" ] } TASK [fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists] *** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:25 Wednesday 22 April 2026 14:06:44 -0400 (0:00:00.865) 0:00:05.586 ******* 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": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists] *** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:49 Wednesday 22 April 2026 14:06:44 -0400 (0:00:00.457) 0:00:06.044 ******* 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": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure provider service is running] *** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:76 Wednesday 22 April 2026 14:06:45 -0400 (0:00:00.303) 0:00:06.347 ******* ok: [managed-node2] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "enabled": true, "name": "certmonger", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2026-04-22 14:05:04 EDT", "ActiveEnterTimestampMonotonic": "213714097", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice basic.target systemd-journald.socket network.target dbus.service syslog.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2026-04-22 14:05:04 EDT", "AssertTimestampMonotonic": "213683020", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedorahosted.certmonger", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2026-04-22 14:05:04 EDT", "ConditionTimestampMonotonic": "213683018", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/certmonger.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Certificate monitoring and PKI enrollment", "DevicePolicy": "auto", "EnvironmentFile": "/etc/sysconfig/certmonger (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "10007", "ExecMainStartTimestamp": "Wed 2026-04-22 14:05:04 EDT", "ExecMainStartTimestampMonotonic": "213683679", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /var/run/certmonger.pid -n $OPTS ; ignore_errors=no ; start_time=[Wed 2026-04-22 14:05:04 EDT] ; stop_time=[n/a] ; pid=10007 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/certmonger.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "certmonger.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2026-04-22 14:05:04 EDT", "InactiveExitTimestampMonotonic": "213683714", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "29173", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "10007", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "certmonger.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/var/run/certmonger.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2026-04-22 14:05:04 EDT", "WatchdogTimestampMonotonic": "213714045", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.certificate : Ensure certificate requests] ***** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:86 Wednesday 22 April 2026 14:06:46 -0400 (0:00:00.933) 0:00:07.281 ******* changed: [managed-node2] => (item={u'run_before': u'touch /etc/pki/before_cert.tmp\n', u'ca': u'self-sign', u'name': u'mycert_run_hooks', u'dns': u'www.example.com', u'run_after': u'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-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:138 Wednesday 22 April 2026 14:06:47 -0400 (0:00:00.984) 0:00:08.265 ******* 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-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:143 Wednesday 22 April 2026 14:06:47 -0400 (0:00:00.023) 0:00:08.289 ******* skipping: [managed-node2] => (item=[u'cert', {u'run_before': u'touch /etc/pki/before_cert.tmp\n', u'ca': u'self-sign', u'name': u'mycert_run_hooks', u'dns': u'www.example.com', u'run_after': u'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=[u'key', {u'run_before': u'touch /etc/pki/before_cert.tmp\n', u'ca': u'self-sign', u'name': u'mycert_run_hooks', u'dns': u'www.example.com', u'run_after': u'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=[u'ca', {u'run_before': u'touch /etc/pki/before_cert.tmp\n', u'ca': u'self-sign', u'name': u'mycert_run_hooks', u'dns': u'www.example.com', u'run_after': u'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-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:151 Wednesday 22 April 2026 14:06:47 -0400 (0:00:00.047) 0:00:08.337 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Create return data] ************** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:155 Wednesday 22 April 2026 14:06:47 -0400 (0:00:00.015) 0:00:08.352 ******* 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-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:169 Wednesday 22 April 2026 14:06:47 -0400 (0:00:00.022) 0:00:08.375 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Remove files] ******************** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:174 Wednesday 22 April 2026 14:06:47 -0400 (0:00:00.017) 0:00:08.393 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Record role success fingerprint] *** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:185 Wednesday 22 April 2026 14:06:47 -0400 (0:00:00.019) 0:00:08.413 ******* ok: [managed-node2] => { "changed": false } META: ran handlers META: ran handlers PLAY [Verify certificate] ****************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:17 Wednesday 22 April 2026 14:06:47 -0400 (0:00:00.309) 0:00:08.722 ******* ok: [managed-node2] TASK [Load certificate role platform variables] ******************************** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:20 Wednesday 22 April 2026 14:06:48 -0400 (0:00:00.577) 0:00:09.300 ******* TASK [fedora.linux_system_roles.certificate : Ensure ansible_facts used by role] *** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Wednesday 22 April 2026 14:06:48 -0400 (0:00:00.048) 0:00:09.349 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Record role begin fingerprint] *** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:7 Wednesday 22 April 2026 14:06:48 -0400 (0:00:00.027) 0:00:09.376 ******* ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.certificate : Check if system is ostree] ******* task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:16 Wednesday 22 April 2026 14:06:48 -0400 (0:00:00.294) 0:00:09.671 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Set flag to indicate system is ostree] *** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:21 Wednesday 22 April 2026 14:06:48 -0400 (0:00:00.025) 0:00:09.696 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Run systemctl] ******************* task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:28 Wednesday 22 April 2026 14:06:48 -0400 (0:00:00.020) 0:00:09.716 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Require installed systemd] ******* task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:36 Wednesday 22 April 2026 14:06:48 -0400 (0:00:00.017) 0:00:09.734 ******* 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-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:41 Wednesday 22 April 2026 14:06:48 -0400 (0:00:00.016) 0:00:09.751 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Set platform/version specific variables] *** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:46 Wednesday 22 April 2026 14:06:48 -0400 (0:00:00.017) 0:00:09.768 ******* 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" } ok: [managed-node2] => (item=CentOS_7.yml) => { "ansible_facts": { "__certificate_default_directory": "/etc/pki/tls", "__certificate_packages": [ "python-pyasn1", "python-cryptography", "python-dbus" ] }, "ansible_included_var_files": [ "/tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed-node2] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } META: ran handlers TASK [Verify each certificate] ************************************************* task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:37 Wednesday 22 April 2026 14:06:48 -0400 (0:00:00.054) 0:00:09.823 ******* included: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node2 TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:5 Wednesday 22 April 2026 14:06:48 -0400 (0:00:00.049) 0:00:09.872 ******* ok: [managed-node2] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:12 Wednesday 22 April 2026 14:06:48 -0400 (0:00:00.020) 0:00:09.893 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:17 Wednesday 22 April 2026 14:06:48 -0400 (0:00:00.018) 0:00:09.911 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python2 is installed] ********************************************* task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:21 Wednesday 22 April 2026 14:06:48 -0400 (0:00:00.018) 0:00:09.930 ******* ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "python2-cryptography-1.7.2-2.el7.x86_64 providing python2-cryptography is already installed", "python2-cryptography-1.7.2-2.el7.x86_64 providing python2-cryptography is already installed" ] } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:31 Wednesday 22 April 2026 14:06:49 -0400 (0:00:00.589) 0:00:10.520 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:41 Wednesday 22 April 2026 14:06:49 -0400 (0:00:00.024) 0:00:10.544 ******* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1776881206.8625515, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "f298623ba3a2e59e03bdc87824ba0f2322d58f98", "ctime": 1776881206.8595514, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 172765, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1776881206.8595514, "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": "18446744072518474478", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:46 Wednesday 22 April 2026 14:06:49 -0400 (0:00:00.291) 0:00:10.835 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:52 Wednesday 22 April 2026 14:06:49 -0400 (0:00:00.025) 0:00:10.861 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:62 Wednesday 22 April 2026 14:06:49 -0400 (0:00:00.037) 0:00:10.899 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:68 Wednesday 22 April 2026 14:06:49 -0400 (0:00:00.032) 0:00:10.932 ******* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1776881206.8135512, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "9bd1e2209ffb491dc211dfe9a3e265d1779ad1f4", "ctime": 1776881206.8595514, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 172763, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1776881206.8595514, "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": "18446744072518474463", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:73 Wednesday 22 April 2026 14:06:50 -0400 (0:00:00.319) 0:00:11.252 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:79 Wednesday 22 April 2026 14:06:50 -0400 (0:00:00.030) 0:00:11.282 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:89 Wednesday 22 April 2026 14:06:50 -0400 (0:00:00.039) 0:00:11.322 ******* ok: [managed-node2] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "1F:D8:5C:2F:3D:39:07:8A:65:FA:0B:91:CF:81:7E:0F:CA:CF:F4:84" }, "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": [ "key_encipherment", "digital_signature" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.com" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "D3:8D:C1:AA:56:97:DD:C7:7C:12:42:D4:FE:BF:12:E1:F6:B4:62:78" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "2D:E7:32:5E:36:D1:57:76:04:01:1F:55:66:68:38:7C:E3:6C:00:80:D9:2D:01:1D:3F:6F:B7:A8:F2:A7:2E:E5:21:99:39:5E:44:E1:87:4D:29:00:BB:06:D5:31:74:AE:FF:F7:4B:3A:F3:49:A3:D2:9C:1D:7B:AD:BD:D0:46:70:6F:99:B7:7B:FA:C5:11:5B:B8:08:42:60:65:BA:DC:2D:9A:20:EE:C4:57:93:E4:D6:B5:C2:DF:C8:4D:CF:7A:7E:73:64:9F:76:74:78:37:7C:86:92:35:BF:D6:B7:E5:E0:46:33:4E:C7:A9:FE:58:F7:11:E6:AE:49:F6:18:0C:17:01:35:18:9F:FB:51:35:5E:97:35:41:82:BD:B4:31:55:01:62:91:C8:04:34:88:41:91:C6:17:E0:12:27:08:FE:68:9F:12:52:F0:EB:8E:27:69:89:40:CE:B2:15:A4:E5:31:E3:05:2B:A5:D3:02:47:05:0F:B4:B4:73:6D:98:79:80:76:C4:56:11:F3:DE:31:CA:04:17:31:B8:3A:92:45:D9:F0:7F:4B:91:1E:6C:3C:32:FF:B9:8C:6E:F4:E0:68:AE:CD:9E:E4:B6:AD:AB:68:30:87:B3:47:23:B0:CD:E7:3A:68:62:00:2A:11:EB:0B:1F:EA:98:2F:FE:A9:04:89" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20270422180504Z", "not_valid_before": "20260422180646Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:95 Wednesday 22 April 2026 14:06:50 -0400 (0:00:00.553) 0:00:11.875 ******* ok: [managed-node2] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "1F:D8:5C:2F:3D:39:07:8A:65:FA:0B:91:CF:81:7E:0F:CA:CF:F4:84" }, "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": [ "key_encipherment", "digital_signature" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.com" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "D3:8D:C1:AA:56:97:DD:C7:7C:12:42:D4:FE:BF:12:E1:F6:B4:62:78" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "2D:E7:32:5E:36:D1:57:76:04:01:1F:55:66:68:38:7C:E3:6C:00:80:D9:2D:01:1D:3F:6F:B7:A8:F2:A7:2E:E5:21:99:39:5E:44:E1:87:4D:29:00:BB:06:D5:31:74:AE:FF:F7:4B:3A:F3:49:A3:D2:9C:1D:7B:AD:BD:D0:46:70:6F:99:B7:7B:FA:C5:11:5B:B8:08:42:60:65:BA:DC:2D:9A:20:EE:C4:57:93:E4:D6:B5:C2:DF:C8:4D:CF:7A:7E:73:64:9F:76:74:78:37:7C:86:92:35:BF:D6:B7:E5:E0:46:33:4E:C7:A9:FE:58:F7:11:E6:AE:49:F6:18:0C:17:01:35:18:9F:FB:51:35:5E:97:35:41:82:BD:B4:31:55:01:62:91:C8:04:34:88:41:91:C6:17:E0:12:27:08:FE:68:9F:12:52:F0:EB:8E:27:69:89:40:CE:B2:15:A4:E5:31:E3:05:2B:A5:D3:02:47:05:0F:B4:B4:73:6D:98:79:80:76:C4:56:11:F3:DE:31:CA:04:17:31:B8:3A:92:45:D9:F0:7F:4B:91:1E:6C:3C:32:FF:B9:8C:6E:F4:E0:68:AE:CD:9E:E4:B6:AD:AB:68:30:87:B3:47:23:B0:CD:E7:3A:68:62:00:2A:11:EB:0B:1F:EA:98:2F:FE:A9:04:89" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20270422180504Z", "not_valid_before": "20260422180646Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:99 Wednesday 22 April 2026 14:06:50 -0400 (0:00:00.041) 0:00:11.917 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:107 Wednesday 22 April 2026 14:06:50 -0400 (0:00:00.041) 0:00:11.959 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:115 Wednesday 22 April 2026 14:06:50 -0400 (0:00:00.039) 0:00:11.999 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:122 Wednesday 22 April 2026 14:06:50 -0400 (0:00:00.062) 0:00:12.062 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:133 Wednesday 22 April 2026 14:06:50 -0400 (0:00:00.056) 0:00:12.118 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:146 Wednesday 22 April 2026 14:06:50 -0400 (0:00:00.050) 0:00:12.169 ******* 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.055638", "end": "2026-04-22 14:06:51.269140", "rc": 0, "start": "2026-04-22 14:06:51.213502" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:155 Wednesday 22 April 2026 14:06:51 -0400 (0:00:00.377) 0:00:12.546 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Stat commands file] ****************************************************** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:163 Wednesday 22 April 2026 14:06:51 -0400 (0:00:00.038) 0:00:12.585 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that commands file got removed] *********************************** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:168 Wednesday 22 April 2026 14:06:51 -0400 (0:00:00.309) 0:00:12.894 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Stat first-boot unit file] *********************************************** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:176 Wednesday 22 April 2026 14:06:51 -0400 (0:00:00.030) 0:00:12.925 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert presence of first-boot unit] ************************************** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:181 Wednesday 22 April 2026 14:06:51 -0400 (0:00:00.031) 0:00:12.957 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that first-boot unit is enabled] ********************************** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:186 Wednesday 22 April 2026 14:06:51 -0400 (0:00:00.020) 0:00:12.978 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat commands file] ****************************************************** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:193 Wednesday 22 April 2026 14:06:51 -0400 (0:00:00.019) 0:00:12.997 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that commands file exists] **************************************** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:198 Wednesday 22 April 2026 14:06:51 -0400 (0:00:00.018) 0:00:13.016 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get certificate timestamp] *********************************************** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:47 Wednesday 22 April 2026 14:06:51 -0400 (0:00:00.020) 0:00:13.036 ******* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1776881206.8625515, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "f298623ba3a2e59e03bdc87824ba0f2322d58f98", "ctime": 1776881206.8595514, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 172765, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1776881206.8595514, "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": "18446744072518474478", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Get pre-run file timestamp] ********************************************** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:51 Wednesday 22 April 2026 14:06:52 -0400 (0:00:00.304) 0:00:13.341 ******* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1776881206.8575516, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1776881206.8575516, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 172764, "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": 1776881206.8575516, "nlink": 1, "path": "/etc/pki/before_cert.tmp", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "18446744072518474475", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Get post-run file timestamp] ********************************************* task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:55 Wednesday 22 April 2026 14:06:52 -0400 (0:00:00.333) 0:00:13.674 ******* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1776881206.8885517, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1776881206.8885517, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 172766, "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": 1776881206.8885517, "nlink": 1, "path": "/etc/pki/after_cert.tmp", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "18446744072518474486", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Assert file created before cert] ***************************************** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:59 Wednesday 22 April 2026 14:06:52 -0400 (0:00:00.319) 0:00:13.994 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert file created after cert] ****************************************** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:66 Wednesday 22 April 2026 14:06:52 -0400 (0:00:00.026) 0:00:14.020 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Get pre/post-scripts files] ********************************************** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:74 Wednesday 22 April 2026 14:06:52 -0400 (0:00:00.025) 0:00:14.046 ******* ok: [managed-node2] => { "changed": false, "examined": 2, "files": [ { "atime": 1776881206.8555515, "ctime": 1776881206.69055, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 263348, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0770", "mtime": 1776881206.69055, "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": 1776881206.8865516, "ctime": 1776881206.69055, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 263349, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0770", "mtime": 1776881206.69055, "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-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:82 Wednesday 22 April 2026 14:06:53 -0400 (0:00:00.492) 0:00:14.538 ******* included: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/check_header.yml for managed-node2 included: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/check_header.yml for managed-node2 TASK [Get file] **************************************************************** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/check_header.yml:3 Wednesday 22 April 2026 14:06:53 -0400 (0:00:00.045) 0:00:14.584 ******* 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-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/check_header.yml:8 Wednesday 22 April 2026 14:06:53 -0400 (0:00:00.458) 0:00:15.042 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/check_header.yml:3 Wednesday 22 April 2026 14:06:53 -0400 (0:00:00.062) 0:00:15.105 ******* 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-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/check_header.yml:8 Wednesday 22 April 2026 14:06:54 -0400 (0:00:00.296) 0:00:15.401 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node2 : ok=53 changed=1 unreachable=0 failed=0 skipped=22 rescued=0 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Wednesday 22 April 2026 14:06:54 -0400 (0:00:00.068) 0:00:15.470 ******* =============================================================================== fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 1.52s /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 0.98s /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:86 fedora.linux_system_roles.certificate : Ensure provider service is running --- 0.93s /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:76 Gathering Facts --------------------------------------------------------- 0.88s /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:2 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 0.87s /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:15 Ensure python2 is installed --------------------------------------------- 0.59s /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:21 Gathering Facts --------------------------------------------------------- 0.58s /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:17 Parse certificate ------------------------------------------------------- 0.55s /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:89 fedora.linux_system_roles.certificate : Record role begin fingerprint --- 0.53s /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:7 Get pre/post-scripts files ---------------------------------------------- 0.49s /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:74 fedora.linux_system_roles.certificate : Check if system is ostree ------- 0.48s /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:16 fedora.linux_system_roles.certificate : Ensure ansible_facts used by role --- 0.48s /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Get file ---------------------------------------------------------------- 0.46s /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/check_header.yml:3 fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists --- 0.46s /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:25 fedora.linux_system_roles.certificate : Run systemctl ------------------- 0.40s /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:28 Retrieve auto-renew flag ------------------------------------------------ 0.38s /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:146 Get pre-run file timestamp ---------------------------------------------- 0.33s /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:51 Get post-run file timestamp --------------------------------------------- 0.32s /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:55 Retrieve key file stats ------------------------------------------------- 0.32s /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:68 fedora.linux_system_roles.certificate : Record role success fingerprint --- 0.31s /tmp/collections-RTj/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:185