ansible-playbook [core 2.17.14] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-NId executable location = /usr/local/bin/ansible-playbook python version = 3.12.13 (main, Jun 1 2026, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-14)] (/usr/bin/python3.12) jinja version = 3.1.6 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'jsonl', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_default.yml **************************************************** 1 plays in /tmp/collections-NId/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-NId/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_default.yml:3 Monday 27 July 2026 06:18:29 -0400 (0:00:00.020) 0:00:00.020 *********** [WARNING]: Platform linux on host managed-node3 is using the discovered Python interpreter at /usr/bin/python3.9, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed-node3] TASK [See if /dev/log exists for the fingerprint check] ************************ task path: /tmp/collections-NId/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_default.yml:6 Monday 27 July 2026 06:18:31 -0400 (0:00:02.459) 0:00:02.480 *********** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1785147509.247343, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1785146921.8739998, "dev": 6, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 120, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/run/systemd/journal/dev-log", "lnk_target": "/run/systemd/journal/dev-log", "mimetype": "inode/symlink", "mode": "0777", "mtime": 1785146912.327, "nlink": 1, "path": "/dev/log", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 28, "uid": 0, "version": null, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Set the start time for the journal search] ******************************* task path: /tmp/collections-NId/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_default.yml:11 Monday 27 July 2026 06:18:32 -0400 (0:00:00.544) 0:00:03.025 *********** ok: [managed-node3] => { "ansible_facts": { "__journal_start_time": "2026-07-27 06:18:31" }, "changed": false } TASK [Run the role] ************************************************************ task path: /tmp/collections-NId/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_default.yml:16 Monday 27 July 2026 06:18:32 -0400 (0:00:00.016) 0:00:03.041 *********** included: /tmp/collections-NId/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/run_role_with_clear_facts.yml for managed-node3 TASK [Clear facts] ************************************************************* task path: /tmp/collections-NId/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/run_role_with_clear_facts.yml:9 Monday 27 July 2026 06:18:32 -0400 (0:00:00.037) 0:00:03.078 *********** META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-NId/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/run_role_with_clear_facts.yml:23 Monday 27 July 2026 06:18:32 -0400 (0:00:00.000) 0:00:03.079 *********** skipping: [managed-node3] => { "changed": false, "false_condition": "__sr_failed_when is defined", "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-NId/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/run_role_with_clear_facts.yml:33 Monday 27 July 2026 06:18:32 -0400 (0:00:00.016) 0:00:03.095 *********** included: fedora.linux_system_roles.certificate for managed-node3 TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /tmp/collections-NId/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Monday 27 July 2026 06:18:32 -0400 (0:00:00.088) 0:00:03.184 *********** included: /tmp/collections-NId/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-NId/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Monday 27 July 2026 06:18:32 -0400 (0:00:00.031) 0:00:03.216 *********** ok: [managed-node3] TASK [fedora.linux_system_roles.certificate : Record role begin fingerprint] *** task path: /tmp/collections-NId/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:7 Monday 27 July 2026 06:18:32 -0400 (0:00:00.589) 0:00:03.805 *********** ok: [managed-node3] => { "changed": false } TASK [fedora.linux_system_roles.certificate : Check if system is ostree] ******* task path: /tmp/collections-NId/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:16 Monday 27 July 2026 06:18:33 -0400 (0:00:00.443) 0:00:04.249 *********** 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-NId/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:21 Monday 27 July 2026 06:18:33 -0400 (0:00:00.358) 0:00:04.607 *********** ok: [managed-node3] => { "ansible_facts": { "__certificate_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.certificate : Run systemctl] ******************* task path: /tmp/collections-NId/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:28 Monday 27 July 2026 06:18:33 -0400 (0:00:00.020) 0:00:04.627 *********** ok: [managed-node3] => { "changed": false, "cmd": [ "systemctl", "is-system-running" ], "delta": "0:00:00.009269", "end": "2026-07-27 06:18:34.137312", "failed_when_result": false, "rc": 0, "start": "2026-07-27 06:18:34.128043" } STDOUT: running TASK [fedora.linux_system_roles.certificate : Require installed systemd] ******* task path: /tmp/collections-NId/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:36 Monday 27 July 2026 06:18:34 -0400 (0:00:00.455) 0:00:05.083 *********** skipping: [managed-node3] => { "changed": false, "false_condition": "\"No such file or directory\" in __is_system_running.msg | d(\"\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Set flag to indicate that systemd runtime operations are available] *** task path: /tmp/collections-NId/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:41 Monday 27 July 2026 06:18:34 -0400 (0:00:00.017) 0:00:05.101 *********** 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-NId/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:46 Monday 27 July 2026 06:18:34 -0400 (0:00:00.019) 0:00:05.120 *********** skipping: [managed-node3] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node3] => (item=CentOS_9.yml) => { "ansible_facts": { "__certificate_certmonger_packages": [ "certmonger", "python3-packaging" ] }, "ansible_included_var_files": [ "/tmp/collections-NId/ansible_collections/fedora/linux_system_roles/roles/certificate/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } ok: [managed-node3] => (item=CentOS_9.yml) => { "ansible_facts": { "__certificate_certmonger_packages": [ "certmonger", "python3-packaging" ] }, "ansible_included_var_files": [ "/tmp/collections-NId/ansible_collections/fedora/linux_system_roles/roles/certificate/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } TASK [fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed] *** task path: /tmp/collections-NId/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:10 Monday 27 July 2026 06:18:34 -0400 (0:00:00.035) 0:00:05.156 *********** skipping: [managed-node3] => { "changed": false, "false_condition": "certificate_requests | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Ensure provider packages are installed] *** task path: /tmp/collections-NId/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:16 Monday 27 July 2026 06:18:34 -0400 (0:00:00.012) 0:00:05.169 *********** skipping: [managed-node3] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "false_condition": "certificate_requests | length > 0", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists] *** task path: /tmp/collections-NId/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:26 Monday 27 July 2026 06:18:34 -0400 (0:00:00.018) 0:00:05.187 *********** skipping: [managed-node3] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "false_condition": "certificate_requests | length > 0", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists] *** task path: /tmp/collections-NId/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:50 Monday 27 July 2026 06:18:34 -0400 (0:00:00.018) 0:00:05.206 *********** skipping: [managed-node3] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "false_condition": "certificate_requests | length > 0", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.certificate : Ensure provider service is running] *** task path: /tmp/collections-NId/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:77 Monday 27 July 2026 06:18:34 -0400 (0:00:00.019) 0:00:05.225 *********** skipping: [managed-node3] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "false_condition": "certificate_requests | length > 0", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.certificate : Ensure certificates in the system trust store] *** task path: /tmp/collections-NId/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:87 Monday 27 July 2026 06:18:34 -0400 (0:00:00.019) 0:00:05.245 *********** skipping: [managed-node3] => { "changed": false, "false_condition": "certificate_trust | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Ensure certificate requests] ***** task path: /tmp/collections-NId/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:91 Monday 27 July 2026 06:18:34 -0400 (0:00:00.012) 0:00:05.257 *********** skipping: [managed-node3] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.certificate : Check if test mode is supported] *** task path: /tmp/collections-NId/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:144 Monday 27 July 2026 06:18:34 -0400 (0:00:00.009) 0:00:05.267 *********** skipping: [managed-node3] => { "changed": false, "false_condition": "certificate_test_mode | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Slurp the contents of the files] *** task path: /tmp/collections-NId/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:149 Monday 27 July 2026 06:18:34 -0400 (0:00:00.012) 0:00:05.279 *********** skipping: [managed-node3] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.certificate : Reset certificate_test_certs] **** task path: /tmp/collections-NId/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:157 Monday 27 July 2026 06:18:34 -0400 (0:00:00.011) 0:00:05.290 *********** skipping: [managed-node3] => { "changed": false, "false_condition": "certificate_test_mode | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Create return data] ************** task path: /tmp/collections-NId/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:161 Monday 27 July 2026 06:18:34 -0400 (0:00:00.012) 0:00:05.303 *********** skipping: [managed-node3] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.certificate : Stop tracking certificates] ****** task path: /tmp/collections-NId/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:175 Monday 27 July 2026 06:18:34 -0400 (0:00:00.012) 0:00:05.316 *********** skipping: [managed-node3] => { "changed": false, "false_condition": "certificate_test_mode | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Remove files] ******************** task path: /tmp/collections-NId/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:180 Monday 27 July 2026 06:18:34 -0400 (0:00:00.014) 0:00:05.330 *********** skipping: [managed-node3] => { "changed": false, "false_condition": "certificate_test_mode | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Record role success fingerprint] *** task path: /tmp/collections-NId/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:191 Monday 27 July 2026 06:18:34 -0400 (0:00:00.017) 0:00:05.347 *********** ok: [managed-node3] => { "changed": false } TASK [Check system journal contains role fingerprints] ************************* task path: /tmp/collections-NId/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_default.yml:20 Monday 27 July 2026 06:18:34 -0400 (0:00:00.357) 0:00:05.704 *********** ok: [managed-node3] => { "changed": false, "cmd": "set -eo pipefail; journalctl --since \"2026-07-27 06:18:31\" --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-27 06:18:31\" --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.016727", "end": "2026-07-27 06:18:35.131916", "rc": 0, "start": "2026-07-27 06:18:35.115189" } STDOUT: Jul 27 06:18:33 managed-node3 python3.9[9523]: ansible-fedora.linux_system_roles.sr_fingerprint begin system_role:certificate ansible_version=2.17.14 CentOS-9 2026-07-27T06:18:33-04:00 Jul 27 06:18:34 managed-node3 python3.9[9971]: ansible-fedora.linux_system_roles.sr_fingerprint success system_role:certificate ansible_version=2.17.14 CentOS-9 2026-07-27T06:18:34-04:00 PLAY RECAP ********************************************************************* managed-node3 : ok=15 changed=0 unreachable=0 failed=0 skipped=15 rescued=0 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Monday 27 July 2026 06:18:35 -0400 (0:00:00.372) 0:00:06.077 *********** =============================================================================== Gathering Facts --------------------------------------------------------- 2.46s /tmp/collections-NId/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_default.yml:3 fedora.linux_system_roles.certificate : Ensure ansible_facts used by role --- 0.59s /tmp/collections-NId/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 See if /dev/log exists for the fingerprint check ------------------------ 0.54s /tmp/collections-NId/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_default.yml:6 fedora.linux_system_roles.certificate : Run systemctl ------------------- 0.46s /tmp/collections-NId/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:28 fedora.linux_system_roles.certificate : Record role begin fingerprint --- 0.44s /tmp/collections-NId/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:7 Check system journal contains role fingerprints ------------------------- 0.37s /tmp/collections-NId/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_default.yml:20 fedora.linux_system_roles.certificate : Check if system is ostree ------- 0.36s /tmp/collections-NId/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:16 fedora.linux_system_roles.certificate : Record role success fingerprint --- 0.36s /tmp/collections-NId/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:191 Run the role normally --------------------------------------------------- 0.09s /tmp/collections-NId/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/run_role_with_clear_facts.yml:33 Run the role ------------------------------------------------------------ 0.04s /tmp/collections-NId/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_default.yml:16 fedora.linux_system_roles.certificate : Set platform/version specific variables --- 0.04s /tmp/collections-NId/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:46 fedora.linux_system_roles.certificate : Set version specific variables --- 0.03s /tmp/collections-NId/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 fedora.linux_system_roles.certificate : Set flag to indicate system is ostree --- 0.02s /tmp/collections-NId/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:21 fedora.linux_system_roles.certificate : Ensure provider service is running --- 0.02s /tmp/collections-NId/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:77 fedora.linux_system_roles.certificate : Set flag to indicate that systemd runtime operations are available --- 0.02s /tmp/collections-NId/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:41 fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists --- 0.02s /tmp/collections-NId/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:50 fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists --- 0.02s /tmp/collections-NId/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:26 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 0.02s /tmp/collections-NId/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:16 fedora.linux_system_roles.certificate : Require installed systemd ------- 0.02s /tmp/collections-NId/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:36 fedora.linux_system_roles.certificate : Remove files -------------------- 0.02s /tmp/collections-NId/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:180