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/tmpw8pf28gb 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/tmp9juxtb67/tests/tests_default.yml PLAY [Ensure mandatory variables are defined] ********************************** META: ran handlers TASK [Run the role] ************************************************************ task path: /tmp/tmp9juxtb67/tests/tests_default.yml:8 Monday 01 August 2022 16:49:34 +0000 (0:00:00.019) 0:00:00.019 ********* TASK [linux-system-roles.ha_cluster : Set platform/version specific variables] *** task path: /tmp/tmp9juxtb67/tests/roles/linux-system-roles.ha_cluster/tasks/main.yml:3 Monday 01 August 2022 16:49:34 +0000 (0:00:00.035) 0:00:00.054 ********* included: /tmp/tmp9juxtb67/tests/roles/linux-system-roles.ha_cluster/tasks/set_vars.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.ha_cluster : Ensure ansible_facts used by role] ******* task path: /tmp/tmp9juxtb67/tests/roles/linux-system-roles.ha_cluster/tasks/set_vars.yml:2 Monday 01 August 2022 16:49:34 +0000 (0:00:00.022) 0:00:00.077 ********* ok: [/cache/rhel-8-y.qcow2.snap] TASK [linux-system-roles.ha_cluster : Set platform/version specific variables] *** task path: /tmp/tmp9juxtb67/tests/roles/linux-system-roles.ha_cluster/tasks/set_vars.yml:8 Monday 01 August 2022 16:49:35 +0000 (0:00:00.847) 0:00:00.925 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.yml) => { "ansible_facts": { "__ha_cluster_repos": [ { "id": "rhel-8-for-{{ ansible_architecture }}-highavailability-rpms", "name": "High Availability" } ] }, "ansible_included_var_files": [ "/tmp/tmp9juxtb67/tests/roles/linux-system-roles.ha_cluster/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.7.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ha_cluster : Check and prepare role variables] ******** task path: /tmp/tmp9juxtb67/tests/roles/linux-system-roles.ha_cluster/tasks/main.yml:6 Monday 01 August 2022 16:49:35 +0000 (0:00:00.048) 0:00:00.974 ********* included: /tmp/tmp9juxtb67/tests/roles/linux-system-roles.ha_cluster/tasks/check-and-prepare-role-variables.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.ha_cluster : Fail if passwords are not specified] ***** task path: /tmp/tmp9juxtb67/tests/roles/linux-system-roles.ha_cluster/tasks/check-and-prepare-role-variables.yml:5 Monday 01 August 2022 16:49:35 +0000 (0:00:00.025) 0:00:00.999 ********* failed: [/cache/rhel-8-y.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/tmp9juxtb67/tests/tests_default.yml:12 Monday 01 August 2022 16:49:35 +0000 (0:00:00.070) 0:00:01.070 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "error_list": [ "ha_cluster_hacluster_password must be specified" ] }, "changed": false } TASK [Check errors] ************************************************************ task path: /tmp/tmp9juxtb67/tests/tests_default.yml:19 Monday 01 August 2022 16:49:35 +0000 (0:00:00.063) 0:00:01.133 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8-y.qcow2.snap : ok=6 changed=0 unreachable=0 failed=0 skipped=0 rescued=1 ignored=0 Monday 01 August 2022 16:49:35 +0000 (0:00:00.060) 0:00:01.194 ********* =============================================================================== linux-system-roles.ha_cluster : Ensure ansible_facts used by role ------- 0.85s /tmp/tmp9juxtb67/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/tmp9juxtb67/tests/roles/linux-system-roles.ha_cluster/tasks/check-and-prepare-role-variables.yml:5 Extract errors ---------------------------------------------------------- 0.06s /tmp/tmp9juxtb67/tests/tests_default.yml:12 ----------------------------------- Check errors ------------------------------------------------------------ 0.06s /tmp/tmp9juxtb67/tests/tests_default.yml:19 ----------------------------------- linux-system-roles.ha_cluster : Set platform/version specific variables --- 0.05s /tmp/tmp9juxtb67/tests/roles/linux-system-roles.ha_cluster/tasks/set_vars.yml:8 Run the role ------------------------------------------------------------ 0.04s /tmp/tmp9juxtb67/tests/tests_default.yml:8 ------------------------------------ linux-system-roles.ha_cluster : Check and prepare role variables -------- 0.03s /tmp/tmp9juxtb67/tests/roles/linux-system-roles.ha_cluster/tasks/main.yml:6 --- linux-system-roles.ha_cluster : Set platform/version specific variables --- 0.02s /tmp/tmp9juxtb67/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/tmpw8pf28gb 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/tmpav7jvhfc/tests/ha_cluster/tests_default.yml PLAY [Ensure mandatory variables are defined] ********************************** META: ran handlers TASK [Run the role] ************************************************************ task path: /tmp/tmpav7jvhfc/tests/ha_cluster/tests_default.yml:8 Monday 01 August 2022 17:10:27 +0000 (0:00:00.018) 0:00:00.018 ********* TASK [fedora.linux_system_roles.ha_cluster : Set platform/version specific variables] *** task path: /tmp/tmpw8pf28gb/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/main.yml:3 Monday 01 August 2022 17:10:27 +0000 (0:00:00.036) 0:00:00.054 ********* included: /tmp/tmpw8pf28gb/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/set_vars.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.ha_cluster : Ensure ansible_facts used by role] *** task path: /tmp/tmpw8pf28gb/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/set_vars.yml:2 Monday 01 August 2022 17:10:27 +0000 (0:00:00.025) 0:00:00.080 ********* ok: [/cache/rhel-8-y.qcow2.snap] TASK [fedora.linux_system_roles.ha_cluster : Set platform/version specific variables] *** task path: /tmp/tmpw8pf28gb/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/set_vars.yml:7 Monday 01 August 2022 17:10:28 +0000 (0:00:00.850) 0:00:00.930 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.yml) => { "ansible_facts": { "__ha_cluster_repos": [ { "id": "rhel-8-for-{{ ansible_architecture }}-highavailability-rpms", "name": "High Availability" } ] }, "ansible_included_var_files": [ "/tmp/tmpw8pf28gb/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.7.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ha_cluster : Check and prepare role variables] *** task path: /tmp/tmpw8pf28gb/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/main.yml:6 Monday 01 August 2022 17:10:28 +0000 (0:00:00.048) 0:00:00.979 ********* included: /tmp/tmpw8pf28gb/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/check-and-prepare-role-variables.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.ha_cluster : Fail if passwords are not specified] *** task path: /tmp/tmpw8pf28gb/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/check-and-prepare-role-variables.yml:5 Monday 01 August 2022 17:10:28 +0000 (0:00:00.028) 0:00:01.007 ********* failed: [/cache/rhel-8-y.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/tmpav7jvhfc/tests/ha_cluster/tests_default.yml:12 Monday 01 August 2022 17:10:28 +0000 (0:00:00.081) 0:00:01.088 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "error_list": [ "ha_cluster_hacluster_password must be specified" ] }, "changed": false } TASK [Check errors] ************************************************************ task path: /tmp/tmpav7jvhfc/tests/ha_cluster/tests_default.yml:17 Monday 01 August 2022 17:10:28 +0000 (0:00:00.064) 0:00:01.153 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8-y.qcow2.snap : ok=6 changed=0 unreachable=0 failed=0 skipped=0 rescued=1 ignored=0 Monday 01 August 2022 17:10:28 +0000 (0:00:00.057) 0:00:01.211 ********* =============================================================================== fedora.linux_system_roles.ha_cluster : Ensure ansible_facts used by role --- 0.85s /tmp/tmpw8pf28gb/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.08s /tmp/tmpw8pf28gb/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/check-and-prepare-role-variables.yml:5 Extract errors ---------------------------------------------------------- 0.06s /tmp/tmpav7jvhfc/tests/ha_cluster/tests_default.yml:12 ------------------------ Check errors ------------------------------------------------------------ 0.06s /tmp/tmpav7jvhfc/tests/ha_cluster/tests_default.yml:17 ------------------------ fedora.linux_system_roles.ha_cluster : Set platform/version specific variables --- 0.05s /tmp/tmpw8pf28gb/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/set_vars.yml:7 Run the role ------------------------------------------------------------ 0.04s /tmp/tmpav7jvhfc/tests/ha_cluster/tests_default.yml:8 ------------------------- fedora.linux_system_roles.ha_cluster : Check and prepare role variables --- 0.03s /tmp/tmpw8pf28gb/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.03s /tmp/tmpw8pf28gb/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/main.yml:3