ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmp75rxkmc7 executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. 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/tmprqhfs1fd/tests/tests_default.yml PLAY [Ensure mandatory variables are defined] ********************************** META: ran handlers TASK [Run the role] ************************************************************ task path: /tmp/tmprqhfs1fd/tests/tests_default.yml:8 Monday 01 August 2022 16:03:55 +0000 (0:00:00.019) 0:00:00.019 ********* TASK [linux-system-roles.ha_cluster : Set platform/version specific variables] *** task path: /tmp/tmprqhfs1fd/tests/roles/linux-system-roles.ha_cluster/tasks/main.yml:3 Monday 01 August 2022 16:03:55 +0000 (0:00:00.035) 0:00:00.055 ********* included: /tmp/tmprqhfs1fd/tests/roles/linux-system-roles.ha_cluster/tasks/set_vars.yml for /cache/rhel-9.qcow2.snap TASK [linux-system-roles.ha_cluster : Ensure ansible_facts used by role] ******* task path: /tmp/tmprqhfs1fd/tests/roles/linux-system-roles.ha_cluster/tasks/set_vars.yml:2 Monday 01 August 2022 16:03:55 +0000 (0:00:00.023) 0:00:00.079 ********* ok: [/cache/rhel-9.qcow2.snap] TASK [linux-system-roles.ha_cluster : Set platform/version specific variables] *** task path: /tmp/tmprqhfs1fd/tests/roles/linux-system-roles.ha_cluster/tasks/set_vars.yml:8 Monday 01 August 2022 16:03:56 +0000 (0:00:00.830) 0:00:00.909 ********* skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.yml) => { "ansible_facts": { "__ha_cluster_repos": [ { "id": "rhel-9-for-{{ ansible_architecture }}-highavailability-rpms", "name": "High Availability" } ] }, "ansible_included_var_files": [ "/tmp/tmprqhfs1fd/tests/roles/linux-system-roles.ha_cluster/vars/RedHat_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.yml" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.0.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.0.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ha_cluster : Check and prepare role variables] ******** task path: /tmp/tmprqhfs1fd/tests/roles/linux-system-roles.ha_cluster/tasks/main.yml:6 Monday 01 August 2022 16:03:56 +0000 (0:00:00.045) 0:00:00.955 ********* included: /tmp/tmprqhfs1fd/tests/roles/linux-system-roles.ha_cluster/tasks/check-and-prepare-role-variables.yml for /cache/rhel-9.qcow2.snap TASK [linux-system-roles.ha_cluster : Fail if passwords are not specified] ***** task path: /tmp/tmprqhfs1fd/tests/roles/linux-system-roles.ha_cluster/tasks/check-and-prepare-role-variables.yml:5 Monday 01 August 2022 16:03:56 +0000 (0:00:00.024) 0:00:00.980 ********* failed: [/cache/rhel-9.qcow2.snap] (item=ha_cluster_hacluster_password) => { "ansible_loop_var": "item", "changed": false, "item": "ha_cluster_hacluster_password" } MSG: ha_cluster_hacluster_password must be specified TASK [Extract errors] ********************************************************** task path: /tmp/tmprqhfs1fd/tests/tests_default.yml:12 Monday 01 August 2022 16:03:56 +0000 (0:00:00.071) 0:00:01.051 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "error_list": [ "ha_cluster_hacluster_password must be specified" ] }, "changed": false } TASK [Check errors] ************************************************************ task path: /tmp/tmprqhfs1fd/tests/tests_default.yml:19 Monday 01 August 2022 16:03:56 +0000 (0:00:00.061) 0:00:01.113 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-9.qcow2.snap : ok=6 changed=0 unreachable=0 failed=0 skipped=0 rescued=1 ignored=0 Monday 01 August 2022 16:03:56 +0000 (0:00:00.054) 0:00:01.168 ********* =============================================================================== linux-system-roles.ha_cluster : Ensure ansible_facts used by role ------- 0.83s /tmp/tmprqhfs1fd/tests/roles/linux-system-roles.ha_cluster/tasks/set_vars.yml:2 linux-system-roles.ha_cluster : Fail if passwords are not specified ----- 0.07s /tmp/tmprqhfs1fd/tests/roles/linux-system-roles.ha_cluster/tasks/check-and-prepare-role-variables.yml:5 Extract errors ---------------------------------------------------------- 0.06s /tmp/tmprqhfs1fd/tests/tests_default.yml:12 ----------------------------------- Check errors ------------------------------------------------------------ 0.06s /tmp/tmprqhfs1fd/tests/tests_default.yml:19 ----------------------------------- linux-system-roles.ha_cluster : Set platform/version specific variables --- 0.05s /tmp/tmprqhfs1fd/tests/roles/linux-system-roles.ha_cluster/tasks/set_vars.yml:8 Run the role ------------------------------------------------------------ 0.04s /tmp/tmprqhfs1fd/tests/tests_default.yml:8 ------------------------------------ linux-system-roles.ha_cluster : Check and prepare role variables -------- 0.02s /tmp/tmprqhfs1fd/tests/roles/linux-system-roles.ha_cluster/tasks/main.yml:6 --- linux-system-roles.ha_cluster : Set platform/version specific variables --- 0.02s /tmp/tmprqhfs1fd/tests/roles/linux-system-roles.ha_cluster/tasks/main.yml:3 --- ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmp75rxkmc7 executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. 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/tmpylpfom7v/tests/ha_cluster/tests_default.yml PLAY [Ensure mandatory variables are defined] ********************************** META: ran handlers TASK [Run the role] ************************************************************ task path: /tmp/tmpylpfom7v/tests/ha_cluster/tests_default.yml:8 Monday 01 August 2022 16:24:25 +0000 (0:00:00.018) 0:00:00.018 ********* TASK [fedora.linux_system_roles.ha_cluster : Set platform/version specific variables] *** task path: /tmp/tmp75rxkmc7/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/main.yml:3 Monday 01 August 2022 16:24:25 +0000 (0:00:00.034) 0:00:00.053 ********* included: /tmp/tmp75rxkmc7/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/set_vars.yml for /cache/rhel-9.qcow2.snap TASK [fedora.linux_system_roles.ha_cluster : Ensure ansible_facts used by role] *** task path: /tmp/tmp75rxkmc7/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/set_vars.yml:2 Monday 01 August 2022 16:24:25 +0000 (0:00:00.023) 0:00:00.076 ********* ok: [/cache/rhel-9.qcow2.snap] TASK [fedora.linux_system_roles.ha_cluster : Set platform/version specific variables] *** task path: /tmp/tmp75rxkmc7/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/set_vars.yml:7 Monday 01 August 2022 16:24:26 +0000 (0:00:00.842) 0:00:00.919 ********* skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.yml) => { "ansible_facts": { "__ha_cluster_repos": [ { "id": "rhel-9-for-{{ ansible_architecture }}-highavailability-rpms", "name": "High Availability" } ] }, "ansible_included_var_files": [ "/tmp/tmp75rxkmc7/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/vars/RedHat_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.yml" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.0.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.0.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ha_cluster : Check and prepare role variables] *** task path: /tmp/tmp75rxkmc7/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/main.yml:6 Monday 01 August 2022 16:24:26 +0000 (0:00:00.048) 0:00:00.967 ********* included: /tmp/tmp75rxkmc7/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/check-and-prepare-role-variables.yml for /cache/rhel-9.qcow2.snap TASK [fedora.linux_system_roles.ha_cluster : Fail if passwords are not specified] *** task path: /tmp/tmp75rxkmc7/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/check-and-prepare-role-variables.yml:5 Monday 01 August 2022 16:24:26 +0000 (0:00:00.027) 0:00:00.994 ********* failed: [/cache/rhel-9.qcow2.snap] (item=ha_cluster_hacluster_password) => { "ansible_loop_var": "item", "changed": false, "item": "ha_cluster_hacluster_password" } MSG: ha_cluster_hacluster_password must be specified TASK [Extract errors] ********************************************************** task path: /tmp/tmpylpfom7v/tests/ha_cluster/tests_default.yml:12 Monday 01 August 2022 16:24:26 +0000 (0:00:00.068) 0:00:01.063 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "error_list": [ "ha_cluster_hacluster_password must be specified" ] }, "changed": false } TASK [Check errors] ************************************************************ task path: /tmp/tmpylpfom7v/tests/ha_cluster/tests_default.yml:17 Monday 01 August 2022 16:24:26 +0000 (0:00:00.066) 0:00:01.129 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-9.qcow2.snap : ok=6 changed=0 unreachable=0 failed=0 skipped=0 rescued=1 ignored=0 Monday 01 August 2022 16:24:26 +0000 (0:00:00.062) 0:00:01.191 ********* =============================================================================== fedora.linux_system_roles.ha_cluster : Ensure ansible_facts used by role --- 0.84s /tmp/tmp75rxkmc7/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/set_vars.yml:2 fedora.linux_system_roles.ha_cluster : Fail if passwords are not specified --- 0.07s /tmp/tmp75rxkmc7/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/check-and-prepare-role-variables.yml:5 Extract errors ---------------------------------------------------------- 0.07s /tmp/tmpylpfom7v/tests/ha_cluster/tests_default.yml:12 ------------------------ Check errors ------------------------------------------------------------ 0.06s /tmp/tmpylpfom7v/tests/ha_cluster/tests_default.yml:17 ------------------------ fedora.linux_system_roles.ha_cluster : Set platform/version specific variables --- 0.05s /tmp/tmp75rxkmc7/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/set_vars.yml:7 Run the role ------------------------------------------------------------ 0.03s /tmp/tmpylpfom7v/tests/ha_cluster/tests_default.yml:8 ------------------------- fedora.linux_system_roles.ha_cluster : Check and prepare role variables --- 0.03s /tmp/tmp75rxkmc7/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/main.yml:6 fedora.linux_system_roles.ha_cluster : Set platform/version specific variables --- 0.02s /tmp/tmp75rxkmc7/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/main.yml:3