# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_2022_upgrade.yml *********************************************** 2 plays in /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/tests_2022_upgrade.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Include vault variables] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/tests_2022_upgrade.yml:4 Friday 05 January 2024 15:14:21 +0000 (0:00:00.013) 0:00:00.013 ******** ok: [sut] => { "ansible_facts": { "mssql_password": { "__ansible_vault": "$ANSIBLE_VAULT;1.1;AES256\n66336361663164656232326461653662643537386337346563613939356466313835383235313234\n3634333565616161316639666662613564353237653663610a616639306439653033386664303839\n30663030636161326137656235636230356162373234386461363632353863393161353035316162\n3664353366373231360a343334326337353861366233656330363634353164316434616561333161\n3234\n" } }, "ansible_included_var_files": [ "/WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/vars/vault-variables.yml" ], "changed": false } META: ran handlers META: ran handlers PLAY [Ensure that the role installs version 2017 and upgrades to 2019] ********* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/tests_2022_upgrade.yml:9 Friday 05 January 2024 15:14:21 +0000 (0:00:00.011) 0:00:00.025 ******** ok: [sut] META: ran handlers TASK [Assert fail on EL 7 with version=2022 and EL 9 with version!=2022] ******* task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/tests_2022_upgrade.yml:17 Friday 05 January 2024 15:14:21 +0000 (0:00:00.528) 0:00:00.554 ******** included: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/tasks/assert_fail_on_unsupported_ver.yml for sut TASK [Ensure ansible_facts to get ansible_distribution] ************************ task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/tasks/assert_fail_on_unsupported_ver.yml:2 Friday 05 January 2024 15:14:21 +0000 (0:00:00.029) 0:00:00.583 ******** ok: [sut] TASK [Run the role] ************************************************************ task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/tasks/assert_fail_on_unsupported_ver.yml:15 Friday 05 January 2024 15:14:22 +0000 (0:00:00.212) 0:00:00.796 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unreachable task] ******************************************************** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/tasks/assert_fail_on_unsupported_ver.yml:22 Friday 05 January 2024 15:14:22 +0000 (0:00:00.019) 0:00:00.815 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run the role with incorrect mssql_version] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/tests_2022_upgrade.yml:26 Friday 05 January 2024 15:14:22 +0000 (0:00:00.018) 0:00:00.834 ******** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Friday 05 January 2024 15:14:22 +0000 (0:00:00.145) 0:00:00.980 ******** included: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml for sut TASK [linux-system-roles.mssql : Ensure ansible_facts used by role] ************ task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Friday 05 January 2024 15:14:22 +0000 (0:00:00.010) 0:00:00.991 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:9 Friday 05 January 2024 15:14:22 +0000 (0:00:00.018) 0:00:01.009 ******** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-ansible-lint-test-2.165ogb2j33/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/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [sut] => (item=RedHat_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019 ] }, "ansible_included_var_files": [ "/WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/vars/RedHat_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.yml" } skipping: [sut] => (item=RedHat_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Friday 05 January 2024 15:14:22 +0000 (0:00:00.039) 0:00:01.048 ******** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [linux-system-roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Friday 05 January 2024 15:14:22 +0000 (0:00:00.008) 0:00:01.057 ******** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Friday 05 January 2024 15:14:22 +0000 (0:00:00.017) 0:00:01.075 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the variable is deprecated] ******** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Friday 05 January 2024 15:14:22 +0000 (0:00:00.017) 0:00:01.092 ******** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Friday 05 January 2024 15:14:22 +0000 (0:00:00.017) 0:00:01.110 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Friday 05 January 2024 15:14:22 +0000 (0:00:00.017) 0:00:01.127 ******** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:51 Friday 05 January 2024 15:14:22 +0000 (0:00:00.018) 0:00:01.146 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the mssql_ha_cluster_run_role variable is deprecated] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:58 Friday 05 January 2024 15:14:22 +0000 (0:00:00.020) 0:00:01.166 ******** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:65 Friday 05 January 2024 15:14:22 +0000 (0:00:00.020) 0:00:01.186 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that the user accepts EULA variables] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:69 Friday 05 January 2024 15:14:22 +0000 (0:00:00.018) 0:00:01.204 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:81 Friday 05 January 2024 15:14:22 +0000 (0:00:00.020) 0:00:01.224 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:89 Friday 05 January 2024 15:14:22 +0000 (0:00:00.016) 0:00:01.241 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:98 Friday 05 January 2024 15:14:22 +0000 (0:00:00.017) 0:00:01.258 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:111 Friday 05 January 2024 15:14:22 +0000 (0:00:00.017) 0:00:01.276 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:122 Friday 05 January 2024 15:14:22 +0000 (0:00:00.017) 0:00:01.293 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:131 Friday 05 January 2024 15:14:22 +0000 (0:00:00.019) 0:00:01.313 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:135 Friday 05 January 2024 15:14:23 +0000 (0:00:00.788) 0:00:02.102 ******** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Friday 05 January 2024 15:14:23 +0000 (0:00:00.047) 0:00:02.150 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:151 Friday 05 January 2024 15:14:23 +0000 (0:00:00.045) 0:00:02.195 ******** fatal: [sut]: FAILED! => { "assertion": "mssql_version | int in __mssql_supported_versions", "changed": false, "evaluated_to": false } MSG: You must set the mssql_version variable to one of 2017, 2019 TASK [Assert that the role failed with the correct message] ******************** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/tests_2022_upgrade.yml:38 Friday 05 January 2024 15:14:23 +0000 (0:00:00.029) 0:00:02.225 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Run the role with incorrect mssql_version] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/tests_2022_upgrade.yml:47 Friday 05 January 2024 15:14:23 +0000 (0:00:00.027) 0:00:02.253 ******** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Friday 05 January 2024 15:14:23 +0000 (0:00:00.100) 0:00:02.354 ******** included: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml for sut TASK [linux-system-roles.mssql : Ensure ansible_facts used by role] ************ task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Friday 05 January 2024 15:14:23 +0000 (0:00:00.028) 0:00:02.382 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:9 Friday 05 January 2024 15:14:23 +0000 (0:00:00.040) 0:00:02.423 ******** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-ansible-lint-test-2.165ogb2j33/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/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [sut] => (item=RedHat_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019 ] }, "ansible_included_var_files": [ "/WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/vars/RedHat_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.yml" } skipping: [sut] => (item=RedHat_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Friday 05 January 2024 15:14:23 +0000 (0:00:00.047) 0:00:02.470 ******** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [linux-system-roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Friday 05 January 2024 15:14:23 +0000 (0:00:00.018) 0:00:02.489 ******** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Friday 05 January 2024 15:14:23 +0000 (0:00:00.033) 0:00:02.522 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the variable is deprecated] ******** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Friday 05 January 2024 15:14:23 +0000 (0:00:00.048) 0:00:02.571 ******** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Friday 05 January 2024 15:14:23 +0000 (0:00:00.035) 0:00:02.606 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Friday 05 January 2024 15:14:23 +0000 (0:00:00.039) 0:00:02.646 ******** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:51 Friday 05 January 2024 15:14:23 +0000 (0:00:00.028) 0:00:02.674 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the mssql_ha_cluster_run_role variable is deprecated] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:58 Friday 05 January 2024 15:14:23 +0000 (0:00:00.033) 0:00:02.708 ******** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:65 Friday 05 January 2024 15:14:23 +0000 (0:00:00.035) 0:00:02.744 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that the user accepts EULA variables] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:69 Friday 05 January 2024 15:14:24 +0000 (0:00:00.026) 0:00:02.770 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:81 Friday 05 January 2024 15:14:24 +0000 (0:00:00.030) 0:00:02.800 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:89 Friday 05 January 2024 15:14:24 +0000 (0:00:00.027) 0:00:02.828 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:98 Friday 05 January 2024 15:14:24 +0000 (0:00:00.025) 0:00:02.853 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:111 Friday 05 January 2024 15:14:24 +0000 (0:00:00.027) 0:00:02.881 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:122 Friday 05 January 2024 15:14:24 +0000 (0:00:00.027) 0:00:02.909 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:131 Friday 05 January 2024 15:14:24 +0000 (0:00:00.028) 0:00:02.937 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:135 Friday 05 January 2024 15:14:24 +0000 (0:00:00.718) 0:00:03.656 ******** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Friday 05 January 2024 15:14:24 +0000 (0:00:00.048) 0:00:03.704 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:151 Friday 05 January 2024 15:14:24 +0000 (0:00:00.027) 0:00:03.732 ******** fatal: [sut]: FAILED! => { "assertion": "mssql_version | int in __mssql_supported_versions", "changed": false, "evaluated_to": false } MSG: You must set the mssql_version variable to one of 2017, 2019 TASK [Assert that the role failed with the correct message] ******************** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/tests_2022_upgrade.yml:57 Friday 05 January 2024 15:14:25 +0000 (0:00:00.034) 0:00:03.766 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set up MSSQL 2019] ******************************************************* task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/tests_2022_upgrade.yml:64 Friday 05 January 2024 15:14:25 +0000 (0:00:00.031) 0:00:03.798 ******** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Friday 05 January 2024 15:14:25 +0000 (0:00:00.118) 0:00:03.916 ******** included: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml for sut TASK [linux-system-roles.mssql : Ensure ansible_facts used by role] ************ task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Friday 05 January 2024 15:14:25 +0000 (0:00:00.032) 0:00:03.949 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:9 Friday 05 January 2024 15:14:25 +0000 (0:00:00.057) 0:00:04.006 ******** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-ansible-lint-test-2.165ogb2j33/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/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [sut] => (item=RedHat_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019 ] }, "ansible_included_var_files": [ "/WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/vars/RedHat_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.yml" } skipping: [sut] => (item=RedHat_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Friday 05 January 2024 15:14:25 +0000 (0:00:00.073) 0:00:04.080 ******** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [linux-system-roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Friday 05 January 2024 15:14:25 +0000 (0:00:00.017) 0:00:04.098 ******** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Friday 05 January 2024 15:14:25 +0000 (0:00:00.036) 0:00:04.135 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the variable is deprecated] ******** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Friday 05 January 2024 15:14:25 +0000 (0:00:00.036) 0:00:04.171 ******** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Friday 05 January 2024 15:14:25 +0000 (0:00:00.028) 0:00:04.200 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Friday 05 January 2024 15:14:25 +0000 (0:00:00.074) 0:00:04.274 ******** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:51 Friday 05 January 2024 15:14:25 +0000 (0:00:00.030) 0:00:04.305 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the mssql_ha_cluster_run_role variable is deprecated] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:58 Friday 05 January 2024 15:14:25 +0000 (0:00:00.036) 0:00:04.342 ******** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:65 Friday 05 January 2024 15:14:25 +0000 (0:00:00.093) 0:00:04.435 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that the user accepts EULA variables] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:69 Friday 05 January 2024 15:14:25 +0000 (0:00:00.039) 0:00:04.474 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:81 Friday 05 January 2024 15:14:25 +0000 (0:00:00.051) 0:00:04.526 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:89 Friday 05 January 2024 15:14:25 +0000 (0:00:00.041) 0:00:04.568 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:98 Friday 05 January 2024 15:14:25 +0000 (0:00:00.045) 0:00:04.613 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:111 Friday 05 January 2024 15:14:25 +0000 (0:00:00.049) 0:00:04.663 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:122 Friday 05 January 2024 15:14:25 +0000 (0:00:00.038) 0:00:04.702 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:131 Friday 05 January 2024 15:14:25 +0000 (0:00:00.032) 0:00:04.734 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:135 Friday 05 January 2024 15:14:26 +0000 (0:00:00.720) 0:00:05.455 ******** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Friday 05 January 2024 15:14:26 +0000 (0:00:00.055) 0:00:05.510 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:151 Friday 05 January 2024 15:14:26 +0000 (0:00:00.030) 0:00:05.541 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:158 Friday 05 January 2024 15:14:26 +0000 (0:00:00.062) 0:00:05.603 ******** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:173 Friday 05 January 2024 15:14:26 +0000 (0:00:00.043) 0:00:05.647 ******** changed: [sut] => { "attempts": 1, "changed": true } TASK [linux-system-roles.mssql : Update all packages from SQL Server repo version {{ __mssql_current_version }}] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:186 Friday 05 January 2024 15:14:27 +0000 (0:00:00.693) 0:00:06.340 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get yum repositories] ************************* task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:196 Friday 05 January 2024 15:14:27 +0000 (0:00:00.039) 0:00:06.380 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:207 Friday 05 January 2024 15:14:27 +0000 (0:00:00.036) 0:00:06.417 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:215 Friday 05 January 2024 15:14:27 +0000 (0:00:00.036) 0:00:06.453 ******** changed: [sut] => { "changed": true, "repo": "packages-microsoft-com-mssql-server-2019", "state": "present" } TASK [Ensure that the system is in SELinux enforcing state] ******************** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:228 Friday 05 January 2024 15:14:27 +0000 (0:00:00.212) 0:00:06.666 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get the current mode of SELinux] ************** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:236 Friday 05 January 2024 15:14:27 +0000 (0:00:00.019) 0:00:06.686 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that SELinux is in enforcing mode] ***** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:241 Friday 05 January 2024 15:14:27 +0000 (0:00:00.019) 0:00:06.706 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that SELinux is not in enforcing mode] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:250 Friday 05 January 2024 15:14:27 +0000 (0:00:00.016) 0:00:06.722 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-selinux] ****** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:259 Friday 05 January 2024 15:14:27 +0000 (0:00:00.027) 0:00:06.749 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server] ************** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:264 Friday 05 January 2024 15:14:28 +0000 (0:00:00.024) 0:00:06.774 ******** changed: [sut] => { "changed": true, "changes": { "installed": [ "mssql-server" ] }, "rc": 0, "results": [ "Loaded plugins: search-disabled-repos\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-server.x86_64 0:15.0.4345.5-2 will be installed\n--> Processing Dependency: libatomic for package: mssql-server-15.0.4345.5-2.x86_64\n--> Processing Dependency: bzip2 for package: mssql-server-15.0.4345.5-2.x86_64\n--> Processing Dependency: gdb for package: mssql-server-15.0.4345.5-2.x86_64\n--> Processing Dependency: python3 for package: mssql-server-15.0.4345.5-2.x86_64\n--> Processing Dependency: libsss_nss_idmap for package: mssql-server-15.0.4345.5-2.x86_64\n--> Processing Dependency: cyrus-sasl for package: mssql-server-15.0.4345.5-2.x86_64\n--> Processing Dependency: cyrus-sasl-gssapi for package: mssql-server-15.0.4345.5-2.x86_64\n--> Processing Dependency: lsof for package: mssql-server-15.0.4345.5-2.x86_64\n--> Running transaction check\n---> Package bzip2.x86_64 0:1.0.6-13.el7 will be installed\n---> Package cyrus-sasl.x86_64 0:2.1.26-24.el7_9 will be installed\n---> Package cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 will be installed\n---> Package gdb.x86_64 0:7.6.1-120.el7 will be installed\n---> Package libatomic.x86_64 0:4.8.5-44.el7 will be installed\n---> Package libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.15 will be installed\n---> Package lsof.x86_64 0:4.87-6.el7 will be installed\n---> Package python3.x86_64 0:3.6.8-21.el7_9 will be installed\n--> Processing Dependency: python3-libs(x86-64) = 3.6.8-21.el7_9 for package: python3-3.6.8-21.el7_9.x86_64\n--> Processing Dependency: python3-setuptools for package: python3-3.6.8-21.el7_9.x86_64\n--> Processing Dependency: python3-pip for package: python3-3.6.8-21.el7_9.x86_64\n--> Processing Dependency: libpython3.6m.so.1.0()(64bit) for package: python3-3.6.8-21.el7_9.x86_64\n--> Running transaction check\n---> Package python3-libs.x86_64 0:3.6.8-21.el7_9 will be installed\n---> Package python3-pip.noarch 0:9.0.3-8.el7 will be installed\n---> Package python3-setuptools.noarch 0:39.2.0-10.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n mssql-server x86_64 15.0.4345.5-2 packages-microsoft-com-mssql-server-2019\n 229 M\nInstalling for dependencies:\n bzip2 x86_64 1.0.6-13.el7 rhel-Server 52 k\n cyrus-sasl x86_64 2.1.26-24.el7_9 rhel-Server 88 k\n cyrus-sasl-gssapi x86_64 2.1.26-24.el7_9 rhel-Server 41 k\n gdb x86_64 7.6.1-120.el7 rhel-Server 2.4 M\n libatomic x86_64 4.8.5-44.el7 rhel-Server 51 k\n libsss_nss_idmap x86_64 1.16.5-10.el7_9.15 rhel-Server 170 k\n lsof x86_64 4.87-6.el7 rhel-Server 331 k\n python3 x86_64 3.6.8-21.el7_9 rhel-Server 71 k\n python3-libs x86_64 3.6.8-21.el7_9 rhel-Server 6.9 M\n python3-pip noarch 9.0.3-8.el7 rhel-Server 1.6 M\n python3-setuptools noarch 39.2.0-10.el7 rhel-Server 629 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package (+11 Dependent packages)\n\nTotal download size: 241 M\nInstalled size: 1.2 G\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 46 MB/s | 241 MB 00:05 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : python3-libs-3.6.8-21.el7_9.x86_64 1/12 \n Installing : python3-setuptools-39.2.0-10.el7.noarch 2/12 \n Installing : python3-pip-9.0.3-8.el7.noarch 3/12 \n Installing : python3-3.6.8-21.el7_9.x86_64 4/12 \n Installing : libsss_nss_idmap-1.16.5-10.el7_9.15.x86_64 5/12 \n Installing : libatomic-4.8.5-44.el7.x86_64 6/12 \n Installing : cyrus-sasl-2.1.26-24.el7_9.x86_64 7/12 \n Installing : gdb-7.6.1-120.el7.x86_64 8/12 \n Installing : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 9/12 \n Installing : lsof-4.87-6.el7.x86_64 10/12 \n Installing : bzip2-1.0.6-13.el7.x86_64 11/12 \n Installing : mssql-server-15.0.4345.5-2.x86_64 12/12 \n\n+--------------------------------------------------------------+\nPlease run 'sudo /opt/mssql/bin/mssql-conf setup'\nto complete the setup of Microsoft SQL Server\n+--------------------------------------------------------------+\n\n Verifying : python3-3.6.8-21.el7_9.x86_64 1/12 \n Verifying : bzip2-1.0.6-13.el7.x86_64 2/12 \n Verifying : mssql-server-15.0.4345.5-2.x86_64 3/12 \n Verifying : lsof-4.87-6.el7.x86_64 4/12 \n Verifying : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 5/12 \n Verifying : gdb-7.6.1-120.el7.x86_64 6/12 \n Verifying : python3-libs-3.6.8-21.el7_9.x86_64 7/12 \n Verifying : python3-setuptools-39.2.0-10.el7.noarch 8/12 \n Verifying : python3-pip-9.0.3-8.el7.noarch 9/12 \n Verifying : cyrus-sasl-2.1.26-24.el7_9.x86_64 10/12 \n Verifying : libatomic-4.8.5-44.el7.x86_64 11/12 \n Verifying : libsss_nss_idmap-1.16.5-10.el7_9.15.x86_64 12/12 \n\nInstalled:\n mssql-server.x86_64 0:15.0.4345.5-2 \n\nDependency Installed:\n bzip2.x86_64 0:1.0.6-13.el7 \n cyrus-sasl.x86_64 0:2.1.26-24.el7_9 \n cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 \n gdb.x86_64 0:7.6.1-120.el7 \n libatomic.x86_64 0:4.8.5-44.el7 \n libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.15 \n lsof.x86_64 0:4.87-6.el7 \n python3.x86_64 0:3.6.8-21.el7_9 \n python3-libs.x86_64 0:3.6.8-21.el7_9 \n python3-pip.noarch 0:9.0.3-8.el7 \n python3-setuptools.noarch 0:39.2.0-10.el7 \n\nComplete!\n" ] } TASK [linux-system-roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:272 Friday 05 January 2024 15:15:11 +0000 (0:00:43.874) 0:00:50.648 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the errorlog file exists and its location] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:280 Friday 05 January 2024 15:15:11 +0000 (0:00:00.018) 0:00:50.667 ******** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\nerrorlog=\"$(grep '^errorlogfile = ' /var/opt/mssql/mssql.conf \\\n| sed 's/errorlogfile : //')\" || :\nif [ -s \"${errorlog}\" ]; then\n echo \"${errorlog}\"\nelif [ -s /var/opt/mssql/log/errorlog ]; then\n echo /var/opt/mssql/log/errorlog\nelse\n echo \"\"\nfi\n", "delta": "0:00:00.006019", "end": "2024-01-05 15:15:12.100975", "rc": 0, "start": "2024-01-05 15:15:12.094956" } TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:295 Friday 05 January 2024 15:15:12 +0000 (0:00:00.219) 0:00:50.886 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Set the __mssql_is_setup variable] ************ task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:299 Friday 05 January 2024 15:15:12 +0000 (0:00:00.876) 0:00:51.762 ******** ok: [sut] => { "ansible_facts": { "__mssql_is_setup": false }, "changed": false } TASK [linux-system-roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:308 Friday 05 January 2024 15:15:13 +0000 (0:00:00.029) 0:00:51.791 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:324 Friday 05 January 2024 15:15:13 +0000 (0:00:00.064) 0:00:51.856 ******** changed: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [linux-system-roles.mssql : Ensure the directory and permissions for datadir and logdir] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:344 Friday 05 January 2024 15:15:19 +0000 (0:00:06.105) 0:00:57.962 ******** skipping: [sut] => (item={'path': None, 'mode': None, 'setting': 'defaultdatadir'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": null, "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'path': None, 'mode': None, 'setting': 'defaultlogdir'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": null, "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for {{ __mssql_storage_path }}] *********** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:359 Friday 05 January 2024 15:15:19 +0000 (0:00:00.025) 0:00:57.987 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:366 Friday 05 January 2024 15:15:19 +0000 (0:00:00.019) 0:00:58.006 ******** changed: [sut] => { "changed": true, "changes": { "installed": [ "tuned-profiles-mssql" ] }, "rc": 0, "results": [ "Loaded plugins: search-disabled-repos\nResolving Dependencies\n--> Running transaction check\n---> Package tuned-profiles-mssql.noarch 0:2.11.0-12.el7_9 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n tuned-profiles-mssql noarch 2.11.0-12.el7_9 rhel-Server-optional 30 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package\n\nTotal download size: 30 k\nInstalled size: 1.1 k\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : tuned-profiles-mssql-2.11.0-12.el7_9.noarch 1/1 \n Verifying : tuned-profiles-mssql-2.11.0-12.el7_9.noarch 1/1 \n\nInstalled:\n tuned-profiles-mssql.noarch 0:2.11.0-12.el7_9 \n\nComplete!\n" ] } TASK [linux-system-roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:371 Friday 05 January 2024 15:15:21 +0000 (0:00:02.004) 0:01:00.011 ******** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-01-05 15:07:31 UTC", "ActiveEnterTimestampMonotonic": "13625621", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target network.target systemd-sysctl.service systemd-journald.socket system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 15:07:31 UTC", "AssertTimestampMonotonic": "12848426", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-01-05 15:07:31 UTC", "ConditionTimestampMonotonic": "12848424", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "946", "ExecMainStartTimestamp": "Fri 2024-01-05 15:07:31 UTC", "ExecMainStartTimestampMonotonic": "12858775", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-01-05 15:07:31 UTC", "InactiveExitTimestampMonotonic": "12858819", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "29173", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "946", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target dbus.service polkit.service", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-01-05 15:07:31 UTC", "WatchdogTimestampMonotonic": "13625451", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:377 Friday 05 January 2024 15:15:21 +0000 (0:00:00.399) 0:01:00.410 ******** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.438800", "end": "2024-01-05 15:15:22.203973", "rc": 0, "start": "2024-01-05 15:15:21.765173" } STDOUT: Current active profile: virtual-guest TASK [linux-system-roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:387 Friday 05 January 2024 15:15:22 +0000 (0:00:00.582) 0:01:00.992 ******** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "profile", "virtual-guest", "mssql" ], "delta": "0:00:01.121121", "end": "2024-01-05 15:15:23.464608", "failed_when_result": false, "rc": 1, "start": "2024-01-05 15:15:22.343487" } STDERR: Cannot load profile(s) 'virtual-guest mssql': Cannot find profile 'throughput-performance' in '['/etc/tuned', '/usr/lib/tuned']'. MSG: non-zero return code TASK [linux-system-roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:400 Friday 05 January 2024 15:15:23 +0000 (0:00:01.320) 0:01:02.313 ******** changed: [sut] => { "backup": "", "changed": true, "found": 1 } MSG: 1 line(s) removed TASK [linux-system-roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:409 Friday 05 January 2024 15:15:23 +0000 (0:00:00.218) 0:01:02.531 ******** changed: [sut] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest", "mssql" ], "delta": "0:00:02.631060", "end": "2024-01-05 15:15:26.517188", "rc": 0, "start": "2024-01-05 15:15:23.886128" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:419 Friday 05 January 2024 15:15:26 +0000 (0:00:02.809) 0:01:05.341 ******** changed: [sut] => { "changed": true, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [linux-system-roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:426 Friday 05 January 2024 15:15:26 +0000 (0:00:00.208) 0:01:05.549 ******** changed: [sut] => { "changed": true, "changes": { "installed": [ "mssql-tools", "unixODBC-devel" ] }, "rc": 0, "results": [ "Loaded plugins: search-disabled-repos\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-tools.x86_64 0:17.10.1.1-1 will be installed\n--> Processing Dependency: msodbcsql17 >= 17.3.0.0 for package: mssql-tools-17.10.1.1-1.x86_64\n---> Package unixODBC-devel.x86_64 0:2.3.11-1.rh will be installed\n--> Processing Dependency: unixODBC = 2.3.11 for package: unixODBC-devel-2.3.11-1.rh.x86_64\n--> Running transaction check\n---> Package msodbcsql17.x86_64 0:17.10.5.1-1 will be installed\n---> Package unixODBC.x86_64 0:2.3.11-1.rh will be installed\n--> Processing Dependency: libltdl.so.7()(64bit) for package: unixODBC-2.3.11-1.rh.x86_64\n--> Running transaction check\n---> Package libtool-ltdl.x86_64 0:2.4.2-22.el7_3 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n mssql-tools x86_64 17.10.1.1-1 packages-microsoft-com-prod 291 k\n unixODBC-devel x86_64 2.3.11-1.rh packages-microsoft-com-prod 53 k\nInstalling for dependencies:\n libtool-ltdl x86_64 2.4.2-22.el7_3 rhel-Server 49 k\n msodbcsql17 x86_64 17.10.5.1-1 packages-microsoft-com-prod 913 k\n unixODBC x86_64 2.3.11-1.rh packages-microsoft-com-prod 274 k\n\nTransaction Summary\n================================================================================\nInstall 2 Packages (+3 Dependent packages)\n\nTotal download size: 1.5 M\nInstalled size: 3.8 M\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 3.4 MB/s | 1.5 MB 00:00 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : libtool-ltdl-2.4.2-22.el7_3.x86_64 1/5 \n Installing : unixODBC-2.3.11-1.rh.x86_64 2/5 \n Installing : msodbcsql17-17.10.5.1-1.x86_64 3/5 \nodbcinst: Driver installed. Usage count increased to 1. \n Target directory is /etc\n Installing : mssql-tools-17.10.1.1-1.x86_64 4/5 \n Installing : unixODBC-devel-2.3.11-1.rh.x86_64 5/5 \n Verifying : mssql-tools-17.10.1.1-1.x86_64 1/5 \n Verifying : unixODBC-devel-2.3.11-1.rh.x86_64 2/5 \n Verifying : libtool-ltdl-2.4.2-22.el7_3.x86_64 3/5 \n Verifying : unixODBC-2.3.11-1.rh.x86_64 4/5 \n Verifying : msodbcsql17-17.10.5.1-1.x86_64 5/5 \n\nInstalled:\n mssql-tools.x86_64 0:17.10.1.1-1 unixODBC-devel.x86_64 0:2.3.11-1.rh \n\nDependency Installed:\n libtool-ltdl.x86_64 0:2.4.2-22.el7_3 msodbcsql17.x86_64 0:17.10.5.1-1 \n unixODBC.x86_64 0:2.3.11-1.rh \n\nComplete!\n" ] } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:438 Friday 05 January 2024 15:15:31 +0000 (0:00:05.186) 0:01:10.736 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:442 Friday 05 January 2024 15:15:31 +0000 (0:00:00.020) 0:01:10.756 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the set password matches the existing password] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:448 Friday 05 January 2024 15:15:32 +0000 (0:00:00.026) 0:01:10.782 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:463 Friday 05 January 2024 15:15:32 +0000 (0:00:00.026) 0:01:10.809 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:470 Friday 05 January 2024 15:15:32 +0000 (0:00:00.048) 0:01:10.858 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Change the password of sa user] *************** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:478 Friday 05 January 2024 15:15:32 +0000 (0:00:00.023) 0:01:10.881 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Pre-input SQL script files to SQL Server] ***** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:500 Friday 05 January 2024 15:15:32 +0000 (0:00:00.026) 0:01:10.907 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Pre-input SQL script contents to SQL Server] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:511 Friday 05 January 2024 15:15:32 +0000 (0:00:00.030) 0:01:10.937 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the set edition matches the existing edition] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:526 Friday 05 January 2024 15:15:32 +0000 (0:00:00.023) 0:01:10.961 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:539 Friday 05 January 2024 15:15:32 +0000 (0:00:00.027) 0:01:10.988 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:546 Friday 05 January 2024 15:15:32 +0000 (0:00:00.026) 0:01:11.015 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Change the edition of MSSQL] ****************** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:552 Friday 05 January 2024 15:15:32 +0000 (0:00:00.034) 0:01:11.049 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Configure the IP address setting] ************* task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:572 Friday 05 January 2024 15:15:32 +0000 (0:00:00.021) 0:01:11.071 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register the previous tcpport setting] ******** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:579 Friday 05 January 2024 15:15:32 +0000 (0:00:00.033) 0:01:11.105 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:586 Friday 05 January 2024 15:15:32 +0000 (0:00:00.040) 0:01:11.145 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the TCP port setting to 1433] ******* task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:598 Friday 05 January 2024 15:15:32 +0000 (0:00:00.039) 0:01:11.184 ******** included: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network tcpport] ************** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Friday 05 January 2024 15:15:32 +0000 (0:00:00.034) 0:01:11.219 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003676", "end": "2024-01-05 15:15:32.574328", "failed_when_result": false, "rc": 1, "start": "2024-01-05 15:15:32.570652" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network tcpport] ******** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Friday 05 January 2024 15:15:32 +0000 (0:00:00.143) 0:01:11.362 ******** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.129039", "end": "2024-01-05 15:15:32.861330", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:15:32.732291" } STDOUT: Validation error on setting 'network.tcpport' Port '1433' is already in use. Please use another port TASK [linux-system-roles.mssql : Unset the setting network tcpport] ************ task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Friday 05 January 2024 15:15:32 +0000 (0:00:00.296) 0:01:11.658 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:604 Friday 05 January 2024 15:15:32 +0000 (0:00:00.020) 0:01:11.679 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the sqlagent setting] *************** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:624 Friday 05 January 2024 15:15:32 +0000 (0:00:00.051) 0:01:11.730 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-fts] ********** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:631 Friday 05 January 2024 15:15:32 +0000 (0:00:00.021) 0:01:11.752 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package powershell] **************** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:638 Friday 05 January 2024 15:15:33 +0000 (0:00:00.021) 0:01:11.773 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the 3979 trace flag is enabled] ****** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:647 Friday 05 January 2024 15:15:33 +0000 (0:00:00.029) 0:01:11.803 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:653 Friday 05 January 2024 15:15:33 +0000 (0:00:00.032) 0:01:11.835 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the 3979 traceflag] ********************* task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:660 Friday 05 January 2024 15:15:33 +0000 (0:00:00.020) 0:01:11.856 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the alternatewritethrough setting] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:668 Friday 05 January 2024 15:15:33 +0000 (0:00:00.020) 0:01:11.876 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the writethrough setting] *********** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:674 Friday 05 January 2024 15:15:33 +0000 (0:00:00.021) 0:01:11.897 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:692 Friday 05 January 2024 15:15:33 +0000 (0:00:00.025) 0:01:11.923 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:706 Friday 05 January 2024 15:15:33 +0000 (0:00:00.021) 0:01:11.945 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Copy certificate and private_key files to the host] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:711 Friday 05 January 2024 15:15:33 +0000 (0:00:00.019) 0:01:11.965 ******** skipping: [sut] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } skipping: [sut] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlscert setting] **************** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:729 Friday 05 January 2024 15:15:33 +0000 (0:00:00.022) 0:01:11.987 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlskey setting] ***************** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:738 Friday 05 January 2024 15:15:33 +0000 (0:00:00.020) 0:01:12.007 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlsprotocols setting] *********** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:747 Friday 05 January 2024 15:15:33 +0000 (0:00:00.019) 0:01:12.027 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the forceencryption setting] ******** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:754 Friday 05 January 2024 15:15:33 +0000 (0:00:00.020) 0:01:12.048 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that ad_integration_realm variable is provided] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:763 Friday 05 January 2024 15:15:33 +0000 (0:00:00.020) 0:01:12.069 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:771 Friday 05 January 2024 15:15:33 +0000 (0:00:00.022) 0:01:12.091 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure adutil and krb5-workstation] *********** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:779 Friday 05 January 2024 15:15:33 +0000 (0:00:00.018) 0:01:12.110 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print credential caches to check if AD principal exists] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:786 Friday 05 January 2024 15:15:33 +0000 (0:00:00.020) 0:01:12.130 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:793 Friday 05 January 2024 15:15:33 +0000 (0:00:00.021) 0:01:12.152 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Obtain Kerberos ticket for {{ __mssql_ad_kinit_user }}] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:802 Friday 05 January 2024 15:15:33 +0000 (0:00:00.055) 0:01:12.207 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Check if AD user exists] ********************** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:815 Friday 05 January 2024 15:15:33 +0000 (0:00:00.023) 0:01:12.231 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : In AD server create user] ********************* task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:824 Friday 05 January 2024 15:15:33 +0000 (0:00:00.022) 0:01:12.253 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Get SPNs for the principal] ******************* task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:836 Friday 05 January 2024 15:15:33 +0000 (0:00:00.033) 0:01:12.286 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register SPNs to the principal] *************** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:841 Friday 05 January 2024 15:15:33 +0000 (0:00:00.028) 0:01:12.315 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get kvno of the SPN host] ********************* task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:858 Friday 05 January 2024 15:15:33 +0000 (0:00:00.034) 0:01:12.350 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get stats of the keytab file] ***************** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:863 Friday 05 January 2024 15:15:33 +0000 (0:00:00.020) 0:01:12.370 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get keytab properties] ************************ task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:868 Friday 05 January 2024 15:15:33 +0000 (0:00:00.020) 0:01:12.390 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create keytab] ******************************** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:874 Friday 05 January 2024 15:15:33 +0000 (0:00:00.022) 0:01:12.412 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Add an entry in the keytab for the principal name and password] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:900 Friday 05 January 2024 15:15:33 +0000 (0:00:00.018) 0:01:12.430 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Ensure correct permissions and ownership on the keytab] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:921 Friday 05 January 2024 15:15:33 +0000 (0:00:00.018) 0:01:12.448 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fetch keytab file to host] ******************** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:929 Friday 05 January 2024 15:15:33 +0000 (0:00:00.017) 0:01:12.466 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:939 Friday 05 January 2024 15:15:33 +0000 (0:00:00.018) 0:01:12.485 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:945 Friday 05 January 2024 15:15:33 +0000 (0:00:00.019) 0:01:12.504 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that hosts with mssql_ha_replica_type=primary is available] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:962 Friday 05 January 2024 15:15:33 +0000 (0:00:00.018) 0:01:12.523 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the port and enable the high-availability service in firewall tcp port 5022] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:977 Friday 05 January 2024 15:15:33 +0000 (0:00:00.018) 0:01:12.541 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:997 Friday 05 January 2024 15:15:33 +0000 (0:00:00.018) 0:01:12.560 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-ha] *********** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:1051 Friday 05 January 2024 15:15:33 +0000 (0:00:00.019) 0:01:12.579 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:1058 Friday 05 January 2024 15:15:33 +0000 (0:00:00.018) 0:01:12.597 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:1065 Friday 05 January 2024 15:15:33 +0000 (0:00:00.054) 0:01:12.652 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:1076 Friday 05 January 2024 15:15:33 +0000 (0:00:00.019) 0:01:12.672 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key files] ***** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:1082 Friday 05 January 2024 15:15:33 +0000 (0:00:00.018) 0:01:12.691 ******** skipping: [sut] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/var/opt/mssql/data/.pvk) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.pvk", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure SQL entities on the primary replica] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:1090 Friday 05 January 2024 15:15:33 +0000 (0:00:00.022) 0:01:12.714 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create login for HA on in SQL Server] ********* task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:1099 Friday 05 January 2024 15:15:33 +0000 (0:00:00.019) 0:01:12.733 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fetch certificate files from the primary to the control node] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:1107 Friday 05 January 2024 15:15:33 +0000 (0:00:00.020) 0:01:12.753 ******** skipping: [sut] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get the current primary replica in SQL] ******* task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:1122 Friday 05 January 2024 15:15:34 +0000 (0:00:00.026) 0:01:12.780 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set fact with the current primary replica] **** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:1129 Friday 05 January 2024 15:15:34 +0000 (0:00:00.020) 0:01:12.800 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure ag] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:1154 Friday 05 January 2024 15:15:34 +0000 (0:00:00.020) 0:01:12.821 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:1163 Friday 05 January 2024 15:15:34 +0000 (0:00:00.020) 0:01:12.842 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Replicate DBs] ******************************** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:1173 Friday 05 January 2024 15:15:34 +0000 (0:00:00.019) 0:01:12.861 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:1184 Friday 05 January 2024 15:15:34 +0000 (0:00:00.020) 0:01:12.882 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that hosts with replica_type=primary is available] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:1197 Friday 05 January 2024 15:15:34 +0000 (0:00:00.022) 0:01:12.905 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-ha] *********** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:1210 Friday 05 January 2024 15:15:34 +0000 (0:00:00.022) 0:01:12.927 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:1217 Friday 05 January 2024 15:15:34 +0000 (0:00:00.032) 0:01:12.959 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:1224 Friday 05 January 2024 15:15:34 +0000 (0:00:00.024) 0:01:12.983 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:1233 Friday 05 January 2024 15:15:34 +0000 (0:00:00.021) 0:01:13.005 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:1240 Friday 05 January 2024 15:15:34 +0000 (0:00:00.026) 0:01:13.031 ******** skipping: [sut] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure SQL entities on not primary replicas] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:1252 Friday 05 January 2024 15:15:34 +0000 (0:00:00.032) 0:01:13.064 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create HA login] ****************************** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:1261 Friday 05 January 2024 15:15:34 +0000 (0:00:00.019) 0:01:13.083 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Join to availability group] ******************* task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:1268 Friday 05 January 2024 15:15:34 +0000 (0:00:00.052) 0:01:13.136 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:1274 Friday 05 January 2024 15:15:34 +0000 (0:00:00.019) 0:01:13.156 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key from the control node] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:1282 Friday 05 January 2024 15:15:34 +0000 (0:00:00.020) 0:01:13.176 ******** skipping: [sut] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=key) => { "ansible_loop_var": "item", "changed": false, "item": "key", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Save credentials for the SQL Server login] **** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:1295 Friday 05 January 2024 15:15:34 +0000 (0:00:00.023) 0:01:13.200 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:1307 Friday 05 January 2024 15:15:34 +0000 (0:00:00.018) 0:01:13.219 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure listener for the availability group] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:1313 Friday 05 January 2024 15:15:34 +0000 (0:00:00.021) 0:01:13.240 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:1322 Friday 05 January 2024 15:15:34 +0000 (0:00:00.020) 0:01:13.261 ******** changed: [sut] => { "changed": true } MSG: Block inserted META: ran handlers TASK [linux-system-roles.mssql : Post-input SQL scripts to SQL Server] ********* task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:1335 Friday 05 January 2024 15:15:34 +0000 (0:00:00.262) 0:01:13.523 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Post-input SQL scripts to SQL Server] ********* task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:1346 Friday 05 January 2024 15:15:34 +0000 (0:00:00.022) 0:01:13.545 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Upgrade to 2022 and assert expected results] ***************************** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/tests_2022_upgrade.yml:72 Friday 05 January 2024 15:15:34 +0000 (0:00:00.030) 0:01:13.576 ******** included: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/tasks/upgrade_and_assert.yml for sut TASK [Upgrade to 2022] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/tasks/upgrade_and_assert.yml:9 Friday 05 January 2024 15:15:34 +0000 (0:00:00.060) 0:01:13.636 ******** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Friday 05 January 2024 15:15:34 +0000 (0:00:00.083) 0:01:13.720 ******** included: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml for sut TASK [linux-system-roles.mssql : Ensure ansible_facts used by role] ************ task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Friday 05 January 2024 15:15:34 +0000 (0:00:00.034) 0:01:13.755 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:9 Friday 05 January 2024 15:15:35 +0000 (0:00:00.107) 0:01:13.862 ******** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-ansible-lint-test-2.165ogb2j33/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/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [sut] => (item=RedHat_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019 ] }, "ansible_included_var_files": [ "/WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/vars/RedHat_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.yml" } skipping: [sut] => (item=RedHat_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Friday 05 January 2024 15:15:35 +0000 (0:00:00.041) 0:01:13.904 ******** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [linux-system-roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Friday 05 January 2024 15:15:35 +0000 (0:00:00.019) 0:01:13.923 ******** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Friday 05 January 2024 15:15:35 +0000 (0:00:00.030) 0:01:13.954 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the variable is deprecated] ******** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Friday 05 January 2024 15:15:35 +0000 (0:00:00.029) 0:01:13.984 ******** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Friday 05 January 2024 15:15:35 +0000 (0:00:00.022) 0:01:14.006 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Friday 05 January 2024 15:15:35 +0000 (0:00:00.021) 0:01:14.027 ******** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:51 Friday 05 January 2024 15:15:35 +0000 (0:00:00.020) 0:01:14.048 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the mssql_ha_cluster_run_role variable is deprecated] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:58 Friday 05 January 2024 15:15:35 +0000 (0:00:00.020) 0:01:14.068 ******** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:65 Friday 05 January 2024 15:15:35 +0000 (0:00:00.019) 0:01:14.087 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that the user accepts EULA variables] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:69 Friday 05 January 2024 15:15:35 +0000 (0:00:00.020) 0:01:14.108 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:81 Friday 05 January 2024 15:15:35 +0000 (0:00:00.023) 0:01:14.131 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:89 Friday 05 January 2024 15:15:35 +0000 (0:00:00.019) 0:01:14.151 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:98 Friday 05 January 2024 15:15:35 +0000 (0:00:00.019) 0:01:14.170 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:111 Friday 05 January 2024 15:15:35 +0000 (0:00:00.019) 0:01:14.190 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:122 Friday 05 January 2024 15:15:35 +0000 (0:00:00.020) 0:01:14.211 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:131 Friday 05 January 2024 15:15:35 +0000 (0:00:00.019) 0:01:14.230 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:135 Friday 05 January 2024 15:15:36 +0000 (0:00:00.709) 0:01:14.939 ******** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } ok: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Friday 05 January 2024 15:15:36 +0000 (0:00:00.091) 0:01:15.030 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:151 Friday 05 January 2024 15:15:36 +0000 (0:00:00.034) 0:01:15.065 ******** fatal: [sut]: FAILED! => { "assertion": "mssql_version | int in __mssql_supported_versions", "changed": false, "evaluated_to": false } MSG: You must set the mssql_version variable to one of 2017, 2019 TASK [Assert that upgrading EL 7 to 2022 fails] ******************************** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/tasks/upgrade_and_assert.yml:17 Friday 05 January 2024 15:15:36 +0000 (0:00:00.061) 0:01:15.127 ******** fatal: [sut]: FAILED! => { "assertion": "'SQL Server 2022 does not support EL 7 hosts' in ansible_failed_result.msg", "changed": false, "evaluated_to": false } MSG: Assertion failed TASK [Clean up EL 7 after the role invocation] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/tasks/upgrade_and_assert.yml:27 Friday 05 January 2024 15:15:36 +0000 (0:00:00.038) 0:01:15.165 ******** included: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/tasks/cleanup.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/tasks/cleanup.yml:2 Friday 05 January 2024 15:15:36 +0000 (0:00:00.089) 0:01:15.255 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Purge cluster configuration] ********************************************* task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/tasks/cleanup.yml:6 Friday 05 January 2024 15:15:37 +0000 (0:00:00.682) 0:01:15.937 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Debug ansible_python_version] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/tasks/cleanup.yml:14 Friday 05 January 2024 15:15:37 +0000 (0:00:00.032) 0:01:15.970 ******** ok: [sut] => { "ansible_python_version": "2.7.5" } TASK [Purge firewall configuration] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/tasks/cleanup.yml:18 Friday 05 January 2024 15:15:37 +0000 (0:00:00.030) 0:01:16.000 ******** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Friday 05 January 2024 15:15:37 +0000 (0:00:00.111) 0:01:16.111 ******** included: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for sut TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Friday 05 January 2024 15:15:37 +0000 (0:00:00.052) 0:01:16.164 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Friday 05 January 2024 15:15:37 +0000 (0:00:00.027) 0:01:16.191 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Friday 05 January 2024 15:15:37 +0000 (0:00:00.185) 0:01:16.377 ******** ok: [sut] => { "ansible_facts": { "__firewall_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:19 Friday 05 January 2024 15:15:37 +0000 (0:00:00.023) 0:01:16.400 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Friday 05 January 2024 15:15:37 +0000 (0:00:00.351) 0:01:16.752 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Friday 05 January 2024 15:15:38 +0000 (0:00:00.022) 0:01:16.775 ******** skipping: [sut] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Friday 05 January 2024 15:15:38 +0000 (0:00:00.031) 0:01:16.806 ******** ok: [sut] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice basic.target dbus.service polkit.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "Conflicts": "shutdown.target ip6tables.service ebtables.service ipset.service iptables.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "29173", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "disabled", "Wants": "network-pre.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Friday 05 January 2024 15:15:38 +0000 (0:00:00.230) 0:01:17.036 ******** changed: [sut] => { "changed": true, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice basic.target dbus.service polkit.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "Conflicts": "ip6tables.service ebtables.service shutdown.target iptables.service ipset.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "29173", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "disabled", "Wants": "network-pre.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Friday 05 January 2024 15:15:38 +0000 (0:00:00.715) 0:01:17.752 ******** ok: [sut] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/bin/python2", "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Friday 05 January 2024 15:15:39 +0000 (0:00:00.114) 0:01:17.867 ******** ok: [sut] => { "changed": false, "rc": 0 } STDOUT: 8697e89439a0fde2df034ef3bfeb3a9558529194c459826162be809a2f08e773 /etc/firewalld/lockdown-whitelist.xml STDERR: Shared connection to 10.31.15.160 closed. TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Friday 05 January 2024 15:15:40 +0000 (0:00:01.269) 0:01:19.136 ******** ok: [sut] => { "ansible_facts": { "__firewall_report_changed": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Friday 05 January 2024 15:15:40 +0000 (0:00:00.026) 0:01:19.162 ******** TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Friday 05 January 2024 15:15:40 +0000 (0:00:00.025) 0:01:19.188 ******** TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Friday 05 January 2024 15:15:40 +0000 (0:00:00.025) 0:01:19.213 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Friday 05 January 2024 15:15:40 +0000 (0:00:00.026) 0:01:19.240 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Friday 05 January 2024 15:15:40 +0000 (0:00:00.021) 0:01:19.261 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Friday 05 January 2024 15:15:40 +0000 (0:00:00.022) 0:01:19.284 ******** ok: [sut] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.15.160 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Friday 05 January 2024 15:15:40 +0000 (0:00:00.293) 0:01:19.577 ******** changed: [sut] => { "ansible_facts": { "firewall_lib_result": { "changed": true } }, "changed": true } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Friday 05 January 2024 15:15:40 +0000 (0:00:00.026) 0:01:19.603 ******** skipping: [sut] => {} TASK [Leave realm] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/tasks/cleanup.yml:27 Friday 05 January 2024 15:15:40 +0000 (0:00:00.022) 0:01:19.626 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Destroy Kerberos tickets] ************************************************ task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/tasks/cleanup.yml:35 Friday 05 January 2024 15:15:40 +0000 (0:00:00.025) 0:01:19.651 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure that yum and dnf caching is enabled] ****************************** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/tasks/cleanup.yml:39 Friday 05 January 2024 15:15:40 +0000 (0:00:00.024) 0:01:19.676 ******** changed: [sut] => { "backup": "", "changed": true } MSG: line replaced TASK [Remove related packages] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/tasks/cleanup.yml:45 Friday 05 January 2024 15:15:41 +0000 (0:00:00.149) 0:01:19.825 ******** changed: [sut] => { "changed": true, "changes": { "removed": [ "mssql-server", "mssql-tools", "unixODBC-devel" ] }, "rc": 0, "results": [ "adutil is not installed", "mssql-server-fts is not installed", "mssql-server-ha is not installed", "powershell is not installed", "Loaded plugins: search-disabled-repos\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-server.x86_64 0:15.0.4345.5-2 will be erased\n---> Package mssql-tools.x86_64 0:17.10.1.1-1 will be erased\n---> Package unixODBC-devel.x86_64 0:2.3.11-1.rh will be erased\n--> Finished Dependency Resolution\n--> Finding unneeded leftover dependencies\n---> Marking msodbcsql17 to be removed - no longer needed by mssql-tools\n---> Marking unixODBC to be removed - no longer needed by unixODBC-devel\n---> Marking python3 to be removed - no longer needed by mssql-server\n---> Marking cyrus-sasl to be removed - no longer needed by mssql-server\n---> Marking gdb to be removed - no longer needed by mssql-server\n---> Marking lsof to be removed - no longer needed by mssql-server\n---> Marking libsss_nss_idmap to be removed - no longer needed by mssql-server\n---> Marking cyrus-sasl-gssapi to be removed - no longer needed by mssql-server\n---> Marking libatomic to be removed - no longer needed by mssql-server\n---> Marking bzip2 to be removed - no longer needed by mssql-server\n---> Marking libtool-ltdl to be removed - no longer needed by unixODBC\n---> Marking python3-libs to be removed - no longer needed by python3\n---> Marking python3-setuptools to be removed - no longer needed by python3\n---> Marking python3-pip to be removed - no longer needed by python3\nFound and removing 14 unneeded dependencies\n--> Running transaction check\n---> Package bzip2.x86_64 0:1.0.6-13.el7 will be erased\n---> Package cyrus-sasl.x86_64 0:2.1.26-24.el7_9 will be erased\n---> Package cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 will be erased\n---> Package gdb.x86_64 0:7.6.1-120.el7 will be erased\n---> Package libatomic.x86_64 0:4.8.5-44.el7 will be erased\n---> Package libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.15 will be erased\n---> Package libtool-ltdl.x86_64 0:2.4.2-22.el7_3 will be erased\n---> Package lsof.x86_64 0:4.87-6.el7 will be erased\n---> Package msodbcsql17.x86_64 0:17.10.5.1-1 will be erased\n---> Package python3.x86_64 0:3.6.8-21.el7_9 will be erased\n---> Package python3-libs.x86_64 0:3.6.8-21.el7_9 will be erased\n---> Package python3-pip.noarch 0:9.0.3-8.el7 will be erased\n---> Package python3-setuptools.noarch 0:39.2.0-10.el7 will be erased\n---> Package unixODBC.x86_64 0:2.3.11-1.rh will be erased\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nRemoving:\n mssql-server x86_64 15.0.4345.5-2 @packages-microsoft-com-mssql-server-2019\n 1.1 G\n mssql-tools x86_64 17.10.1.1-1 @packages-microsoft-com-prod 714 k\n unixODBC-devel x86_64 2.3.11-1.rh @packages-microsoft-com-prod 223 k\nRemoving for dependencies:\n bzip2 x86_64 1.0.6-13.el7 @rhel-Server 86 k\n cyrus-sasl x86_64 2.1.26-24.el7_9 @rhel-Server 141 k\n cyrus-sasl-gssapi x86_64 2.1.26-24.el7_9 @rhel-Server 36 k\n gdb x86_64 7.6.1-120.el7 @rhel-Server 7.0 M\n libatomic x86_64 4.8.5-44.el7 @rhel-Server 26 k\n libsss_nss_idmap x86_64 1.16.5-10.el7_9.15 @rhel-Server 82 k\n libtool-ltdl x86_64 2.4.2-22.el7_3 @rhel-Server 66 k\n lsof x86_64 4.87-6.el7 @rhel-Server 927 k\n msodbcsql17 x86_64 17.10.5.1-1 @packages-microsoft-com-prod 2.2 M\n python3 x86_64 3.6.8-21.el7_9 @rhel-Server 39 k\n python3-libs x86_64 3.6.8-21.el7_9 @rhel-Server 35 M\n python3-pip noarch 9.0.3-8.el7 @rhel-Server 9.1 M\n python3-setuptools\n noarch 39.2.0-10.el7 @rhel-Server 3.6 M\n unixODBC x86_64 2.3.11-1.rh @packages-microsoft-com-prod 648 k\n\nTransaction Summary\n================================================================================\nRemove 3 Packages (+14 Dependent packages)\n\nInstalled size: 1.2 G\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Erasing : mssql-server-15.0.4345.5-2.x86_64 1/17 \n Erasing : unixODBC-devel-2.3.11-1.rh.x86_64 2/17 \n Erasing : mssql-tools-17.10.1.1-1.x86_64 3/17 \n Erasing : python3-libs-3.6.8-21.el7_9.x86_64 4/17 \n Erasing : python3-pip-9.0.3-8.el7.noarch 5/17 \n Erasing : python3-setuptools-39.2.0-10.el7.noarch 6/17 \n Erasing : python3-3.6.8-21.el7_9.x86_64 7/17 \n Erasing : msodbcsql17-17.10.5.1-1.x86_64 8/17 \nODBC Driver 17 for SQL Server has been deleted (if it existed at all) because its usage count became zero\n Erasing : unixODBC-2.3.11-1.rh.x86_64 9/17 \nwarning: /etc/odbcinst.ini saved as /etc/odbcinst.ini.rpmsave\n Erasing : libtool-ltdl-2.4.2-22.el7_3.x86_64 10/17 \n Erasing : libatomic-4.8.5-44.el7.x86_64 11/17 \n Erasing : bzip2-1.0.6-13.el7.x86_64 12/17 \n Erasing : gdb-7.6.1-120.el7.x86_64 13/17 \n Erasing : libsss_nss_idmap-1.16.5-10.el7_9.15.x86_64 14/17 \n Erasing : cyrus-sasl-2.1.26-24.el7_9.x86_64 15/17 \n Erasing : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 16/17 \n Erasing : lsof-4.87-6.el7.x86_64 17/17 \n Verifying : mssql-tools-17.10.1.1-1.x86_64 1/17 \n Verifying : python3-3.6.8-21.el7_9.x86_64 2/17 \n Verifying : python3-setuptools-39.2.0-10.el7.noarch 3/17 \n Verifying : bzip2-1.0.6-13.el7.x86_64 4/17 \n Verifying : mssql-server-15.0.4345.5-2.x86_64 5/17 \n Verifying : libtool-ltdl-2.4.2-22.el7_3.x86_64 6/17 \n Verifying : lsof-4.87-6.el7.x86_64 7/17 \n Verifying : unixODBC-devel-2.3.11-1.rh.x86_64 8/17 \n Verifying : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 9/17 \n Verifying : gdb-7.6.1-120.el7.x86_64 10/17 \n Verifying : unixODBC-2.3.11-1.rh.x86_64 11/17 \n Verifying : python3-libs-3.6.8-21.el7_9.x86_64 12/17 \n Verifying : msodbcsql17-17.10.5.1-1.x86_64 13/17 \n Verifying : python3-pip-9.0.3-8.el7.noarch 14/17 \n Verifying : cyrus-sasl-2.1.26-24.el7_9.x86_64 15/17 \n Verifying : libatomic-4.8.5-44.el7.x86_64 16/17 \n Verifying : libsss_nss_idmap-1.16.5-10.el7_9.15.x86_64 17/17 \n\nRemoved:\n mssql-server.x86_64 0:15.0.4345.5-2 mssql-tools.x86_64 0:17.10.1.1-1 \n unixODBC-devel.x86_64 0:2.3.11-1.rh \n\nDependency Removed:\n bzip2.x86_64 0:1.0.6-13.el7 \n cyrus-sasl.x86_64 0:2.1.26-24.el7_9 \n cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 \n gdb.x86_64 0:7.6.1-120.el7 \n libatomic.x86_64 0:4.8.5-44.el7 \n libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.15 \n libtool-ltdl.x86_64 0:2.4.2-22.el7_3 \n lsof.x86_64 0:4.87-6.el7 \n msodbcsql17.x86_64 0:17.10.5.1-1 \n python3.x86_64 0:3.6.8-21.el7_9 \n python3-libs.x86_64 0:3.6.8-21.el7_9 \n python3-pip.noarch 0:9.0.3-8.el7 \n python3-setuptools.noarch 0:39.2.0-10.el7 \n unixODBC.x86_64 0:2.3.11-1.rh \n\nComplete!\n" ] } TASK [Remove related files] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/tasks/cleanup.yml:58 Friday 05 January 2024 15:15:44 +0000 (0:00:03.256) 0:01:23.082 ******** changed: [sut] => { "changed": true, "cmd": "rm -rfv /var/opt/mssql* /opt/mssql* /var/log/pacemaker/pacemaker.log /etc/yum.repos.d/packages-microsoft-com-* /tmp/*.j2 /tmp/mssql_data /tmp/mssql_log /etc/systemd/system/multi-user.target.wants/mssql-server.service", "delta": "0:00:00.012589", "end": "2024-01-05 15:15:44.443010", "rc": 0, "start": "2024-01-05 15:15:44.430421" } STDOUT: removed directory: ‘/var/opt/mssql/.system/system/Temp’ removed ‘/var/opt/mssql/.system/system/lsasetup.log’ removed ‘/var/opt/mssql/.system/system/debug/PASSWD.LOG’ removed directory: ‘/var/opt/mssql/.system/system/debug’ removed ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User/987ce4ab-c110-470b-8677-3e377cf036b5’ removed ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User/Preferred’ removed directory: ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User’ removed directory: ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18’ removed directory: ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect’ removed directory: ‘/var/opt/mssql/.system/system/system32/Microsoft’ removed directory: ‘/var/opt/mssql/.system/system/system32/LogFiles/Scm’ removed directory: ‘/var/opt/mssql/.system/system/system32/LogFiles’ removed directory: ‘/var/opt/mssql/.system/system/system32’ removed ‘/var/opt/mssql/.system/system/licensing.hiv’ removed ‘/var/opt/mssql/.system/system/lsa.hiv’ removed ‘/var/opt/mssql/.system/system/security.hiv’ removed directory: ‘/var/opt/mssql/.system/system’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/Desktop’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/Documents’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/Temp’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows/Temporary Internet Files’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/Certificates’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/CRLs’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/CTLs’ removed ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/AppContainerUserCertRead’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/LocalLow’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData’ removed directory: ‘/var/opt/mssql/.system/profiles/Client’ removed directory: ‘/var/opt/mssql/.system/profiles’ removed ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore/Microsoft.Diagnostics.Tracing.EventSource, Version=1.1.26.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ removed ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore/Microsoft.Diagnostics.Tracing.EventSource, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ removed directory: ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore’ removed directory: ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework’ removed directory: ‘/var/opt/mssql/.system/programdata/Microsoft’ removed directory: ‘/var/opt/mssql/.system/programdata’ removed ‘/var/opt/mssql/.system/instance_id’ removed directory: ‘/var/opt/mssql/.system’ removed ‘/var/opt/mssql/data/master.mdf’ removed ‘/var/opt/mssql/data/mastlog.ldf’ removed ‘/var/opt/mssql/data/model.mdf’ removed ‘/var/opt/mssql/data/modellog.ldf’ removed ‘/var/opt/mssql/data/msdbdata.mdf’ removed ‘/var/opt/mssql/data/msdblog.ldf’ removed ‘/var/opt/mssql/data/model_replicatedmaster.mdf’ removed ‘/var/opt/mssql/data/model_replicatedmaster.ldf’ removed ‘/var/opt/mssql/data/model_msdbdata.mdf’ removed ‘/var/opt/mssql/data/model_msdblog.ldf’ removed ‘/var/opt/mssql/data/Entropy.bin’ removed ‘/var/opt/mssql/data/tempdb.mdf’ removed ‘/var/opt/mssql/data/templog.ldf’ removed ‘/var/opt/mssql/data/tempdb2.ndf’ removed ‘/var/opt/mssql/data/tempdb3.ndf’ removed ‘/var/opt/mssql/data/tempdb4.ndf’ removed directory: ‘/var/opt/mssql/data’ removed ‘/var/opt/mssql/log/mssql-conf/mssql-conf.log’ removed directory: ‘/var/opt/mssql/log/mssql-conf’ removed ‘/var/opt/mssql/log/sqlagentstartup.log’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133489413169050000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133489413176330000.xel’ removed ‘/var/opt/mssql/log/log.trc’ removed ‘/var/opt/mssql/log/errorlog.2’ removed ‘/var/opt/mssql/log/errorlog.1’ removed ‘/var/opt/mssql/log/errorlog’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133489413218480000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133489413269360000.xel’ removed ‘/var/opt/mssql/log/log_1.trc’ removed directory: ‘/var/opt/mssql/log’ removed ‘/var/opt/mssql/mssql.conf’ removed ‘/var/opt/mssql/secrets/machine-key’ removed directory: ‘/var/opt/mssql/secrets’ removed directory: ‘/var/opt/mssql’ removed directory: ‘/opt/mssql’ removed directory: ‘/opt/mssql-tools’ removed ‘/etc/yum.repos.d/packages-microsoft-com-mssql-server-2019.repo’ removed ‘/etc/yum.repos.d/packages-microsoft-com-prod.repo’ removed ‘/etc/systemd/system/multi-user.target.wants/mssql-server.service’ TASK [Stop the mssql-server service] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/tasks/cleanup.yml:72 Friday 05 January 2024 15:15:44 +0000 (0:00:00.164) 0:01:23.247 ******** ok: [sut] => { "changed": false, "cmd": "systemctl stop mssql-server || true", "delta": "0:00:01.052848", "end": "2024-01-05 15:15:45.652964", "rc": 0, "start": "2024-01-05 15:15:44.600116" } META: ending play for sut PLAY RECAP ********************************************************************* sut : ok=67 changed=15 unreachable=0 failed=1 skipped=173 rescued=3 ignored=0 Friday 05 January 2024 15:15:45 +0000 (0:00:01.201) 0:01:24.449 ******** =============================================================================== linux-system-roles.mssql : Ensure the package mssql-server ------------- 43.87s /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:264 linux-system-roles.mssql : Set up MSSQL --------------------------------- 6.11s /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:324 linux-system-roles.mssql : Ensure that SQL Server client tools are installed --- 5.19s /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:426 Remove related packages ------------------------------------------------- 3.26s /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/tasks/cleanup.yml:45 -------- linux-system-roles.mssql : Add the fixed mssql profile to the list of Tuned profiles --- 2.81s /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:409 linux-system-roles.mssql : Ensure that the tuned-profiles-mssql package is installed --- 2.00s /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:366 linux-system-roles.mssql : Gather package facts ------------------------- 1.43s /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:131 linux-system-roles.mssql : Attempt to add mssql to the list of Tuned profiles --- 1.32s /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:387 fedora.linux_system_roles.firewall : Get config files, checksums before and remove --- 1.27s /WORKDIR/git-ansible-lint-test-2.165ogb2j33/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Stop the mssql-server service ------------------------------------------- 1.20s /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/tasks/cleanup.yml:72 -------- linux-system-roles.mssql : Gather system services facts ----------------- 0.88s /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:295 linux-system-roles.mssql : Gather package facts ------------------------- 0.79s /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:131 linux-system-roles.mssql : Gather package facts ------------------------- 0.72s /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:131 fedora.linux_system_roles.firewall : Enable and start firewalld service --- 0.72s /WORKDIR/git-ansible-lint-test-2.165ogb2j33/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 linux-system-roles.mssql : Deploy the GPG key for Microsoft repositories --- 0.69s /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:173 Gather package facts ---------------------------------------------------- 0.68s /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/tasks/cleanup.yml:2 --------- linux-system-roles.mssql : Get the active Tuned profiles ---------------- 0.58s /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:377 Gathering Facts --------------------------------------------------------- 0.53s /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/tests_2022_upgrade.yml:9 ---- linux-system-roles.mssql : Ensure that the tuned service is started and enabled --- 0.40s /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:371 fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.35s /WORKDIR/git-ansible-lint-test-2.165ogb2j33/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:19 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the file module with state=absent rather than running 'rm'. If you need to use command because file is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---