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/tmprqs64mlu 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: centos-8_setup.yml *************************************************** 1 plays in /cache/centos-8_setup.yml PLAY [Enable HA repos] ********************************************************* META: ran handlers TASK [Enable HA repos] ********************************************************* task path: /cache/centos-8_setup.yml:5 Monday 01 August 2022 16:53:20 +0000 (0:00:00.017) 0:00:00.017 ********* changed: [/cache/centos-8.qcow2] => { "ansible_facts": { "discovered_interpreter_python": "/usr/libexec/platform-python" }, "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "ha" ], "delta": "0:00:00.214528", "end": "2022-08-01 16:53:20.494521", "rc": 0, "start": "2022-08-01 16:53:20.279993" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Monday 01 August 2022 16:53:21 +0000 (0:00:00.772) 0:00:00.790 ********* =============================================================================== Enable HA repos --------------------------------------------------------- 0.77s /cache/centos-8_setup.yml:5 --------------------------------------------------- PLAYBOOK: tests_default.yml **************************************************** 1 plays in /tmp/tmpyc3u5c81/tests/tests_default.yml PLAY [Ensure mandatory variables are defined] ********************************** META: ran handlers TASK [Run the role] ************************************************************ task path: /tmp/tmpyc3u5c81/tests/tests_default.yml:8 Monday 01 August 2022 16:53:21 +0000 (0:00:00.014) 0:00:00.804 ********* TASK [linux-system-roles.ha_cluster : Set platform/version specific variables] *** task path: /tmp/tmpyc3u5c81/tests/roles/linux-system-roles.ha_cluster/tasks/main.yml:3 Monday 01 August 2022 16:53:21 +0000 (0:00:00.035) 0:00:00.839 ********* included: /tmp/tmpyc3u5c81/tests/roles/linux-system-roles.ha_cluster/tasks/set_vars.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.ha_cluster : Ensure ansible_facts used by role] ******* task path: /tmp/tmpyc3u5c81/tests/roles/linux-system-roles.ha_cluster/tasks/set_vars.yml:2 Monday 01 August 2022 16:53:21 +0000 (0:00:00.023) 0:00:00.863 ********* ok: [/cache/centos-8.qcow2] TASK [linux-system-roles.ha_cluster : Set platform/version specific variables] *** task path: /tmp/tmpyc3u5c81/tests/roles/linux-system-roles.ha_cluster/tasks/set_vars.yml:8 Monday 01 August 2022 16:53:22 +0000 (0:00:00.754) 0:00:01.618 ********* skipping: [/cache/centos-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-8.qcow2] => (item=CentOS_8.yml) => { "ansible_facts": { "__ha_cluster_repos": [ { "id": "ha", "name": "HighAvailability" } ] }, "ansible_included_var_files": [ "/tmp/tmpyc3u5c81/tests/roles/linux-system-roles.ha_cluster/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [/cache/centos-8.qcow2] => (item=CentOS_8.yml) => { "ansible_facts": { "__ha_cluster_repos": [ { "id": "ha", "name": "HighAvailability" } ] }, "ansible_included_var_files": [ "/tmp/tmpyc3u5c81/tests/roles/linux-system-roles.ha_cluster/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [linux-system-roles.ha_cluster : Check and prepare role variables] ******** task path: /tmp/tmpyc3u5c81/tests/roles/linux-system-roles.ha_cluster/tasks/main.yml:6 Monday 01 August 2022 16:53:22 +0000 (0:00:00.056) 0:00:01.675 ********* included: /tmp/tmpyc3u5c81/tests/roles/linux-system-roles.ha_cluster/tasks/check-and-prepare-role-variables.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.ha_cluster : Fail if passwords are not specified] ***** task path: /tmp/tmpyc3u5c81/tests/roles/linux-system-roles.ha_cluster/tasks/check-and-prepare-role-variables.yml:5 Monday 01 August 2022 16:53:22 +0000 (0:00:00.025) 0:00:01.700 ********* failed: [/cache/centos-8.qcow2] (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/tmpyc3u5c81/tests/tests_default.yml:12 Monday 01 August 2022 16:53:22 +0000 (0:00:00.047) 0:00:01.748 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "error_list": [ "ha_cluster_hacluster_password must be specified" ] }, "changed": false } TASK [Check errors] ************************************************************ task path: /tmp/tmpyc3u5c81/tests/tests_default.yml:19 Monday 01 August 2022 16:53:22 +0000 (0:00:00.041) 0:00:01.790 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=7 changed=1 unreachable=0 failed=0 skipped=0 rescued=1 ignored=0 Monday 01 August 2022 16:53:22 +0000 (0:00:00.036) 0:00:01.826 ********* =============================================================================== Enable HA repos --------------------------------------------------------- 0.77s /cache/centos-8_setup.yml:5 --------------------------------------------------- linux-system-roles.ha_cluster : Ensure ansible_facts used by role ------- 0.75s /tmp/tmpyc3u5c81/tests/roles/linux-system-roles.ha_cluster/tasks/set_vars.yml:2 linux-system-roles.ha_cluster : Set platform/version specific variables --- 0.06s /tmp/tmpyc3u5c81/tests/roles/linux-system-roles.ha_cluster/tasks/set_vars.yml:8 linux-system-roles.ha_cluster : Fail if passwords are not specified ----- 0.05s /tmp/tmpyc3u5c81/tests/roles/linux-system-roles.ha_cluster/tasks/check-and-prepare-role-variables.yml:5 Extract errors ---------------------------------------------------------- 0.04s /tmp/tmpyc3u5c81/tests/tests_default.yml:12 ----------------------------------- Check errors ------------------------------------------------------------ 0.04s /tmp/tmpyc3u5c81/tests/tests_default.yml:19 ----------------------------------- Run the role ------------------------------------------------------------ 0.04s /tmp/tmpyc3u5c81/tests/tests_default.yml:8 ------------------------------------ linux-system-roles.ha_cluster : Check and prepare role variables -------- 0.03s /tmp/tmpyc3u5c81/tests/roles/linux-system-roles.ha_cluster/tasks/main.yml:6 --- linux-system-roles.ha_cluster : Set platform/version specific variables --- 0.02s /tmp/tmpyc3u5c81/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/tmprqs64mlu 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: centos-8_setup.yml *************************************************** 1 plays in /cache/centos-8_setup.yml PLAY [Enable HA repos] ********************************************************* META: ran handlers TASK [Enable HA repos] ********************************************************* task path: /cache/centos-8_setup.yml:5 Monday 01 August 2022 17:15:55 +0000 (0:00:00.018) 0:00:00.018 ********* changed: [/cache/centos-8.qcow2] => { "ansible_facts": { "discovered_interpreter_python": "/usr/libexec/platform-python" }, "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "ha" ], "delta": "0:00:00.212864", "end": "2022-08-01 17:15:54.898798", "rc": 0, "start": "2022-08-01 17:15:54.685934" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Monday 01 August 2022 17:15:55 +0000 (0:00:00.795) 0:00:00.813 ********* =============================================================================== Enable HA repos --------------------------------------------------------- 0.80s /cache/centos-8_setup.yml:5 --------------------------------------------------- PLAYBOOK: tests_default.yml **************************************************** 1 plays in /tmp/tmp0yzh44fb/tests/ha_cluster/tests_default.yml PLAY [Ensure mandatory variables are defined] ********************************** META: ran handlers TASK [Run the role] ************************************************************ task path: /tmp/tmp0yzh44fb/tests/ha_cluster/tests_default.yml:8 Monday 01 August 2022 17:15:55 +0000 (0:00:00.014) 0:00:00.827 ********* TASK [fedora.linux_system_roles.ha_cluster : Set platform/version specific variables] *** task path: /tmp/tmprqs64mlu/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/main.yml:3 Monday 01 August 2022 17:15:55 +0000 (0:00:00.033) 0:00:00.861 ********* included: /tmp/tmprqs64mlu/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/set_vars.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.ha_cluster : Ensure ansible_facts used by role] *** task path: /tmp/tmprqs64mlu/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/set_vars.yml:2 Monday 01 August 2022 17:15:55 +0000 (0:00:00.022) 0:00:00.884 ********* ok: [/cache/centos-8.qcow2] TASK [fedora.linux_system_roles.ha_cluster : Set platform/version specific variables] *** task path: /tmp/tmprqs64mlu/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/set_vars.yml:7 Monday 01 August 2022 17:15:56 +0000 (0:00:00.732) 0:00:01.617 ********* skipping: [/cache/centos-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-8.qcow2] => (item=CentOS_8.yml) => { "ansible_facts": { "__ha_cluster_repos": [ { "id": "ha", "name": "HighAvailability" } ] }, "ansible_included_var_files": [ "/tmp/tmprqs64mlu/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [/cache/centos-8.qcow2] => (item=CentOS_8.yml) => { "ansible_facts": { "__ha_cluster_repos": [ { "id": "ha", "name": "HighAvailability" } ] }, "ansible_included_var_files": [ "/tmp/tmprqs64mlu/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [fedora.linux_system_roles.ha_cluster : Check and prepare role variables] *** task path: /tmp/tmprqs64mlu/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/main.yml:6 Monday 01 August 2022 17:15:56 +0000 (0:00:00.058) 0:00:01.675 ********* included: /tmp/tmprqs64mlu/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/check-and-prepare-role-variables.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.ha_cluster : Fail if passwords are not specified] *** task path: /tmp/tmprqs64mlu/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/check-and-prepare-role-variables.yml:5 Monday 01 August 2022 17:15:56 +0000 (0:00:00.028) 0:00:01.703 ********* failed: [/cache/centos-8.qcow2] (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/tmp0yzh44fb/tests/ha_cluster/tests_default.yml:12 Monday 01 August 2022 17:15:56 +0000 (0:00:00.046) 0:00:01.749 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "error_list": [ "ha_cluster_hacluster_password must be specified" ] }, "changed": false } TASK [Check errors] ************************************************************ task path: /tmp/tmp0yzh44fb/tests/ha_cluster/tests_default.yml:17 Monday 01 August 2022 17:15:56 +0000 (0:00:00.036) 0:00:01.786 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=7 changed=1 unreachable=0 failed=0 skipped=0 rescued=1 ignored=0 Monday 01 August 2022 17:15:56 +0000 (0:00:00.034) 0:00:01.820 ********* =============================================================================== Enable HA repos --------------------------------------------------------- 0.80s /cache/centos-8_setup.yml:5 --------------------------------------------------- fedora.linux_system_roles.ha_cluster : Ensure ansible_facts used by role --- 0.73s /tmp/tmprqs64mlu/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/set_vars.yml:2 fedora.linux_system_roles.ha_cluster : Set platform/version specific variables --- 0.06s /tmp/tmprqs64mlu/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/set_vars.yml:7 fedora.linux_system_roles.ha_cluster : Fail if passwords are not specified --- 0.05s /tmp/tmprqs64mlu/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/check-and-prepare-role-variables.yml:5 Extract errors ---------------------------------------------------------- 0.04s /tmp/tmp0yzh44fb/tests/ha_cluster/tests_default.yml:12 ------------------------ Check errors ------------------------------------------------------------ 0.03s /tmp/tmp0yzh44fb/tests/ha_cluster/tests_default.yml:17 ------------------------ Run the role ------------------------------------------------------------ 0.03s /tmp/tmp0yzh44fb/tests/ha_cluster/tests_default.yml:8 ------------------------- fedora.linux_system_roles.ha_cluster : Check and prepare role variables --- 0.03s /tmp/tmprqs64mlu/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/tmprqs64mlu/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/main.yml:3