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-8AM 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-8AM/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-8AM/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_default.yml:3 Tuesday 14 July 2026 03:03:35 -0400 (0:00:00.027) 0:00:00.027 ********** [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-8AM/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_default.yml:6 Tuesday 14 July 2026 03:03:38 -0400 (0:00:02.601) 0:00:02.629 ********** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1784012615.5941412, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1784012439.1759994, "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": 1784012432.3209999, "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-8AM/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_default.yml:11 Tuesday 14 July 2026 03:03:38 -0400 (0:00:00.475) 0:00:03.104 ********** ok: [managed-node3] => { "ansible_facts": { "__journal_start_time": "2026-07-14 03:03:37" }, "changed": false } TASK [Run the role] ************************************************************ task path: /tmp/collections-8AM/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_default.yml:16 Tuesday 14 July 2026 03:03:38 -0400 (0:00:00.023) 0:00:03.128 ********** included: /tmp/collections-8AM/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-8AM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/run_role_with_clear_facts.yml:9 Tuesday 14 July 2026 03:03:38 -0400 (0:00:00.042) 0:00:03.171 ********** META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-8AM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/run_role_with_clear_facts.yml:23 Tuesday 14 July 2026 03:03:38 -0400 (0:00:00.000) 0:00:03.172 ********** 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-8AM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/run_role_with_clear_facts.yml:33 Tuesday 14 July 2026 03:03:38 -0400 (0:00:00.016) 0:00:03.188 ********** included: fedora.linux_system_roles.certificate for managed-node3 TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /tmp/collections-8AM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Tuesday 14 July 2026 03:03:38 -0400 (0:00:00.070) 0:00:03.259 ********** included: /tmp/collections-8AM/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-8AM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Tuesday 14 July 2026 03:03:38 -0400 (0:00:00.019) 0:00:03.278 ********** ok: [managed-node3] TASK [fedora.linux_system_roles.certificate : Record role begin fingerprint] *** task path: /tmp/collections-8AM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:7 Tuesday 14 July 2026 03:03:39 -0400 (0:00:00.563) 0:00:03.842 ********** ok: [managed-node3] => { "changed": false } TASK [fedora.linux_system_roles.certificate : Check if system is ostree] ******* task path: /tmp/collections-8AM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:16 Tuesday 14 July 2026 03:03:39 -0400 (0:00:00.433) 0:00:04.276 ********** 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-8AM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:21 Tuesday 14 July 2026 03:03:40 -0400 (0:00:00.355) 0:00:04.631 ********** ok: [managed-node3] => { "ansible_facts": { "__certificate_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.certificate : Run systemctl] ******************* task path: /tmp/collections-8AM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:28 Tuesday 14 July 2026 03:03:40 -0400 (0:00:00.020) 0:00:04.651 ********** ok: [managed-node3] => { "changed": false, "cmd": [ "systemctl", "is-system-running" ], "delta": "0:00:00.009160", "end": "2026-07-14 03:03:40.503452", "failed_when_result": false, "rc": 0, "start": "2026-07-14 03:03:40.494292" } STDOUT: running TASK [fedora.linux_system_roles.certificate : Require installed systemd] ******* task path: /tmp/collections-8AM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:36 Tuesday 14 July 2026 03:03:40 -0400 (0:00:00.454) 0:00:05.106 ********** 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-8AM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:41 Tuesday 14 July 2026 03:03:40 -0400 (0:00:00.017) 0:00:05.124 ********** 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-8AM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:46 Tuesday 14 July 2026 03:03:40 -0400 (0:00:00.019) 0:00:05.144 ********** 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-8AM/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-8AM/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-8AM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:10 Tuesday 14 July 2026 03:03:40 -0400 (0:00:00.037) 0:00:05.181 ********** 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-8AM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:16 Tuesday 14 July 2026 03:03:40 -0400 (0:00:00.013) 0:00:05.195 ********** 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-8AM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:26 Tuesday 14 July 2026 03:03:40 -0400 (0:00:00.019) 0:00:05.214 ********** 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-8AM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:50 Tuesday 14 July 2026 03:03:40 -0400 (0:00:00.019) 0:00:05.233 ********** 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-8AM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:77 Tuesday 14 July 2026 03:03:40 -0400 (0:00:00.019) 0:00:05.253 ********** 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-8AM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:87 Tuesday 14 July 2026 03:03:40 -0400 (0:00:00.019) 0:00:05.273 ********** 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-8AM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:91 Tuesday 14 July 2026 03:03:40 -0400 (0:00:00.012) 0:00:05.286 ********** 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-8AM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:143 Tuesday 14 July 2026 03:03:40 -0400 (0:00:00.009) 0:00:05.296 ********** 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-8AM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:148 Tuesday 14 July 2026 03:03:40 -0400 (0:00:00.012) 0:00:05.308 ********** 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-8AM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:156 Tuesday 14 July 2026 03:03:40 -0400 (0:00:00.011) 0:00:05.320 ********** 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-8AM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Tuesday 14 July 2026 03:03:40 -0400 (0:00:00.013) 0:00:05.333 ********** 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-8AM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:174 Tuesday 14 July 2026 03:03:40 -0400 (0:00:00.012) 0:00:05.346 ********** 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-8AM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:179 Tuesday 14 July 2026 03:03:40 -0400 (0:00:00.013) 0:00:05.360 ********** 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-8AM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:190 Tuesday 14 July 2026 03:03:40 -0400 (0:00:00.016) 0:00:05.377 ********** ok: [managed-node3] => { "changed": false } TASK [Check system journal contains role fingerprints] ************************* task path: /tmp/collections-8AM/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_default.yml:20 Tuesday 14 July 2026 03:03:41 -0400 (0:00:00.350) 0:00:05.728 ********** ok: [managed-node3] => { "changed": false, "cmd": "set -eo pipefail; journalctl --since \"2026-07-14 03:03:37\" --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:03:37\" --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.016918", "end": "2026-07-14 03:03:41.491713", "rc": 0, "start": "2026-07-14 03:03:41.474795" } STDOUT: Jul 14 03:03:39 managed-node3 python3.9[9535]: ansible-fedora.linux_system_roles.sr_fingerprint begin system_role:certificate ansible_version=2.17.14 CentOS-9 2026-07-14T03:03:39-04:00 Jul 14 03:03:41 managed-node3 python3.9[9983]: ansible-fedora.linux_system_roles.sr_fingerprint success system_role:certificate ansible_version=2.17.14 CentOS-9 2026-07-14T03:03:41-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 14 July 2026 03:03:41 -0400 (0:00:00.364) 0:00:06.093 ********** =============================================================================== Gathering Facts --------------------------------------------------------- 2.60s /tmp/collections-8AM/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_default.yml:3 fedora.linux_system_roles.certificate : Ensure ansible_facts used by role --- 0.56s /tmp/collections-8AM/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-8AM/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_default.yml:6 fedora.linux_system_roles.certificate : Run systemctl ------------------- 0.45s /tmp/collections-8AM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:28 fedora.linux_system_roles.certificate : Record role begin fingerprint --- 0.43s /tmp/collections-8AM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:7 Check system journal contains role fingerprints ------------------------- 0.36s /tmp/collections-8AM/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-8AM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:16 fedora.linux_system_roles.certificate : Record role success fingerprint --- 0.35s /tmp/collections-8AM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:190 Run the role normally --------------------------------------------------- 0.07s /tmp/collections-8AM/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/run_role_with_clear_facts.yml:33 Run the role ------------------------------------------------------------ 0.04s /tmp/collections-8AM/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-8AM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:46 Set the start time for the journal search ------------------------------- 0.02s /tmp/collections-8AM/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_default.yml:11 fedora.linux_system_roles.certificate : Set flag to indicate system is ostree --- 0.02s /tmp/collections-8AM/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-8AM/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-8AM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:50 fedora.linux_system_roles.certificate : Ensure provider service is running --- 0.02s /tmp/collections-8AM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:77 fedora.linux_system_roles.certificate : Set version specific variables --- 0.02s /tmp/collections-8AM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 0.02s /tmp/collections-8AM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:16 fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists --- 0.02s /tmp/collections-8AM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:26 fedora.linux_system_roles.certificate : Require installed systemd ------- 0.02s /tmp/collections-8AM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:36