ansible-playbook 2.9.27 config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.9/site-packages/ansible executable location = /usr/local/bin/ansible-playbook python version = 3.9.19 (main, May 16 2024, 11:40:09) [GCC 8.5.0 20210514 (Red Hat 8.5.0-22)] No config file found; using defaults [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-a3O/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-a3O/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Friday 09 August 2024 04:35:56 -0400 (0:00:00.022) 0:00:00.022 ********* included: /tmp/collections-a3O/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/collections-a3O/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Friday 09 August 2024 04:35:56 -0400 (0:00:00.033) 0:00:00.056 ********* ok: [managed_node1] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/collections-a3O/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Friday 09 August 2024 04:35:57 -0400 (0:00:00.783) 0:00:00.840 ********* skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed_node1] => (item=CentOS_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs", "stratisd", "stratis-cli", "{{ 'libblockdev-s390' if ansible_architecture == 's390x' else 'libblockdev' }}" ] }, "ansible_included_var_files": [ "/tmp/collections-a3O/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [managed_node1] => (item=CentOS_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs", "stratisd", "stratis-cli", "{{ 'libblockdev-s390' if ansible_architecture == 's390x' else 'libblockdev' }}" ] }, "ansible_included_var_files": [ "/tmp/collections-a3O/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [fedora.linux_system_roles.storage : Check if system is ostree] *********** task path: /tmp/collections-a3O/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:25 Friday 09 August 2024 04:35:57 -0400 (0:00:00.063) 0:00:00.904 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.storage : Set flag to indicate system is ostree] *** task path: /tmp/collections-a3O/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:30 Friday 09 August 2024 04:35:57 -0400 (0:00:00.474) 0:00:01.378 ********* ok: [managed_node1] => { "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-a3O/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Friday 09 August 2024 04:35:57 -0400 (0:00:00.039) 0:00:01.418 ********* ok: [managed_node1] => { "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-a3O/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Friday 09 August 2024 04:35:57 -0400 (0:00:00.012) 0:00:01.430 ********* ok: [managed_node1] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Include the appropriate provider tasks] *** task path: /tmp/collections-a3O/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Friday 09 August 2024 04:35:57 -0400 (0:00:00.013) 0:00:01.444 ********* included: /tmp/collections-a3O/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for managed_node1 TASK [fedora.linux_system_roles.storage : Make sure blivet is available] ******* task path: /tmp/collections-a3O/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Friday 09 August 2024 04:35:57 -0400 (0:00:00.058) 0:00:01.502 ********* fatal: [managed_node1]: FAILED! => {} MSG: The task includes an option with an undefined variable. The error was: ['python3-blivet', 'libblockdev-crypto', 'libblockdev-dm', 'libblockdev-lvm', 'libblockdev-mdraid', 'libblockdev-swap', 'vdo', 'kmod-kvdo', 'xfsprogs', 'stratisd', 'stratis-cli', "{{ 'libblockdev-s390' if ansible_architecture == 's390x' else 'libblockdev' }}"]: 'ansible_architecture' is undefined The error appears to be in '/tmp/collections-a3O/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_node1 : ok=8 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0 Friday 09 August 2024 04:35:57 -0400 (0:00:00.037) 0:00:01.539 ********* =============================================================================== fedora.linux_system_roles.storage : Ensure ansible_facts used by role --- 0.78s /tmp/collections-a3O/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 fedora.linux_system_roles.storage : Check if system is ostree ----------- 0.47s /tmp/collections-a3O/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:25 fedora.linux_system_roles.storage : Set platform/version specific variables --- 0.06s /tmp/collections-a3O/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-a3O/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-a3O/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-a3O/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 fedora.linux_system_roles.storage : Set platform/version specific variables --- 0.03s /tmp/collections-a3O/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 fedora.linux_system_roles.storage : Define an empty list of volumes to be used in testing --- 0.01s /tmp/collections-a3O/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-a3O/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5