# STDOUT: ---v---v---v---v---v--- Using /etc/ansible/ansible.cfg as config file PLAY [Ensure that the role runs with default parameters] *********************** TASK [Gathering Facts] ********************************************************* Wednesday 31 August 2022 10:33:45 +0000 (0:00:00.030) 0:00:00.030 ****** ok: [sut] TASK [Run the role with default parameters] ************************************ Wednesday 31 August 2022 10:33:46 +0000 (0:00:01.141) 0:00:01.171 ****** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** Wednesday 31 August 2022 10:33:46 +0000 (0:00:00.136) 0:00:01.307 ****** included: /WORKDIR/dist-git-mssql-input-multiple-sql-scripts-QBRTGp/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml for sut TASK [linux-system-roles.mssql : Ensure ansible_facts used by role] ************ Wednesday 31 August 2022 10:33:46 +0000 (0:00:00.050) 0:00:01.358 ****** ok: [sut] TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** Wednesday 31 August 2022 10:33:47 +0000 (0:00:00.472) 0:00:01.831 ****** ok: [sut] => (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": [ "/WORKDIR/dist-git-mssql-input-multiple-sql-scripts-QBRTGp/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [sut] => (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": [ "/WORKDIR/dist-git-mssql-input-multiple-sql-scripts-QBRTGp/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=RedHat_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (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.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** Wednesday 31 August 2022 10:33:47 +0000 (0:00:00.127) 0:00:01.959 ****** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** Wednesday 31 August 2022 10:33:47 +0000 (0:00:00.113) 0:00:02.072 ****** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [linux-system-roles.mssql : Print that the variable is deprecated] ******** Wednesday 31 August 2022 10:33:47 +0000 (0:00:00.092) 0:00:02.164 ****** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated accept_microsoft_sql_server_2019_standard_eula fact] *** Wednesday 31 August 2022 10:33:47 +0000 (0:00:00.046) 0:00:02.211 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** Wednesday 31 August 2022 10:33:47 +0000 (0:00:00.059) 0:00:02.271 ****** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** Wednesday 31 August 2022 10:33:47 +0000 (0:00:00.065) 0:00:02.336 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that the user accepts EULA variables] *** Wednesday 31 August 2022 10:33:47 +0000 (0:00:00.085) 0:00:02.422 ****** fatal: [sut]: 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] ********************** Wednesday 31 August 2022 10:33:48 +0000 (0:00:00.096) 0:00:02.518 ****** ok: [sut] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* sut : ok=7 changed=0 unreachable=0 failed=0 skipped=4 rescued=1 ignored=0 Wednesday 31 August 2022 10:33:48 +0000 (0:00:00.074) 0:00:02.593 ****** =============================================================================== Gathering Facts --------------------------------------------------------- 1.14s linux-system-roles.mssql : Ensure ansible_facts used by role ------------ 0.47s Run the role with default parameters ------------------------------------ 0.14s linux-system-roles.mssql : Set platform/version specific variables ------ 0.13s linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact ------ 0.11s linux-system-roles.mssql : Verify that the user accepts EULA variables --- 0.10s linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact ------ 0.09s linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact --- 0.09s Assert that the role failed with EULA not accepted ---------------------- 0.07s linux-system-roles.mssql : Print that the mssql_input_sql_file variable is deprecated --- 0.07s linux-system-roles.mssql : Link the deprecated accept_microsoft_sql_server_2019_standard_eula fact --- 0.06s linux-system-roles.mssql : Ensure ansible_facts and variables used by role --- 0.05s linux-system-roles.mssql : Print that the variable is deprecated -------- 0.05s ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: [defaults]callback_whitelist option, normalizing names to new standard, use callbacks_enabled instead. This feature will be removed from ansible-core in version 2.15. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---