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/tmp1kc47jky 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 [WARNING]: * Failed to parse /usr/share/ansible/inventory/standard-inventory- qcow2 with script plugin: Inventory script (/usr/share/ansible/inventory/standard-inventory-qcow2) had an execution error: [ERROR] standard-inventory-qcow2: qemu failed to launch VM for qcow2 image: /cache/centos-7.qcow2c.snap code 1 pid 8188 [WARNING]: * Failed to parse /usr/share/ansible/inventory/standard-inventory- qcow2 with yaml plugin: We were unable to read either as JSON nor YAML, these are the errors we got from each: JSON: Expecting value: line 1 column 1 (char 0) Syntax Error while loading YAML. mapping values are not allowed in this context The error appears to be in '/usr/share/ansible/inventory/standard- inventory-qcow2': line 30, column 4, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: try: ^ here [WARNING]: * Failed to parse /usr/share/ansible/inventory/standard-inventory- qcow2 with ini plugin: /usr/share/ansible/inventory/standard-inventory-qcow2:9: Expected key=value host variable assignment, got: os ERROR! Completely failed to parse inventory source /usr/share/ansible/inventory/standard-inventory-qcow2 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/tmp1kc47jky 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_configure_ha_cluster.yml *************************************** 2 plays in /tmp/tmplq_pq1x0/tests/mssql/tests_configure_ha_cluster.yml PLAY [Verify the role on the primary node] ************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmplq_pq1x0/tests/mssql/tests_configure_ha_cluster.yml:3 Wednesday 03 August 2022 15:46:34 +0000 (0:00:00.014) 0:00:00.014 ****** ok: [/cache/centos-7.qcow2c.snap] META: ran handlers TASK [Run the role] ************************************************************ task path: /tmp/tmplq_pq1x0/tests/mssql/tests_configure_ha_cluster.yml:20 Wednesday 03 August 2022 15:46:35 +0000 (0:00:01.163) 0:00:01.178 ****** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Wednesday 03 August 2022 15:46:35 +0000 (0:00:00.128) 0:00:01.306 ****** included: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Wednesday 03 August 2022 15:46:35 +0000 (0:00:00.042) 0:00:01.349 ****** ok: [/cache/centos-7.qcow2c.snap] TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:10 Wednesday 03 August 2022 15:46:35 +0000 (0:00:00.412) 0:00:01.761 ****** ok: [/cache/centos-7.qcow2c.snap] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/8/prod/", "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/" }, "ansible_included_var_files": [ "/tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [/cache/centos-7.qcow2c.snap] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-7.qcow2c.snap] => (item=CentOS_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/" }, "ansible_included_var_files": [ "/tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [/cache/centos-7.qcow2c.snap] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Wednesday 03 August 2022 15:46:36 +0000 (0:00:00.080) 0:00:01.842 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:12 Wednesday 03 August 2022 15:46:36 +0000 (0:00:00.036) 0:00:01.878 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [fedora.linux_system_roles.mssql : Link the deprecated accept_microsoft_sql_server_2019_standard_eula fact] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:16 Wednesday 03 August 2022 15:46:36 +0000 (0:00:00.036) 0:00:01.915 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:22 Wednesday 03 August 2022 15:46:36 +0000 (0:00:00.026) 0:00:01.941 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that the user accepts EULA variables] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:27 Wednesday 03 August 2022 15:46:36 +0000 (0:00:00.030) 0:00:01.971 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:39 Wednesday 03 August 2022 15:46:36 +0000 (0:00:00.050) 0:00:02.021 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if the mssql_upgrade variable is provided correctly] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Wednesday 03 August 2022 15:46:36 +0000 (0:00:00.049) 0:00:02.070 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:55 Wednesday 03 August 2022 15:46:36 +0000 (0:00:00.038) 0:00:02.109 ****** fatal: [/cache/centos-7.qcow2c.snap]: FAILED! => { "changed": false } MSG: mssql_ha_configure=true does not support running against EL 7 hosts TASK [Assert that the role failed with EL < 8 not supported] ******************* task path: /tmp/tmplq_pq1x0/tests/mssql/tests_configure_ha_cluster.yml:30 Wednesday 03 August 2022 15:46:36 +0000 (0:00:00.050) 0:00:02.160 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [End EL < 8 host] ********************************************************* task path: /tmp/tmplq_pq1x0/tests/mssql/tests_configure_ha_cluster.yml:36 Wednesday 03 August 2022 15:46:36 +0000 (0:00:00.037) 0:00:02.198 ****** META: ending play for /cache/centos-7.qcow2c.snap PLAY RECAP ********************************************************************* /cache/centos-7.qcow2c.snap : ok=9 changed=0 unreachable=0 failed=0 skipped=3 rescued=1 ignored=0 Wednesday 03 August 2022 15:46:36 +0000 (0:00:00.015) 0:00:02.214 ****** =============================================================================== Gathering Facts --------------------------------------------------------- 1.16s /tmp/tmplq_pq1x0/tests/mssql/tests_configure_ha_cluster.yml:3 ----------------- fedora.linux_system_roles.mssql : Ensure ansible_facts used by role ----- 0.41s /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Run the role ------------------------------------------------------------ 0.13s /tmp/tmplq_pq1x0/tests/mssql/tests_configure_ha_cluster.yml:20 ---------------- fedora.linux_system_roles.mssql : Set platform/version specific variables --- 0.08s /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:10 fedora.linux_system_roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true --- 0.05s /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:55 fedora.linux_system_roles.mssql : Verify that the user accepts EULA variables --- 0.05s /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:27 fedora.linux_system_roles.mssql : Verify if the mssql_version variable is provided correctly --- 0.05s /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:39 fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role --- 0.04s /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 fedora.linux_system_roles.mssql : Verify if the mssql_upgrade variable is provided correctly --- 0.04s /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Assert that the role failed with EL < 8 not supported ------------------- 0.04s /tmp/tmplq_pq1x0/tests/mssql/tests_configure_ha_cluster.yml:30 ---------------- fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact --- 0.04s /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact --- 0.04s /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:12 fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact --- 0.03s /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:22 fedora.linux_system_roles.mssql : Link the deprecated accept_microsoft_sql_server_2019_standard_eula fact --- 0.03s /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:16 End EL < 8 host --------------------------------------------------------- 0.02s /tmp/tmplq_pq1x0/tests/mssql/tests_configure_ha_cluster.yml:36 ----------------