ansible-playbook [core 2.17.12] 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-6oV executable location = /usr/local/bin/ansible-playbook python version = 3.12.10 (main, May 9 2025, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-5)] (/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_wrapper.yml ******************************************** 3 plays in /tmp/collections-6oV/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_wrapper.yml PLAY [Create static inventory from hostvars] *********************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-6oV/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_wrapper.yml:2 Saturday 24 May 2025 03:16:22 -0400 (0:00:00.018) 0:00:00.018 ********** [WARNING]: Platform linux on host managed-node2 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-node2] TASK [Create temporary file] *************************************************** task path: /tmp/collections-6oV/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_wrapper.yml:7 Saturday 24 May 2025 03:16:24 -0400 (0:00:02.469) 0:00:02.487 ********** changed: [managed-node2 -> localhost] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ansible.15dq64k7.inventory.yaml", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [Create static inventory from hostvars] *********************************** task path: /tmp/collections-6oV/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_wrapper.yml:14 Saturday 24 May 2025 03:16:25 -0400 (0:00:00.304) 0:00:02.792 ********** changed: [managed-node2 -> localhost] => { "changed": true, "checksum": "1537d4825946906b9c23ba89c65e9702c2b2d899", "dest": "/tmp/ansible.15dq64k7.inventory.yaml", "gid": 0, "group": "root", "md5sum": "5fa7adecc01b94ecff9345806b886ccb", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 490, "src": "/root/.ansible/tmp/ansible-tmp-1748070985.133299-7348-81793181441663/.source.yaml", "state": "file", "uid": 0 } PLAY [Ensure that the rule runs with default parameters] *********************** TASK [Run the role. If reboot is not required - the play succeeds.] ************ task path: /tmp/collections-6oV/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default.yml:10 Saturday 24 May 2025 03:16:25 -0400 (0:00:00.629) 0:00:03.421 ********** included: fedora.linux_system_roles.kdump for managed-node2 TASK [fedora.linux_system_roles.kdump : Ensure ansible_facts used by role] ***** task path: /tmp/collections-6oV/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:2 Saturday 24 May 2025 03:16:25 -0400 (0:00:00.044) 0:00:03.465 ********** included: /tmp/collections-6oV/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.kdump : Ensure ansible_facts used by role] ***** task path: /tmp/collections-6oV/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:2 Saturday 24 May 2025 03:16:25 -0400 (0:00:00.019) 0:00:03.484 ********** skipping: [managed-node2] => { "changed": false, "false_condition": "__kdump_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Check if system is ostree] ************* task path: /tmp/collections-6oV/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:10 Saturday 24 May 2025 03:16:25 -0400 (0:00:00.033) 0:00:03.518 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.kdump : Set flag to indicate system is ostree] *** task path: /tmp/collections-6oV/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:15 Saturday 24 May 2025 03:16:26 -0400 (0:00:00.330) 0:00:03.849 ********** ok: [managed-node2] => { "ansible_facts": { "__kdump_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.kdump : Set platform/version specific variables] *** task path: /tmp/collections-6oV/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:19 Saturday 24 May 2025 03:16:26 -0400 (0:00:00.022) 0:00:03.871 ********** skipping: [managed-node2] => (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-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.kdump : Install required packages] ************* task path: /tmp/collections-6oV/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:5 Saturday 24 May 2025 03:16:26 -0400 (0:00:00.030) 0:00:03.902 ********** fatal: [managed-node2]: FAILED! => { "changed": false, "rc": 1, "results": [] } MSG: Failed to download metadata for repo 'highavailability': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried TASK [If reboot is required - assert the expected fail message] **************** task path: /tmp/collections-6oV/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default.yml:14 Saturday 24 May 2025 03:16:30 -0400 (0:00:04.388) 0:00:08.290 ********** fatal: [managed-node2]: FAILED! => { "assertion": "'Reboot is required to apply changes.' in ansible_failed_result.msg", "changed": false, "evaluated_to": false } MSG: Assertion failed PLAY RECAP ********************************************************************* managed-node2 : ok=7 changed=2 unreachable=0 failed=1 skipped=2 rescued=1 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [ { "ansible_version": "2.17.12", "end_time": "2025-05-24T07:16:30.611303+00:00Z", "host": "managed-node2", "message": "Failed to download metadata for repo 'highavailability': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried", "rc": 1, "start_time": "2025-05-24T07:16:26.227764+00:00Z", "task_name": "Install required packages", "task_path": "/tmp/collections-6oV/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:5" }, { "ansible_version": "2.17.12", "end_time": "2025-05-24T07:16:30.629172+00:00Z", "host": "managed-node2", "message": "Assertion failed", "start_time": "2025-05-24T07:16:30.615694+00:00Z", "task_name": "If reboot is required - assert the expected fail message", "task_path": "/tmp/collections-6oV/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default.yml:14" } ] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Saturday 24 May 2025 03:16:30 -0400 (0:00:00.014) 0:00:08.305 ********** =============================================================================== fedora.linux_system_roles.kdump : Install required packages ------------- 4.39s /tmp/collections-6oV/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:5 Gathering Facts --------------------------------------------------------- 2.47s /tmp/collections-6oV/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_wrapper.yml:2 Create static inventory from hostvars ----------------------------------- 0.63s /tmp/collections-6oV/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_wrapper.yml:14 fedora.linux_system_roles.kdump : Check if system is ostree ------------- 0.33s /tmp/collections-6oV/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:10 Create temporary file --------------------------------------------------- 0.30s /tmp/collections-6oV/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_wrapper.yml:7 Run the role. If reboot is not required - the play succeeds. ------------ 0.04s /tmp/collections-6oV/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default.yml:10 fedora.linux_system_roles.kdump : Ensure ansible_facts used by role ----- 0.03s /tmp/collections-6oV/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:2 fedora.linux_system_roles.kdump : Set platform/version specific variables --- 0.03s /tmp/collections-6oV/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:19 fedora.linux_system_roles.kdump : Set flag to indicate system is ostree --- 0.02s /tmp/collections-6oV/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:15 fedora.linux_system_roles.kdump : Ensure ansible_facts used by role ----- 0.02s /tmp/collections-6oV/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:2 If reboot is required - assert the expected fail message ---------------- 0.01s /tmp/collections-6oV/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default.yml:14