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-QVl/ansible_collections/fedora/linux_system_roles/tests/storage/tests_default.yml PLAY [Ensure that the role runs with default parameters] *********************** META: ran handlers TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/collections-QVl/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Monday 12 August 2024 06:41:51 -0400 (0:00:00.024) 0:00:00.024 ********* included: /tmp/collections-QVl/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for managed_node3 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/collections-QVl/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Monday 12 August 2024 06:41:51 -0400 (0:00:00.078) 0:00:00.102 ********* ok: [managed_node3] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/collections-QVl/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Monday 12 August 2024 06:41:52 -0400 (0:00:00.683) 0:00:00.786 ********* skipping: [managed_node3] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node3] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed_node3] => (item=CentOS_7.yml) => { "ansible_facts": { "__storage_blivet_diskvolume_mkfs_option_map": { "ext2": "-F", "ext3": "-F", "ext4": "-F" }, "blivet_package_list": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "{{ 'libblockdev-s390' if ansible_architecture == 's390x' else 'libblockdev' }}" ] }, "ansible_included_var_files": [ "/tmp/collections-QVl/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed_node3] => (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.storage : Check if system is ostree] *********** task path: /tmp/collections-QVl/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:25 Monday 12 August 2024 06:41:52 -0400 (0:00:00.064) 0:00:00.851 ********* ok: [managed_node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.storage : Set flag to indicate system is ostree] *** task path: /tmp/collections-QVl/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:30 Monday 12 August 2024 06:41:52 -0400 (0:00:00.417) 0:00:01.268 ********* ok: [managed_node3] => { "ansible_facts": { "__storage_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.storage : Define an empty list of pools to be used in testing] *** task path: /tmp/collections-QVl/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Monday 12 August 2024 06:41:52 -0400 (0:00:00.039) 0:00:01.308 ********* ok: [managed_node3] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Define an empty list of volumes to be used in testing] *** task path: /tmp/collections-QVl/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Monday 12 August 2024 06:41:52 -0400 (0:00:00.014) 0:00:01.322 ********* ok: [managed_node3] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Include the appropriate provider tasks] *** task path: /tmp/collections-QVl/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Monday 12 August 2024 06:41:52 -0400 (0:00:00.014) 0:00:01.336 ********* included: /tmp/collections-QVl/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for managed_node3 TASK [fedora.linux_system_roles.storage : Make sure blivet is available] ******* task path: /tmp/collections-QVl/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Monday 12 August 2024 06:41:52 -0400 (0:00:00.063) 0:00:01.400 ********* fatal: [managed_node3]: FAILED! => {} MSG: The task includes an option with an undefined variable. The error was: [u'python-enum34', u'python-blivet3', u'libblockdev-crypto', u'libblockdev-dm', u'libblockdev-lvm', u'libblockdev-mdraid', u'libblockdev-swap', u"{{ 'libblockdev-s390' if ansible_architecture == 's390x' else 'libblockdev' }}"]: 'ansible_architecture' is undefined The error appears to be in '/tmp/collections-QVl/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml': line 2, column 3, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: --- - name: Make sure blivet is available ^ here PLAY RECAP ********************************************************************* managed_node3 : ok=8 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0 Monday 12 August 2024 06:41:52 -0400 (0:00:00.038) 0:00:01.439 ********* =============================================================================== fedora.linux_system_roles.storage : Ensure ansible_facts used by role --- 0.68s /tmp/collections-QVl/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 fedora.linux_system_roles.storage : Check if system is ostree ----------- 0.42s /tmp/collections-QVl/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:25 fedora.linux_system_roles.storage : Set platform/version specific variables --- 0.08s /tmp/collections-QVl/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 fedora.linux_system_roles.storage : Set platform/version specific variables --- 0.06s /tmp/collections-QVl/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 fedora.linux_system_roles.storage : Include the appropriate provider tasks --- 0.06s /tmp/collections-QVl/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 fedora.linux_system_roles.storage : Set flag to indicate system is ostree --- 0.04s /tmp/collections-QVl/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:30 fedora.linux_system_roles.storage : Make sure blivet is available ------- 0.04s /tmp/collections-QVl/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 fedora.linux_system_roles.storage : Define an empty list of volumes to be used in testing --- 0.01s /tmp/collections-QVl/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 fedora.linux_system_roles.storage : Define an empty list of pools to be used in testing --- 0.01s /tmp/collections-QVl/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5