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-FEo/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-FEo/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:2 Wednesday 18 March 2026 19:05:18 -0400 (0:00:00.028) 0:00:00.028 ******* ok: [managed-node2] META: ran handlers TASK [Run the role] ************************************************************ task path: /tmp/collections-FEo/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:14 Wednesday 18 March 2026 19:05:19 -0400 (0:00:00.925) 0:00:00.953 ******* included: /tmp/collections-FEo/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-FEo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/run_role_with_clear_facts.yml:24 Wednesday 18 March 2026 19:05:19 -0400 (0:00:00.023) 0:00:00.976 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-FEo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/run_role_with_clear_facts.yml:34 Wednesday 18 March 2026 19:05:19 -0400 (0:00:00.035) 0:00:01.012 ******* TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /tmp/collections-FEo/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Wednesday 18 March 2026 19:05:20 -0400 (0:00:00.140) 0:00:01.152 ******* included: /tmp/collections-FEo/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-FEo/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Wednesday 18 March 2026 19:05:20 -0400 (0:00:00.039) 0:00:01.192 ******* ok: [managed-node2] TASK [fedora.linux_system_roles.certificate : Check if system is ostree] ******* task path: /tmp/collections-FEo/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Wednesday 18 March 2026 19:05:20 -0400 (0:00:00.461) 0:00:01.653 ******* 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-FEo/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Wednesday 18 March 2026 19:05:21 -0400 (0:00:00.535) 0:00:02.189 ******* ok: [managed-node2] => { "ansible_facts": { "__certificate_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.certificate : Run systemctl] ******************* task path: /tmp/collections-FEo/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:22 Wednesday 18 March 2026 19:05:21 -0400 (0:00:00.023) 0:00:02.212 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-system-running" ], "delta": "0:00:00.007856", "end": "2026-03-18 19:05:21.448313", "failed_when_result": false, "rc": 0, "start": "2026-03-18 19:05:21.440457" } STDOUT: running TASK [fedora.linux_system_roles.certificate : Require installed systemd] ******* task path: /tmp/collections-FEo/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:30 Wednesday 18 March 2026 19:05:21 -0400 (0:00:00.434) 0:00:02.647 ******* 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-FEo/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:35 Wednesday 18 March 2026 19:05:21 -0400 (0:00:00.027) 0:00:02.675 ******* 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-FEo/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:40 Wednesday 18 March 2026 19:05:21 -0400 (0:00:00.030) 0:00:02.705 ******* 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-FEo/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-FEo/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Wednesday 18 March 2026 19:05:21 -0400 (0:00:00.058) 0:00:02.764 ******* 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-FEo/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:15 Wednesday 18 March 2026 19:05:23 -0400 (0:00:01.436) 0:00:04.200 ******* 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-FEo/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:25 Wednesday 18 March 2026 19:05:23 -0400 (0:00:00.808) 0:00:05.009 ******* 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-FEo/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:49 Wednesday 18 March 2026 19:05:24 -0400 (0:00:00.503) 0:00:05.512 ******* 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-FEo/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:76 Wednesday 18 March 2026 19:05:24 -0400 (0:00:00.329) 0:00:05.841 ******* 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-03-18 19:03:55 EDT", "ActiveEnterTimestampMonotonic": "215593532", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service network.target systemd-journald.socket syslog.target system.slice basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2026-03-18 19:03:55 EDT", "AssertTimestampMonotonic": "215565723", "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-03-18 19:03:55 EDT", "ConditionTimestampMonotonic": "215565721", "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": "9919", "ExecMainStartTimestamp": "Wed 2026-03-18 19:03:55 EDT", "ExecMainStartTimestampMonotonic": "215566269", "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-03-18 19:03:55 EDT] ; stop_time=[n/a] ; pid=9919 ; 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-03-18 19:03:55 EDT", "InactiveExitTimestampMonotonic": "215566296", "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": "9919", "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-03-18 19:03:55 EDT", "WatchdogTimestampMonotonic": "215593494", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.certificate : Ensure certificate requests] ***** task path: /tmp/collections-FEo/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:86 Wednesday 18 March 2026 19:05:25 -0400 (0:00:01.010) 0:00:06.852 ******* 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-FEo/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:138 Wednesday 18 March 2026 19:05:26 -0400 (0:00:00.985) 0:00:07.837 ******* 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-FEo/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:143 Wednesday 18 March 2026 19:05:26 -0400 (0:00:00.019) 0:00:07.857 ******* 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-FEo/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:151 Wednesday 18 March 2026 19:05:26 -0400 (0:00:00.044) 0:00:07.902 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Create return data] ************** task path: /tmp/collections-FEo/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:155 Wednesday 18 March 2026 19:05:26 -0400 (0:00:00.019) 0:00:07.921 ******* 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-FEo/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:169 Wednesday 18 March 2026 19:05:26 -0400 (0:00:00.026) 0:00:07.948 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Remove files] ******************** task path: /tmp/collections-FEo/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:174 Wednesday 18 March 2026 19:05:26 -0400 (0:00:00.018) 0:00:07.966 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY [Verify certificate] ****************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-FEo/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:17 Wednesday 18 March 2026 19:05:26 -0400 (0:00:00.023) 0:00:07.989 ******* ok: [managed-node2] TASK [Load certificate role platform variables] ******************************** task path: /tmp/collections-FEo/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:20 Wednesday 18 March 2026 19:05:27 -0400 (0:00:00.577) 0:00:08.567 ******* TASK [fedora.linux_system_roles.certificate : Ensure ansible_facts used by role] *** task path: /tmp/collections-FEo/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Wednesday 18 March 2026 19:05:27 -0400 (0:00:00.081) 0:00:08.649 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Check if system is ostree] ******* task path: /tmp/collections-FEo/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Wednesday 18 March 2026 19:05:27 -0400 (0:00:00.028) 0:00:08.677 ******* 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-FEo/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Wednesday 18 March 2026 19:05:27 -0400 (0:00:00.031) 0:00:08.709 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Run systemctl] ******************* task path: /tmp/collections-FEo/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:22 Wednesday 18 March 2026 19:05:27 -0400 (0:00:00.032) 0:00:08.742 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Require installed systemd] ******* task path: /tmp/collections-FEo/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:30 Wednesday 18 March 2026 19:05:27 -0400 (0:00:00.017) 0:00:08.759 ******* 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-FEo/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:35 Wednesday 18 March 2026 19:05:27 -0400 (0:00:00.025) 0:00:08.784 ******* 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-FEo/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:40 Wednesday 18 March 2026 19:05:27 -0400 (0:00:00.018) 0:00:08.803 ******* 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-FEo/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-FEo/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:37 Wednesday 18 March 2026 19:05:27 -0400 (0:00:00.070) 0:00:08.874 ******* included: /tmp/collections-FEo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node2 TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-FEo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:5 Wednesday 18 March 2026 19:05:27 -0400 (0:00:00.049) 0:00:08.923 ******* ok: [managed-node2] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-FEo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:12 Wednesday 18 March 2026 19:05:27 -0400 (0:00:00.019) 0:00:08.943 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-FEo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:17 Wednesday 18 March 2026 19:05:27 -0400 (0:00:00.021) 0:00:08.964 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python2 is installed] ********************************************* task path: /tmp/collections-FEo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:21 Wednesday 18 March 2026 19:05:27 -0400 (0:00:00.018) 0:00:08.983 ******* 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-FEo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:31 Wednesday 18 March 2026 19:05:28 -0400 (0:00:00.573) 0:00:09.556 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-FEo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:41 Wednesday 18 March 2026 19:05:28 -0400 (0:00:00.027) 0:00:09.584 ******* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1773875126.575778, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "03c2e641fcf916c7ab1387a34fec3e98a1e95e78", "ctime": 1773875126.571778, "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": 1773875126.571778, "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": "1212597097", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-FEo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:46 Wednesday 18 March 2026 19:05:28 -0400 (0:00:00.336) 0:00:09.920 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-FEo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:52 Wednesday 18 March 2026 19:05:28 -0400 (0:00:00.031) 0:00:09.952 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-FEo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:62 Wednesday 18 March 2026 19:05:28 -0400 (0:00:00.036) 0:00:09.989 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-FEo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:68 Wednesday 18 March 2026 19:05:28 -0400 (0:00:00.037) 0:00:10.026 ******* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1773875126.5267782, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "32f6f3c2848d414cb3218e47969343145ab7b4dc", "ctime": 1773875126.571778, "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": 1773875126.571778, "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": "1212597082", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-FEo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:73 Wednesday 18 March 2026 19:05:29 -0400 (0:00:00.318) 0:00:10.345 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-FEo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:79 Wednesday 18 March 2026 19:05:29 -0400 (0:00:00.024) 0:00:10.370 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-FEo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:89 Wednesday 18 March 2026 19:05:29 -0400 (0:00:00.031) 0:00:10.401 ******* ok: [managed-node2] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "8A:C8:3C:5C:9D:3A:AA:B6:97:42:53:FB:F7:09:3B:A2:12:FB:FA:04" }, "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": "43:6D:DF:B2:2C:79:D1:3B:51:95:AA:01:E6:02:47:A8:87:4D:A4:8B" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "1F:8B:46:22:17:E3:57:EA:44:DA:2F:BC:C7:BE:43:CF:16:B1:5B:56:B4:CF:2E:98:17:3D:15:B2:0F:EB:4D:E2:31:16:D3:8F:5E:88:9E:B0:63:E8:1D:6B:87:F8:DC:94:5F:A7:0D:B8:C3:D2:6C:5B:00:92:51:9C:7C:76:23:B6:37:FC:73:90:8C:99:CD:8F:C4:4A:F3:22:6C:F1:7B:D4:B4:8F:E4:74:9C:9F:EF:F4:09:E3:75:F0:2D:50:D9:EC:AD:0E:3A:83:D1:77:66:D6:A6:1F:18:36:63:1E:DE:92:4C:7C:1B:47:23:DE:D1:51:91:70:E1:3A:DC:F7:3E:5D:EB:02:6E:F4:3E:87:B3:DF:53:67:E1:0D:E9:55:89:5D:1D:E2:F7:3B:0A:3C:BA:65:14:E9:89:E6:42:9F:6C:77:FA:A7:62:55:1E:B5:B5:39:FE:8D:D8:38:F3:56:65:6C:98:72:1F:C4:02:F0:43:FE:02:5B:5F:F6:8B:E0:5D:21:AB:0A:47:11:B2:B7:F5:AC:23:CD:60:E5:4F:60:EA:C1:E8:A2:BC:31:3D:0C:C6:28:19:9A:D1:64:D8:3F:4D:08:2E:4B:93:FB:99:2E:BF:E3:39:1A:6C:5C:95:17:EE:54:FD:5F:12:D2:23:46:A2:78:60:2E:74:AD:56:7B:3B:68" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20270318230355Z", "not_valid_before": "20260318230526Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-FEo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:95 Wednesday 18 March 2026 19:05:29 -0400 (0:00:00.563) 0:00:10.964 ******* ok: [managed-node2] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "8A:C8:3C:5C:9D:3A:AA:B6:97:42:53:FB:F7:09:3B:A2:12:FB:FA:04" }, "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": "43:6D:DF:B2:2C:79:D1:3B:51:95:AA:01:E6:02:47:A8:87:4D:A4:8B" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "1F:8B:46:22:17:E3:57:EA:44:DA:2F:BC:C7:BE:43:CF:16:B1:5B:56:B4:CF:2E:98:17:3D:15:B2:0F:EB:4D:E2:31:16:D3:8F:5E:88:9E:B0:63:E8:1D:6B:87:F8:DC:94:5F:A7:0D:B8:C3:D2:6C:5B:00:92:51:9C:7C:76:23:B6:37:FC:73:90:8C:99:CD:8F:C4:4A:F3:22:6C:F1:7B:D4:B4:8F:E4:74:9C:9F:EF:F4:09:E3:75:F0:2D:50:D9:EC:AD:0E:3A:83:D1:77:66:D6:A6:1F:18:36:63:1E:DE:92:4C:7C:1B:47:23:DE:D1:51:91:70:E1:3A:DC:F7:3E:5D:EB:02:6E:F4:3E:87:B3:DF:53:67:E1:0D:E9:55:89:5D:1D:E2:F7:3B:0A:3C:BA:65:14:E9:89:E6:42:9F:6C:77:FA:A7:62:55:1E:B5:B5:39:FE:8D:D8:38:F3:56:65:6C:98:72:1F:C4:02:F0:43:FE:02:5B:5F:F6:8B:E0:5D:21:AB:0A:47:11:B2:B7:F5:AC:23:CD:60:E5:4F:60:EA:C1:E8:A2:BC:31:3D:0C:C6:28:19:9A:D1:64:D8:3F:4D:08:2E:4B:93:FB:99:2E:BF:E3:39:1A:6C:5C:95:17:EE:54:FD:5F:12:D2:23:46:A2:78:60:2E:74:AD:56:7B:3B:68" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20270318230355Z", "not_valid_before": "20260318230526Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-FEo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:99 Wednesday 18 March 2026 19:05:29 -0400 (0:00:00.026) 0:00:10.991 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-FEo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:107 Wednesday 18 March 2026 19:05:29 -0400 (0:00:00.027) 0:00:11.019 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-FEo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:115 Wednesday 18 March 2026 19:05:29 -0400 (0:00:00.026) 0:00:11.045 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-FEo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:122 Wednesday 18 March 2026 19:05:29 -0400 (0:00:00.024) 0:00:11.069 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-FEo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:133 Wednesday 18 March 2026 19:05:29 -0400 (0:00:00.031) 0:00:11.101 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-FEo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:146 Wednesday 18 March 2026 19:05:29 -0400 (0:00:00.033) 0:00:11.134 ******* 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.050418", "end": "2026-03-18 19:05:30.273087", "rc": 0, "start": "2026-03-18 19:05:30.222669" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-FEo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:155 Wednesday 18 March 2026 19:05:30 -0400 (0:00:00.325) 0:00:11.460 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Stat commands file] ****************************************************** task path: /tmp/collections-FEo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:163 Wednesday 18 March 2026 19:05:30 -0400 (0:00:00.027) 0:00:11.487 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that commands file got removed] *********************************** task path: /tmp/collections-FEo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:168 Wednesday 18 March 2026 19:05:30 -0400 (0:00:00.290) 0:00:11.777 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Stat first-boot unit file] *********************************************** task path: /tmp/collections-FEo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:176 Wednesday 18 March 2026 19:05:30 -0400 (0:00:00.024) 0:00:11.802 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert presence of first-boot unit] ************************************** task path: /tmp/collections-FEo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:181 Wednesday 18 March 2026 19:05:30 -0400 (0:00:00.017) 0:00:11.819 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that first-boot unit is enabled] ********************************** task path: /tmp/collections-FEo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:186 Wednesday 18 March 2026 19:05:30 -0400 (0:00:00.017) 0:00:11.837 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat commands file] ****************************************************** task path: /tmp/collections-FEo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:193 Wednesday 18 March 2026 19:05:30 -0400 (0:00:00.017) 0:00:11.854 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that commands file exists] **************************************** task path: /tmp/collections-FEo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:198 Wednesday 18 March 2026 19:05:30 -0400 (0:00:00.016) 0:00:11.871 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get certificate timestamp] *********************************************** task path: /tmp/collections-FEo/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:47 Wednesday 18 March 2026 19:05:30 -0400 (0:00:00.016) 0:00:11.887 ******* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1773875126.575778, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "03c2e641fcf916c7ab1387a34fec3e98a1e95e78", "ctime": 1773875126.571778, "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": 1773875126.571778, "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": "1212597097", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Get pre-run file timestamp] ********************************************** task path: /tmp/collections-FEo/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:51 Wednesday 18 March 2026 19:05:31 -0400 (0:00:00.304) 0:00:12.192 ******* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1773875126.5697782, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1773875126.5697782, "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": 1773875126.5697782, "nlink": 1, "path": "/etc/pki/before_cert.tmp", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "1212597094", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Get post-run file timestamp] ********************************************* task path: /tmp/collections-FEo/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:55 Wednesday 18 March 2026 19:05:31 -0400 (0:00:00.288) 0:00:12.480 ******* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1773875126.601778, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1773875126.601778, "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": 1773875126.601778, "nlink": 1, "path": "/etc/pki/after_cert.tmp", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "1212597105", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Assert file created before cert] ***************************************** task path: /tmp/collections-FEo/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:59 Wednesday 18 March 2026 19:05:31 -0400 (0:00:00.322) 0:00:12.803 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert file created after cert] ****************************************** task path: /tmp/collections-FEo/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:66 Wednesday 18 March 2026 19:05:31 -0400 (0:00:00.025) 0:00:12.828 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Get pre/post-scripts files] ********************************************** task path: /tmp/collections-FEo/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:74 Wednesday 18 March 2026 19:05:31 -0400 (0:00:00.025) 0:00:12.854 ******* ok: [managed-node2] => { "changed": false, "examined": 2, "files": [ { "atime": 1773875126.568778, "ctime": 1773875126.3467784, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 263324, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0770", "mtime": 1773875126.3457782, "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": 1773875126.5997782, "ctime": 1773875126.3467784, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 263325, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0770", "mtime": 1773875126.3467784, "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-FEo/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:82 Wednesday 18 March 2026 19:05:32 -0400 (0:00:00.462) 0:00:13.317 ******* included: /tmp/collections-FEo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/check_header.yml for managed-node2 included: /tmp/collections-FEo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/check_header.yml for managed-node2 TASK [Get file] **************************************************************** task path: /tmp/collections-FEo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/check_header.yml:3 Wednesday 18 March 2026 19:05:32 -0400 (0:00:00.036) 0:00:13.353 ******* 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-FEo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/check_header.yml:8 Wednesday 18 March 2026 19:05:32 -0400 (0:00:00.440) 0:00:13.794 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /tmp/collections-FEo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/check_header.yml:3 Wednesday 18 March 2026 19:05:32 -0400 (0:00:00.090) 0:00:13.884 ******* 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-FEo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/check_header.yml:8 Wednesday 18 March 2026 19:05:33 -0400 (0:00:00.288) 0:00:14.173 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node2 : ok=50 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 18 March 2026 19:05:33 -0400 (0:00:00.056) 0:00:14.229 ******* =============================================================================== fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 1.44s /tmp/collections-FEo/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 fedora.linux_system_roles.certificate : Ensure provider service is running --- 1.01s /tmp/collections-FEo/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:76 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 0.99s /tmp/collections-FEo/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:86 Gathering Facts --------------------------------------------------------- 0.93s /tmp/collections-FEo/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:2 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 0.81s /tmp/collections-FEo/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:15 Gathering Facts --------------------------------------------------------- 0.58s /tmp/collections-FEo/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:17 Ensure python2 is installed --------------------------------------------- 0.57s /tmp/collections-FEo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:21 Parse certificate ------------------------------------------------------- 0.56s /tmp/collections-FEo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:89 fedora.linux_system_roles.certificate : Check if system is ostree ------- 0.54s /tmp/collections-FEo/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists --- 0.50s /tmp/collections-FEo/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:25 Get pre/post-scripts files ---------------------------------------------- 0.46s /tmp/collections-FEo/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:74 fedora.linux_system_roles.certificate : Ensure ansible_facts used by role --- 0.46s /tmp/collections-FEo/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Get file ---------------------------------------------------------------- 0.44s /tmp/collections-FEo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/check_header.yml:3 fedora.linux_system_roles.certificate : Run systemctl ------------------- 0.43s /tmp/collections-FEo/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:22 Retrieve certificate file stats ----------------------------------------- 0.34s /tmp/collections-FEo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:41 fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists --- 0.33s /tmp/collections-FEo/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:49 Retrieve auto-renew flag ------------------------------------------------ 0.33s /tmp/collections-FEo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:146 Get post-run file timestamp --------------------------------------------- 0.32s /tmp/collections-FEo/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:55 Retrieve key file stats ------------------------------------------------- 0.32s /tmp/collections-FEo/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:68 Get certificate timestamp ----------------------------------------------- 0.30s /tmp/collections-FEo/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:47