[DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ansible-playbook [core 2.17.2] 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/tmp.eBgzqXlgq1 executable location = /usr/local/bin/ansible-playbook python version = 3.12.4 (main, Jul 17 2024, 00:00:00) [GCC 11.4.1 20231218 (Red Hat 11.4.1-3)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks 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/tmp.eBgzqXlgq1/ansible_collections/fedora/linux_system_roles/tests/storage/tests_default.yml PLAY [Ensure that the role runs with default parameters] *********************** TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmp.eBgzqXlgq1/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Saturday 03 August 2024 19:10:31 -0400 (0:00:00.010) 0:00:00.010 ******* included: /tmp/tmp.eBgzqXlgq1/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/tmp.eBgzqXlgq1/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Saturday 03 August 2024 19:10:31 -0400 (0:00:00.016) 0:00:00.026 ******* [WARNING]: Platform linux on host managed_node1 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_node1] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmp.eBgzqXlgq1/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Saturday 03 August 2024 19:10:32 -0400 (0:00:00.783) 0:00:00.810 ******* skipping: [managed_node1] => (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_node1] => (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_node1] => (item=CentOS_9.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/tmp.eBgzqXlgq1/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } ok: [managed_node1] => (item=CentOS_9.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/tmp.eBgzqXlgq1/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } TASK [fedora.linux_system_roles.storage : Check if system is ostree] *********** task path: /tmp/tmp.eBgzqXlgq1/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:25 Saturday 03 August 2024 19:10:32 -0400 (0:00:00.070) 0:00:00.881 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.storage : Set flag to indicate system is ostree] *** task path: /tmp/tmp.eBgzqXlgq1/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:30 Saturday 03 August 2024 19:10:32 -0400 (0:00:00.419) 0:00:01.300 ******* 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/tmp.eBgzqXlgq1/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Saturday 03 August 2024 19:10:32 -0400 (0:00:00.021) 0:00:01.321 ******* 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/tmp.eBgzqXlgq1/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Saturday 03 August 2024 19:10:32 -0400 (0:00:00.012) 0:00:01.334 ******* ok: [managed_node1] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Include the appropriate provider tasks] *** task path: /tmp/tmp.eBgzqXlgq1/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Saturday 03 August 2024 19:10:32 -0400 (0:00:00.012) 0:00:01.346 ******* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmp.eBgzqXlgq1/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/tmp.eBgzqXlgq1/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Saturday 03 August 2024 19:10:32 -0400 (0:00:00.040) 0:00:01.386 ******* 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/tmp.eBgzqXlgq1/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 Saturday 03 August 2024 19:10:32 -0400 (0:00:00.018) 0:00:01.405 ******* =============================================================================== fedora.linux_system_roles.storage : Ensure ansible_facts used by role --- 0.78s /tmp/tmp.eBgzqXlgq1/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/tmp.eBgzqXlgq1/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:25 fedora.linux_system_roles.storage : Set platform/version specific variables --- 0.07s /tmp/tmp.eBgzqXlgq1/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 fedora.linux_system_roles.storage : Include the appropriate provider tasks --- 0.04s /tmp/tmp.eBgzqXlgq1/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.02s /tmp/tmp.eBgzqXlgq1/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:30 fedora.linux_system_roles.storage : Make sure blivet is available ------- 0.02s /tmp/tmp.eBgzqXlgq1/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 fedora.linux_system_roles.storage : Set platform/version specific variables --- 0.02s /tmp/tmp.eBgzqXlgq1/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/tmp.eBgzqXlgq1/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/tmp.eBgzqXlgq1/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5