[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.8bwBYfdtRP executable location = /usr/local/bin/ansible-playbook python version = 3.12.4 (main, Jun 7 2024, 00:00:00) [GCC 13.3.1 20240522 (Red Hat 13.3.1-1)] (/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_sbd_check_devices_count_play.yml ******************************* 1 plays in /tmp/tmp.8bwBYfdtRP/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_sbd_check_devices_count_play.yml PLAY [Test a check SBD devices count matches for all nodes (play)] ************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.8bwBYfdtRP/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_sbd_check_devices_count_play.yml:7 Friday 26 July 2024 13:33:17 -0400 (0:00:00.010) 0:00:00.010 *********** [WARNING]: Platform linux on host managed_node1 is using the discovered Python interpreter at /usr/bin/python3.12, 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 [Generate SBD devices variable] ******************************************* task path: /tmp/tmp.8bwBYfdtRP/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_sbd_check_devices_count_play.yml:17 Friday 26 July 2024 13:33:19 -0400 (0:00:01.336) 0:00:01.346 *********** ok: [managed_node1] => (item=managed_node1) => { "ansible_facts": { "__test_node_options": [ { "node_name": "managed_node1", "sbd_devices": [ "/tmp/dev/sdx1" ] } ] }, "ansible_loop_var": "item", "changed": false, "item": "managed_node1" } TASK [Set up test environment] ************************************************* task path: /tmp/tmp.8bwBYfdtRP/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_sbd_check_devices_count_play.yml:38 Friday 26 July 2024 13:33:19 -0400 (0:00:00.034) 0:00:01.381 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_play_hosts_all | length > 1", "skip_reason": "Conditional result was False" } TASK [Print set SBD devices] *************************************************** task path: /tmp/tmp.8bwBYfdtRP/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_sbd_check_devices_count_play.yml:43 Friday 26 July 2024 13:33:19 -0400 (0:00:00.020) 0:00:01.402 *********** skipping: [managed_node1] => { "false_condition": "ansible_play_hosts_all | length > 1" } TASK [Run the role] ************************************************************ task path: /tmp/tmp.8bwBYfdtRP/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_sbd_check_devices_count_play.yml:49 Friday 26 July 2024 13:33:19 -0400 (0:00:00.022) 0:00:01.424 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_play_hosts_all | length > 1", "skip_reason": "Conditional result was False" } TASK [Unset SBD devices variable] ********************************************** task path: /tmp/tmp.8bwBYfdtRP/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_sbd_check_devices_count_play.yml:61 Friday 26 July 2024 13:33:19 -0400 (0:00:00.020) 0:00:01.444 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_play_hosts_all | length > 1", "skip_reason": "Conditional result was False" } TASK [Message] ***************************************************************** task path: /tmp/tmp.8bwBYfdtRP/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_sbd_check_devices_count_play.yml:65 Friday 26 July 2024 13:33:19 -0400 (0:00:00.019) 0:00:01.464 *********** ok: [managed_node1] => {} MSG: This test needs two or more nodes PLAY RECAP ********************************************************************* managed_node1 : ok=3 changed=0 unreachable=0 failed=0 skipped=4 rescued=0 ignored=0 Friday 26 July 2024 13:33:19 -0400 (0:00:00.036) 0:00:01.500 *********** =============================================================================== Gathering Facts --------------------------------------------------------- 1.34s /tmp/tmp.8bwBYfdtRP/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_sbd_check_devices_count_play.yml:7 Message ----------------------------------------------------------------- 0.04s /tmp/tmp.8bwBYfdtRP/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_sbd_check_devices_count_play.yml:65 Generate SBD devices variable ------------------------------------------- 0.03s /tmp/tmp.8bwBYfdtRP/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_sbd_check_devices_count_play.yml:17 Print set SBD devices --------------------------------------------------- 0.02s /tmp/tmp.8bwBYfdtRP/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_sbd_check_devices_count_play.yml:43 Set up test environment ------------------------------------------------- 0.02s /tmp/tmp.8bwBYfdtRP/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_sbd_check_devices_count_play.yml:38 Run the role ------------------------------------------------------------ 0.02s /tmp/tmp.8bwBYfdtRP/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_sbd_check_devices_count_play.yml:49 Unset SBD devices variable ---------------------------------------------- 0.02s /tmp/tmp.8bwBYfdtRP/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_sbd_check_devices_count_play.yml:61