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-OSg executable location = /usr/local/bin/ansible-playbook python version = 3.12.13 (main, Jul 20 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-OSg/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-OSg/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_default.yml:3 Tuesday 04 August 2026 15:12:18 -0400 (0:00:00.016) 0:00:00.016 ******** [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-OSg/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_default.yml:6 Tuesday 04 August 2026 15:12:21 -0400 (0:00:02.862) 0:00:02.879 ******** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1785870738.5518334, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1785870573.5660005, "dev": 6, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 121, "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": 1785870563.336, "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-OSg/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_default.yml:11 Tuesday 04 August 2026 15:12:21 -0400 (0:00:00.477) 0:00:03.356 ******** ok: [managed-node3] => { "ansible_facts": { "__journal_start_time": "2026-08-04 15:12:21" }, "changed": false } TASK [Run the role] ************************************************************ task path: /tmp/collections-OSg/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_default.yml:16 Tuesday 04 August 2026 15:12:21 -0400 (0:00:00.015) 0:00:03.372 ******** included: /tmp/collections-OSg/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-OSg/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/run_role_with_clear_facts.yml:9 Tuesday 04 August 2026 15:12:21 -0400 (0:00:00.029) 0:00:03.402 ******** META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-OSg/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/run_role_with_clear_facts.yml:23 Tuesday 04 August 2026 15:12:21 -0400 (0:00:00.000) 0:00:03.403 ******** 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-OSg/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/run_role_with_clear_facts.yml:33 Tuesday 04 August 2026 15:12:21 -0400 (0:00:00.014) 0:00:03.417 ******** included: fedora.linux_system_roles.certificate for managed-node3 TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /tmp/collections-OSg/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Tuesday 04 August 2026 15:12:21 -0400 (0:00:00.064) 0:00:03.482 ******** included: /tmp/collections-OSg/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-OSg/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Tuesday 04 August 2026 15:12:21 -0400 (0:00:00.018) 0:00:03.500 ******** ok: [managed-node3] TASK [fedora.linux_system_roles.certificate : Record role begin fingerprint] *** task path: /tmp/collections-OSg/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:7 Tuesday 04 August 2026 15:12:22 -0400 (0:00:00.592) 0:00:04.092 ******** ok: [managed-node3] => { "changed": false } TASK [fedora.linux_system_roles.certificate : Check if system is ostree] ******* task path: /tmp/collections-OSg/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:16 Tuesday 04 August 2026 15:12:22 -0400 (0:00:00.439) 0:00:04.531 ******** 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-OSg/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:21 Tuesday 04 August 2026 15:12:23 -0400 (0:00:00.369) 0:00:04.901 ******** ok: [managed-node3] => { "ansible_facts": { "__certificate_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.certificate : Run systemctl] ******************* task path: /tmp/collections-OSg/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:28 Tuesday 04 August 2026 15:12:23 -0400 (0:00:00.018) 0:00:04.920 ******** ok: [managed-node3] => { "changed": false, "cmd": [ "systemctl", "is-system-running" ], "delta": "0:00:00.010316", "end": "2026-08-04 15:12:23.748528", "failed_when_result": false, "rc": 0, "start": "2026-08-04 15:12:23.738212" } STDOUT: running TASK [fedora.linux_system_roles.certificate : Require installed systemd] ******* task path: /tmp/collections-OSg/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:36 Tuesday 04 August 2026 15:12:23 -0400 (0:00:00.460) 0:00:05.380 ******** 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-OSg/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:41 Tuesday 04 August 2026 15:12:23 -0400 (0:00:00.016) 0:00:05.397 ******** 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-OSg/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:46 Tuesday 04 August 2026 15:12:23 -0400 (0:00:00.017) 0:00:05.415 ******** 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-OSg/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-OSg/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-OSg/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:10 Tuesday 04 August 2026 15:12:23 -0400 (0:00:00.033) 0:00:05.449 ******** 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-OSg/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:16 Tuesday 04 August 2026 15:12:23 -0400 (0:00:00.011) 0:00:05.460 ******** 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-OSg/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:26 Tuesday 04 August 2026 15:12:23 -0400 (0:00:00.016) 0:00:05.477 ******** 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-OSg/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:50 Tuesday 04 August 2026 15:12:23 -0400 (0:00:00.016) 0:00:05.493 ******** 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-OSg/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:77 Tuesday 04 August 2026 15:12:23 -0400 (0:00:00.016) 0:00:05.510 ******** 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-OSg/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:87 Tuesday 04 August 2026 15:12:23 -0400 (0:00:00.017) 0:00:05.527 ******** 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-OSg/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:91 Tuesday 04 August 2026 15:12:23 -0400 (0:00:00.010) 0:00:05.538 ******** 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-OSg/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:143 Tuesday 04 August 2026 15:12:23 -0400 (0:00:00.008) 0:00:05.546 ******** 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-OSg/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:148 Tuesday 04 August 2026 15:12:23 -0400 (0:00:00.010) 0:00:05.557 ******** 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-OSg/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:156 Tuesday 04 August 2026 15:12:23 -0400 (0:00:00.009) 0:00:05.566 ******** 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-OSg/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Tuesday 04 August 2026 15:12:23 -0400 (0:00:00.011) 0:00:05.578 ******** 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-OSg/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:174 Tuesday 04 August 2026 15:12:24 -0400 (0:00:00.011) 0:00:05.589 ******** 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-OSg/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:179 Tuesday 04 August 2026 15:12:24 -0400 (0:00:00.011) 0:00:05.601 ******** 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-OSg/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:190 Tuesday 04 August 2026 15:12:24 -0400 (0:00:00.015) 0:00:05.617 ******** ok: [managed-node3] => { "changed": false } TASK [Check system journal contains role fingerprints] ************************* task path: /tmp/collections-OSg/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_default.yml:20 Tuesday 04 August 2026 15:12:24 -0400 (0:00:00.368) 0:00:05.986 ******** ok: [managed-node3] => { "changed": false, "cmd": "set -eo pipefail; journalctl --since \"2026-08-04 15:12:21\" --no-pager | grep -v \" Invoked with\" | grep \"sr_fingerprint.*begin system_role:certificate\" || { echo ERROR: BEGIN fingerprint not found; exit 1; }; journalctl --since \"2026-08-04 15:12:21\" --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.019135", "end": "2026-08-04 15:12:24.745429", "rc": 0, "start": "2026-08-04 15:12:24.726294" } STDOUT: Aug 04 15:12:22 managed-node3 python3.9[9516]: ansible-fedora.linux_system_roles.sr_fingerprint begin system_role:certificate ansible_version=2.17.14 CentOS-9 2026-08-04T15:12:22-04:00 Aug 04 15:12:24 managed-node3 python3.9[9964]: ansible-fedora.linux_system_roles.sr_fingerprint success system_role:certificate ansible_version=2.17.14 CentOS-9 2026-08-04T15:12:24-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 ******************************************************************** Tuesday 04 August 2026 15:12:24 -0400 (0:00:00.390) 0:00:06.376 ******** =============================================================================== Gathering Facts --------------------------------------------------------- 2.86s /tmp/collections-OSg/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-OSg/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 See if /dev/log exists for the fingerprint check ------------------------ 0.48s /tmp/collections-OSg/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_default.yml:6 fedora.linux_system_roles.certificate : Run systemctl ------------------- 0.46s /tmp/collections-OSg/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-OSg/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:7 Check system journal contains role fingerprints ------------------------- 0.39s /tmp/collections-OSg/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_default.yml:20 fedora.linux_system_roles.certificate : Check if system is ostree ------- 0.37s /tmp/collections-OSg/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:16 fedora.linux_system_roles.certificate : Record role success fingerprint --- 0.37s /tmp/collections-OSg/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:190 Run the role normally --------------------------------------------------- 0.06s /tmp/collections-OSg/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/run_role_with_clear_facts.yml:33 fedora.linux_system_roles.certificate : Set platform/version specific variables --- 0.03s /tmp/collections-OSg/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:46 Run the role ------------------------------------------------------------ 0.03s /tmp/collections-OSg/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-OSg/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:21 fedora.linux_system_roles.certificate : Set version specific variables --- 0.02s /tmp/collections-OSg/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 fedora.linux_system_roles.certificate : Set flag to indicate that systemd runtime operations are available --- 0.02s /tmp/collections-OSg/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:41 fedora.linux_system_roles.certificate : Ensure provider service is running --- 0.02s /tmp/collections-OSg/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:77 fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists --- 0.02s /tmp/collections-OSg/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-OSg/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:16 fedora.linux_system_roles.certificate : Require installed systemd ------- 0.02s /tmp/collections-OSg/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:36 fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists --- 0.02s /tmp/collections-OSg/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:26 Set the start time for the journal search ------------------------------- 0.02s /tmp/collections-OSg/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_default.yml:11