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_default_2019.yml *********************************************** 1 plays in /tmp/tmpqg2s4pwm/tests/tests_default_2019.yml PLAY [Ensure that the role runs with default parameters] *********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpqg2s4pwm/tests/tests_default_2019.yml:3 Wednesday 03 August 2022 15:24:06 +0000 (0:00:00.013) 0:00:00.013 ****** ok: [/cache/centos-7.qcow2c.snap] META: ran handlers TASK [Run the role with default parameters] ************************************ task path: /tmp/tmpqg2s4pwm/tests/tests_default_2019.yml:8 Wednesday 03 August 2022 15:24:07 +0000 (0:00:01.174) 0:00:01.187 ****** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Wednesday 03 August 2022 15:24:07 +0000 (0:00:00.109) 0:00:01.297 ****** included: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.mssql : Ensure ansible_facts used by role] ************ task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Wednesday 03 August 2022 15:24:07 +0000 (0:00:00.034) 0:00:01.331 ****** ok: [/cache/centos-7.qcow2c.snap] TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:11 Wednesday 03 August 2022 15:24:08 +0000 (0:00:00.411) 0:00:01.743 ****** 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/tmpqg2s4pwm/tests/roles/linux-system-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/tmpqg2s4pwm/tests/roles/linux-system-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 [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Wednesday 03 August 2022 15:24:08 +0000 (0:00:00.057) 0:00:01.800 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:12 Wednesday 03 August 2022 15:24:08 +0000 (0:00:00.033) 0:00:01.834 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [linux-system-roles.mssql : Link the deprecated accept_microsoft_sql_server_2019_standard_eula fact] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:16 Wednesday 03 August 2022 15:24:08 +0000 (0:00:00.028) 0:00:01.862 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:22 Wednesday 03 August 2022 15:24:08 +0000 (0:00:00.025) 0:00:01.888 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that the user accepts EULA variables] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:27 Wednesday 03 August 2022 15:24:08 +0000 (0:00:00.025) 0:00:01.913 ****** fatal: [/cache/centos-7.qcow2c.snap]: FAILED! => { "assertion": "mssql_accept_microsoft_odbc_driver_17_for_sql_server_eula | bool", "changed": false, "evaluated_to": false } MSG: ['You must accept EULA by setting the following variables to true:', 'mssql_accept_microsoft_odbc_driver_17_for_sql_server_eula', 'mssql_accept_microsoft_cli_utilities_for_sql_server_eula', 'mssql_accept_microsoft_sql_server_standard_eula'] TASK [Assert that the role failed with EULA not accepted] ********************** task path: /tmp/tmpqg2s4pwm/tests/tests_default_2019.yml:17 Wednesday 03 August 2022 15:24:08 +0000 (0:00:00.045) 0:00:01.959 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-7.qcow2c.snap : ok=7 changed=0 unreachable=0 failed=0 skipped=2 rescued=1 ignored=0 Wednesday 03 August 2022 15:24:08 +0000 (0:00:00.041) 0:00:02.001 ****** =============================================================================== Gathering Facts --------------------------------------------------------- 1.17s /tmp/tmpqg2s4pwm/tests/tests_default_2019.yml:3 ------------------------------- linux-system-roles.mssql : Ensure ansible_facts used by role ------------ 0.41s /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 ---- Run the role with default parameters ------------------------------------ 0.11s /tmp/tmpqg2s4pwm/tests/tests_default_2019.yml:8 ------------------------------- linux-system-roles.mssql : Set platform/version specific variables ------ 0.06s /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:11 --- linux-system-roles.mssql : Verify that the user accepts EULA variables --- 0.05s /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:27 ------- Assert that the role failed with EULA not accepted ---------------------- 0.04s /tmp/tmpqg2s4pwm/tests/tests_default_2019.yml:17 ------------------------------ linux-system-roles.mssql : Ensure ansible_facts and variables used by role --- 0.03s /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 -------- linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact ------ 0.03s /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 -------- linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact ------ 0.03s /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:12 ------- linux-system-roles.mssql : Link the deprecated accept_microsoft_sql_server_2019_standard_eula fact --- 0.03s /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:16 ------- linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact --- 0.03s /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:22 ------- 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_default_2019.yml *********************************************** 1 plays in /tmp/tmplq_pq1x0/tests/mssql/tests_default_2019.yml PLAY [Ensure that the role runs with default parameters] *********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmplq_pq1x0/tests/mssql/tests_default_2019.yml:3 Wednesday 03 August 2022 15:46:52 +0000 (0:00:00.013) 0:00:00.013 ****** ok: [/cache/centos-7.qcow2c.snap] META: ran handlers TASK [Run the role with default parameters] ************************************ task path: /tmp/tmplq_pq1x0/tests/mssql/tests_default_2019.yml:8 Wednesday 03 August 2022 15:46:53 +0000 (0:00:01.148) 0:00:01.162 ****** 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:53 +0000 (0:00:00.135) 0:00:01.297 ****** 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:53 +0000 (0:00:00.032) 0:00:01.330 ****** 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:54 +0000 (0:00:00.404) 0:00:01.735 ****** 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:54 +0000 (0:00:00.067) 0:00:01.802 ****** 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:54 +0000 (0:00:00.029) 0:00:01.832 ****** 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:54 +0000 (0:00:00.029) 0:00:01.861 ****** 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:54 +0000 (0:00:00.024) 0:00:01.886 ****** 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:54 +0000 (0:00:00.025) 0:00:01.911 ****** fatal: [/cache/centos-7.qcow2c.snap]: FAILED! => { "assertion": "mssql_accept_microsoft_odbc_driver_17_for_sql_server_eula | bool", "changed": false, "evaluated_to": false } MSG: ['You must accept EULA by setting the following variables to true:', 'mssql_accept_microsoft_odbc_driver_17_for_sql_server_eula', 'mssql_accept_microsoft_cli_utilities_for_sql_server_eula', 'mssql_accept_microsoft_sql_server_standard_eula'] TASK [Assert that the role failed with EULA not accepted] ********************** task path: /tmp/tmplq_pq1x0/tests/mssql/tests_default_2019.yml:17 Wednesday 03 August 2022 15:46:54 +0000 (0:00:00.043) 0:00:01.955 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-7.qcow2c.snap : ok=7 changed=0 unreachable=0 failed=0 skipped=2 rescued=1 ignored=0 Wednesday 03 August 2022 15:46:54 +0000 (0:00:00.042) 0:00:01.997 ****** =============================================================================== Gathering Facts --------------------------------------------------------- 1.15s /tmp/tmplq_pq1x0/tests/mssql/tests_default_2019.yml:3 ------------------------- fedora.linux_system_roles.mssql : Ensure ansible_facts used by role ----- 0.40s /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Run the role with default parameters ------------------------------------ 0.14s /tmp/tmplq_pq1x0/tests/mssql/tests_default_2019.yml:8 ------------------------- fedora.linux_system_roles.mssql : Set platform/version specific variables --- 0.07s /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:10 fedora.linux_system_roles.mssql : Verify that the user accepts EULA variables --- 0.04s /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:27 Assert that the role failed with EULA not accepted ---------------------- 0.04s /tmp/tmplq_pq1x0/tests/mssql/tests_default_2019.yml:17 ------------------------ fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role --- 0.03s /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact --- 0.03s /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.03s /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.02s /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:16