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-Aap executable location = /usr/local/bin/ansible-playbook python version = 3.12.13 (main, Jul 20 2026, 00:00:00) [GCC 14.3.1 20251022 (Red Hat 14.3.1-4)] (/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-Aap/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-Aap/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_default.yml:3 Tuesday 04 August 2026 15:26:29 -0400 (0:00:00.021) 0:00:00.021 ******** [WARNING]: Platform linux on host managed-node3 is using the discovered Python interpreter at /usr/bin/python3.12, 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-Aap/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_default.yml:6 Tuesday 04 August 2026 15:26:32 -0400 (0:00:02.467) 0:00:02.488 ******** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1785871591.9293358, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1785871434.8850002, "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": 1785871430.3276079, "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-Aap/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_default.yml:11 Tuesday 04 August 2026 15:26:32 -0400 (0:00:00.441) 0:00:02.929 ******** ok: [managed-node3] => { "ansible_facts": { "__journal_start_time": "2026-08-04 15:26:32" }, "changed": false } TASK [Run the role] ************************************************************ task path: /tmp/collections-Aap/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_default.yml:16 Tuesday 04 August 2026 15:26:32 -0400 (0:00:00.016) 0:00:02.945 ******** included: /tmp/collections-Aap/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-Aap/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/run_role_with_clear_facts.yml:9 Tuesday 04 August 2026 15:26:32 -0400 (0:00:00.058) 0:00:03.004 ******** META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-Aap/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/run_role_with_clear_facts.yml:23 Tuesday 04 August 2026 15:26:32 -0400 (0:00:00.000) 0:00:03.004 ******** 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-Aap/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/run_role_with_clear_facts.yml:33 Tuesday 04 August 2026 15:26:32 -0400 (0:00:00.015) 0:00:03.020 ******** included: fedora.linux_system_roles.certificate for managed-node3 TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /tmp/collections-Aap/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Tuesday 04 August 2026 15:26:32 -0400 (0:00:00.062) 0:00:03.082 ******** included: /tmp/collections-Aap/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-Aap/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Tuesday 04 August 2026 15:26:32 -0400 (0:00:00.017) 0:00:03.099 ******** ok: [managed-node3] TASK [fedora.linux_system_roles.certificate : Record role begin fingerprint] *** task path: /tmp/collections-Aap/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:7 Tuesday 04 August 2026 15:26:33 -0400 (0:00:00.507) 0:00:03.607 ******** ok: [managed-node3] => { "changed": false } TASK [fedora.linux_system_roles.certificate : Check if system is ostree] ******* task path: /tmp/collections-Aap/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:16 Tuesday 04 August 2026 15:26:33 -0400 (0:00:00.388) 0:00:03.995 ******** 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-Aap/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:21 Tuesday 04 August 2026 15:26:34 -0400 (0:00:00.317) 0:00:04.312 ******** ok: [managed-node3] => { "ansible_facts": { "__certificate_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.certificate : Run systemctl] ******************* task path: /tmp/collections-Aap/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:28 Tuesday 04 August 2026 15:26:34 -0400 (0:00:00.019) 0:00:04.331 ******** ok: [managed-node3] => { "changed": false, "cmd": [ "systemctl", "is-system-running" ], "delta": "0:00:00.007876", "end": "2026-08-04 15:26:34.492249", "failed_when_result": false, "rc": 0, "start": "2026-08-04 15:26:34.484373" } STDOUT: running TASK [fedora.linux_system_roles.certificate : Require installed systemd] ******* task path: /tmp/collections-Aap/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:36 Tuesday 04 August 2026 15:26:34 -0400 (0:00:00.408) 0:00:04.740 ******** 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-Aap/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:41 Tuesday 04 August 2026 15:26:34 -0400 (0:00:00.016) 0:00:04.757 ******** 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-Aap/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:46 Tuesday 04 August 2026 15:26:34 -0400 (0:00:00.018) 0:00:04.775 ******** 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_10.yml) => { "ansible_facts": { "__certificate_certmonger_packages": [ "certmonger", "python3-packaging" ] }, "ansible_included_var_files": [ "/tmp/collections-Aap/ansible_collections/fedora/linux_system_roles/roles/certificate/vars/CentOS_10.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_10.yml" } ok: [managed-node3] => (item=CentOS_10.yml) => { "ansible_facts": { "__certificate_certmonger_packages": [ "certmonger", "python3-packaging" ] }, "ansible_included_var_files": [ "/tmp/collections-Aap/ansible_collections/fedora/linux_system_roles/roles/certificate/vars/CentOS_10.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_10.yml" } TASK [fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed] *** task path: /tmp/collections-Aap/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:10 Tuesday 04 August 2026 15:26:34 -0400 (0:00:00.034) 0:00:04.810 ******** 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-Aap/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:16 Tuesday 04 August 2026 15:26:34 -0400 (0:00:00.011) 0:00:04.821 ******** 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-Aap/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:26 Tuesday 04 August 2026 15:26:34 -0400 (0:00:00.017) 0:00:04.838 ******** 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-Aap/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:50 Tuesday 04 August 2026 15:26:34 -0400 (0:00:00.017) 0:00:04.856 ******** 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-Aap/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:77 Tuesday 04 August 2026 15:26:34 -0400 (0:00:00.017) 0:00:04.873 ******** 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-Aap/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:87 Tuesday 04 August 2026 15:26:34 -0400 (0:00:00.017) 0:00:04.891 ******** 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-Aap/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:91 Tuesday 04 August 2026 15:26:34 -0400 (0:00:00.010) 0:00:04.902 ******** 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-Aap/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:143 Tuesday 04 August 2026 15:26:34 -0400 (0:00:00.008) 0:00:04.911 ******** 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-Aap/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:148 Tuesday 04 August 2026 15:26:34 -0400 (0:00:00.010) 0:00:04.922 ******** 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-Aap/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:156 Tuesday 04 August 2026 15:26:34 -0400 (0:00:00.010) 0:00:04.932 ******** 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-Aap/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Tuesday 04 August 2026 15:26:34 -0400 (0:00:00.011) 0:00:04.944 ******** 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-Aap/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:174 Tuesday 04 August 2026 15:26:34 -0400 (0:00:00.011) 0:00:04.955 ******** 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-Aap/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:179 Tuesday 04 August 2026 15:26:34 -0400 (0:00:00.012) 0:00:04.967 ******** 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-Aap/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:190 Tuesday 04 August 2026 15:26:34 -0400 (0:00:00.016) 0:00:04.984 ******** ok: [managed-node3] => { "changed": false } TASK [Check system journal contains role fingerprints] ************************* task path: /tmp/collections-Aap/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_default.yml:20 Tuesday 04 August 2026 15:26:35 -0400 (0:00:00.314) 0:00:05.298 ******** ok: [managed-node3] => { "changed": false, "cmd": "set -eo pipefail; journalctl --since \"2026-08-04 15:26:32\" --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:26:32\" --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.013772", "end": "2026-08-04 15:26:35.380968", "rc": 0, "start": "2026-08-04 15:26:35.367196" } STDOUT: Aug 04 15:26:33 managed-node3 python3.12[9732]: ansible-fedora.linux_system_roles.sr_fingerprint begin system_role:certificate ansible_version=2.17.14 CentOS-10 2026-08-04T15:26:33-04:00 Aug 04 15:26:35 managed-node3 python3.12[10180]: ansible-fedora.linux_system_roles.sr_fingerprint success system_role:certificate ansible_version=2.17.14 CentOS-10 2026-08-04T15:26:35-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:26:35 -0400 (0:00:00.337) 0:00:05.636 ******** =============================================================================== Gathering Facts --------------------------------------------------------- 2.47s /tmp/collections-Aap/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_default.yml:3 fedora.linux_system_roles.certificate : Ensure ansible_facts used by role --- 0.51s /tmp/collections-Aap/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 See if /dev/log exists for the fingerprint check ------------------------ 0.44s /tmp/collections-Aap/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_default.yml:6 fedora.linux_system_roles.certificate : Run systemctl ------------------- 0.41s /tmp/collections-Aap/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:28 fedora.linux_system_roles.certificate : Record role begin fingerprint --- 0.39s /tmp/collections-Aap/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:7 Check system journal contains role fingerprints ------------------------- 0.34s /tmp/collections-Aap/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_default.yml:20 fedora.linux_system_roles.certificate : Check if system is ostree ------- 0.32s /tmp/collections-Aap/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:16 fedora.linux_system_roles.certificate : Record role success fingerprint --- 0.31s /tmp/collections-Aap/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:190 Run the role normally --------------------------------------------------- 0.06s /tmp/collections-Aap/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/run_role_with_clear_facts.yml:33 Run the role ------------------------------------------------------------ 0.06s /tmp/collections-Aap/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_default.yml:16 fedora.linux_system_roles.certificate : Set platform/version specific variables --- 0.03s /tmp/collections-Aap/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:46 fedora.linux_system_roles.certificate : Set flag to indicate system is ostree --- 0.02s /tmp/collections-Aap/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-Aap/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-Aap/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-Aap/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:77 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 0.02s /tmp/collections-Aap/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-Aap/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:26 fedora.linux_system_roles.certificate : Set version specific variables --- 0.02s /tmp/collections-Aap/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 fedora.linux_system_roles.certificate : Require installed systemd ------- 0.02s /tmp/collections-Aap/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:36 fedora.linux_system_roles.certificate : Remove files -------------------- 0.02s /tmp/collections-Aap/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:179