ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Nov 14 2023, 16:14:06) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] Using /etc/ansible/ansible.cfg as config file [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_default.yml **************************************************** 1 plays in /tmp/collections-diz/ansible_collections/fedora/linux_system_roles/tests/gfs2/tests_default.yml PLAY [Basic usability test] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-diz/ansible_collections/fedora/linux_system_roles/tests/gfs2/tests_default.yml:3 Friday 20 September 2024 20:36:54 -0400 (0:00:00.023) 0:00:00.023 ****** ok: [managed_node2] META: ran handlers TASK [Run the role] ************************************************************ task path: /tmp/collections-diz/ansible_collections/fedora/linux_system_roles/tests/gfs2/tests_default.yml:15 Friday 20 September 2024 20:36:55 -0400 (0:00:01.338) 0:00:01.362 ****** TASK [fedora.linux_system_roles.gfs2 : Set platform/version specific variables] *** task path: /tmp/collections-diz/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/main.yml:3 Friday 20 September 2024 20:36:55 -0400 (0:00:00.031) 0:00:01.393 ****** included: /tmp/collections-diz/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/set_vars.yml for managed_node2 TASK [fedora.linux_system_roles.gfs2 : Ensure ansible_facts used by role] ****** task path: /tmp/collections-diz/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/set_vars.yml:2 Friday 20 September 2024 20:36:55 -0400 (0:00:00.091) 0:00:01.485 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.gfs2 : Check if system is ostree] ************** task path: /tmp/collections-diz/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/set_vars.yml:10 Friday 20 September 2024 20:36:56 -0400 (0:00:00.082) 0:00:01.568 ****** ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.gfs2 : Set flag to indicate system is ostree] *** task path: /tmp/collections-diz/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/set_vars.yml:15 Friday 20 September 2024 20:36:56 -0400 (0:00:00.365) 0:00:01.933 ****** ok: [managed_node2] => { "ansible_facts": { "__gfs2_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.gfs2 : Set platform/version specific variables] *** task path: /tmp/collections-diz/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/set_vars.yml:19 Friday 20 September 2024 20:36:56 -0400 (0:00:00.044) 0:00:01.978 ****** skipping: [managed_node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node2] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node2] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.gfs2 : Check if role is supported on current architecture] *** task path: /tmp/collections-diz/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/main.yml:6 Friday 20 September 2024 20:36:56 -0400 (0:00:00.064) 0:00:02.042 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.gfs2 : Install required packages] ************** task path: /tmp/collections-diz/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/main.yml:13 Friday 20 September 2024 20:36:56 -0400 (0:00:00.040) 0:00:02.082 ****** included: /tmp/collections-diz/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/install-packages.yml for managed_node2 TASK [fedora.linux_system_roles.gfs2 : Find environment-specific tasks to enable repositories] *** task path: /tmp/collections-diz/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/install-packages.yml:3 Friday 20 September 2024 20:36:56 -0400 (0:00:00.030) 0:00:02.113 ****** ok: [managed_node2] => (item=RedHat.yml) => { "ansible_facts": { "__gfs2_enable_repo_tasks_file": "/tmp/collections-diz/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/enable-repositories/RedHat.yml" }, "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [managed_node2] => (item=CentOS.yml) => { "ansible_facts": { "__gfs2_enable_repo_tasks_file": "/tmp/collections-diz/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/enable-repositories/CentOS.yml" }, "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml" } skipping: [managed_node2] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node2] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.gfs2 : Run environment-specific tasks to enable repositories] *** task path: /tmp/collections-diz/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/install-packages.yml:23 Friday 20 September 2024 20:36:56 -0400 (0:00:00.089) 0:00:02.202 ****** included: /tmp/collections-diz/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/enable-repositories/CentOS.yml for managed_node2 TASK [fedora.linux_system_roles.gfs2 : List active CentOS repositories] ******** task path: /tmp/collections-diz/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/enable-repositories/CentOS.yml:3 Friday 20 September 2024 20:36:56 -0400 (0:00:00.087) 0:00:02.290 ****** [WARNING]: Consider using the dnf module rather than running 'dnf'. If you need to use command because dnf is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "dnf repolist", "rc": 2 } MSG: [Errno 2] No such file or directory TASK [Check role error on unsupported arch] ************************************ task path: /tmp/collections-diz/ansible_collections/fedora/linux_system_roles/tests/gfs2/tests_default.yml:19 Friday 20 September 2024 20:36:57 -0400 (0:00:00.413) 0:00:02.703 ****** fatal: [managed_node2]: FAILED! => { "assertion": "__msg in ansible_failed_result.msg", "changed": false, "evaluated_to": false } MSG: Assertion failed PLAY RECAP ********************************************************************* managed_node2 : ok=7 changed=0 unreachable=0 failed=1 skipped=3 rescued=1 ignored=0 Friday 20 September 2024 20:36:57 -0400 (0:00:00.036) 0:00:02.740 ****** =============================================================================== Gathering Facts --------------------------------------------------------- 1.34s /tmp/collections-diz/ansible_collections/fedora/linux_system_roles/tests/gfs2/tests_default.yml:3 fedora.linux_system_roles.gfs2 : List active CentOS repositories -------- 0.41s /tmp/collections-diz/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/enable-repositories/CentOS.yml:3 fedora.linux_system_roles.gfs2 : Check if system is ostree -------------- 0.37s /tmp/collections-diz/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/set_vars.yml:10 fedora.linux_system_roles.gfs2 : Set platform/version specific variables --- 0.09s /tmp/collections-diz/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/main.yml:3 fedora.linux_system_roles.gfs2 : Find environment-specific tasks to enable repositories --- 0.09s /tmp/collections-diz/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/install-packages.yml:3 fedora.linux_system_roles.gfs2 : Run environment-specific tasks to enable repositories --- 0.09s /tmp/collections-diz/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/install-packages.yml:23 fedora.linux_system_roles.gfs2 : Ensure ansible_facts used by role ------ 0.08s /tmp/collections-diz/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/set_vars.yml:2 fedora.linux_system_roles.gfs2 : Set platform/version specific variables --- 0.06s /tmp/collections-diz/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/set_vars.yml:19 fedora.linux_system_roles.gfs2 : Set flag to indicate system is ostree --- 0.04s /tmp/collections-diz/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/set_vars.yml:15 fedora.linux_system_roles.gfs2 : Check if role is supported on current architecture --- 0.04s /tmp/collections-diz/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/main.yml:6 Check role error on unsupported arch ------------------------------------ 0.04s /tmp/collections-diz/ansible_collections/fedora/linux_system_roles/tests/gfs2/tests_default.yml:19 Run the role ------------------------------------------------------------ 0.03s /tmp/collections-diz/ansible_collections/fedora/linux_system_roles/tests/gfs2/tests_default.yml:15 fedora.linux_system_roles.gfs2 : Install required packages -------------- 0.03s /tmp/collections-diz/ansible_collections/fedora/linux_system_roles/roles/gfs2/tasks/main.yml:13