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-YUE 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-YUE/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-YUE/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_default.yml:3 Thursday 06 August 2026 08:17:38 -0400 (0:00:00.017) 0:00:00.017 ******* [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-YUE/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_default.yml:6 Thursday 06 August 2026 08:17:40 -0400 (0:00:02.303) 0:00:02.320 ******* ok: [managed-node3] => { "changed": false, "stat": { "atime": 1786018658.6431105, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1786018482.2879999, "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": 1786018476.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-YUE/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_default.yml:11 Thursday 06 August 2026 08:17:41 -0400 (0:00:00.509) 0:00:02.829 ******* ok: [managed-node3] => { "ansible_facts": { "__journal_start_time": "2026-08-06 08:17:40" }, "changed": false } TASK [Run the role] ************************************************************ task path: /tmp/collections-YUE/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_default.yml:16 Thursday 06 August 2026 08:17:41 -0400 (0:00:00.015) 0:00:02.845 ******* included: /tmp/collections-YUE/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-YUE/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/run_role_with_clear_facts.yml:9 Thursday 06 August 2026 08:17:41 -0400 (0:00:00.034) 0:00:02.879 ******* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-YUE/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/run_role_with_clear_facts.yml:23 Thursday 06 August 2026 08:17:41 -0400 (0:00:00.001) 0:00:02.880 ******* 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-YUE/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/run_role_with_clear_facts.yml:33 Thursday 06 August 2026 08:17:41 -0400 (0:00:00.021) 0:00:02.902 ******* included: fedora.linux_system_roles.certificate for managed-node3 TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /tmp/collections-YUE/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Thursday 06 August 2026 08:17:41 -0400 (0:00:00.103) 0:00:03.005 ******* included: /tmp/collections-YUE/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-YUE/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Thursday 06 August 2026 08:17:41 -0400 (0:00:00.029) 0:00:03.034 ******* ok: [managed-node3] TASK [fedora.linux_system_roles.certificate : Record role begin fingerprint] *** task path: /tmp/collections-YUE/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:7 Thursday 06 August 2026 08:17:42 -0400 (0:00:00.570) 0:00:03.605 ******* ok: [managed-node3] => { "changed": false } TASK [fedora.linux_system_roles.certificate : Check if system is ostree] ******* task path: /tmp/collections-YUE/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:16 Thursday 06 August 2026 08:17:42 -0400 (0:00:00.428) 0:00:04.033 ******* 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-YUE/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:21 Thursday 06 August 2026 08:17:42 -0400 (0:00:00.342) 0:00:04.376 ******* ok: [managed-node3] => { "ansible_facts": { "__certificate_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.certificate : Run systemctl] ******************* task path: /tmp/collections-YUE/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:28 Thursday 06 August 2026 08:17:42 -0400 (0:00:00.018) 0:00:04.395 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "systemctl", "is-system-running" ], "delta": "0:00:00.009298", "end": "2026-08-06 08:17:43.291820", "failed_when_result": false, "rc": 0, "start": "2026-08-06 08:17:43.282522" } STDOUT: running TASK [fedora.linux_system_roles.certificate : Require installed systemd] ******* task path: /tmp/collections-YUE/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:36 Thursday 06 August 2026 08:17:43 -0400 (0:00:00.432) 0:00:04.828 ******* 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-YUE/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:41 Thursday 06 August 2026 08:17:43 -0400 (0:00:00.016) 0:00:04.844 ******* 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-YUE/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:46 Thursday 06 August 2026 08:17:43 -0400 (0:00:00.018) 0:00:04.862 ******* 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-YUE/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-YUE/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-YUE/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:10 Thursday 06 August 2026 08:17:43 -0400 (0:00:00.033) 0:00:04.896 ******* 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-YUE/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:16 Thursday 06 August 2026 08:17:43 -0400 (0:00:00.011) 0:00:04.907 ******* 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-YUE/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:26 Thursday 06 August 2026 08:17:43 -0400 (0:00:00.017) 0:00:04.924 ******* 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-YUE/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:50 Thursday 06 August 2026 08:17:43 -0400 (0:00:00.016) 0:00:04.941 ******* 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-YUE/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:77 Thursday 06 August 2026 08:17:43 -0400 (0:00:00.017) 0:00:04.959 ******* 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-YUE/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:87 Thursday 06 August 2026 08:17:43 -0400 (0:00:00.017) 0:00:04.977 ******* 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-YUE/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:91 Thursday 06 August 2026 08:17:43 -0400 (0:00:00.010) 0:00:04.987 ******* 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-YUE/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:143 Thursday 06 August 2026 08:17:43 -0400 (0:00:00.008) 0:00:04.996 ******* 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-YUE/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:148 Thursday 06 August 2026 08:17:43 -0400 (0:00:00.010) 0:00:05.006 ******* 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-YUE/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:156 Thursday 06 August 2026 08:17:43 -0400 (0:00:00.009) 0:00:05.016 ******* 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-YUE/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Thursday 06 August 2026 08:17:43 -0400 (0:00:00.011) 0:00:05.027 ******* 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-YUE/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:174 Thursday 06 August 2026 08:17:43 -0400 (0:00:00.010) 0:00:05.038 ******* 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-YUE/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:179 Thursday 06 August 2026 08:17:43 -0400 (0:00:00.012) 0:00:05.051 ******* 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-YUE/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:190 Thursday 06 August 2026 08:17:43 -0400 (0:00:00.016) 0:00:05.067 ******* ok: [managed-node3] => { "changed": false } TASK [Check system journal contains role fingerprints] ************************* task path: /tmp/collections-YUE/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_default.yml:20 Thursday 06 August 2026 08:17:43 -0400 (0:00:00.340) 0:00:05.407 ******* ok: [managed-node3] => { "changed": false, "cmd": "set -eo pipefail; journalctl --since \"2026-08-06 08:17:40\" --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-06 08:17:40\" --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.017170", "end": "2026-08-06 08:17:44.230534", "rc": 0, "start": "2026-08-06 08:17:44.213364" } STDOUT: Aug 06 08:17:42 managed-node3 python3.9[9517]: ansible-fedora.linux_system_roles.sr_fingerprint begin system_role:certificate ansible_version=2.17.14 CentOS-9 2026-08-06T08:17:42-04:00 Aug 06 08:17:43 managed-node3 python3.9[9965]: ansible-fedora.linux_system_roles.sr_fingerprint success system_role:certificate ansible_version=2.17.14 CentOS-9 2026-08-06T08:17:43-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 ******************************************************************** Thursday 06 August 2026 08:17:44 -0400 (0:00:00.359) 0:00:05.766 ******* =============================================================================== Gathering Facts --------------------------------------------------------- 2.30s /tmp/collections-YUE/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_default.yml:3 fedora.linux_system_roles.certificate : Ensure ansible_facts used by role --- 0.57s /tmp/collections-YUE/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 See if /dev/log exists for the fingerprint check ------------------------ 0.51s /tmp/collections-YUE/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_default.yml:6 fedora.linux_system_roles.certificate : Run systemctl ------------------- 0.43s /tmp/collections-YUE/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-YUE/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:7 Check system journal contains role fingerprints ------------------------- 0.36s /tmp/collections-YUE/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_default.yml:20 fedora.linux_system_roles.certificate : Check if system is ostree ------- 0.34s /tmp/collections-YUE/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:16 fedora.linux_system_roles.certificate : Record role success fingerprint --- 0.34s /tmp/collections-YUE/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:190 Run the role normally --------------------------------------------------- 0.10s /tmp/collections-YUE/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/run_role_with_clear_facts.yml:33 Run the role ------------------------------------------------------------ 0.03s /tmp/collections-YUE/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-YUE/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-YUE/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Run the role ------------------------------------------------------------ 0.02s /tmp/collections-YUE/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/run_role_with_clear_facts.yml:23 fedora.linux_system_roles.certificate : Set flag to indicate system is ostree --- 0.02s /tmp/collections-YUE/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-YUE/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-YUE/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-YUE/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-YUE/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-YUE/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:26 fedora.linux_system_roles.certificate : Require installed systemd ------- 0.02s /tmp/collections-YUE/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:36