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_default.yml **************************************************** 1 plays in /tmp/collections-tmU/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_default.yml PLAY [Ensure that the role runs with default parameters] *********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-tmU/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_default.yml:3 Tuesday 14 July 2026 03:09:11 -0400 (0:00:00.038) 0:00:00.038 ********** ok: [managed-node3] META: ran handlers TASK [See if /dev/log exists for the fingerprint check] ************************ task path: /tmp/collections-tmU/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_default.yml:6 Tuesday 14 July 2026 03:09:13 -0400 (0:00:01.272) 0:00:01.311 ********** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1784012953.6817827, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1784012596.777, "dev": 5, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8102, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": true, "isuid": false, "mimetype": "inode/socket", "mode": "0666", "mtime": 1784012596.777, "nlink": 1, "path": "/dev/log", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set the start time for the journal search] ******************************* task path: /tmp/collections-tmU/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_default.yml:11 Tuesday 14 July 2026 03:09:13 -0400 (0:00:00.592) 0:00:01.904 ********** ok: [managed-node3] => { "ansible_facts": { "__journal_start_time": "2026-07-14 03:09:13" }, "changed": false } TASK [Run the role] ************************************************************ task path: /tmp/collections-tmU/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_default.yml:16 Tuesday 14 July 2026 03:09:13 -0400 (0:00:00.038) 0:00:01.942 ********** included: /tmp/collections-tmU/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/run_role_with_clear_facts.yml for managed-node3 META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-tmU/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/run_role_with_clear_facts.yml:23 Tuesday 14 July 2026 03:09:13 -0400 (0:00:00.021) 0:00:01.964 ********** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-tmU/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/run_role_with_clear_facts.yml:33 Tuesday 14 July 2026 03:09:13 -0400 (0:00:00.041) 0:00:02.005 ********** TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /tmp/collections-tmU/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Tuesday 14 July 2026 03:09:14 -0400 (0:00:00.322) 0:00:02.328 ********** included: /tmp/collections-tmU/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml for managed-node3 TASK [fedora.linux_system_roles.certificate : Ensure ansible_facts used by role] *** task path: /tmp/collections-tmU/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Tuesday 14 July 2026 03:09:14 -0400 (0:00:00.045) 0:00:02.374 ********** ok: [managed-node3] TASK [fedora.linux_system_roles.certificate : Record role begin fingerprint] *** task path: /tmp/collections-tmU/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:7 Tuesday 14 July 2026 03:09:14 -0400 (0:00:00.427) 0:00:02.801 ********** ok: [managed-node3] => { "changed": false } TASK [fedora.linux_system_roles.certificate : Check if system is ostree] ******* task path: /tmp/collections-tmU/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:16 Tuesday 14 July 2026 03:09:14 -0400 (0:00:00.326) 0:00:03.127 ********** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.certificate : Set flag to indicate system is ostree] *** task path: /tmp/collections-tmU/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:21 Tuesday 14 July 2026 03:09:15 -0400 (0:00:00.350) 0:00:03.478 ********** ok: [managed-node3] => { "ansible_facts": { "__certificate_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.certificate : Run systemctl] ******************* task path: /tmp/collections-tmU/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:28 Tuesday 14 July 2026 03:09:15 -0400 (0:00:00.020) 0:00:03.499 ********** ok: [managed-node3] => { "changed": false, "cmd": [ "systemctl", "is-system-running" ], "delta": "0:00:00.007705", "end": "2026-07-14 03:09:15.629771", "failed_when_result": false, "rc": 0, "start": "2026-07-14 03:09:15.622066" } STDOUT: running TASK [fedora.linux_system_roles.certificate : Require installed systemd] ******* task path: /tmp/collections-tmU/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:36 Tuesday 14 July 2026 03:09:15 -0400 (0:00:00.343) 0:00:03.842 ********** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Set flag to indicate that systemd runtime operations are available] *** task path: /tmp/collections-tmU/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:41 Tuesday 14 July 2026 03:09:15 -0400 (0:00:00.018) 0:00:03.861 ********** ok: [managed-node3] => { "ansible_facts": { "__certificate_is_booted": true }, "changed": false } TASK [fedora.linux_system_roles.certificate : Set platform/version specific variables] *** task path: /tmp/collections-tmU/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:46 Tuesday 14 July 2026 03:09:15 -0400 (0:00:00.020) 0:00:03.881 ********** skipping: [managed-node3] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node3] => (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-tmU/ansible_collections/fedora/linux_system_roles/roles/certificate/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed-node3] => (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-tmU/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:10 Tuesday 14 July 2026 03:09:15 -0400 (0:00:00.047) 0:00:03.929 ********** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Ensure provider packages are installed] *** task path: /tmp/collections-tmU/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:16 Tuesday 14 July 2026 03:09:15 -0400 (0:00:00.015) 0:00:03.944 ********** skipping: [managed-node3] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists] *** task path: /tmp/collections-tmU/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:26 Tuesday 14 July 2026 03:09:15 -0400 (0:00:00.022) 0:00:03.966 ********** skipping: [managed-node3] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists] *** task path: /tmp/collections-tmU/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:50 Tuesday 14 July 2026 03:09:15 -0400 (0:00:00.022) 0:00:03.989 ********** skipping: [managed-node3] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Ensure provider service is running] *** task path: /tmp/collections-tmU/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:77 Tuesday 14 July 2026 03:09:15 -0400 (0:00:00.022) 0:00:04.011 ********** skipping: [managed-node3] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Ensure certificates in the system trust store] *** task path: /tmp/collections-tmU/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:87 Tuesday 14 July 2026 03:09:15 -0400 (0:00:00.021) 0:00:04.033 ********** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Ensure certificate requests] ***** task path: /tmp/collections-tmU/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:91 Tuesday 14 July 2026 03:09:15 -0400 (0:00:00.014) 0:00:04.048 ********** TASK [fedora.linux_system_roles.certificate : Check if test mode is supported] *** task path: /tmp/collections-tmU/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:143 Tuesday 14 July 2026 03:09:15 -0400 (0:00:00.014) 0:00:04.062 ********** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Slurp the contents of the files] *** task path: /tmp/collections-tmU/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:148 Tuesday 14 July 2026 03:09:15 -0400 (0:00:00.013) 0:00:04.076 ********** TASK [fedora.linux_system_roles.certificate : Reset certificate_test_certs] **** task path: /tmp/collections-tmU/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:156 Tuesday 14 July 2026 03:09:15 -0400 (0:00:00.012) 0:00:04.088 ********** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Create return data] ************** task path: /tmp/collections-tmU/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Tuesday 14 July 2026 03:09:15 -0400 (0:00:00.016) 0:00:04.105 ********** TASK [fedora.linux_system_roles.certificate : Stop tracking certificates] ****** task path: /tmp/collections-tmU/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:174 Tuesday 14 July 2026 03:09:15 -0400 (0:00:00.013) 0:00:04.118 ********** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Remove files] ******************** task path: /tmp/collections-tmU/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:179 Tuesday 14 July 2026 03:09:15 -0400 (0:00:00.017) 0:00:04.136 ********** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Record role success fingerprint] *** task path: /tmp/collections-tmU/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:190 Tuesday 14 July 2026 03:09:15 -0400 (0:00:00.016) 0:00:04.153 ********** ok: [managed-node3] => { "changed": false } TASK [Check system journal contains role fingerprints] ************************* task path: /tmp/collections-tmU/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_default.yml:20 Tuesday 14 July 2026 03:09:16 -0400 (0:00:00.248) 0:00:04.402 ********** ok: [managed-node3] => { "changed": false, "cmd": "set -eo pipefail; journalctl --since \"2026-07-14 03:09:13\" --no-pager | grep -v \" Invoked with\" | grep \"sr_fingerprint.*begin system_role:certificate\" || { echo ERROR: BEGIN fingerprint not found; exit 1; }; journalctl --since \"2026-07-14 03:09:13\" --no-pager | grep -v \" Invoked with\" | grep \"sr_fingerprint.*success system_role:certificate\" || { echo ERROR: SUCCESS fingerprint not found; exit 1; }", "delta": "0:00:00.011176", "end": "2026-07-14 03:09:16.458655", "rc": 0, "start": "2026-07-14 03:09:16.447479" } STDOUT: Jul 14 03:09:14 managed-node3 ansible-fedora.linux_system_roles.sr_fingerprint[9369]: begin system_role:certificate ansible_version=2.9.27 CentOS-7.9 2026-07-14T03:09:14+0000 Jul 14 03:09:16 managed-node3 ansible-fedora.linux_system_roles.sr_fingerprint[9517]: success system_role:certificate ansible_version=2.9.27 CentOS-7.9 2026-07-14T03:09:16+0000 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node3 : ok=14 changed=0 unreachable=0 failed=0 skipped=15 rescued=0 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Tuesday 14 July 2026 03:09:16 -0400 (0:00:00.268) 0:00:04.670 ********** =============================================================================== Gathering Facts --------------------------------------------------------- 1.27s /tmp/collections-tmU/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_default.yml:3 See if /dev/log exists for the fingerprint check ------------------------ 0.59s /tmp/collections-tmU/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_default.yml:6 fedora.linux_system_roles.certificate : Ensure ansible_facts used by role --- 0.43s /tmp/collections-tmU/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 fedora.linux_system_roles.certificate : Check if system is ostree ------- 0.35s /tmp/collections-tmU/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:16 fedora.linux_system_roles.certificate : Run systemctl ------------------- 0.34s /tmp/collections-tmU/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:28 fedora.linux_system_roles.certificate : Record role begin fingerprint --- 0.33s /tmp/collections-tmU/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:7 Run the role normally --------------------------------------------------- 0.32s /tmp/collections-tmU/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/run_role_with_clear_facts.yml:33 Check system journal contains role fingerprints ------------------------- 0.27s /tmp/collections-tmU/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_default.yml:20 fedora.linux_system_roles.certificate : Record role success fingerprint --- 0.25s /tmp/collections-tmU/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:190 fedora.linux_system_roles.certificate : Set platform/version specific variables --- 0.05s /tmp/collections-tmU/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:46 fedora.linux_system_roles.certificate : Set version specific variables --- 0.05s /tmp/collections-tmU/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Run the role ------------------------------------------------------------ 0.04s /tmp/collections-tmU/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/run_role_with_clear_facts.yml:23 Set the start time for the journal search ------------------------------- 0.04s /tmp/collections-tmU/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_default.yml:11 fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists --- 0.02s /tmp/collections-tmU/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:26 fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists --- 0.02s /tmp/collections-tmU/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:50 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 0.02s /tmp/collections-tmU/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:16 fedora.linux_system_roles.certificate : Ensure provider service is running --- 0.02s /tmp/collections-tmU/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:77 Run the role ------------------------------------------------------------ 0.02s /tmp/collections-tmU/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_default.yml:16 fedora.linux_system_roles.certificate : Set flag to indicate system is ostree --- 0.02s /tmp/collections-tmU/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:21 fedora.linux_system_roles.certificate : Set flag to indicate that systemd runtime operations are available --- 0.02s /tmp/collections-tmU/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:41