# 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_idempotency_2022.yml ******************************************* 1 plays in /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tests_idempotency_2022.yml PLAY [Ensure that the role is idempotent] ************************************** META: ran handlers TASK [Run tests_idempotency with SQL Server 2022] ****************************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tests_idempotency_2022.yml:16 Friday 05 January 2024 15:02:14 +0000 (0:00:00.027) 0:00:00.027 ******** included: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/tests_idempotency.yml for sut TASK [Assert fail on EL 7 with version = 2022 and EL 9 with version != 2022] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/tests_idempotency.yml:2 Friday 05 January 2024 15:02:14 +0000 (0:00:00.011) 0:00:00.039 ******** included: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/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.161nzvluo7/tests/tasks/assert_fail_on_unsupported_ver.yml:2 Friday 05 January 2024 15:02:14 +0000 (0:00:00.020) 0:00:00.059 ******** ok: [sut] TASK [Run the role] ************************************************************ task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/assert_fail_on_unsupported_ver.yml:15 Friday 05 January 2024 15:02:14 +0000 (0:00:00.426) 0:00:00.486 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unreachable task] ******************************************************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/assert_fail_on_unsupported_ver.yml:22 Friday 05 January 2024 15:02:14 +0000 (0:00:00.010) 0:00:00.496 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run on a fresh host and set all parameters] ****************************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/tests_idempotency.yml:5 Friday 05 January 2024 15:02:14 +0000 (0:00:00.009) 0:00:00.506 ******** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Friday 05 January 2024 15:02:14 +0000 (0:00:00.144) 0:00:00.651 ******** included: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Friday 05 January 2024 15:02:14 +0000 (0:00:00.011) 0:00:00.662 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:9 Friday 05 January 2024 15:02:14 +0000 (0:00:00.013) 0:00:00.675 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=CentOS_8.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/8/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019, 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [sut] => (item=CentOS_8.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/8/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019, 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Friday 05 January 2024 15:02:14 +0000 (0:00:00.024) 0:00:00.700 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Friday 05 January 2024 15:02:14 +0000 (0:00:00.008) 0:00:00.708 ******** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Friday 05 January 2024 15:02:14 +0000 (0:00:00.007) 0:00:00.716 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Friday 05 January 2024 15:02:14 +0000 (0:00:00.008) 0:00:00.725 ******** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Friday 05 January 2024 15:02:14 +0000 (0:00:00.018) 0:00:00.744 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Friday 05 January 2024 15:02:14 +0000 (0:00:00.009) 0:00:00.753 ******** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:51 Friday 05 January 2024 15:02:14 +0000 (0:00:00.011) 0:00:00.765 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:58 Friday 05 January 2024 15:02:14 +0000 (0:00:00.009) 0:00:00.775 ******** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:65 Friday 05 January 2024 15:02:14 +0000 (0:00:00.007) 0:00:00.783 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:69 Friday 05 January 2024 15:02:14 +0000 (0:00:00.014) 0:00:00.797 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:81 Friday 05 January 2024 15:02:14 +0000 (0:00:00.014) 0:00:00.811 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:89 Friday 05 January 2024 15:02:14 +0000 (0:00:00.012) 0:00:00.824 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:98 Friday 05 January 2024 15:02:14 +0000 (0:00:00.008) 0:00:00.833 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:111 Friday 05 January 2024 15:02:14 +0000 (0:00:00.008) 0:00:00.842 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:122 Friday 05 January 2024 15:02:14 +0000 (0:00:00.008) 0:00:00.851 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:131 Friday 05 January 2024 15:02:14 +0000 (0:00:00.014) 0:00:00.865 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:135 Friday 05 January 2024 15:02:16 +0000 (0:00:01.433) 0:00:02.299 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Friday 05 January 2024 15:02:16 +0000 (0:00:00.056) 0:00:02.355 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:151 Friday 05 January 2024 15:02:16 +0000 (0:00:00.045) 0:00:02.401 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:158 Friday 05 January 2024 15:02:16 +0000 (0:00:00.062) 0:00:02.464 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:173 Friday 05 January 2024 15:02:16 +0000 (0:00:00.043) 0:00:02.507 ******** ok: [sut] => { "attempts": 1, "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server repo version {{ __mssql_current_version }}] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:186 Friday 05 January 2024 15:02:18 +0000 (0:00:01.526) 0:00:04.033 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:196 Friday 05 January 2024 15:02:18 +0000 (0:00:00.024) 0:00:04.057 ******** 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 2022] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:207 Friday 05 January 2024 15:02:18 +0000 (0:00:00.020) 0:00:04.078 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server repo version 2022] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:215 Friday 05 January 2024 15:02:18 +0000 (0:00:00.018) 0:00:04.096 ******** changed: [sut] => { "changed": true, "repo": "packages-microsoft-com-mssql-server-2022", "state": "present" } TASK [Ensure that the system is in SELinux enforcing state] ******************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:228 Friday 05 January 2024 15:02:18 +0000 (0:00:00.274) 0:00:04.371 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:236 Friday 05 January 2024 15:02:18 +0000 (0:00:00.033) 0:00:04.404 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:241 Friday 05 January 2024 15:02:18 +0000 (0:00:00.033) 0:00:04.438 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:250 Friday 05 January 2024 15:02:18 +0000 (0:00:00.051) 0:00:04.489 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:259 Friday 05 January 2024 15:02:18 +0000 (0:00:00.030) 0:00:04.520 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:264 Friday 05 January 2024 15:02:18 +0000 (0:00:00.036) 0:00:04.556 ******** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: guile-5:2.0.14-7.el8.x86_64", "Installed: gdb-headless-8.2-20.el8.x86_64", "Installed: bzip2-1.0.6-26.el8.x86_64", "Installed: libbabeltrace-1.5.4-4.el8.x86_64", "Installed: cyrus-sasl-2.1.27-6.el8_5.x86_64", "Installed: lsof-4.93.2-1.el8.x86_64", "Installed: libatomic-8.5.0-21.el8.x86_64", "Installed: gdb-8.2-20.el8.x86_64", "Installed: mssql-server-16.0.4095.4-1.x86_64", "Installed: libtool-ltdl-2.4.6-25.el8.x86_64", "Installed: cyrus-sasl-gssapi-2.1.27-6.el8_5.x86_64", "Installed: gcc-gdb-plugin-8.5.0-21.el8.x86_64", "Installed: libipt-1.6.1-8.el8.x86_64", "Installed: libatomic_ops-7.6.2-3.el8.x86_64", "Installed: gc-7.6.4-3.el8.x86_64" ] } TASK [linux-system-roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:272 Friday 05 January 2024 15:02:58 +0000 (0:00:40.249) 0:00:44.805 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:280 Friday 05 January 2024 15:02:58 +0000 (0:00:00.018) 0:00:44.824 ******** 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.005554", "end": "2024-01-05 15:02:59.185382", "rc": 0, "start": "2024-01-05 15:02:59.179828" } TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:295 Friday 05 January 2024 15:02:59 +0000 (0:00:00.280) 0:00:45.104 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:299 Friday 05 January 2024 15:03:00 +0000 (0:00:01.511) 0:00:46.616 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:308 Friday 05 January 2024 15:03:00 +0000 (0:00:00.045) 0:00:46.662 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:324 Friday 05 January 2024 15:03:00 +0000 (0:00:00.026) 0:00:46.689 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:344 Friday 05 January 2024 15:03:09 +0000 (0:00:08.424) 0:00:55.114 ******** included: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml for sut included: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml for sut TASK [linux-system-roles.mssql : Get stat of the directory /tmp/mssql_data] **** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:3 Friday 05 January 2024 15:03:09 +0000 (0:00:00.094) 0:00:55.209 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.mssql : Ensure the directory and keep present permissions /tmp/mssql_data] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:8 Friday 05 January 2024 15:03:09 +0000 (0:00:00.275) 0:00:55.484 ******** changed: [sut] => { "changed": true, "gid": 991, "group": "mssql", "mode": "0700", "owner": "mssql", "path": "/tmp/mssql_data", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 6, "state": "directory", "uid": 993 } TASK [linux-system-roles.mssql : Append facts for the selinux role] ************ task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:23 Friday 05 January 2024 15:03:09 +0000 (0:00:00.289) 0:00:55.774 ******** ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/mssql_data" } ], "selinux_restore_dirs": [ "/tmp/mssql_data" ] }, "changed": false } TASK [linux-system-roles.mssql : Configure the setting defaultdatadir] ********* task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:39 Friday 05 January 2024 15:03:09 +0000 (0:00:00.046) 0:00:55.820 ******** included: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Friday 05 January 2024 15:03:09 +0000 (0:00:00.036) 0:00:55.857 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002992", "end": "2024-01-05 15:03:10.145692", "failed_when_result": false, "rc": 1, "start": "2024-01-05 15:03:10.142700" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Friday 05 January 2024 15:03:10 +0000 (0:00:00.214) 0:00:56.071 ******** NOTIFIED HANDLER linux-system-roles.mssql : Restart the mssql-server service for sut changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "filelocation.defaultdatadir", "/tmp/mssql_data" ], "delta": "0:00:00.134615", "end": "2024-01-05 15:03:10.547805", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:03:10.413190" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Friday 05 January 2024 15:03:10 +0000 (0:00:00.417) 0:00:56.488 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get stat of the directory /tmp/mssql_log] ***** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:3 Friday 05 January 2024 15:03:10 +0000 (0:00:00.035) 0:00:56.523 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.mssql : Ensure the directory and keep present permissions /tmp/mssql_log] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:8 Friday 05 January 2024 15:03:10 +0000 (0:00:00.270) 0:00:56.794 ******** changed: [sut] => { "changed": true, "gid": 991, "group": "mssql", "mode": "0700", "owner": "mssql", "path": "/tmp/mssql_log", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 6, "state": "directory", "uid": 993 } TASK [linux-system-roles.mssql : Append facts for the selinux role] ************ task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:23 Friday 05 January 2024 15:03:11 +0000 (0:00:00.220) 0:00:57.014 ******** ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/mssql_data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/mssql_log" } ], "selinux_restore_dirs": [ "/tmp/mssql_data", "/tmp/mssql_log" ] }, "changed": false } TASK [linux-system-roles.mssql : Configure the setting defaultlogdir] ********** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:39 Friday 05 January 2024 15:03:11 +0000 (0:00:00.027) 0:00:57.042 ******** included: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Friday 05 January 2024 15:03:11 +0000 (0:00:00.035) 0:00:57.077 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003178", "end": "2024-01-05 15:03:11.371562", "failed_when_result": false, "rc": 1, "start": "2024-01-05 15:03:11.368384" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Friday 05 January 2024 15:03:11 +0000 (0:00:00.232) 0:00:57.310 ******** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "filelocation.defaultlogdir", "/tmp/mssql_log" ], "delta": "0:00:00.124939", "end": "2024-01-05 15:03:11.746250", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:03:11.621311" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Friday 05 January 2024 15:03:11 +0000 (0:00:00.382) 0:00:57.692 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for {{ __mssql_storage_path }}] *********** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:359 Friday 05 January 2024 15:03:11 +0000 (0:00:00.032) 0:00:57.725 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:366 Friday 05 January 2024 15:03:11 +0000 (0:00:00.021) 0:00:57.747 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:371 Friday 05 January 2024 15:03:15 +0000 (0:00:03.548) 0:01:01.296 ******** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-01-05 14:39:19 UTC", "ActiveEnterTimestampMonotonic": "32881992", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target systemd-sysctl.service network.target dbus.socket sysinit.target polkit.service system.slice dbus.service systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 14:39:17 UTC", "AssertTimestampMonotonic": "31127452", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-01-05 14:39:17 UTC", "ConditionTimestampMonotonic": "31127450", "ConfigurationDirectoryMode": "0755", "Conflicts": "tlp.service power-profiles-daemon.service auto-cpufreq.service shutdown.target cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "695", "ExecMainStartTimestamp": "Fri 2024-01-05 14:39:17 UTC", "ExecMainStartTimestampMonotonic": "31128538", "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", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-01-05 14:39:17 UTC", "InactiveExitTimestampMonotonic": "31128583", "InvocationID": "de191513c00c466c9c82b339f1865493", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "28609", "LimitNPROCSoft": "28609", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28609", "LimitSIGPENDINGSoft": "28609", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "695", "MemoryAccounting": "yes", "MemoryCurrent": "22913024", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target dbus.service dbus.socket system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Fri 2024-01-05 14:39:19 UTC", "StateChangeTimestampMonotonic": "32881992", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "45774", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-01-05 14:39:19 UTC", "WatchdogTimestampMonotonic": "32881989", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:377 Friday 05 January 2024 15:03:16 +0000 (0:00:00.647) 0:01:01.943 ******** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.116849", "end": "2024-01-05 15:03:16.359355", "rc": 0, "start": "2024-01-05 15:03:16.242506" } STDOUT: Current active profile: virtual-guest mssql TASK [linux-system-roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:387 Friday 05 January 2024 15:03:16 +0000 (0:00:00.397) 0:01:02.341 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:400 Friday 05 January 2024 15:03:16 +0000 (0:00:00.048) 0:01:02.389 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:409 Friday 05 January 2024 15:03:16 +0000 (0:00:00.048) 0:01:02.437 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:419 Friday 05 January 2024 15:03:16 +0000 (0:00:00.064) 0:01:02.502 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:426 Friday 05 January 2024 15:03:16 +0000 (0:00:00.233) 0:01:02.735 ******** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: mssql-tools-17.10.1.1-1.x86_64", "Installed: unixODBC-2.3.11-1.rh.x86_64", "Installed: msodbcsql17-17.10.5.1-1.x86_64", "Installed: unixODBC-devel-2.3.11-1.rh.x86_64" ] } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:438 Friday 05 January 2024 15:03:20 +0000 (0:00:03.984) 0:01:06.720 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:442 Friday 05 January 2024 15:03:20 +0000 (0:00:00.042) 0:01:06.762 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:448 Friday 05 January 2024 15:03:20 +0000 (0:00:00.067) 0:01:06.829 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:463 Friday 05 January 2024 15:03:20 +0000 (0:00:00.053) 0:01:06.883 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:470 Friday 05 January 2024 15:03:21 +0000 (0:00:00.049) 0:01:06.932 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:478 Friday 05 January 2024 15:03:21 +0000 (0:00:00.049) 0:01:06.982 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:500 Friday 05 January 2024 15:03:21 +0000 (0:00:00.027) 0:01:07.010 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:511 Friday 05 January 2024 15:03:21 +0000 (0:00:00.041) 0:01:07.051 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:526 Friday 05 January 2024 15:03:21 +0000 (0:00:00.037) 0:01:07.089 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:539 Friday 05 January 2024 15:03:21 +0000 (0:00:00.028) 0:01:07.118 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:546 Friday 05 January 2024 15:03:21 +0000 (0:00:00.027) 0:01:07.145 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:552 Friday 05 January 2024 15:03:21 +0000 (0:00:00.022) 0:01:07.168 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:572 Friday 05 January 2024 15:03:21 +0000 (0:00:00.022) 0:01:07.190 ******** included: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network ipaddress] ************ task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Friday 05 January 2024 15:03:21 +0000 (0:00:00.036) 0:01:07.227 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002721", "end": "2024-01-05 15:03:21.502521", "failed_when_result": false, "rc": 1, "start": "2024-01-05 15:03:21.499800" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network ipaddress] ****** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Friday 05 January 2024 15:03:21 +0000 (0:00:00.202) 0:01:07.429 ******** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.ipaddress", "0.0.0.0" ], "delta": "0:00:00.126622", "end": "2024-01-05 15:03:21.835287", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:03:21.708665" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the setting network ipaddress] ********** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Friday 05 January 2024 15:03:21 +0000 (0:00:00.333) 0:01:07.762 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:579 Friday 05 January 2024 15:03:21 +0000 (0:00:00.020) 0:01:07.783 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:586 Friday 05 January 2024 15:03:21 +0000 (0:00:00.049) 0:01:07.832 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:598 Friday 05 January 2024 15:03:21 +0000 (0:00:00.023) 0:01:07.856 ******** included: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Friday 05 January 2024 15:03:21 +0000 (0:00:00.034) 0:01:07.891 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002922", "end": "2024-01-05 15:03:22.171908", "failed_when_result": false, "rc": 1, "start": "2024-01-05 15:03:22.168986" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network tcpport] ******** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Friday 05 January 2024 15:03:22 +0000 (0:00:00.206) 0:01:08.097 ******** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.125770", "end": "2024-01-05 15:03:22.506313", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:03:22.380543" } 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Friday 05 January 2024 15:03:22 +0000 (0:00:00.341) 0:01:08.439 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:604 Friday 05 January 2024 15:03:22 +0000 (0:00:00.021) 0:01:08.460 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:624 Friday 05 January 2024 15:03:22 +0000 (0:00:00.018) 0:01:08.479 ******** included: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting sqlagent enabled] ************* task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Friday 05 January 2024 15:03:22 +0000 (0:00:00.035) 0:01:08.515 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002919", "end": "2024-01-05 15:03:22.790454", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:03:22.787535" } STDOUT: enabled = false TASK [linux-system-roles.mssql : Configure the setting sqlagent enabled] ******* task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Friday 05 January 2024 15:03:22 +0000 (0:00:00.198) 0:01:08.713 ******** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "sqlagent.enabled", "True" ], "delta": "0:00:00.123379", "end": "2024-01-05 15:03:23.115434", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:03:22.992055" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the setting sqlagent enabled] *********** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Friday 05 January 2024 15:03:23 +0000 (0:00:00.328) 0:01:09.041 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:631 Friday 05 January 2024 15:03:23 +0000 (0:00:00.021) 0:01:09.063 ******** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: mssql-server-fts-16.0.4095.4-1.x86_64" ] } TASK [linux-system-roles.mssql : Ensure the package powershell] **************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:638 Friday 05 January 2024 15:03:53 +0000 (0:00:30.345) 0:01:39.409 ******** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: powershell-7.4.0-1.rh.x86_64", "Installed: libicu-60.3-2.el8_1.x86_64" ] } TASK [linux-system-roles.mssql : Check if the 3979 trace flag is enabled] ****** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:647 Friday 05 January 2024 15:04:06 +0000 (0:00:12.688) 0:01:52.097 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003145", "end": "2024-01-05 15:04:06.375320", "failed_when_result": false, "rc": 1, "start": "2024-01-05 15:04:06.372175" } MSG: non-zero return code TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:653 Friday 05 January 2024 15:04:06 +0000 (0:00:00.200) 0:01:52.297 ******** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "traceflag", "3979", "on" ], "delta": "0:00:00.125219", "end": "2024-01-05 15:04:06.697899", "rc": 0, "start": "2024-01-05 15:04:06.572680" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the 3979 traceflag] ********************* task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:660 Friday 05 January 2024 15:04:06 +0000 (0:00:00.323) 0:01:52.620 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:668 Friday 05 January 2024 15:04:06 +0000 (0:00:00.026) 0:01:52.647 ******** included: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting control alternatewritethrough] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Friday 05 January 2024 15:04:06 +0000 (0:00:00.075) 0:01:52.722 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002872", "end": "2024-01-05 15:04:06.998457", "failed_when_result": false, "rc": 1, "start": "2024-01-05 15:04:06.995585" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting control alternatewritethrough] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Friday 05 January 2024 15:04:07 +0000 (0:00:00.197) 0:01:52.920 ******** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "control.alternatewritethrough", "0" ], "delta": "0:00:00.123050", "end": "2024-01-05 15:04:07.318474", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:04:07.195424" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the setting control alternatewritethrough] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Friday 05 January 2024 15:04:07 +0000 (0:00:00.324) 0:01:53.244 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:674 Friday 05 January 2024 15:04:07 +0000 (0:00:00.021) 0:01:53.266 ******** included: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting control writethrough] ********* task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Friday 05 January 2024 15:04:07 +0000 (0:00:00.038) 0:01:53.304 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002931", "end": "2024-01-05 15:04:07.586294", "failed_when_result": false, "rc": 1, "start": "2024-01-05 15:04:07.583363" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting control writethrough] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Friday 05 January 2024 15:04:07 +0000 (0:00:00.205) 0:01:53.510 ******** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "control.writethrough", "1" ], "delta": "0:00:00.125696", "end": "2024-01-05 15:04:07.913553", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:04:07.787857" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the setting control writethrough] ******* task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Friday 05 January 2024 15:04:07 +0000 (0:00:00.330) 0:01:53.840 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:692 Friday 05 January 2024 15:04:07 +0000 (0:00:00.025) 0:01:53.866 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:706 Friday 05 January 2024 15:04:07 +0000 (0:00:00.022) 0:01:53.888 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:711 Friday 05 January 2024 15:04:08 +0000 (0:00:00.021) 0:01:53.910 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:729 Friday 05 January 2024 15:04:08 +0000 (0:00:00.028) 0:01:53.939 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:738 Friday 05 January 2024 15:04:08 +0000 (0:00:00.021) 0:01:53.961 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:747 Friday 05 January 2024 15:04:08 +0000 (0:00:00.021) 0:01:53.982 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:754 Friday 05 January 2024 15:04:08 +0000 (0:00:00.060) 0:01:54.043 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:763 Friday 05 January 2024 15:04:08 +0000 (0:00:00.025) 0:01:54.068 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:771 Friday 05 January 2024 15:04:08 +0000 (0:00:00.029) 0:01:54.098 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:779 Friday 05 January 2024 15:04:08 +0000 (0:00:00.026) 0:01:54.125 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:786 Friday 05 January 2024 15:04:08 +0000 (0:00:00.030) 0:01:54.155 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:793 Friday 05 January 2024 15:04:08 +0000 (0:00:00.035) 0:01:54.191 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:802 Friday 05 January 2024 15:04:08 +0000 (0:00:00.041) 0:01:54.232 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:815 Friday 05 January 2024 15:04:08 +0000 (0:00:00.025) 0:01:54.258 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:824 Friday 05 January 2024 15:04:08 +0000 (0:00:00.023) 0:01:54.281 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:836 Friday 05 January 2024 15:04:08 +0000 (0:00:00.023) 0:01:54.305 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:841 Friday 05 January 2024 15:04:08 +0000 (0:00:00.023) 0:01:54.328 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:858 Friday 05 January 2024 15:04:08 +0000 (0:00:00.021) 0:01:54.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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:863 Friday 05 January 2024 15:04:08 +0000 (0:00:00.041) 0:01:54.392 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:868 Friday 05 January 2024 15:04:08 +0000 (0:00:00.020) 0:01:54.413 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:874 Friday 05 January 2024 15:04:08 +0000 (0:00:00.044) 0:01:54.457 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:900 Friday 05 January 2024 15:04:08 +0000 (0:00:00.037) 0:01:54.495 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:921 Friday 05 January 2024 15:04:08 +0000 (0:00:00.025) 0:01:54.521 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:929 Friday 05 January 2024 15:04:08 +0000 (0:00:00.029) 0:01:54.551 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:939 Friday 05 January 2024 15:04:08 +0000 (0:00:00.049) 0:01:54.601 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:945 Friday 05 January 2024 15:04:08 +0000 (0:00:00.023) 0:01:54.624 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:962 Friday 05 January 2024 15:04:08 +0000 (0:00:00.044) 0:01:54.668 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:977 Friday 05 January 2024 15:04:08 +0000 (0:00:00.036) 0:01:54.704 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:997 Friday 05 January 2024 15:04:08 +0000 (0:00:00.030) 0:01:54.734 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1051 Friday 05 January 2024 15:04:08 +0000 (0:00:00.024) 0:01:54.759 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1058 Friday 05 January 2024 15:04:08 +0000 (0:00:00.025) 0:01:54.784 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1065 Friday 05 January 2024 15:04:08 +0000 (0:00:00.033) 0:01:54.818 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1076 Friday 05 January 2024 15:04:08 +0000 (0:00:00.049) 0:01:54.868 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1082 Friday 05 January 2024 15:04:09 +0000 (0:00:00.042) 0:01:54.911 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1090 Friday 05 January 2024 15:04:09 +0000 (0:00:00.042) 0:01:54.953 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1099 Friday 05 January 2024 15:04:09 +0000 (0:00:00.022) 0:01:54.975 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1107 Friday 05 January 2024 15:04:09 +0000 (0:00:00.027) 0:01:55.002 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1122 Friday 05 January 2024 15:04:09 +0000 (0:00:00.028) 0:01:55.031 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1129 Friday 05 January 2024 15:04:09 +0000 (0:00:00.023) 0:01:55.055 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1154 Friday 05 January 2024 15:04:09 +0000 (0:00:00.032) 0:01:55.087 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1163 Friday 05 January 2024 15:04:09 +0000 (0:00:00.026) 0:01:55.113 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1173 Friday 05 January 2024 15:04:09 +0000 (0:00:00.039) 0:01:55.153 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1184 Friday 05 January 2024 15:04:09 +0000 (0:00:00.045) 0:01:55.198 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1197 Friday 05 January 2024 15:04:09 +0000 (0:00:00.022) 0:01:55.221 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1210 Friday 05 January 2024 15:04:09 +0000 (0:00:00.021) 0:01:55.243 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1217 Friday 05 January 2024 15:04:09 +0000 (0:00:00.022) 0:01:55.265 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1224 Friday 05 January 2024 15:04:09 +0000 (0:00:00.020) 0:01:55.286 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1233 Friday 05 January 2024 15:04:09 +0000 (0:00:00.029) 0:01:55.315 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1240 Friday 05 January 2024 15:04:09 +0000 (0:00:00.021) 0:01:55.336 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1252 Friday 05 January 2024 15:04:09 +0000 (0:00:00.027) 0:01:55.364 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1261 Friday 05 January 2024 15:04:09 +0000 (0:00:00.020) 0:01:55.385 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1268 Friday 05 January 2024 15:04:09 +0000 (0:00:00.020) 0:01:55.406 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1274 Friday 05 January 2024 15:04:09 +0000 (0:00:00.022) 0:01:55.428 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1282 Friday 05 January 2024 15:04:09 +0000 (0:00:00.020) 0:01:55.448 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1295 Friday 05 January 2024 15:04:09 +0000 (0:00:00.026) 0:01:55.474 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1307 Friday 05 January 2024 15:04:09 +0000 (0:00:00.025) 0:01:55.500 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1313 Friday 05 January 2024 15:04:09 +0000 (0:00:00.033) 0:01:55.534 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1322 Friday 05 January 2024 15:04:09 +0000 (0:00:00.035) 0:01:55.569 ******** changed: [sut] => { "changed": true } MSG: Block inserted RUNNING HANDLER [linux-system-roles.mssql : Restart the mssql-server service] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 Friday 05 January 2024 15:04:10 +0000 (0:00:00.363) 0:01:55.932 ******** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-01-05 15:03:08 UTC", "ActiveEnterTimestampMonotonic": "1462133389", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target auditd.service system.slice -.mount sysinit.target systemd-journald.socket network.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 15:03:08 UTC", "AssertTimestampMonotonic": "1462125341", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-01-05 15:03:08 UTC", "ConditionTimestampMonotonic": "1462125339", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "31557", "ExecMainStartTimestamp": "Fri 2024-01-05 15:03:08 UTC", "ExecMainStartTimestampMonotonic": "1462133325", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; 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/mssql-server.service", "FreezerState": "running", "GID": "991", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-01-05 15:03:08 UTC", "InactiveExitTimestampMonotonic": "1462133389", "InvocationID": "140c905584254caa8197c5ab52f92293", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28609", "LimitSIGPENDINGSoft": "28609", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "31557", "MemoryAccounting": "yes", "MemoryCurrent": "736169984", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount sysinit.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Fri 2024-01-05 15:03:08 UTC", "StateChangeTimestampMonotonic": "1462133389", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "177", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-01-05 15:03:08 UTC", "WatchdogTimestampMonotonic": "1462133385", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } META: ran handlers TASK [linux-system-roles.mssql : Post-input SQL scripts to SQL Server] ********* task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1335 Friday 05 January 2024 15:04:10 +0000 (0:00:00.602) 0:01:56.535 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1346 Friday 05 January 2024 15:04:10 +0000 (0:00:00.026) 0:01:56.561 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Configure the mssql-server service start limit interval and burst] ******* task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/tests_idempotency.yml:22 Friday 05 January 2024 15:04:10 +0000 (0:00:00.037) 0:01:56.599 ******** included: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/mssql-sever-increase-start-limit.yml for sut TASK [Modify the mssql-server service start limit interval] ******************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/mssql-sever-increase-start-limit.yml:3 Friday 05 January 2024 15:04:10 +0000 (0:00:00.092) 0:01:56.691 ******** changed: [sut] => { "changed": true } MSG: 1 replacements made TASK [Modify the mssql-server service start limit burst] *********************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/mssql-sever-increase-start-limit.yml:10 Friday 05 January 2024 15:04:11 +0000 (0:00:00.259) 0:01:56.950 ******** changed: [sut] => { "changed": true } MSG: 1 replacements made TASK [Reload service daemon] *************************************************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/mssql-sever-increase-start-limit.yml:17 Friday 05 January 2024 15:04:11 +0000 (0:00:00.222) 0:01:57.173 ******** ok: [sut] => { "changed": false, "name": null, "status": {} } TASK [Run again with the same settings - should report not changed] ************ task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/tests_idempotency.yml:25 Friday 05 January 2024 15:04:11 +0000 (0:00:00.470) 0:01:57.644 ******** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Friday 05 January 2024 15:04:11 +0000 (0:00:00.194) 0:01:57.838 ******** included: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Friday 05 January 2024 15:04:11 +0000 (0:00:00.032) 0:01:57.870 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:9 Friday 05 January 2024 15:04:12 +0000 (0:00:00.025) 0:01:57.896 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=CentOS_8.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/8/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019, 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [sut] => (item=CentOS_8.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/8/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019, 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Friday 05 January 2024 15:04:12 +0000 (0:00:00.040) 0:01:57.936 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Friday 05 January 2024 15:04:12 +0000 (0:00:00.020) 0:01:57.957 ******** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Friday 05 January 2024 15:04:12 +0000 (0:00:00.022) 0:01:57.980 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Friday 05 January 2024 15:04:12 +0000 (0:00:00.020) 0:01:58.001 ******** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Friday 05 January 2024 15:04:12 +0000 (0:00:00.021) 0:01:58.022 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Friday 05 January 2024 15:04:12 +0000 (0:00:00.027) 0:01:58.049 ******** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:51 Friday 05 January 2024 15:04:12 +0000 (0:00:00.026) 0:01:58.076 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:58 Friday 05 January 2024 15:04:12 +0000 (0:00:00.034) 0:01:58.110 ******** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:65 Friday 05 January 2024 15:04:12 +0000 (0:00:00.021) 0:01:58.132 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:69 Friday 05 January 2024 15:04:12 +0000 (0:00:00.022) 0:01:58.154 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:81 Friday 05 January 2024 15:04:12 +0000 (0:00:00.089) 0:01:58.244 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:89 Friday 05 January 2024 15:04:12 +0000 (0:00:00.039) 0:01:58.283 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:98 Friday 05 January 2024 15:04:12 +0000 (0:00:00.022) 0:01:58.306 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:111 Friday 05 January 2024 15:04:12 +0000 (0:00:00.020) 0:01:58.327 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:122 Friday 05 January 2024 15:04:12 +0000 (0:00:00.033) 0:01:58.361 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:131 Friday 05 January 2024 15:04:12 +0000 (0:00:00.028) 0:01:58.390 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:135 Friday 05 January 2024 15:04:13 +0000 (0:00:01.455) 0:01:59.845 ******** 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" } ok: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_facts": { "__mssql_current_version": "2022" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 } } TASK [linux-system-roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Friday 05 January 2024 15:04:14 +0000 (0:00:00.091) 0:01:59.936 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:151 Friday 05 January 2024 15:04:14 +0000 (0:00:00.025) 0:01:59.962 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:158 Friday 05 January 2024 15:04:14 +0000 (0:00:00.028) 0:01:59.990 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:173 Friday 05 January 2024 15:04:14 +0000 (0:00:00.132) 0:02:00.122 ******** ok: [sut] => { "attempts": 1, "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server repo version 2022] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:186 Friday 05 January 2024 15:04:14 +0000 (0:00:00.577) 0:02:00.700 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:196 Friday 05 January 2024 15:04:14 +0000 (0:00:00.022) 0:02:00.722 ******** 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 2022] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:207 Friday 05 January 2024 15:04:14 +0000 (0:00:00.021) 0:02:00.743 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server repo version 2022] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:215 Friday 05 January 2024 15:04:14 +0000 (0:00:00.023) 0:02:00.766 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure that the system is in SELinux enforcing state] ******************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:228 Friday 05 January 2024 15:04:14 +0000 (0:00:00.025) 0:02:00.792 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:236 Friday 05 January 2024 15:04:14 +0000 (0:00:00.018) 0:02:00.811 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:241 Friday 05 January 2024 15:04:14 +0000 (0:00:00.019) 0:02:00.830 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:250 Friday 05 January 2024 15:04:14 +0000 (0:00:00.019) 0:02:00.850 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:259 Friday 05 January 2024 15:04:14 +0000 (0:00:00.019) 0:02:00.870 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:264 Friday 05 January 2024 15:04:14 +0000 (0:00:00.020) 0:02:00.890 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:272 Friday 05 January 2024 15:04:18 +0000 (0:00:03.066) 0:02:03.957 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:280 Friday 05 January 2024 15:04:18 +0000 (0:00:00.021) 0:02:03.978 ******** 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.005381", "end": "2024-01-05 15:04:18.271750", "rc": 0, "start": "2024-01-05 15:04:18.266369" } STDOUT: /var/opt/mssql/log/errorlog TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:295 Friday 05 January 2024 15:04:18 +0000 (0:00:00.215) 0:02:04.194 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:299 Friday 05 January 2024 15:04:20 +0000 (0:00:02.433) 0:02:06.628 ******** ok: [sut] => { "ansible_facts": { "__mssql_is_setup": true }, "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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:308 Friday 05 January 2024 15:04:20 +0000 (0:00:00.028) 0:02:06.656 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:324 Friday 05 January 2024 15:04:20 +0000 (0:00:00.024) 0:02:06.681 ******** 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 the directory and permissions for datadir and logdir] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:344 Friday 05 January 2024 15:04:20 +0000 (0:00:00.021) 0:02:06.702 ******** included: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml for sut included: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml for sut TASK [linux-system-roles.mssql : Get stat of the directory /tmp/mssql_data] **** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:3 Friday 05 January 2024 15:04:20 +0000 (0:00:00.084) 0:02:06.787 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1704466989.8481112, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1704466989.8501112, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 991, "gr_name": "mssql", "inode": 432013572, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1704466989.8481112, "nlink": 2, "path": "/tmp/mssql_data", "pw_name": "mssql", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6, "uid": 993, "version": "3461661925", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": true } } TASK [linux-system-roles.mssql : Ensure the directory and keep present permissions /tmp/mssql_data] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:8 Friday 05 January 2024 15:04:21 +0000 (0:00:00.217) 0:02:07.005 ******** ok: [sut] => { "changed": false, "gid": 991, "group": "mssql", "mode": "0700", "owner": "mssql", "path": "/tmp/mssql_data", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 6, "state": "directory", "uid": 993 } TASK [linux-system-roles.mssql : Append facts for the selinux role] ************ task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:23 Friday 05 January 2024 15:04:21 +0000 (0:00:00.212) 0:02:07.217 ******** ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/mssql_data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/mssql_log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/mssql_data" } ], "selinux_restore_dirs": [ "/tmp/mssql_data", "/tmp/mssql_log", "/tmp/mssql_data" ] }, "changed": false } TASK [linux-system-roles.mssql : Configure the setting defaultdatadir] ********* task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:39 Friday 05 January 2024 15:04:21 +0000 (0:00:00.040) 0:02:07.258 ******** included: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Friday 05 January 2024 15:04:21 +0000 (0:00:00.065) 0:02:07.323 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002788", "end": "2024-01-05 15:04:21.619205", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:04:21.616417" } STDOUT: defaultdatadir = /tmp/mssql_data TASK [linux-system-roles.mssql : Configure the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Friday 05 January 2024 15:04:21 +0000 (0:00:00.223) 0:02:07.547 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Friday 05 January 2024 15:04:21 +0000 (0:00:00.033) 0:02:07.580 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get stat of the directory /tmp/mssql_log] ***** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:3 Friday 05 January 2024 15:04:21 +0000 (0:00:00.031) 0:02:07.611 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1704466991.0870771, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1704466991.088077, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 991, "gr_name": "mssql", "inode": 442499520, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1704466991.0870771, "nlink": 2, "path": "/tmp/mssql_log", "pw_name": "mssql", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6, "uid": 993, "version": "370575066", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": true } } TASK [linux-system-roles.mssql : Ensure the directory and keep present permissions /tmp/mssql_log] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:8 Friday 05 January 2024 15:04:21 +0000 (0:00:00.201) 0:02:07.813 ******** ok: [sut] => { "changed": false, "gid": 991, "group": "mssql", "mode": "0700", "owner": "mssql", "path": "/tmp/mssql_log", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 6, "state": "directory", "uid": 993 } TASK [linux-system-roles.mssql : Append facts for the selinux role] ************ task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:23 Friday 05 January 2024 15:04:22 +0000 (0:00:00.221) 0:02:08.035 ******** ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/mssql_data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/mssql_log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/mssql_data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/mssql_log" } ], "selinux_restore_dirs": [ "/tmp/mssql_data", "/tmp/mssql_log", "/tmp/mssql_data", "/tmp/mssql_log" ] }, "changed": false } TASK [linux-system-roles.mssql : Configure the setting defaultlogdir] ********** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:39 Friday 05 January 2024 15:04:22 +0000 (0:00:00.049) 0:02:08.084 ******** included: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Friday 05 January 2024 15:04:22 +0000 (0:00:00.089) 0:02:08.173 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003181", "end": "2024-01-05 15:04:22.469526", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:04:22.466345" } STDOUT: defaultlogdir = /tmp/mssql_log TASK [linux-system-roles.mssql : Configure the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Friday 05 January 2024 15:04:22 +0000 (0:00:00.220) 0:02:08.394 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Friday 05 January 2024 15:04:22 +0000 (0:00:00.027) 0:02:08.421 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for {{ __mssql_storage_path }}] *********** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:359 Friday 05 January 2024 15:04:22 +0000 (0:00:00.023) 0:02:08.445 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:366 Friday 05 January 2024 15:04:22 +0000 (0:00:00.022) 0:02:08.468 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:371 Friday 05 January 2024 15:04:25 +0000 (0:00:02.858) 0:02:11.326 ******** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-01-05 14:39:19 UTC", "ActiveEnterTimestampMonotonic": "32881992", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket network.target dbus.service system.slice dbus.socket basic.target sysinit.target polkit.service systemd-sysctl.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 14:39:17 UTC", "AssertTimestampMonotonic": "31127452", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-01-05 14:39:17 UTC", "ConditionTimestampMonotonic": "31127450", "ConfigurationDirectoryMode": "0755", "Conflicts": "tlp.service power-profiles-daemon.service auto-cpufreq.service cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "695", "ExecMainStartTimestamp": "Fri 2024-01-05 14:39:17 UTC", "ExecMainStartTimestampMonotonic": "31128538", "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", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-01-05 14:39:17 UTC", "InactiveExitTimestampMonotonic": "31128583", "InvocationID": "de191513c00c466c9c82b339f1865493", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "28609", "LimitNPROCSoft": "28609", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28609", "LimitSIGPENDINGSoft": "28609", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "695", "MemoryAccounting": "yes", "MemoryCurrent": "22736896", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.service system.slice sysinit.target dbus.socket", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Fri 2024-01-05 14:39:19 UTC", "StateChangeTimestampMonotonic": "32881992", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "45774", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-01-05 14:39:19 UTC", "WatchdogTimestampMonotonic": "32881989", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:377 Friday 05 January 2024 15:04:25 +0000 (0:00:00.399) 0:02:11.725 ******** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.115851", "end": "2024-01-05 15:04:26.122873", "rc": 0, "start": "2024-01-05 15:04:26.007022" } STDOUT: Current active profile: virtual-guest mssql TASK [linux-system-roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:387 Friday 05 January 2024 15:04:26 +0000 (0:00:00.359) 0:02:12.084 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:400 Friday 05 January 2024 15:04:26 +0000 (0:00:00.024) 0:02:12.109 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:409 Friday 05 January 2024 15:04:26 +0000 (0:00:00.044) 0:02:12.153 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:419 Friday 05 January 2024 15:04:26 +0000 (0:00:00.032) 0:02:12.185 ******** ok: [sut] => { "changed": false, "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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:426 Friday 05 January 2024 15:04:26 +0000 (0:00:00.272) 0:02:12.458 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:438 Friday 05 January 2024 15:04:29 +0000 (0:00:02.918) 0:02:15.376 ******** included: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml for sut TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Friday 05 January 2024 15:04:29 +0000 (0:00:00.040) 0:02:15.417 ******** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-01-05 15:04:10 UTC", "ActiveEnterTimestampMonotonic": "1523750794", "ActiveExitTimestamp": "Fri 2024-01-05 15:04:10 UTC", "ActiveExitTimestampMonotonic": "1523518236", "ActiveState": "active", "After": "-.mount basic.target system.slice sysinit.target systemd-journald.socket network.target auditd.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 15:04:10 UTC", "AssertTimestampMonotonic": "1523749824", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-01-05 15:04:10 UTC", "ConditionTimestampMonotonic": "1523749823", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "32852", "ExecMainStartTimestamp": "Fri 2024-01-05 15:04:10 UTC", "ExecMainStartTimestampMonotonic": "1523750748", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; 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/mssql-server.service", "FreezerState": "running", "GID": "991", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-01-05 15:04:10 UTC", "InactiveEnterTimestampMonotonic": "1523748766", "InactiveExitTimestamp": "Fri 2024-01-05 15:04:10 UTC", "InactiveExitTimestampMonotonic": "1523750794", "InvocationID": "bec4c3136b5e48c281e9d57356c246c1", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28609", "LimitSIGPENDINGSoft": "28609", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "32852", "MemoryAccounting": "yes", "MemoryCurrent": "875520000", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Fri 2024-01-05 15:04:10 UTC", "StateChangeTimestampMonotonic": "1523750794", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "195", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-01-05 15:04:10 UTC", "WatchdogTimestampMonotonic": "1523750791", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Friday 05 January 2024 15:04:29 +0000 (0:00:00.319) 0:02:15.736 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002716", "end": "2024-01-05 15:04:30.014753", "failed_when_result": false, "rc": 1, "start": "2024-01-05 15:04:30.012037" } MSG: non-zero return code TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Friday 05 January 2024 15:04:30 +0000 (0:00:00.201) 0:02:15.937 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003043", "end": "2024-01-05 15:04:30.216025", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:04:30.212982" } STDOUT: ipaddress = 0.0.0.0 TASK [linux-system-roles.mssql : Set a fact with a login command] ************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Friday 05 January 2024 15:04:30 +0000 (0:00:00.201) 0:02:16.139 ******** 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 : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:442 Friday 05 January 2024 15:04:30 +0000 (0:00:00.027) 0:02:16.167 ******** ok: [sut] => { "changed": false, "elapsed": 1, "gid": 991, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 19571, "state": "file", "uid": 993 } TASK [linux-system-roles.mssql : Check if the set password matches the existing password] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:448 Friday 05 January 2024 15:04:31 +0000 (0:00:01.254) 0:02:17.421 ******** ok: [sut] => { "attempts": 1, "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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:463 Friday 05 January 2024 15:04:31 +0000 (0:00:00.229) 0:02:17.651 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:470 Friday 05 January 2024 15:04:31 +0000 (0:00:00.025) 0:02:17.677 ******** 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 : Change the password of sa user] *************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:478 Friday 05 January 2024 15:04:33 +0000 (0:00:01.362) 0:02:19.039 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:500 Friday 05 January 2024 15:04:33 +0000 (0:00:00.025) 0:02:19.065 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:511 Friday 05 January 2024 15:04:33 +0000 (0:00:00.024) 0:02:19.089 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:526 Friday 05 January 2024 15:04:33 +0000 (0:00:00.022) 0:02:19.112 ******** ok: [sut] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Evaluation edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n edition_matches=false\nelse\n edition_matches=true\nfi\necho \"${edition_matches}\"\n", "delta": "0:00:00.004829", "end": "2024-01-05 15:04:33.403747", "rc": 0, "start": "2024-01-05 15:04:33.398918" } STDOUT: true TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:539 Friday 05 January 2024 15:04:33 +0000 (0:00:00.212) 0:02:19.324 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:546 Friday 05 January 2024 15:04:33 +0000 (0:00:00.022) 0:02:19.347 ******** 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 : Change the edition of MSSQL] ****************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:552 Friday 05 January 2024 15:04:34 +0000 (0:00:01.337) 0:02:20.684 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:572 Friday 05 January 2024 15:04:34 +0000 (0:00:00.022) 0:02:20.707 ******** included: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network ipaddress] ************ task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Friday 05 January 2024 15:04:34 +0000 (0:00:00.037) 0:02:20.745 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002835", "end": "2024-01-05 15:04:35.019463", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:04:35.016628" } STDOUT: ipaddress = 0.0.0.0 TASK [linux-system-roles.mssql : Configure the setting network ipaddress] ****** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Friday 05 January 2024 15:04:35 +0000 (0:00:00.221) 0:02:20.966 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting network ipaddress] ********** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Friday 05 January 2024 15:04:35 +0000 (0:00:00.037) 0:02:21.004 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:579 Friday 05 January 2024 15:04:35 +0000 (0:00:00.027) 0:02:21.032 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:586 Friday 05 January 2024 15:04:35 +0000 (0:00:00.048) 0:02:21.080 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:598 Friday 05 January 2024 15:04:35 +0000 (0:00:00.028) 0:02:21.109 ******** included: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Friday 05 January 2024 15:04:35 +0000 (0:00:00.049) 0:02:21.158 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002742", "end": "2024-01-05 15:04:35.433526", "failed_when_result": false, "rc": 1, "start": "2024-01-05 15:04:35.430784" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network tcpport] ******** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Friday 05 January 2024 15:04:35 +0000 (0:00:00.198) 0:02:21.357 ******** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.124765", "end": "2024-01-05 15:04:35.758100", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:04:35.633335" } 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Friday 05 January 2024 15:04:35 +0000 (0:00:00.342) 0:02:21.699 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:604 Friday 05 January 2024 15:04:35 +0000 (0:00:00.031) 0:02:21.731 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:624 Friday 05 January 2024 15:04:35 +0000 (0:00:00.031) 0:02:21.762 ******** included: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting sqlagent enabled] ************* task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Friday 05 January 2024 15:04:35 +0000 (0:00:00.117) 0:02:21.880 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002638", "end": "2024-01-05 15:04:36.166303", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:04:36.163665" } STDOUT: enabled = True TASK [linux-system-roles.mssql : Configure the setting sqlagent enabled] ******* task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Friday 05 January 2024 15:04:36 +0000 (0:00:00.235) 0:02:22.115 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting sqlagent enabled] *********** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Friday 05 January 2024 15:04:36 +0000 (0:00:00.078) 0:02:22.194 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:631 Friday 05 January 2024 15:04:36 +0000 (0:00:00.033) 0:02:22.227 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Ensure the package powershell] **************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:638 Friday 05 January 2024 15:04:39 +0000 (0:00:02.895) 0:02:25.123 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Check if the 3979 trace flag is enabled] ****** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:647 Friday 05 January 2024 15:04:42 +0000 (0:00:02.880) 0:02:28.003 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002957", "end": "2024-01-05 15:04:42.279391", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:04:42.276434" } STDOUT: traceflag0 = 3979 TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:653 Friday 05 January 2024 15:04:42 +0000 (0:00:00.214) 0:02:28.218 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:660 Friday 05 January 2024 15:04:42 +0000 (0:00:00.027) 0:02:28.246 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:668 Friday 05 January 2024 15:04:42 +0000 (0:00:00.024) 0:02:28.270 ******** included: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting control alternatewritethrough] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Friday 05 January 2024 15:04:42 +0000 (0:00:00.052) 0:02:28.322 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002687", "end": "2024-01-05 15:04:42.606870", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:04:42.604183" } STDOUT: alternatewritethrough = 0 TASK [linux-system-roles.mssql : Configure the setting control alternatewritethrough] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Friday 05 January 2024 15:04:42 +0000 (0:00:00.215) 0:02:28.537 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting control alternatewritethrough] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Friday 05 January 2024 15:04:42 +0000 (0:00:00.050) 0:02:28.587 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:674 Friday 05 January 2024 15:04:42 +0000 (0:00:00.057) 0:02:28.645 ******** included: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting control writethrough] ********* task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Friday 05 January 2024 15:04:42 +0000 (0:00:00.109) 0:02:28.754 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002707", "end": "2024-01-05 15:04:43.033418", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:04:43.030711" } STDOUT: writethrough = 1 TASK [linux-system-roles.mssql : Configure the setting control writethrough] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Friday 05 January 2024 15:04:43 +0000 (0:00:00.213) 0:02:28.967 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting control writethrough] ******* task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Friday 05 January 2024 15:04:43 +0000 (0:00:00.042) 0:02:29.010 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:692 Friday 05 January 2024 15:04:43 +0000 (0:00:00.062) 0:02:29.072 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:706 Friday 05 January 2024 15:04:43 +0000 (0:00:00.080) 0:02:29.152 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:711 Friday 05 January 2024 15:04:43 +0000 (0:00:00.033) 0:02:29.186 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:729 Friday 05 January 2024 15:04:43 +0000 (0:00:00.082) 0:02:29.269 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:738 Friday 05 January 2024 15:04:43 +0000 (0:00:00.035) 0:02:29.304 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:747 Friday 05 January 2024 15:04:43 +0000 (0:00:00.037) 0:02:29.342 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:754 Friday 05 January 2024 15:04:43 +0000 (0:00:00.080) 0:02:29.422 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:763 Friday 05 January 2024 15:04:43 +0000 (0:00:00.033) 0:02:29.456 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:771 Friday 05 January 2024 15:04:43 +0000 (0:00:00.029) 0:02:29.485 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:779 Friday 05 January 2024 15:04:43 +0000 (0:00:00.037) 0:02:29.523 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:786 Friday 05 January 2024 15:04:43 +0000 (0:00:00.025) 0:02:29.549 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:793 Friday 05 January 2024 15:04:43 +0000 (0:00:00.025) 0:02:29.575 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:802 Friday 05 January 2024 15:04:43 +0000 (0:00:00.044) 0:02:29.619 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:815 Friday 05 January 2024 15:04:43 +0000 (0:00:00.042) 0:02:29.662 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:824 Friday 05 January 2024 15:04:43 +0000 (0:00:00.040) 0:02:29.702 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:836 Friday 05 January 2024 15:04:43 +0000 (0:00:00.052) 0:02:29.755 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:841 Friday 05 January 2024 15:04:43 +0000 (0:00:00.033) 0:02:29.788 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:858 Friday 05 January 2024 15:04:43 +0000 (0:00:00.092) 0:02:29.881 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:863 Friday 05 January 2024 15:04:44 +0000 (0:00:00.060) 0:02:29.941 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:868 Friday 05 January 2024 15:04:44 +0000 (0:00:00.035) 0:02:29.977 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:874 Friday 05 January 2024 15:04:44 +0000 (0:00:00.069) 0:02:30.047 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:900 Friday 05 January 2024 15:04:44 +0000 (0:00:00.053) 0:02:30.100 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:921 Friday 05 January 2024 15:04:44 +0000 (0:00:00.046) 0:02:30.146 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:929 Friday 05 January 2024 15:04:44 +0000 (0:00:00.055) 0:02:30.202 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:939 Friday 05 January 2024 15:04:44 +0000 (0:00:00.025) 0:02:30.228 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:945 Friday 05 January 2024 15:04:44 +0000 (0:00:00.029) 0:02:30.257 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:962 Friday 05 January 2024 15:04:44 +0000 (0:00:00.115) 0:02:30.372 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:977 Friday 05 January 2024 15:04:44 +0000 (0:00:00.053) 0:02:30.426 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:997 Friday 05 January 2024 15:04:44 +0000 (0:00:00.088) 0:02:30.514 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1051 Friday 05 January 2024 15:04:44 +0000 (0:00:00.045) 0:02:30.560 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1058 Friday 05 January 2024 15:04:44 +0000 (0:00:00.034) 0:02:30.594 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1065 Friday 05 January 2024 15:04:44 +0000 (0:00:00.111) 0:02:30.706 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1076 Friday 05 January 2024 15:04:44 +0000 (0:00:00.038) 0:02:30.744 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1082 Friday 05 January 2024 15:04:44 +0000 (0:00:00.031) 0:02:30.776 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1090 Friday 05 January 2024 15:04:44 +0000 (0:00:00.036) 0:02:30.812 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1099 Friday 05 January 2024 15:04:44 +0000 (0:00:00.034) 0:02:30.847 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1107 Friday 05 January 2024 15:04:45 +0000 (0:00:00.046) 0:02:30.893 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1122 Friday 05 January 2024 15:04:45 +0000 (0:00:00.095) 0:02:30.988 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1129 Friday 05 January 2024 15:04:45 +0000 (0:00:00.028) 0:02:31.017 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1154 Friday 05 January 2024 15:04:45 +0000 (0:00:00.045) 0:02:31.062 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1163 Friday 05 January 2024 15:04:45 +0000 (0:00:00.090) 0:02:31.152 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1173 Friday 05 January 2024 15:04:45 +0000 (0:00:00.036) 0:02:31.188 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1184 Friday 05 January 2024 15:04:45 +0000 (0:00:00.033) 0:02:31.221 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1197 Friday 05 January 2024 15:04:45 +0000 (0:00:00.029) 0:02:31.251 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1210 Friday 05 January 2024 15:04:45 +0000 (0:00:00.038) 0:02:31.289 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1217 Friday 05 January 2024 15:04:45 +0000 (0:00:00.034) 0:02:31.324 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1224 Friday 05 January 2024 15:04:45 +0000 (0:00:00.029) 0:02:31.353 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1233 Friday 05 January 2024 15:04:45 +0000 (0:00:00.023) 0:02:31.376 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1240 Friday 05 January 2024 15:04:45 +0000 (0:00:00.052) 0:02:31.428 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1252 Friday 05 January 2024 15:04:45 +0000 (0:00:00.103) 0:02:31.531 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1261 Friday 05 January 2024 15:04:45 +0000 (0:00:00.048) 0:02:31.580 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1268 Friday 05 January 2024 15:04:45 +0000 (0:00:00.041) 0:02:31.621 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1274 Friday 05 January 2024 15:04:45 +0000 (0:00:00.074) 0:02:31.696 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1282 Friday 05 January 2024 15:04:45 +0000 (0:00:00.053) 0:02:31.749 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1295 Friday 05 January 2024 15:04:46 +0000 (0:00:00.147) 0:02:31.897 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1307 Friday 05 January 2024 15:04:46 +0000 (0:00:00.023) 0:02:31.920 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1313 Friday 05 January 2024 15:04:46 +0000 (0:00:00.029) 0:02:31.950 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1322 Friday 05 January 2024 15:04:46 +0000 (0:00:00.024) 0:02:31.975 ******** ok: [sut] => { "changed": false } META: ran handlers TASK [linux-system-roles.mssql : Post-input SQL scripts to SQL Server] ********* task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1335 Friday 05 January 2024 15:04:46 +0000 (0:00:00.245) 0:02:32.220 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1346 Friday 05 January 2024 15:04:46 +0000 (0:00:00.021) 0:02:32.242 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify settings] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/tests_idempotency.yml:40 Friday 05 January 2024 15:04:46 +0000 (0:00:00.020) 0:02:32.262 ******** included: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/verify_settings.yml for sut TASK [Check if the errorlog file exists and its location] ********************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/verify_settings.yml:8 Friday 05 January 2024 15:04:46 +0000 (0:00:00.138) 0:02:32.400 ******** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\nerrorlog=\"$(grep '^errorlogfile' /var/opt/mssql/mssql.conf \\\n2>&1 | sed 's\\errorlogfile : \\\\')\" || :\nif [ -f \"${errorlog}\" ]; then\n echo \"${errorlog}\"\nelif [ -f /var/opt/mssql/log/errorlog ]; then\n echo \"/var/opt/mssql/log/errorlog\"\nelse\n echo \"\"\nfi\n", "delta": "0:00:00.005406", "end": "2024-01-05 15:04:46.678133", "rc": 0, "start": "2024-01-05 15:04:46.672727" } STDOUT: /var/opt/mssql/log/errorlog TASK [Check if the set edition matches the existing edition] ******************* task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/verify_settings.yml:23 Friday 05 January 2024 15:04:46 +0000 (0:00:00.226) 0:02:32.627 ******** ok: [sut] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Evaluation edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n echo false\nelse\n echo true\nfi\n", "delta": "0:00:00.004819", "end": "2024-01-05 15:04:46.934499", "rc": 0, "start": "2024-01-05 15:04:46.929680" } STDOUT: true TASK [Verify if the edition matches] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/verify_settings.yml:35 Friday 05 January 2024 15:04:46 +0000 (0:00:00.247) 0:02:32.874 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting {{ item.key }}] *************************************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/verify_settings.yml:39 Friday 05 January 2024 15:04:47 +0000 (0:00:00.056) 0:02:32.931 ******** included: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/mssql_conf_verify.yml for sut included: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/mssql_conf_verify.yml for sut included: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/mssql_conf_verify.yml for sut included: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/mssql_conf_verify.yml for sut included: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting ipaddress] ********************************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/mssql_conf_verify.yml:7 Friday 05 January 2024 15:04:47 +0000 (0:00:00.113) 0:02:33.044 ******** ok: [sut] => { "changed": false, "cmd": "grep '^ipaddress' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004316", "end": "2024-01-05 15:04:47.353892", "rc": 0, "start": "2024-01-05 15:04:47.349576" } STDOUT: ipaddress = 0.0.0.0 TASK [Verify the setting when it is type str ipaddress] ************************ task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/mssql_conf_verify.yml:14 Friday 05 January 2024 15:04:47 +0000 (0:00:00.263) 0:02:33.308 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool ipaddress] *********************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/mssql_conf_verify.yml:25 Friday 05 January 2024 15:04:47 +0000 (0:00:00.060) 0:02:33.368 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 0.0.0.0] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/mssql_conf_verify.yml:40 Friday 05 January 2024 15:04:47 +0000 (0:00:00.029) 0:02:33.398 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting tcpport] ************************************ task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/mssql_conf_verify.yml:7 Friday 05 January 2024 15:04:47 +0000 (0:00:00.058) 0:02:33.457 ******** ok: [sut] => { "changed": false, "cmd": "grep '^tcpport' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004189", "end": "2024-01-05 15:04:47.781365", "rc": 0, "start": "2024-01-05 15:04:47.777176" } TASK [Verify the setting when it is type str tcpport] ************************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/mssql_conf_verify.yml:14 Friday 05 January 2024 15:04:47 +0000 (0:00:00.266) 0:02:33.723 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool tcpport] ************************* task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/mssql_conf_verify.yml:25 Friday 05 January 2024 15:04:47 +0000 (0:00:00.024) 0:02:33.747 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1433] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/mssql_conf_verify.yml:40 Friday 05 January 2024 15:04:47 +0000 (0:00:00.025) 0:02:33.772 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get the value of the setting defaultdatadir] ***************************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/mssql_conf_verify.yml:7 Friday 05 January 2024 15:04:47 +0000 (0:00:00.034) 0:02:33.807 ******** ok: [sut] => { "changed": false, "cmd": "grep '^defaultdatadir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004185", "end": "2024-01-05 15:04:48.137134", "rc": 0, "start": "2024-01-05 15:04:48.132949" } STDOUT: defaultdatadir = /tmp/mssql_data TASK [Verify the setting when it is type str defaultdatadir] ******************* task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/mssql_conf_verify.yml:14 Friday 05 January 2024 15:04:48 +0000 (0:00:00.281) 0:02:34.088 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultdatadir] ****************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/mssql_conf_verify.yml:25 Friday 05 January 2024 15:04:48 +0000 (0:00:00.117) 0:02:34.206 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /tmp/mssql_data] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/mssql_conf_verify.yml:40 Friday 05 January 2024 15:04:48 +0000 (0:00:00.040) 0:02:34.246 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting defaultlogdir] ****************************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/mssql_conf_verify.yml:7 Friday 05 January 2024 15:04:48 +0000 (0:00:00.043) 0:02:34.290 ******** ok: [sut] => { "changed": false, "cmd": "grep '^defaultlogdir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004046", "end": "2024-01-05 15:04:48.584827", "rc": 0, "start": "2024-01-05 15:04:48.580781" } STDOUT: defaultlogdir = /tmp/mssql_log TASK [Verify the setting when it is type str defaultlogdir] ******************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/mssql_conf_verify.yml:14 Friday 05 January 2024 15:04:48 +0000 (0:00:00.238) 0:02:34.529 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultlogdir] ******************* task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/mssql_conf_verify.yml:25 Friday 05 January 2024 15:04:48 +0000 (0:00:00.076) 0:02:34.605 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /tmp/mssql_log] ************************************ task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/mssql_conf_verify.yml:40 Friday 05 January 2024 15:04:48 +0000 (0:00:00.047) 0:02:34.652 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting enabled] ************************************ task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/mssql_conf_verify.yml:7 Friday 05 January 2024 15:04:48 +0000 (0:00:00.027) 0:02:34.680 ******** ok: [sut] => { "changed": false, "cmd": "grep '^enabled' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004274", "end": "2024-01-05 15:04:48.967963", "rc": 0, "start": "2024-01-05 15:04:48.963689" } STDOUT: enabled = True TASK [Verify the setting when it is type str enabled] ************************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/mssql_conf_verify.yml:14 Friday 05 January 2024 15:04:49 +0000 (0:00:00.242) 0:02:34.922 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool enabled] ************************* task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/mssql_conf_verify.yml:25 Friday 05 January 2024 15:04:49 +0000 (0:00:00.040) 0:02:34.962 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/mssql_conf_verify.yml:40 Friday 05 January 2024 15:04:49 +0000 (0:00:00.046) 0:02:35.009 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/verify_settings.yml:55 Friday 05 January 2024 15:04:49 +0000 (0:00:00.027) 0:02:35.037 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1704466989.8481112, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1704466989.8501112, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 991, "gr_name": "mssql", "inode": 432013572, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1704466989.8481112, "nlink": 2, "path": "/tmp/mssql_data", "pw_name": "mssql", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6, "uid": 993, "version": "3461661925", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": true } } TASK [Assert that mssql_datadir has proper permissions and ownership] ********** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/verify_settings.yml:60 Friday 05 January 2024 15:04:49 +0000 (0:00:00.251) 0:02:35.288 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get stat of mssql_logdir] ************************************************ task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/verify_settings.yml:70 Friday 05 January 2024 15:04:49 +0000 (0:00:00.111) 0:02:35.399 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1704466991.0870771, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1704466991.088077, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 991, "gr_name": "mssql", "inode": 442499520, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1704466991.0870771, "nlink": 2, "path": "/tmp/mssql_log", "pw_name": "mssql", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6, "uid": 993, "version": "370575066", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": true } } TASK [Assert that mssql_logdir has proper permissions and ownership] *********** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/verify_settings.yml:75 Friday 05 January 2024 15:04:49 +0000 (0:00:00.255) 0:02:35.655 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/verify_settings.yml:85 Friday 05 January 2024 15:04:49 +0000 (0:00:00.044) 0:02:35.700 ******** TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Friday 05 January 2024 15:04:49 +0000 (0:00:00.066) 0:02:35.766 ******** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-01-05 15:04:10 UTC", "ActiveEnterTimestampMonotonic": "1523750794", "ActiveExitTimestamp": "Fri 2024-01-05 15:04:10 UTC", "ActiveExitTimestampMonotonic": "1523518236", "ActiveState": "active", "After": "-.mount basic.target system.slice sysinit.target systemd-journald.socket network.target auditd.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 15:04:10 UTC", "AssertTimestampMonotonic": "1523749824", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-01-05 15:04:10 UTC", "ConditionTimestampMonotonic": "1523749823", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "32852", "ExecMainStartTimestamp": "Fri 2024-01-05 15:04:10 UTC", "ExecMainStartTimestampMonotonic": "1523750748", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; 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/mssql-server.service", "FreezerState": "running", "GID": "991", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-01-05 15:04:10 UTC", "InactiveEnterTimestampMonotonic": "1523748766", "InactiveExitTimestamp": "Fri 2024-01-05 15:04:10 UTC", "InactiveExitTimestampMonotonic": "1523750794", "InvocationID": "bec4c3136b5e48c281e9d57356c246c1", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28609", "LimitSIGPENDINGSoft": "28609", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "32852", "MemoryAccounting": "yes", "MemoryCurrent": "808607744", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Fri 2024-01-05 15:04:10 UTC", "StateChangeTimestampMonotonic": "1523750794", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "188", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-01-05 15:04:10 UTC", "WatchdogTimestampMonotonic": "1523750791", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Friday 05 January 2024 15:04:50 +0000 (0:00:00.425) 0:02:36.191 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002912", "end": "2024-01-05 15:04:50.525780", "failed_when_result": false, "rc": 1, "start": "2024-01-05 15:04:50.522868" } MSG: non-zero return code TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Friday 05 January 2024 15:04:50 +0000 (0:00:00.352) 0:02:36.543 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002818", "end": "2024-01-05 15:04:50.868829", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:04:50.866011" } STDOUT: ipaddress = 0.0.0.0 TASK [linux-system-roles.mssql : Set a fact with a login command] ************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Friday 05 January 2024 15:04:50 +0000 (0:00:00.265) 0:02:36.809 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Wait for mssql-server to prepare for client connections] ***************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/verify_settings.yml:93 Friday 05 January 2024 15:04:50 +0000 (0:00:00.055) 0:02:36.864 ******** ok: [sut] => { "changed": false, "elapsed": 1, "gid": 991, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 20300, "state": "file", "uid": 993 } TASK [Check if the set password matches the existing password] ***************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/verify_settings.yml:99 Friday 05 January 2024 15:04:52 +0000 (0:00:01.223) 0:02:38.087 ******** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-S", "0.0.0.0", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.026547", "end": "2024-01-05 15:04:52.407392", "rc": 0, "start": "2024-01-05 15:04:52.380845" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2022 (RTM-CU10) (KB5031778) - 16.0.4095.4 (X64) Oct 30 2023 16:12:44 Copyright (C) 2022 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS Stream 8) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/verify_settings.yml:113 Friday 05 January 2024 15:04:52 +0000 (0:00:00.297) 0:02:38.385 ******** ok: [sut] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/verify_settings.yml:117 Friday 05 January 2024 15:04:52 +0000 (0:00:00.071) 0:02:38.456 ******** included: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/verify_package.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/verify_package.yml:7 Friday 05 January 2024 15:04:52 +0000 (0:00:00.075) 0:02:38.531 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Verify if the package is installed mssql-server-fts] ********************* task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/verify_package.yml:12 Friday 05 January 2024 15:04:54 +0000 (0:00:01.468) 0:02:39.999 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify if the package is not installed mssql-server-fts] ***************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/verify_package.yml:17 Friday 05 January 2024 15:04:54 +0000 (0:00:00.080) 0:02:40.080 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/verify_settings.yml:124 Friday 05 January 2024 15:04:54 +0000 (0:00:00.069) 0:02:40.150 ******** included: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/verify_package.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/verify_package.yml:7 Friday 05 January 2024 15:04:54 +0000 (0:00:00.122) 0:02:40.273 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Verify if the package is installed powershell] *************************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/verify_package.yml:12 Friday 05 January 2024 15:04:55 +0000 (0:00:01.360) 0:02:41.633 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify if the package is not installed powershell] *********************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/verify_package.yml:17 Friday 05 January 2024 15:04:55 +0000 (0:00:00.046) 0:02:41.679 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/verify_settings.yml:135 Friday 05 January 2024 15:04:55 +0000 (0:00:00.060) 0:02:41.740 ******** ok: [sut] => { "changed": false, "cmd": "grep '^traceflag' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004061", "end": "2024-01-05 15:04:56.023168", "rc": 0, "start": "2024-01-05 15:04:56.019107" } STDOUT: traceflag0 = 3979 TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/verify_settings.yml:140 Friday 05 January 2024 15:04:56 +0000 (0:00:00.206) 0:02:41.947 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/verify_settings.yml:145 Friday 05 January 2024 15:04:56 +0000 (0:00:00.024) 0:02:41.971 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/verify_settings.yml:151 Friday 05 January 2024 15:04:56 +0000 (0:00:00.029) 0:02:42.000 ******** included: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting alternatewritethrough] ********************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/mssql_conf_verify.yml:7 Friday 05 January 2024 15:04:56 +0000 (0:00:00.104) 0:02:42.105 ******** ok: [sut] => { "changed": false, "cmd": "grep '^alternatewritethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004492", "end": "2024-01-05 15:04:56.414467", "rc": 0, "start": "2024-01-05 15:04:56.409975" } STDOUT: alternatewritethrough = 0 TASK [Verify the setting when it is type str alternatewritethrough] ************ task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/mssql_conf_verify.yml:14 Friday 05 January 2024 15:04:56 +0000 (0:00:00.256) 0:02:42.362 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool alternatewritethrough] *********** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/mssql_conf_verify.yml:25 Friday 05 January 2024 15:04:56 +0000 (0:00:00.036) 0:02:42.398 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/mssql_conf_verify.yml:40 Friday 05 January 2024 15:04:56 +0000 (0:00:00.052) 0:02:42.451 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/verify_settings.yml:157 Friday 05 January 2024 15:04:56 +0000 (0:00:00.056) 0:02:42.507 ******** included: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting writethrough] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/mssql_conf_verify.yml:7 Friday 05 January 2024 15:04:56 +0000 (0:00:00.082) 0:02:42.589 ******** ok: [sut] => { "changed": false, "cmd": "grep '^writethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004079", "end": "2024-01-05 15:04:56.917783", "rc": 0, "start": "2024-01-05 15:04:56.913704" } STDOUT: writethrough = 1 TASK [Verify the setting when it is type str writethrough] ********************* task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/mssql_conf_verify.yml:14 Friday 05 January 2024 15:04:56 +0000 (0:00:00.263) 0:02:42.853 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool writethrough] ******************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/mssql_conf_verify.yml:25 Friday 05 January 2024 15:04:56 +0000 (0:00:00.037) 0:02:42.890 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/mssql_conf_verify.yml:40 Friday 05 January 2024 15:04:57 +0000 (0:00:00.042) 0:02:42.932 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/verify_settings.yml:167 Friday 05 January 2024 15:04:57 +0000 (0:00:00.049) 0:02:42.982 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/verify_settings.yml:178 Friday 05 January 2024 15:04:57 +0000 (0:00:00.053) 0:02:43.036 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/verify_settings.yml:190 Friday 05 January 2024 15:04:57 +0000 (0:00:00.079) 0:02:43.116 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/verify_settings.yml:198 Friday 05 January 2024 15:04:57 +0000 (0:00:00.028) 0:02:43.144 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the current mode of SELinux] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/verify_settings.yml:208 Friday 05 January 2024 15:04:57 +0000 (0:00:00.041) 0:02:43.186 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that SELinux is in the mode {{ __mssql_selinux_mode }}] *********** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/verify_settings.yml:213 Friday 05 January 2024 15:04:57 +0000 (0:00:00.024) 0:02:43.210 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package mssql-server-selinux] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/verify_settings.yml:221 Friday 05 January 2024 15:04:57 +0000 (0:00:00.087) 0:02:43.298 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run to edit settings] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/tests_idempotency.yml:56 Friday 05 January 2024 15:04:57 +0000 (0:00:00.062) 0:02:43.360 ******** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Friday 05 January 2024 15:04:57 +0000 (0:00:00.389) 0:02:43.749 ******** included: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Friday 05 January 2024 15:04:57 +0000 (0:00:00.044) 0:02:43.793 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:9 Friday 05 January 2024 15:04:57 +0000 (0:00:00.055) 0:02:43.849 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=CentOS_8.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/8/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019, 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [sut] => (item=CentOS_8.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/8/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019, 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Friday 05 January 2024 15:04:58 +0000 (0:00:00.097) 0:02:43.946 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Friday 05 January 2024 15:04:58 +0000 (0:00:00.040) 0:02:43.987 ******** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Friday 05 January 2024 15:04:58 +0000 (0:00:00.199) 0:02:44.186 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Friday 05 January 2024 15:04:58 +0000 (0:00:00.048) 0:02:44.235 ******** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Friday 05 January 2024 15:04:58 +0000 (0:00:00.062) 0:02:44.297 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Friday 05 January 2024 15:04:58 +0000 (0:00:00.048) 0:02:44.345 ******** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:51 Friday 05 January 2024 15:04:58 +0000 (0:00:00.068) 0:02:44.414 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:58 Friday 05 January 2024 15:04:58 +0000 (0:00:00.046) 0:02:44.460 ******** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:65 Friday 05 January 2024 15:04:58 +0000 (0:00:00.088) 0:02:44.549 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:69 Friday 05 January 2024 15:04:58 +0000 (0:00:00.053) 0:02:44.602 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:81 Friday 05 January 2024 15:04:58 +0000 (0:00:00.042) 0:02:44.645 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:89 Friday 05 January 2024 15:04:58 +0000 (0:00:00.026) 0:02:44.671 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:98 Friday 05 January 2024 15:04:58 +0000 (0:00:00.030) 0:02:44.702 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:111 Friday 05 January 2024 15:04:58 +0000 (0:00:00.031) 0:02:44.733 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:122 Friday 05 January 2024 15:04:58 +0000 (0:00:00.034) 0:02:44.768 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:131 Friday 05 January 2024 15:04:58 +0000 (0:00:00.030) 0:02:44.798 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:135 Friday 05 January 2024 15:05:00 +0000 (0:00:01.405) 0:02:46.204 ******** 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" } ok: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_facts": { "__mssql_current_version": "2022" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 } } TASK [linux-system-roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Friday 05 January 2024 15:05:00 +0000 (0:00:00.073) 0:02:46.277 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:151 Friday 05 January 2024 15:05:00 +0000 (0:00:00.065) 0:02:46.343 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:158 Friday 05 January 2024 15:05:00 +0000 (0:00:00.065) 0:02:46.408 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:173 Friday 05 January 2024 15:05:00 +0000 (0:00:00.105) 0:02:46.514 ******** ok: [sut] => { "attempts": 1, "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server repo version 2022] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:186 Friday 05 January 2024 15:05:00 +0000 (0:00:00.378) 0:02:46.892 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:196 Friday 05 January 2024 15:05:01 +0000 (0:00:00.027) 0:02:46.920 ******** 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 2022] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:207 Friday 05 January 2024 15:05:01 +0000 (0:00:00.029) 0:02:46.950 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server repo version 2022] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:215 Friday 05 January 2024 15:05:01 +0000 (0:00:00.067) 0:02:47.017 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure that the system is in SELinux enforcing state] ******************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:228 Friday 05 January 2024 15:05:01 +0000 (0:00:00.054) 0:02:47.071 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:236 Friday 05 January 2024 15:05:01 +0000 (0:00:00.042) 0:02:47.113 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:241 Friday 05 January 2024 15:05:01 +0000 (0:00:00.045) 0:02:47.159 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:250 Friday 05 January 2024 15:05:01 +0000 (0:00:00.025) 0:02:47.184 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:259 Friday 05 January 2024 15:05:01 +0000 (0:00:00.127) 0:02:47.311 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:264 Friday 05 January 2024 15:05:01 +0000 (0:00:00.037) 0:02:47.349 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:272 Friday 05 January 2024 15:05:04 +0000 (0:00:02.932) 0:02:50.281 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:280 Friday 05 January 2024 15:05:04 +0000 (0:00:00.046) 0:02:50.328 ******** 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.005227", "end": "2024-01-05 15:05:04.665993", "rc": 0, "start": "2024-01-05 15:05:04.660766" } STDOUT: /var/opt/mssql/log/errorlog TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:295 Friday 05 January 2024 15:05:04 +0000 (0:00:00.281) 0:02:50.609 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:299 Friday 05 January 2024 15:05:08 +0000 (0:00:03.488) 0:02:54.098 ******** ok: [sut] => { "ansible_facts": { "__mssql_is_setup": true }, "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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:308 Friday 05 January 2024 15:05:08 +0000 (0:00:00.054) 0:02:54.152 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:324 Friday 05 January 2024 15:05:08 +0000 (0:00:00.032) 0:02:54.184 ******** 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 the directory and permissions for datadir and logdir] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:344 Friday 05 January 2024 15:05:08 +0000 (0:00:00.121) 0:02:54.306 ******** included: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml for sut included: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml for sut TASK [linux-system-roles.mssql : Get stat of the directory /var/opt/mssql/data] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:3 Friday 05 January 2024 15:05:08 +0000 (0:00:00.072) 0:02:54.379 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1704466988.830139, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1704466988.79014, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 991, "gr_name": "mssql", "inode": 331350276, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1704466988.79014, "nlink": 2, "path": "/var/opt/mssql/data", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 993, "version": "3594605768", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [linux-system-roles.mssql : Ensure the directory and keep present permissions /var/opt/mssql/data] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:8 Friday 05 January 2024 15:05:09 +0000 (0:00:01.249) 0:02:55.629 ******** ok: [sut] => { "changed": false, "gid": 991, "group": "mssql", "mode": "0755", "owner": "mssql", "path": "/var/opt/mssql/data", "secontext": "unconfined_u:object_r:var_t:s0", "size": 4096, "state": "directory", "uid": 993 } TASK [linux-system-roles.mssql : Append facts for the selinux role] ************ task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:23 Friday 05 January 2024 15:05:10 +0000 (0:00:00.281) 0:02:55.910 ******** ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/mssql_data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/mssql_log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/mssql_data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/mssql_log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/var/opt/mssql/data" } ], "selinux_restore_dirs": [ "/tmp/mssql_data", "/tmp/mssql_log", "/tmp/mssql_data", "/tmp/mssql_log", "/var/opt/mssql/data" ] }, "changed": false } TASK [linux-system-roles.mssql : Configure the setting defaultdatadir] ********* task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:39 Friday 05 January 2024 15:05:10 +0000 (0:00:00.058) 0:02:55.969 ******** included: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Friday 05 January 2024 15:05:10 +0000 (0:00:00.087) 0:02:56.057 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002885", "end": "2024-01-05 15:05:10.360332", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:05:10.357447" } STDOUT: defaultdatadir = /tmp/mssql_data TASK [linux-system-roles.mssql : Configure the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Friday 05 January 2024 15:05:10 +0000 (0:00:00.260) 0:02:56.317 ******** NOTIFIED HANDLER linux-system-roles.mssql : Restart the mssql-server service for sut changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "filelocation.defaultdatadir", "/var/opt/mssql/data" ], "delta": "0:00:00.124000", "end": "2024-01-05 15:05:10.808032", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:05:10.684032" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Friday 05 January 2024 15:05:10 +0000 (0:00:00.475) 0:02:56.793 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get stat of the directory /var/opt/mssql/log] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:3 Friday 05 January 2024 15:05:10 +0000 (0:00:00.048) 0:02:56.842 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1704467056.0812883, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1704467056.0802884, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 991, "gr_name": "mssql", "inode": 333447616, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1704467056.0802884, "nlink": 3, "path": "/var/opt/mssql/log", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 993, "version": "3355608644", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [linux-system-roles.mssql : Ensure the directory and keep present permissions /var/opt/mssql/log] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:8 Friday 05 January 2024 15:05:11 +0000 (0:00:00.241) 0:02:57.083 ******** ok: [sut] => { "changed": false, "gid": 991, "group": "mssql", "mode": "0755", "owner": "mssql", "path": "/var/opt/mssql/log", "secontext": "unconfined_u:object_r:var_t:s0", "size": 4096, "state": "directory", "uid": 993 } TASK [linux-system-roles.mssql : Append facts for the selinux role] ************ task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:23 Friday 05 January 2024 15:05:11 +0000 (0:00:00.266) 0:02:57.350 ******** ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/mssql_data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/mssql_log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/mssql_data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/mssql_log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/var/opt/mssql/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/var/opt/mssql/log" } ], "selinux_restore_dirs": [ "/tmp/mssql_data", "/tmp/mssql_log", "/tmp/mssql_data", "/tmp/mssql_log", "/var/opt/mssql/data", "/var/opt/mssql/log" ] }, "changed": false } TASK [linux-system-roles.mssql : Configure the setting defaultlogdir] ********** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:39 Friday 05 January 2024 15:05:11 +0000 (0:00:00.217) 0:02:57.567 ******** included: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Friday 05 January 2024 15:05:11 +0000 (0:00:00.093) 0:02:57.660 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002760", "end": "2024-01-05 15:05:12.028458", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:05:12.025698" } STDOUT: defaultlogdir = /tmp/mssql_log TASK [linux-system-roles.mssql : Configure the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Friday 05 January 2024 15:05:12 +0000 (0:00:00.312) 0:02:57.973 ******** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "filelocation.defaultlogdir", "/var/opt/mssql/log" ], "delta": "0:00:00.122618", "end": "2024-01-05 15:05:12.460369", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:05:12.337751" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Friday 05 January 2024 15:05:12 +0000 (0:00:00.444) 0:02:58.418 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for {{ __mssql_storage_path }}] *********** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:359 Friday 05 January 2024 15:05:12 +0000 (0:00:00.042) 0:02:58.460 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:366 Friday 05 January 2024 15:05:12 +0000 (0:00:00.026) 0:02:58.486 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:371 Friday 05 January 2024 15:05:15 +0000 (0:00:02.861) 0:03:01.347 ******** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-01-05 14:39:19 UTC", "ActiveEnterTimestampMonotonic": "32881992", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket network.target dbus.service system.slice dbus.socket basic.target sysinit.target polkit.service systemd-sysctl.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 14:39:17 UTC", "AssertTimestampMonotonic": "31127452", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-01-05 14:39:17 UTC", "ConditionTimestampMonotonic": "31127450", "ConfigurationDirectoryMode": "0755", "Conflicts": "tlp.service power-profiles-daemon.service auto-cpufreq.service cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "695", "ExecMainStartTimestamp": "Fri 2024-01-05 14:39:17 UTC", "ExecMainStartTimestampMonotonic": "31128538", "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", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-01-05 14:39:17 UTC", "InactiveExitTimestampMonotonic": "31128583", "InvocationID": "de191513c00c466c9c82b339f1865493", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "28609", "LimitNPROCSoft": "28609", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28609", "LimitSIGPENDINGSoft": "28609", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "695", "MemoryAccounting": "yes", "MemoryCurrent": "22994944", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.service system.slice sysinit.target dbus.socket", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Fri 2024-01-05 14:39:19 UTC", "StateChangeTimestampMonotonic": "32881992", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "45774", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-01-05 14:39:19 UTC", "WatchdogTimestampMonotonic": "32881989", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:377 Friday 05 January 2024 15:05:16 +0000 (0:00:01.381) 0:03:02.729 ******** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.114496", "end": "2024-01-05 15:05:17.126381", "rc": 0, "start": "2024-01-05 15:05:17.011885" } STDOUT: Current active profile: virtual-guest mssql TASK [linux-system-roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:387 Friday 05 January 2024 15:05:17 +0000 (0:00:00.319) 0:03:03.049 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:400 Friday 05 January 2024 15:05:17 +0000 (0:00:00.110) 0:03:03.160 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:409 Friday 05 January 2024 15:05:17 +0000 (0:00:00.029) 0:03:03.189 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:419 Friday 05 January 2024 15:05:17 +0000 (0:00:00.026) 0:03:03.215 ******** ok: [sut] => { "changed": false, "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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:426 Friday 05 January 2024 15:05:17 +0000 (0:00:00.215) 0:03:03.431 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:438 Friday 05 January 2024 15:05:20 +0000 (0:00:02.845) 0:03:06.276 ******** included: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml for sut TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Friday 05 January 2024 15:05:20 +0000 (0:00:00.040) 0:03:06.317 ******** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-01-05 15:04:10 UTC", "ActiveEnterTimestampMonotonic": "1523750794", "ActiveExitTimestamp": "Fri 2024-01-05 15:04:10 UTC", "ActiveExitTimestampMonotonic": "1523518236", "ActiveState": "active", "After": "-.mount basic.target system.slice sysinit.target systemd-journald.socket network.target auditd.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 15:04:10 UTC", "AssertTimestampMonotonic": "1523749824", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-01-05 15:04:10 UTC", "ConditionTimestampMonotonic": "1523749823", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "32852", "ExecMainStartTimestamp": "Fri 2024-01-05 15:04:10 UTC", "ExecMainStartTimestampMonotonic": "1523750748", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; 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/mssql-server.service", "FreezerState": "running", "GID": "991", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-01-05 15:04:10 UTC", "InactiveEnterTimestampMonotonic": "1523748766", "InactiveExitTimestamp": "Fri 2024-01-05 15:04:10 UTC", "InactiveExitTimestampMonotonic": "1523750794", "InvocationID": "bec4c3136b5e48c281e9d57356c246c1", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28609", "LimitSIGPENDINGSoft": "28609", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "32852", "MemoryAccounting": "yes", "MemoryCurrent": "824823808", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Fri 2024-01-05 15:04:10 UTC", "StateChangeTimestampMonotonic": "1523750794", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "188", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-01-05 15:04:10 UTC", "WatchdogTimestampMonotonic": "1523750791", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Friday 05 January 2024 15:05:20 +0000 (0:00:00.335) 0:03:06.652 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002751", "end": "2024-01-05 15:05:20.936530", "failed_when_result": false, "rc": 1, "start": "2024-01-05 15:05:20.933779" } MSG: non-zero return code TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Friday 05 January 2024 15:05:20 +0000 (0:00:00.207) 0:03:06.860 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002860", "end": "2024-01-05 15:05:21.136722", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:05:21.133862" } STDOUT: ipaddress = 0.0.0.0 TASK [linux-system-roles.mssql : Set a fact with a login command] ************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Friday 05 January 2024 15:05:21 +0000 (0:00:00.200) 0:03:07.060 ******** 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 : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:442 Friday 05 January 2024 15:05:21 +0000 (0:00:00.057) 0:03:07.117 ******** ok: [sut] => { "changed": false, "elapsed": 1, "gid": 991, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 20300, "state": "file", "uid": 993 } TASK [linux-system-roles.mssql : Check if the set password matches the existing password] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:448 Friday 05 January 2024 15:05:22 +0000 (0:00:01.216) 0:03:08.333 ******** fatal: [sut]: FAILED! => { "attempts": 1, "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ...ignoring TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:463 Friday 05 January 2024 15:05:22 +0000 (0:00:00.309) 0:03:08.643 ******** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Fri 2024-01-05 15:04:10 UTC", "ActiveEnterTimestampMonotonic": "1523750794", "ActiveExitTimestamp": "Fri 2024-01-05 15:04:10 UTC", "ActiveExitTimestampMonotonic": "1523518236", "ActiveState": "active", "After": "-.mount basic.target system.slice sysinit.target systemd-journald.socket network.target auditd.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 15:04:10 UTC", "AssertTimestampMonotonic": "1523749824", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-01-05 15:04:10 UTC", "ConditionTimestampMonotonic": "1523749823", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "32852", "ExecMainStartTimestamp": "Fri 2024-01-05 15:04:10 UTC", "ExecMainStartTimestampMonotonic": "1523750748", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; 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/mssql-server.service", "FreezerState": "running", "GID": "991", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-01-05 15:04:10 UTC", "InactiveEnterTimestampMonotonic": "1523748766", "InactiveExitTimestamp": "Fri 2024-01-05 15:04:10 UTC", "InactiveExitTimestampMonotonic": "1523750794", "InvocationID": "bec4c3136b5e48c281e9d57356c246c1", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28609", "LimitSIGPENDINGSoft": "28609", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "32852", "MemoryAccounting": "yes", "MemoryCurrent": "825712640", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Fri 2024-01-05 15:04:10 UTC", "StateChangeTimestampMonotonic": "1523750794", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "186", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-01-05 15:04:10 UTC", "WatchdogTimestampMonotonic": "1523750791", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:470 Friday 05 January 2024 15:05:24 +0000 (0:00:01.522) 0:03:10.165 ******** 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 : Change the password of sa user] *************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:478 Friday 05 January 2024 15:05:25 +0000 (0:00:01.341) 0:03:11.507 ******** 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 : Pre-input SQL script files to SQL Server] ***** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:500 Friday 05 January 2024 15:05:32 +0000 (0:00:07.089) 0:03:18.597 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:511 Friday 05 January 2024 15:05:32 +0000 (0:00:00.022) 0:03:18.619 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:526 Friday 05 January 2024 15:05:32 +0000 (0:00:00.022) 0:03:18.642 ******** ok: [sut] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Standard edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n edition_matches=false\nelse\n edition_matches=true\nfi\necho \"${edition_matches}\"\n", "delta": "0:00:00.004764", "end": "2024-01-05 15:05:32.923018", "rc": 0, "start": "2024-01-05 15:05:32.918254" } STDOUT: false TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:539 Friday 05 January 2024 15:05:32 +0000 (0:00:00.247) 0:03:18.889 ******** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Fri 2024-01-05 15:04:10 UTC", "ActiveEnterTimestampMonotonic": "1523750794", "ActiveExitTimestamp": "Fri 2024-01-05 15:05:24 UTC", "ActiveExitTimestampMonotonic": "1597236346", "ActiveState": "inactive", "After": "-.mount basic.target system.slice sysinit.target systemd-journald.socket network.target auditd.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 15:04:10 UTC", "AssertTimestampMonotonic": "1523749824", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-01-05 15:04:10 UTC", "ConditionTimestampMonotonic": "1523749823", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "1", "ExecMainExitTimestamp": "Fri 2024-01-05 15:05:24 UTC", "ExecMainExitTimestampMonotonic": "1597388466", "ExecMainPID": "32852", "ExecMainStartTimestamp": "Fri 2024-01-05 15:04:10 UTC", "ExecMainStartTimestampMonotonic": "1523750748", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2024-01-05 15:04:10 UTC] ; stop_time=[Fri 2024-01-05 15:05:24 UTC] ; pid=32852 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-01-05 15:05:24 UTC", "InactiveEnterTimestampMonotonic": "1597388554", "InactiveExitTimestamp": "Fri 2024-01-05 15:04:10 UTC", "InactiveExitTimestampMonotonic": "1523750794", "InvocationID": "bec4c3136b5e48c281e9d57356c246c1", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28609", "LimitSIGPENDINGSoft": "28609", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Fri 2024-01-05 15:05:24 UTC", "StateChangeTimestampMonotonic": "1597388554", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "[not set]", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:546 Friday 05 January 2024 15:05:33 +0000 (0:00:00.337) 0:03:19.227 ******** 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 : Change the edition of MSSQL] ****************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:552 Friday 05 January 2024 15:05:34 +0000 (0:00:01.318) 0:03:20.545 ******** 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 : Configure the IP address setting] ************* task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:572 Friday 05 January 2024 15:05:41 +0000 (0:00:07.269) 0:03:27.814 ******** included: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network ipaddress] ************ task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Friday 05 January 2024 15:05:41 +0000 (0:00:00.055) 0:03:27.869 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002784", "end": "2024-01-05 15:05:42.154430", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:05:42.151646" } STDOUT: ipaddress = 0.0.0.0 TASK [linux-system-roles.mssql : Configure the setting network ipaddress] ****** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Friday 05 January 2024 15:05:42 +0000 (0:00:00.340) 0:03:28.210 ******** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.ipaddress", "127.0.0.1" ], "delta": "0:00:00.122785", "end": "2024-01-05 15:05:42.643573", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:05:42.520788" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the setting network ipaddress] ********** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Friday 05 January 2024 15:05:42 +0000 (0:00:00.385) 0:03:28.595 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:579 Friday 05 January 2024 15:05:42 +0000 (0:00:00.045) 0:03:28.641 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1435] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:586 Friday 05 January 2024 15:05:42 +0000 (0:00:00.065) 0:03:28.707 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the TCP port setting to 1435] ******* task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:598 Friday 05 January 2024 15:05:42 +0000 (0:00:00.047) 0:03:28.754 ******** included: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Friday 05 January 2024 15:05:42 +0000 (0:00:00.064) 0:03:28.819 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003048", "end": "2024-01-05 15:05:43.117308", "failed_when_result": false, "rc": 1, "start": "2024-01-05 15:05:43.114260" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network tcpport] ******** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Friday 05 January 2024 15:05:43 +0000 (0:00:00.242) 0:03:29.062 ******** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1435" ], "delta": "0:00:00.122817", "end": "2024-01-05 15:05:43.534891", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:05:43.412074" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the setting network tcpport] ************ task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Friday 05 January 2024 15:05:43 +0000 (0:00:00.455) 0:03:29.518 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:604 Friday 05 January 2024 15:05:43 +0000 (0:00:00.055) 0:03:29.574 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:624 Friday 05 January 2024 15:05:43 +0000 (0:00:00.046) 0:03:29.620 ******** included: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting sqlagent enabled] ************* task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Friday 05 January 2024 15:05:43 +0000 (0:00:00.083) 0:03:29.704 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002664", "end": "2024-01-05 15:05:44.044923", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:05:44.042259" } STDOUT: enabled = True TASK [linux-system-roles.mssql : Configure the setting sqlagent enabled] ******* task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Friday 05 January 2024 15:05:44 +0000 (0:00:00.316) 0:03:30.020 ******** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "sqlagent.enabled", "False" ], "delta": "0:00:00.123910", "end": "2024-01-05 15:05:44.475749", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:05:44.351839" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the setting sqlagent enabled] *********** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Friday 05 January 2024 15:05:44 +0000 (0:00:00.405) 0:03:30.426 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:631 Friday 05 January 2024 15:05:44 +0000 (0:00:00.174) 0:03:30.600 ******** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Removed: mssql-server-fts-16.0.4095.4-1.x86_64" ] } TASK [linux-system-roles.mssql : Ensure the package powershell] **************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:638 Friday 05 January 2024 15:05:48 +0000 (0:00:03.617) 0:03:34.217 ******** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Removed: powershell-7.4.0-1.rh.x86_64" ] } TASK [linux-system-roles.mssql : Check if the 3979 trace flag is enabled] ****** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:647 Friday 05 January 2024 15:05:51 +0000 (0:00:03.591) 0:03:37.809 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002978", "end": "2024-01-05 15:05:52.098244", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:05:52.095266" } STDOUT: traceflag0 = 3979 TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:653 Friday 05 January 2024 15:05:52 +0000 (0:00:00.219) 0:03:38.028 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:660 Friday 05 January 2024 15:05:52 +0000 (0:00:00.032) 0:03:38.061 ******** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "traceflag", "3979", "off" ], "delta": "0:00:00.125783", "end": "2024-01-05 15:05:52.473235", "rc": 0, "start": "2024-01-05 15:05:52.347452" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Configure the alternatewritethrough setting] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:668 Friday 05 January 2024 15:05:52 +0000 (0:00:00.360) 0:03:38.421 ******** included: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting control alternatewritethrough] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Friday 05 January 2024 15:05:52 +0000 (0:00:00.053) 0:03:38.475 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002703", "end": "2024-01-05 15:05:52.752730", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:05:52.750027" } STDOUT: alternatewritethrough = 0 TASK [linux-system-roles.mssql : Configure the setting control alternatewritethrough] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Friday 05 January 2024 15:05:52 +0000 (0:00:00.232) 0:03:38.707 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting control alternatewritethrough] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Friday 05 January 2024 15:05:52 +0000 (0:00:00.057) 0:03:38.764 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:674 Friday 05 January 2024 15:05:53 +0000 (0:00:00.180) 0:03:38.945 ******** included: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting control writethrough] ********* task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Friday 05 January 2024 15:05:53 +0000 (0:00:00.078) 0:03:39.024 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002710", "end": "2024-01-05 15:05:53.325434", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:05:53.322724" } STDOUT: writethrough = 1 TASK [linux-system-roles.mssql : Configure the setting control writethrough] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Friday 05 January 2024 15:05:53 +0000 (0:00:00.232) 0:03:39.257 ******** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "control.writethrough", "0" ], "delta": "0:00:00.124943", "end": "2024-01-05 15:05:53.661153", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:05:53.536210" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the setting control writethrough] ******* task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Friday 05 January 2024 15:05:53 +0000 (0:00:00.346) 0:03:39.603 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:692 Friday 05 January 2024 15:05:53 +0000 (0:00:00.033) 0:03:39.636 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:706 Friday 05 January 2024 15:05:53 +0000 (0:00:00.031) 0:03:39.668 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:711 Friday 05 January 2024 15:05:53 +0000 (0:00:00.034) 0:03:39.703 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:729 Friday 05 January 2024 15:05:53 +0000 (0:00:00.040) 0:03:39.744 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:738 Friday 05 January 2024 15:05:53 +0000 (0:00:00.044) 0:03:39.788 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:747 Friday 05 January 2024 15:05:53 +0000 (0:00:00.052) 0:03:39.842 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:754 Friday 05 January 2024 15:05:53 +0000 (0:00:00.042) 0:03:39.884 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:763 Friday 05 January 2024 15:05:54 +0000 (0:00:00.026) 0:03:39.911 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:771 Friday 05 January 2024 15:05:54 +0000 (0:00:00.035) 0:03:39.947 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:779 Friday 05 January 2024 15:05:54 +0000 (0:00:00.027) 0:03:39.974 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:786 Friday 05 January 2024 15:05:54 +0000 (0:00:00.026) 0:03:40.001 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:793 Friday 05 January 2024 15:05:54 +0000 (0:00:00.099) 0:03:40.101 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:802 Friday 05 January 2024 15:05:54 +0000 (0:00:00.033) 0:03:40.134 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:815 Friday 05 January 2024 15:05:54 +0000 (0:00:00.052) 0:03:40.187 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:824 Friday 05 January 2024 15:05:54 +0000 (0:00:00.026) 0:03:40.214 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:836 Friday 05 January 2024 15:05:54 +0000 (0:00:00.029) 0:03:40.243 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:841 Friday 05 January 2024 15:05:54 +0000 (0:00:00.028) 0:03:40.272 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:858 Friday 05 January 2024 15:05:54 +0000 (0:00:00.030) 0:03:40.302 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:863 Friday 05 January 2024 15:05:54 +0000 (0:00:00.023) 0:03:40.325 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:868 Friday 05 January 2024 15:05:54 +0000 (0:00:00.035) 0:03:40.361 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:874 Friday 05 January 2024 15:05:54 +0000 (0:00:00.033) 0:03:40.394 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:900 Friday 05 January 2024 15:05:54 +0000 (0:00:00.025) 0:03:40.419 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:921 Friday 05 January 2024 15:05:54 +0000 (0:00:00.027) 0:03:40.447 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:929 Friday 05 January 2024 15:05:54 +0000 (0:00:00.032) 0:03:40.480 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:939 Friday 05 January 2024 15:05:54 +0000 (0:00:00.032) 0:03:40.513 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:945 Friday 05 January 2024 15:05:54 +0000 (0:00:00.044) 0:03:40.557 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:962 Friday 05 January 2024 15:05:54 +0000 (0:00:00.058) 0:03:40.616 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:977 Friday 05 January 2024 15:05:54 +0000 (0:00:00.082) 0:03:40.699 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:997 Friday 05 January 2024 15:05:54 +0000 (0:00:00.114) 0:03:40.814 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1051 Friday 05 January 2024 15:05:54 +0000 (0:00:00.050) 0:03:40.864 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1058 Friday 05 January 2024 15:05:55 +0000 (0:00:00.052) 0:03:40.917 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1065 Friday 05 January 2024 15:05:55 +0000 (0:00:00.096) 0:03:41.013 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1076 Friday 05 January 2024 15:05:55 +0000 (0:00:00.075) 0:03:41.089 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1082 Friday 05 January 2024 15:05:55 +0000 (0:00:00.062) 0:03:41.152 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1090 Friday 05 January 2024 15:05:55 +0000 (0:00:00.092) 0:03:41.244 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1099 Friday 05 January 2024 15:05:55 +0000 (0:00:00.070) 0:03:41.315 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1107 Friday 05 January 2024 15:05:55 +0000 (0:00:00.033) 0:03:41.349 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1122 Friday 05 January 2024 15:05:55 +0000 (0:00:00.075) 0:03:41.425 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1129 Friday 05 January 2024 15:05:55 +0000 (0:00:00.060) 0:03:41.486 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1154 Friday 05 January 2024 15:05:55 +0000 (0:00:00.025) 0:03:41.512 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1163 Friday 05 January 2024 15:05:55 +0000 (0:00:00.045) 0:03:41.557 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1173 Friday 05 January 2024 15:05:55 +0000 (0:00:00.048) 0:03:41.605 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1184 Friday 05 January 2024 15:05:55 +0000 (0:00:00.029) 0:03:41.634 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1197 Friday 05 January 2024 15:05:55 +0000 (0:00:00.027) 0:03:41.662 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1210 Friday 05 January 2024 15:05:55 +0000 (0:00:00.055) 0:03:41.717 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1217 Friday 05 January 2024 15:05:55 +0000 (0:00:00.129) 0:03:41.847 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1224 Friday 05 January 2024 15:05:55 +0000 (0:00:00.025) 0:03:41.872 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1233 Friday 05 January 2024 15:05:56 +0000 (0:00:00.056) 0:03:41.929 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1240 Friday 05 January 2024 15:05:56 +0000 (0:00:00.055) 0:03:41.984 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1252 Friday 05 January 2024 15:05:56 +0000 (0:00:00.040) 0:03:42.025 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1261 Friday 05 January 2024 15:05:56 +0000 (0:00:00.035) 0:03:42.060 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1268 Friday 05 January 2024 15:05:56 +0000 (0:00:00.044) 0:03:42.105 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1274 Friday 05 January 2024 15:05:56 +0000 (0:00:00.033) 0:03:42.139 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1282 Friday 05 January 2024 15:05:56 +0000 (0:00:00.059) 0:03:42.198 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1295 Friday 05 January 2024 15:05:56 +0000 (0:00:00.057) 0:03:42.256 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1307 Friday 05 January 2024 15:05:56 +0000 (0:00:00.061) 0:03:42.317 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1313 Friday 05 January 2024 15:05:56 +0000 (0:00:00.045) 0:03:42.362 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1322 Friday 05 January 2024 15:05:56 +0000 (0:00:00.048) 0:03:42.411 ******** changed: [sut] => { "changed": true } MSG: Block inserted RUNNING HANDLER [linux-system-roles.mssql : Restart the mssql-server service] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 Friday 05 January 2024 15:05:56 +0000 (0:00:00.252) 0:03:42.663 ******** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-01-05 15:04:10 UTC", "ActiveEnterTimestampMonotonic": "1523750794", "ActiveExitTimestamp": "Fri 2024-01-05 15:05:24 UTC", "ActiveExitTimestampMonotonic": "1597236346", "ActiveState": "inactive", "After": "-.mount basic.target system.slice sysinit.target systemd-journald.socket network.target auditd.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 15:04:10 UTC", "AssertTimestampMonotonic": "1523749824", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-01-05 15:04:10 UTC", "ConditionTimestampMonotonic": "1523749823", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "1", "ExecMainExitTimestamp": "Fri 2024-01-05 15:05:24 UTC", "ExecMainExitTimestampMonotonic": "1597388466", "ExecMainPID": "32852", "ExecMainStartTimestamp": "Fri 2024-01-05 15:04:10 UTC", "ExecMainStartTimestampMonotonic": "1523750748", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2024-01-05 15:04:10 UTC] ; stop_time=[Fri 2024-01-05 15:05:24 UTC] ; pid=32852 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-01-05 15:05:24 UTC", "InactiveEnterTimestampMonotonic": "1597388554", "InactiveExitTimestamp": "Fri 2024-01-05 15:04:10 UTC", "InactiveExitTimestampMonotonic": "1523750794", "InvocationID": "bec4c3136b5e48c281e9d57356c246c1", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28609", "LimitSIGPENDINGSoft": "28609", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Fri 2024-01-05 15:05:24 UTC", "StateChangeTimestampMonotonic": "1597388554", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "[not set]", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } META: ran handlers TASK [linux-system-roles.mssql : Post-input SQL scripts to SQL Server] ********* task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1335 Friday 05 January 2024 15:05:57 +0000 (0:00:00.358) 0:03:43.022 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1346 Friday 05 January 2024 15:05:57 +0000 (0:00:00.115) 0:03:43.138 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run with the edited settings again - should report not changed] ********** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/tests_idempotency.yml:73 Friday 05 January 2024 15:05:57 +0000 (0:00:00.034) 0:03:43.173 ******** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Friday 05 January 2024 15:05:57 +0000 (0:00:00.363) 0:03:43.536 ******** included: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Friday 05 January 2024 15:05:57 +0000 (0:00:00.036) 0:03:43.573 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:9 Friday 05 January 2024 15:05:57 +0000 (0:00:00.034) 0:03:43.607 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=CentOS_8.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/8/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019, 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [sut] => (item=CentOS_8.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/8/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019, 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Friday 05 January 2024 15:05:57 +0000 (0:00:00.148) 0:03:43.756 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Friday 05 January 2024 15:05:57 +0000 (0:00:00.035) 0:03:43.792 ******** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Friday 05 January 2024 15:05:57 +0000 (0:00:00.039) 0:03:43.831 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Friday 05 January 2024 15:05:57 +0000 (0:00:00.052) 0:03:43.883 ******** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Friday 05 January 2024 15:05:58 +0000 (0:00:00.040) 0:03:43.923 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Friday 05 January 2024 15:05:58 +0000 (0:00:00.074) 0:03:43.998 ******** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:51 Friday 05 January 2024 15:05:58 +0000 (0:00:00.039) 0:03:44.037 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:58 Friday 05 January 2024 15:05:58 +0000 (0:00:00.043) 0:03:44.081 ******** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:65 Friday 05 January 2024 15:05:58 +0000 (0:00:00.078) 0:03:44.159 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:69 Friday 05 January 2024 15:05:58 +0000 (0:00:00.053) 0:03:44.213 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:81 Friday 05 January 2024 15:05:58 +0000 (0:00:00.042) 0:03:44.256 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:89 Friday 05 January 2024 15:05:58 +0000 (0:00:00.027) 0:03:44.283 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:98 Friday 05 January 2024 15:05:58 +0000 (0:00:00.024) 0:03:44.308 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:111 Friday 05 January 2024 15:05:58 +0000 (0:00:00.028) 0:03:44.336 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:122 Friday 05 January 2024 15:05:58 +0000 (0:00:00.022) 0:03:44.358 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:131 Friday 05 January 2024 15:05:58 +0000 (0:00:00.045) 0:03:44.403 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:135 Friday 05 January 2024 15:06:00 +0000 (0:00:01.702) 0:03:46.106 ******** 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" } ok: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_facts": { "__mssql_current_version": "2022" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 } } TASK [linux-system-roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Friday 05 January 2024 15:06:00 +0000 (0:00:00.138) 0:03:46.245 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:151 Friday 05 January 2024 15:06:00 +0000 (0:00:00.052) 0:03:46.297 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:158 Friday 05 January 2024 15:06:00 +0000 (0:00:00.064) 0:03:46.361 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:173 Friday 05 January 2024 15:06:00 +0000 (0:00:00.105) 0:03:46.467 ******** ok: [sut] => { "attempts": 1, "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server repo version 2022] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:186 Friday 05 January 2024 15:06:01 +0000 (0:00:00.546) 0:03:47.013 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:196 Friday 05 January 2024 15:06:01 +0000 (0:00:00.038) 0:03:47.052 ******** 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 2022] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:207 Friday 05 January 2024 15:06:01 +0000 (0:00:00.046) 0:03:47.098 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server repo version 2022] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:215 Friday 05 January 2024 15:06:01 +0000 (0:00:00.044) 0:03:47.142 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure that the system is in SELinux enforcing state] ******************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:228 Friday 05 January 2024 15:06:01 +0000 (0:00:00.033) 0:03:47.176 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:236 Friday 05 January 2024 15:06:01 +0000 (0:00:00.041) 0:03:47.218 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:241 Friday 05 January 2024 15:06:01 +0000 (0:00:00.065) 0:03:47.283 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:250 Friday 05 January 2024 15:06:01 +0000 (0:00:00.127) 0:03:47.411 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:259 Friday 05 January 2024 15:06:01 +0000 (0:00:00.051) 0:03:47.462 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:264 Friday 05 January 2024 15:06:01 +0000 (0:00:00.026) 0:03:47.489 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:272 Friday 05 January 2024 15:06:04 +0000 (0:00:03.059) 0:03:50.549 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:280 Friday 05 January 2024 15:06:04 +0000 (0:00:00.030) 0:03:50.580 ******** 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.005482", "end": "2024-01-05 15:06:04.858468", "rc": 0, "start": "2024-01-05 15:06:04.852986" } STDOUT: /var/opt/mssql/log/errorlog TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:295 Friday 05 January 2024 15:06:04 +0000 (0:00:00.223) 0:03:50.803 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:299 Friday 05 January 2024 15:06:06 +0000 (0:00:01.457) 0:03:52.261 ******** ok: [sut] => { "ansible_facts": { "__mssql_is_setup": true }, "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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:308 Friday 05 January 2024 15:06:06 +0000 (0:00:00.028) 0:03:52.289 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:324 Friday 05 January 2024 15:06:06 +0000 (0:00:00.021) 0:03:52.311 ******** 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 the directory and permissions for datadir and logdir] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:344 Friday 05 January 2024 15:06:06 +0000 (0:00:00.022) 0:03:52.333 ******** included: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml for sut included: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml for sut TASK [linux-system-roles.mssql : Get stat of the directory /var/opt/mssql/data] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:3 Friday 05 January 2024 15:06:06 +0000 (0:00:00.164) 0:03:52.497 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1704466988.830139, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1704466988.79014, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 991, "gr_name": "mssql", "inode": 331350276, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1704466988.79014, "nlink": 2, "path": "/var/opt/mssql/data", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 993, "version": "3594605768", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [linux-system-roles.mssql : Ensure the directory and keep present permissions /var/opt/mssql/data] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:8 Friday 05 January 2024 15:06:06 +0000 (0:00:00.253) 0:03:52.750 ******** ok: [sut] => { "changed": false, "gid": 991, "group": "mssql", "mode": "0755", "owner": "mssql", "path": "/var/opt/mssql/data", "secontext": "unconfined_u:object_r:var_t:s0", "size": 4096, "state": "directory", "uid": 993 } TASK [linux-system-roles.mssql : Append facts for the selinux role] ************ task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:23 Friday 05 January 2024 15:06:07 +0000 (0:00:00.232) 0:03:52.983 ******** ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/mssql_data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/mssql_log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/mssql_data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/mssql_log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/var/opt/mssql/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/var/opt/mssql/log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/var/opt/mssql/data" } ], "selinux_restore_dirs": [ "/tmp/mssql_data", "/tmp/mssql_log", "/tmp/mssql_data", "/tmp/mssql_log", "/var/opt/mssql/data", "/var/opt/mssql/log", "/var/opt/mssql/data" ] }, "changed": false } TASK [linux-system-roles.mssql : Configure the setting defaultdatadir] ********* task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:39 Friday 05 January 2024 15:06:07 +0000 (0:00:00.028) 0:03:53.011 ******** included: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Friday 05 January 2024 15:06:07 +0000 (0:00:00.039) 0:03:53.051 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002843", "end": "2024-01-05 15:06:07.337787", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:06:07.334944" } STDOUT: defaultdatadir = /var/opt/mssql/data TASK [linux-system-roles.mssql : Configure the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Friday 05 January 2024 15:06:07 +0000 (0:00:00.235) 0:03:53.286 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Friday 05 January 2024 15:06:07 +0000 (0:00:00.057) 0:03:53.343 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get stat of the directory /var/opt/mssql/log] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:3 Friday 05 January 2024 15:06:07 +0000 (0:00:00.046) 0:03:53.390 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1704467162.068369, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1704467162.0763688, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 991, "gr_name": "mssql", "inode": 333447616, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1704467162.0763688, "nlink": 3, "path": "/var/opt/mssql/log", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 993, "version": "3355608644", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [linux-system-roles.mssql : Ensure the directory and keep present permissions /var/opt/mssql/log] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:8 Friday 05 January 2024 15:06:07 +0000 (0:00:00.230) 0:03:53.620 ******** ok: [sut] => { "changed": false, "gid": 991, "group": "mssql", "mode": "0755", "owner": "mssql", "path": "/var/opt/mssql/log", "secontext": "unconfined_u:object_r:var_t:s0", "size": 4096, "state": "directory", "uid": 993 } TASK [linux-system-roles.mssql : Append facts for the selinux role] ************ task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:23 Friday 05 January 2024 15:06:07 +0000 (0:00:00.240) 0:03:53.861 ******** ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/mssql_data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/mssql_log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/mssql_data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/mssql_log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/var/opt/mssql/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/var/opt/mssql/log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/var/opt/mssql/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/var/opt/mssql/log" } ], "selinux_restore_dirs": [ "/tmp/mssql_data", "/tmp/mssql_log", "/tmp/mssql_data", "/tmp/mssql_log", "/var/opt/mssql/data", "/var/opt/mssql/log", "/var/opt/mssql/data", "/var/opt/mssql/log" ] }, "changed": false } TASK [linux-system-roles.mssql : Configure the setting defaultlogdir] ********** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:39 Friday 05 January 2024 15:06:08 +0000 (0:00:00.033) 0:03:53.894 ******** included: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Friday 05 January 2024 15:06:08 +0000 (0:00:00.119) 0:03:54.014 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002745", "end": "2024-01-05 15:06:08.307979", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:06:08.305234" } STDOUT: defaultlogdir = /var/opt/mssql/log TASK [linux-system-roles.mssql : Configure the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Friday 05 January 2024 15:06:08 +0000 (0:00:00.217) 0:03:54.232 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Friday 05 January 2024 15:06:08 +0000 (0:00:00.027) 0:03:54.260 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for {{ __mssql_storage_path }}] *********** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:359 Friday 05 January 2024 15:06:08 +0000 (0:00:00.024) 0:03:54.284 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:366 Friday 05 January 2024 15:06:08 +0000 (0:00:00.024) 0:03:54.308 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:371 Friday 05 January 2024 15:06:11 +0000 (0:00:02.833) 0:03:57.142 ******** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-01-05 14:39:19 UTC", "ActiveEnterTimestampMonotonic": "32881992", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket network.target dbus.service system.slice dbus.socket basic.target sysinit.target polkit.service systemd-sysctl.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 14:39:17 UTC", "AssertTimestampMonotonic": "31127452", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-01-05 14:39:17 UTC", "ConditionTimestampMonotonic": "31127450", "ConfigurationDirectoryMode": "0755", "Conflicts": "tlp.service power-profiles-daemon.service auto-cpufreq.service cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "695", "ExecMainStartTimestamp": "Fri 2024-01-05 14:39:17 UTC", "ExecMainStartTimestampMonotonic": "31128538", "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", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-01-05 14:39:17 UTC", "InactiveExitTimestampMonotonic": "31128583", "InvocationID": "de191513c00c466c9c82b339f1865493", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "28609", "LimitNPROCSoft": "28609", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28609", "LimitSIGPENDINGSoft": "28609", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "695", "MemoryAccounting": "yes", "MemoryCurrent": "22945792", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.service system.slice sysinit.target dbus.socket", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Fri 2024-01-05 14:39:19 UTC", "StateChangeTimestampMonotonic": "32881992", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "45774", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-01-05 14:39:19 UTC", "WatchdogTimestampMonotonic": "32881989", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:377 Friday 05 January 2024 15:06:11 +0000 (0:00:00.346) 0:03:57.489 ******** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.118101", "end": "2024-01-05 15:06:11.879008", "rc": 0, "start": "2024-01-05 15:06:11.760907" } STDOUT: Current active profile: virtual-guest mssql TASK [linux-system-roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:387 Friday 05 January 2024 15:06:11 +0000 (0:00:00.312) 0:03:57.801 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:400 Friday 05 January 2024 15:06:11 +0000 (0:00:00.022) 0:03:57.824 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:409 Friday 05 January 2024 15:06:12 +0000 (0:00:00.079) 0:03:57.904 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:419 Friday 05 January 2024 15:06:12 +0000 (0:00:00.021) 0:03:57.925 ******** ok: [sut] => { "changed": false, "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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:426 Friday 05 January 2024 15:06:12 +0000 (0:00:00.206) 0:03:58.132 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:438 Friday 05 January 2024 15:06:15 +0000 (0:00:02.847) 0:04:00.979 ******** included: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml for sut TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Friday 05 January 2024 15:06:15 +0000 (0:00:00.061) 0:04:01.041 ******** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-01-05 15:05:57 UTC", "ActiveEnterTimestampMonotonic": "1630258552", "ActiveExitTimestamp": "Fri 2024-01-05 15:05:24 UTC", "ActiveExitTimestampMonotonic": "1597236346", "ActiveState": "active", "After": "-.mount basic.target system.slice sysinit.target systemd-journald.socket network.target auditd.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 15:05:57 UTC", "AssertTimestampMonotonic": "1630257570", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-01-05 15:05:57 UTC", "ConditionTimestampMonotonic": "1630257569", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "35971", "ExecMainStartTimestamp": "Fri 2024-01-05 15:05:57 UTC", "ExecMainStartTimestampMonotonic": "1630258503", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2024-01-05 15:05:57 UTC] ; stop_time=[n/a] ; pid=35971 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "991", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-01-05 15:05:24 UTC", "InactiveEnterTimestampMonotonic": "1597388554", "InactiveExitTimestamp": "Fri 2024-01-05 15:05:57 UTC", "InactiveExitTimestampMonotonic": "1630258552", "InvocationID": "e30e44d3687e4d1e8938c98f8aacde7a", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28609", "LimitSIGPENDINGSoft": "28609", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "35971", "MemoryAccounting": "yes", "MemoryCurrent": "709054464", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Fri 2024-01-05 15:05:57 UTC", "StateChangeTimestampMonotonic": "1630258552", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "176", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-01-05 15:05:57 UTC", "WatchdogTimestampMonotonic": "1630258549", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Friday 05 January 2024 15:06:15 +0000 (0:00:00.358) 0:04:01.399 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002719", "end": "2024-01-05 15:06:15.724145", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:06:15.721426" } STDOUT: tcpport = 1435 TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Friday 05 January 2024 15:06:15 +0000 (0:00:00.276) 0:04:01.676 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002824", "end": "2024-01-05 15:06:15.994482", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:06:15.991658" } STDOUT: ipaddress = 127.0.0.1 TASK [linux-system-roles.mssql : Set a fact with a login command] ************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Friday 05 January 2024 15:06:16 +0000 (0:00:00.250) 0:04:01.926 ******** 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 : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:442 Friday 05 January 2024 15:06:16 +0000 (0:00:00.062) 0:04:01.989 ******** ok: [sut] => { "changed": false, "elapsed": 1, "gid": 991, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 16962, "state": "file", "uid": 993 } TASK [linux-system-roles.mssql : Check if the set password matches the existing password] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:448 Friday 05 January 2024 15:06:17 +0000 (0:00:01.259) 0:04:03.249 ******** ok: [sut] => { "attempts": 1, "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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:463 Friday 05 January 2024 15:06:17 +0000 (0:00:00.241) 0:04:03.490 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:470 Friday 05 January 2024 15:06:17 +0000 (0:00:00.118) 0:04:03.609 ******** 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 : Change the password of sa user] *************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:478 Friday 05 January 2024 15:06:19 +0000 (0:00:01.398) 0:04:05.008 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:500 Friday 05 January 2024 15:06:19 +0000 (0:00:00.053) 0:04:05.061 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:511 Friday 05 January 2024 15:06:19 +0000 (0:00:00.053) 0:04:05.115 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:526 Friday 05 January 2024 15:06:19 +0000 (0:00:00.036) 0:04:05.151 ******** ok: [sut] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Standard edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n edition_matches=false\nelse\n edition_matches=true\nfi\necho \"${edition_matches}\"\n", "delta": "0:00:00.004981", "end": "2024-01-05 15:06:19.479223", "rc": 0, "start": "2024-01-05 15:06:19.474242" } STDOUT: true TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:539 Friday 05 January 2024 15:06:19 +0000 (0:00:00.273) 0:04:05.425 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:546 Friday 05 January 2024 15:06:19 +0000 (0:00:00.045) 0:04:05.470 ******** 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 : Change the edition of MSSQL] ****************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:552 Friday 05 January 2024 15:06:20 +0000 (0:00:01.395) 0:04:06.866 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:572 Friday 05 January 2024 15:06:21 +0000 (0:00:00.058) 0:04:06.924 ******** included: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network ipaddress] ************ task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Friday 05 January 2024 15:06:21 +0000 (0:00:00.187) 0:04:07.112 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002869", "end": "2024-01-05 15:06:21.437335", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:06:21.434466" } STDOUT: ipaddress = 127.0.0.1 TASK [linux-system-roles.mssql : Configure the setting network ipaddress] ****** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Friday 05 January 2024 15:06:21 +0000 (0:00:00.272) 0:04:07.384 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting network ipaddress] ********** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Friday 05 January 2024 15:06:21 +0000 (0:00:00.027) 0:04:07.412 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:579 Friday 05 January 2024 15:06:21 +0000 (0:00:00.042) 0:04:07.455 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1435] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:586 Friday 05 January 2024 15:06:21 +0000 (0:00:00.042) 0:04:07.497 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the TCP port setting to 1435] ******* task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:598 Friday 05 January 2024 15:06:21 +0000 (0:00:00.029) 0:04:07.527 ******** included: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Friday 05 January 2024 15:06:21 +0000 (0:00:00.082) 0:04:07.610 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002692", "end": "2024-01-05 15:06:21.903888", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:06:21.901196" } STDOUT: tcpport = 1435 TASK [linux-system-roles.mssql : Configure the setting network tcpport] ******** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Friday 05 January 2024 15:06:21 +0000 (0:00:00.219) 0:04:07.830 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting network tcpport] ************ task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Friday 05 January 2024 15:06:21 +0000 (0:00:00.042) 0:04:07.872 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:604 Friday 05 January 2024 15:06:22 +0000 (0:00:00.053) 0:04:07.926 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:624 Friday 05 January 2024 15:06:22 +0000 (0:00:00.043) 0:04:07.970 ******** included: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting sqlagent enabled] ************* task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Friday 05 January 2024 15:06:22 +0000 (0:00:00.069) 0:04:08.039 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002763", "end": "2024-01-05 15:06:22.324414", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:06:22.321651" } STDOUT: enabled = False TASK [linux-system-roles.mssql : Configure the setting sqlagent enabled] ******* task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Friday 05 January 2024 15:06:22 +0000 (0:00:00.298) 0:04:08.338 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting sqlagent enabled] *********** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Friday 05 January 2024 15:06:22 +0000 (0:00:00.027) 0:04:08.365 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:631 Friday 05 January 2024 15:06:22 +0000 (0:00:00.024) 0:04:08.389 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Ensure the package powershell] **************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:638 Friday 05 January 2024 15:06:25 +0000 (0:00:02.819) 0:04:11.209 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Check if the 3979 trace flag is enabled] ****** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:647 Friday 05 January 2024 15:06:28 +0000 (0:00:02.825) 0:04:14.034 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002937", "end": "2024-01-05 15:06:28.310646", "failed_when_result": false, "rc": 1, "start": "2024-01-05 15:06:28.307709" } MSG: non-zero return code TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:653 Friday 05 January 2024 15:06:28 +0000 (0:00:00.199) 0:04:14.234 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:660 Friday 05 January 2024 15:06:28 +0000 (0:00:00.022) 0:04:14.256 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:668 Friday 05 January 2024 15:06:28 +0000 (0:00:00.022) 0:04:14.279 ******** included: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting control alternatewritethrough] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Friday 05 January 2024 15:06:28 +0000 (0:00:00.036) 0:04:14.315 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.003901", "end": "2024-01-05 15:06:29.593880", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:06:28.589979" } STDOUT: alternatewritethrough = 0 TASK [linux-system-roles.mssql : Configure the setting control alternatewritethrough] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Friday 05 January 2024 15:06:29 +0000 (0:00:01.205) 0:04:15.521 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting control alternatewritethrough] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Friday 05 January 2024 15:06:29 +0000 (0:00:00.097) 0:04:15.619 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:674 Friday 05 January 2024 15:06:29 +0000 (0:00:00.044) 0:04:15.663 ******** included: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting control writethrough] ********* task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Friday 05 January 2024 15:06:29 +0000 (0:00:00.055) 0:04:15.718 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002965", "end": "2024-01-05 15:06:30.000473", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:06:29.997508" } STDOUT: writethrough = 0 TASK [linux-system-roles.mssql : Configure the setting control writethrough] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Friday 05 January 2024 15:06:30 +0000 (0:00:00.208) 0:04:15.927 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting control writethrough] ******* task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Friday 05 January 2024 15:06:30 +0000 (0:00:00.028) 0:04:15.956 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:692 Friday 05 January 2024 15:06:30 +0000 (0:00:00.024) 0:04:15.981 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:706 Friday 05 January 2024 15:06:30 +0000 (0:00:00.041) 0:04:16.023 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:711 Friday 05 January 2024 15:06:30 +0000 (0:00:00.022) 0:04:16.045 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:729 Friday 05 January 2024 15:06:30 +0000 (0:00:00.025) 0:04:16.070 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:738 Friday 05 January 2024 15:06:30 +0000 (0:00:00.023) 0:04:16.093 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:747 Friday 05 January 2024 15:06:30 +0000 (0:00:00.025) 0:04:16.119 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:754 Friday 05 January 2024 15:06:30 +0000 (0:00:00.021) 0:04:16.140 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:763 Friday 05 January 2024 15:06:30 +0000 (0:00:00.019) 0:04:16.160 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:771 Friday 05 January 2024 15:06:30 +0000 (0:00:00.020) 0:04:16.180 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:779 Friday 05 January 2024 15:06:30 +0000 (0:00:00.019) 0:04:16.200 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:786 Friday 05 January 2024 15:06:30 +0000 (0:00:00.021) 0:04:16.221 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:793 Friday 05 January 2024 15:06:30 +0000 (0:00:00.086) 0:04:16.307 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:802 Friday 05 January 2024 15:06:30 +0000 (0:00:00.028) 0:04:16.335 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:815 Friday 05 January 2024 15:06:30 +0000 (0:00:00.022) 0:04:16.358 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:824 Friday 05 January 2024 15:06:30 +0000 (0:00:00.023) 0:04:16.381 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:836 Friday 05 January 2024 15:06:30 +0000 (0:00:00.024) 0:04:16.406 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:841 Friday 05 January 2024 15:06:30 +0000 (0:00:00.022) 0:04:16.429 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:858 Friday 05 January 2024 15:06:30 +0000 (0:00:00.023) 0:04:16.452 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:863 Friday 05 January 2024 15:06:30 +0000 (0:00:00.022) 0:04:16.475 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:868 Friday 05 January 2024 15:06:30 +0000 (0:00:00.021) 0:04:16.497 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:874 Friday 05 January 2024 15:06:30 +0000 (0:00:00.021) 0:04:16.518 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:900 Friday 05 January 2024 15:06:30 +0000 (0:00:00.021) 0:04:16.540 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:921 Friday 05 January 2024 15:06:30 +0000 (0:00:00.020) 0:04:16.560 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:929 Friday 05 January 2024 15:06:30 +0000 (0:00:00.021) 0:04:16.582 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:939 Friday 05 January 2024 15:06:30 +0000 (0:00:00.036) 0:04:16.619 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:945 Friday 05 January 2024 15:06:30 +0000 (0:00:00.027) 0:04:16.646 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:962 Friday 05 January 2024 15:06:30 +0000 (0:00:00.022) 0:04:16.669 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:977 Friday 05 January 2024 15:06:30 +0000 (0:00:00.106) 0:04:16.775 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:997 Friday 05 January 2024 15:06:30 +0000 (0:00:00.023) 0:04:16.798 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1051 Friday 05 January 2024 15:06:30 +0000 (0:00:00.027) 0:04:16.826 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1058 Friday 05 January 2024 15:06:30 +0000 (0:00:00.022) 0:04:16.848 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1065 Friday 05 January 2024 15:06:30 +0000 (0:00:00.022) 0:04:16.871 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1076 Friday 05 January 2024 15:06:31 +0000 (0:00:00.023) 0:04:16.895 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1082 Friday 05 January 2024 15:06:31 +0000 (0:00:00.034) 0:04:16.929 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1090 Friday 05 January 2024 15:06:31 +0000 (0:00:00.037) 0:04:16.966 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1099 Friday 05 January 2024 15:06:31 +0000 (0:00:00.025) 0:04:16.991 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1107 Friday 05 January 2024 15:06:31 +0000 (0:00:00.030) 0:04:17.022 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1122 Friday 05 January 2024 15:06:31 +0000 (0:00:00.033) 0:04:17.055 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1129 Friday 05 January 2024 15:06:31 +0000 (0:00:00.023) 0:04:17.079 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1154 Friday 05 January 2024 15:06:31 +0000 (0:00:00.022) 0:04:17.101 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1163 Friday 05 January 2024 15:06:31 +0000 (0:00:00.026) 0:04:17.127 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1173 Friday 05 January 2024 15:06:31 +0000 (0:00:00.036) 0:04:17.164 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1184 Friday 05 January 2024 15:06:31 +0000 (0:00:00.021) 0:04:17.185 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1197 Friday 05 January 2024 15:06:31 +0000 (0:00:00.030) 0:04:17.216 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1210 Friday 05 January 2024 15:06:31 +0000 (0:00:00.022) 0:04:17.239 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1217 Friday 05 January 2024 15:06:31 +0000 (0:00:00.093) 0:04:17.332 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1224 Friday 05 January 2024 15:06:31 +0000 (0:00:00.022) 0:04:17.355 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1233 Friday 05 January 2024 15:06:31 +0000 (0:00:00.023) 0:04:17.378 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1240 Friday 05 January 2024 15:06:31 +0000 (0:00:00.021) 0:04:17.400 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1252 Friday 05 January 2024 15:06:31 +0000 (0:00:00.027) 0:04:17.428 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1261 Friday 05 January 2024 15:06:31 +0000 (0:00:00.021) 0:04:17.449 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1268 Friday 05 January 2024 15:06:31 +0000 (0:00:00.022) 0:04:17.472 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1274 Friday 05 January 2024 15:06:31 +0000 (0:00:00.023) 0:04:17.495 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1282 Friday 05 January 2024 15:06:31 +0000 (0:00:00.022) 0:04:17.518 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1295 Friday 05 January 2024 15:06:31 +0000 (0:00:00.029) 0:04:17.547 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1307 Friday 05 January 2024 15:06:31 +0000 (0:00:00.023) 0:04:17.571 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1313 Friday 05 January 2024 15:06:31 +0000 (0:00:00.023) 0:04:17.595 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1322 Friday 05 January 2024 15:06:31 +0000 (0:00:00.021) 0:04:17.617 ******** ok: [sut] => { "changed": false } META: ran handlers TASK [linux-system-roles.mssql : Post-input SQL scripts to SQL Server] ********* task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1335 Friday 05 January 2024 15:06:31 +0000 (0:00:00.238) 0:04:17.855 ******** 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.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:1346 Friday 05 January 2024 15:06:31 +0000 (0:00:00.023) 0:04:17.879 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify disabled settings] ************************************************ task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/tests_idempotency.yml:88 Friday 05 January 2024 15:06:32 +0000 (0:00:00.029) 0:04:17.909 ******** included: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/verify_settings.yml for sut TASK [Check if the errorlog file exists and its location] ********************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/verify_settings.yml:8 Friday 05 January 2024 15:06:32 +0000 (0:00:00.282) 0:04:18.191 ******** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\nerrorlog=\"$(grep '^errorlogfile' /var/opt/mssql/mssql.conf \\\n2>&1 | sed 's\\errorlogfile : \\\\')\" || :\nif [ -f \"${errorlog}\" ]; then\n echo \"${errorlog}\"\nelif [ -f /var/opt/mssql/log/errorlog ]; then\n echo \"/var/opt/mssql/log/errorlog\"\nelse\n echo \"\"\nfi\n", "delta": "0:00:00.005140", "end": "2024-01-05 15:06:32.472193", "rc": 0, "start": "2024-01-05 15:06:32.467053" } STDOUT: /var/opt/mssql/log/errorlog TASK [Check if the set edition matches the existing edition] ******************* task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/verify_settings.yml:23 Friday 05 January 2024 15:06:32 +0000 (0:00:00.212) 0:04:18.404 ******** ok: [sut] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Standard edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n echo false\nelse\n echo true\nfi\n", "delta": "0:00:00.004959", "end": "2024-01-05 15:06:32.706544", "rc": 0, "start": "2024-01-05 15:06:32.701585" } STDOUT: true TASK [Verify if the edition matches] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/verify_settings.yml:35 Friday 05 January 2024 15:06:32 +0000 (0:00:00.224) 0:04:18.628 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting {{ item.key }}] *************************************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/verify_settings.yml:39 Friday 05 January 2024 15:06:32 +0000 (0:00:00.029) 0:04:18.658 ******** included: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/mssql_conf_verify.yml for sut included: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/mssql_conf_verify.yml for sut included: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/mssql_conf_verify.yml for sut included: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/mssql_conf_verify.yml for sut included: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting ipaddress] ********************************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/mssql_conf_verify.yml:7 Friday 05 January 2024 15:06:32 +0000 (0:00:00.111) 0:04:18.769 ******** ok: [sut] => { "changed": false, "cmd": "grep '^ipaddress' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004186", "end": "2024-01-05 15:06:33.055806", "rc": 0, "start": "2024-01-05 15:06:33.051620" } STDOUT: ipaddress = 127.0.0.1 TASK [Verify the setting when it is type str ipaddress] ************************ task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/mssql_conf_verify.yml:14 Friday 05 January 2024 15:06:33 +0000 (0:00:00.209) 0:04:18.978 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool ipaddress] *********************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/mssql_conf_verify.yml:25 Friday 05 January 2024 15:06:33 +0000 (0:00:00.031) 0:04:19.010 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 127.0.0.1] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/mssql_conf_verify.yml:40 Friday 05 January 2024 15:06:33 +0000 (0:00:00.024) 0:04:19.034 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting tcpport] ************************************ task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/mssql_conf_verify.yml:7 Friday 05 January 2024 15:06:33 +0000 (0:00:00.123) 0:04:19.158 ******** ok: [sut] => { "changed": false, "cmd": "grep '^tcpport' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004194", "end": "2024-01-05 15:06:33.463422", "rc": 0, "start": "2024-01-05 15:06:33.459228" } STDOUT: tcpport = 1435 TASK [Verify the setting when it is type str tcpport] ************************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/mssql_conf_verify.yml:14 Friday 05 January 2024 15:06:33 +0000 (0:00:00.227) 0:04:19.386 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool tcpport] ************************* task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/mssql_conf_verify.yml:25 Friday 05 January 2024 15:06:33 +0000 (0:00:00.025) 0:04:19.411 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1435] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/mssql_conf_verify.yml:40 Friday 05 January 2024 15:06:33 +0000 (0:00:00.028) 0:04:19.439 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get the value of the setting defaultdatadir] ***************************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/mssql_conf_verify.yml:7 Friday 05 January 2024 15:06:33 +0000 (0:00:00.030) 0:04:19.470 ******** ok: [sut] => { "changed": false, "cmd": "grep '^defaultdatadir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004134", "end": "2024-01-05 15:06:33.749259", "rc": 0, "start": "2024-01-05 15:06:33.745125" } STDOUT: defaultdatadir = /var/opt/mssql/data TASK [Verify the setting when it is type str defaultdatadir] ******************* task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/mssql_conf_verify.yml:14 Friday 05 January 2024 15:06:33 +0000 (0:00:00.214) 0:04:19.684 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultdatadir] ****************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/mssql_conf_verify.yml:25 Friday 05 January 2024 15:06:33 +0000 (0:00:00.055) 0:04:19.740 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /var/opt/mssql/data] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/mssql_conf_verify.yml:40 Friday 05 January 2024 15:06:33 +0000 (0:00:00.046) 0:04:19.787 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting defaultlogdir] ****************************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/mssql_conf_verify.yml:7 Friday 05 January 2024 15:06:33 +0000 (0:00:00.028) 0:04:19.815 ******** ok: [sut] => { "changed": false, "cmd": "grep '^defaultlogdir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004296", "end": "2024-01-05 15:06:34.093913", "rc": 0, "start": "2024-01-05 15:06:34.089617" } STDOUT: defaultlogdir = /var/opt/mssql/log TASK [Verify the setting when it is type str defaultlogdir] ******************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/mssql_conf_verify.yml:14 Friday 05 January 2024 15:06:34 +0000 (0:00:00.212) 0:04:20.028 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultlogdir] ******************* task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/mssql_conf_verify.yml:25 Friday 05 January 2024 15:06:34 +0000 (0:00:00.069) 0:04:20.097 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /var/opt/mssql/log] ******************************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/mssql_conf_verify.yml:40 Friday 05 January 2024 15:06:34 +0000 (0:00:00.026) 0:04:20.123 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting enabled] ************************************ task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/mssql_conf_verify.yml:7 Friday 05 January 2024 15:06:34 +0000 (0:00:00.022) 0:04:20.146 ******** ok: [sut] => { "changed": false, "cmd": "grep '^enabled' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004026", "end": "2024-01-05 15:06:34.421726", "rc": 0, "start": "2024-01-05 15:06:34.417700" } STDOUT: enabled = False TASK [Verify the setting when it is type str enabled] ************************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/mssql_conf_verify.yml:14 Friday 05 January 2024 15:06:34 +0000 (0:00:00.198) 0:04:20.344 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool enabled] ************************* task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/mssql_conf_verify.yml:25 Friday 05 January 2024 15:06:34 +0000 (0:00:00.098) 0:04:20.443 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/mssql_conf_verify.yml:40 Friday 05 January 2024 15:06:34 +0000 (0:00:00.039) 0:04:20.482 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/verify_settings.yml:55 Friday 05 January 2024 15:06:34 +0000 (0:00:00.023) 0:04:20.505 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1704466988.830139, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1704466988.79014, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 991, "gr_name": "mssql", "inode": 331350276, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1704466988.79014, "nlink": 2, "path": "/var/opt/mssql/data", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 993, "version": "3594605768", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that mssql_datadir has proper permissions and ownership] ********** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/verify_settings.yml:60 Friday 05 January 2024 15:06:34 +0000 (0:00:00.211) 0:04:20.717 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get stat of mssql_logdir] ************************************************ task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/verify_settings.yml:70 Friday 05 January 2024 15:06:34 +0000 (0:00:00.070) 0:04:20.788 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1704467162.068369, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1704467162.0763688, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 991, "gr_name": "mssql", "inode": 333447616, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1704467162.0763688, "nlink": 3, "path": "/var/opt/mssql/log", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 993, "version": "3355608644", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that mssql_logdir has proper permissions and ownership] *********** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/verify_settings.yml:75 Friday 05 January 2024 15:06:35 +0000 (0:00:00.260) 0:04:21.048 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/verify_settings.yml:85 Friday 05 January 2024 15:06:35 +0000 (0:00:00.031) 0:04:21.079 ******** TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Friday 05 January 2024 15:06:35 +0000 (0:00:00.069) 0:04:21.149 ******** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-01-05 15:05:57 UTC", "ActiveEnterTimestampMonotonic": "1630258552", "ActiveExitTimestamp": "Fri 2024-01-05 15:05:24 UTC", "ActiveExitTimestampMonotonic": "1597236346", "ActiveState": "active", "After": "-.mount basic.target system.slice sysinit.target systemd-journald.socket network.target auditd.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 15:05:57 UTC", "AssertTimestampMonotonic": "1630257570", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-01-05 15:05:57 UTC", "ConditionTimestampMonotonic": "1630257569", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "35971", "ExecMainStartTimestamp": "Fri 2024-01-05 15:05:57 UTC", "ExecMainStartTimestampMonotonic": "1630258503", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2024-01-05 15:05:57 UTC] ; stop_time=[n/a] ; pid=35971 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "991", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-01-05 15:05:24 UTC", "InactiveEnterTimestampMonotonic": "1597388554", "InactiveExitTimestamp": "Fri 2024-01-05 15:05:57 UTC", "InactiveExitTimestampMonotonic": "1630258552", "InvocationID": "e30e44d3687e4d1e8938c98f8aacde7a", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28609", "LimitSIGPENDINGSoft": "28609", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "35971", "MemoryAccounting": "yes", "MemoryCurrent": "710868992", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Fri 2024-01-05 15:05:57 UTC", "StateChangeTimestampMonotonic": "1630258552", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "177", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-01-05 15:05:57 UTC", "WatchdogTimestampMonotonic": "1630258549", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Friday 05 January 2024 15:06:35 +0000 (0:00:00.319) 0:04:21.468 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002739", "end": "2024-01-05 15:06:35.747151", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:06:35.744412" } STDOUT: tcpport = 1435 TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Friday 05 January 2024 15:06:35 +0000 (0:00:00.216) 0:04:21.685 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002831", "end": "2024-01-05 15:06:35.962069", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:06:35.959238" } STDOUT: ipaddress = 127.0.0.1 TASK [linux-system-roles.mssql : Set a fact with a login command] ************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Friday 05 January 2024 15:06:36 +0000 (0:00:00.213) 0:04:21.898 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Wait for mssql-server to prepare for client connections] ***************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/verify_settings.yml:93 Friday 05 January 2024 15:06:36 +0000 (0:00:00.037) 0:04:21.936 ******** ok: [sut] => { "changed": false, "elapsed": 1, "gid": 991, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 16962, "state": "file", "uid": 993 } TASK [Check if the set password matches the existing password] ***************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/verify_settings.yml:99 Friday 05 January 2024 15:06:37 +0000 (0:00:01.208) 0:04:23.144 ******** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-S", "127.0.0.1,1435", "-U", "sa", "-P", "p@55w0rD1", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.027718", "end": "2024-01-05 15:06:37.459775", "rc": 0, "start": "2024-01-05 15:06:37.432057" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2022 (RTM-CU10) (KB5031778) - 16.0.4095.4 (X64) Oct 30 2023 16:12:44 Copyright (C) 2022 Microsoft Corporation Standard Edition (64-bit) on Linux (CentOS Stream 8) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/verify_settings.yml:113 Friday 05 January 2024 15:06:37 +0000 (0:00:00.241) 0:04:23.385 ******** ok: [sut] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/verify_settings.yml:117 Friday 05 January 2024 15:06:37 +0000 (0:00:00.024) 0:04:23.410 ******** included: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/verify_package.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/verify_package.yml:7 Friday 05 January 2024 15:06:37 +0000 (0:00:00.038) 0:04:23.449 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Verify if the package is installed mssql-server-fts] ********************* task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/verify_package.yml:12 Friday 05 January 2024 15:06:38 +0000 (0:00:01.338) 0:04:24.787 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the package is not installed mssql-server-fts] ***************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/verify_package.yml:17 Friday 05 January 2024 15:06:38 +0000 (0:00:00.031) 0:04:24.819 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the package powershell] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/verify_settings.yml:124 Friday 05 January 2024 15:06:38 +0000 (0:00:00.047) 0:04:24.867 ******** included: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/verify_package.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/verify_package.yml:7 Friday 05 January 2024 15:06:39 +0000 (0:00:00.171) 0:04:25.039 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Verify if the package is installed powershell] *************************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/verify_package.yml:12 Friday 05 January 2024 15:06:40 +0000 (0:00:01.326) 0:04:26.366 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the package is not installed powershell] *********************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/verify_package.yml:17 Friday 05 January 2024 15:06:40 +0000 (0:00:00.031) 0:04:26.397 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get the value of the traceflag setting] ********************************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/verify_settings.yml:135 Friday 05 January 2024 15:06:40 +0000 (0:00:00.035) 0:04:26.433 ******** ok: [sut] => { "changed": false, "cmd": "grep '^traceflag' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004382", "end": "2024-01-05 15:06:40.712473", "rc": 0, "start": "2024-01-05 15:06:40.708091" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/verify_settings.yml:140 Friday 05 January 2024 15:06:40 +0000 (0:00:00.210) 0:04:26.643 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/verify_settings.yml:145 Friday 05 January 2024 15:06:40 +0000 (0:00:00.038) 0:04:26.681 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/verify_settings.yml:151 Friday 05 January 2024 15:06:40 +0000 (0:00:00.028) 0:04:26.710 ******** included: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting alternatewritethrough] ********************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/mssql_conf_verify.yml:7 Friday 05 January 2024 15:06:40 +0000 (0:00:00.042) 0:04:26.753 ******** ok: [sut] => { "changed": false, "cmd": "grep '^alternatewritethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004279", "end": "2024-01-05 15:06:41.051324", "rc": 0, "start": "2024-01-05 15:06:41.047045" } STDOUT: alternatewritethrough = 0 TASK [Verify the setting when it is type str alternatewritethrough] ************ task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/mssql_conf_verify.yml:14 Friday 05 January 2024 15:06:41 +0000 (0:00:00.303) 0:04:27.056 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool alternatewritethrough] *********** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/mssql_conf_verify.yml:25 Friday 05 January 2024 15:06:41 +0000 (0:00:00.025) 0:04:27.081 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/mssql_conf_verify.yml:40 Friday 05 January 2024 15:06:41 +0000 (0:00:00.028) 0:04:27.110 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/verify_settings.yml:157 Friday 05 January 2024 15:06:41 +0000 (0:00:00.025) 0:04:27.135 ******** included: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting writethrough] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/mssql_conf_verify.yml:7 Friday 05 January 2024 15:06:41 +0000 (0:00:00.053) 0:04:27.189 ******** ok: [sut] => { "changed": false, "cmd": "grep '^writethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004265", "end": "2024-01-05 15:06:41.479506", "rc": 0, "start": "2024-01-05 15:06:41.475241" } STDOUT: writethrough = 0 TASK [Verify the setting when it is type str writethrough] ********************* task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/mssql_conf_verify.yml:14 Friday 05 January 2024 15:06:41 +0000 (0:00:00.237) 0:04:27.426 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool writethrough] ******************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/mssql_conf_verify.yml:25 Friday 05 January 2024 15:06:41 +0000 (0:00:00.040) 0:04:27.467 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/mssql_conf_verify.yml:40 Friday 05 January 2024 15:06:41 +0000 (0:00:00.066) 0:04:27.534 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/verify_settings.yml:167 Friday 05 January 2024 15:06:41 +0000 (0:00:00.053) 0:04:27.587 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/verify_settings.yml:178 Friday 05 January 2024 15:06:41 +0000 (0:00:00.025) 0:04:27.613 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/verify_settings.yml:190 Friday 05 January 2024 15:06:41 +0000 (0:00:00.025) 0:04:27.638 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/verify_settings.yml:198 Friday 05 January 2024 15:06:41 +0000 (0:00:00.022) 0:04:27.661 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the current mode of SELinux] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/verify_settings.yml:208 Friday 05 January 2024 15:06:41 +0000 (0:00:00.023) 0:04:27.684 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that SELinux is in the mode {{ __mssql_selinux_mode }}] *********** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/verify_settings.yml:213 Friday 05 January 2024 15:06:41 +0000 (0:00:00.026) 0:04:27.711 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package mssql-server-selinux] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/verify_settings.yml:221 Friday 05 January 2024 15:06:41 +0000 (0:00:00.027) 0:04:27.739 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the ansible_managed header in the configuration file] ************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/tests_idempotency.yml:105 Friday 05 January 2024 15:06:41 +0000 (0:00:00.034) 0:04:27.774 ******** included: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/check_header.yml for sut TASK [Grep the ansible_managed header in /var/opt/mssql/mssql.conf] ************ task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/check_header.yml:4 Friday 05 January 2024 15:06:42 +0000 (0:00:00.307) 0:04:28.081 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "Ansible managed\n", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002725", "end": "2024-01-05 15:06:42.392517", "rc": 0, "start": "2024-01-05 15:06:42.389792" } STDOUT: # BEGIN ANSIBLE MANAGED BLOCK # # Ansible managed # # system_role:mssql # END ANSIBLE MANAGED BLOCK [sqlagent] enabled = False [EULA] accepteula = Y [filelocation] defaultdatadir = /var/opt/mssql/data defaultlogdir = /var/opt/mssql/log [network] ipaddress = 127.0.0.1 tcpport = 1435 [traceflag] [control] alternatewritethrough = 0 writethrough = 0 TASK [Clean up after the role invocation] ************************************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tests_idempotency_2022.yml:19 Friday 05 January 2024 15:06:42 +0000 (0:00:00.232) 0:04:28.313 ******** included: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/cleanup.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/cleanup.yml:2 Friday 05 January 2024 15:06:42 +0000 (0:00:00.035) 0:04:28.348 ******** 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.161nzvluo7/tests/tasks/cleanup.yml:6 Friday 05 January 2024 15:06:43 +0000 (0:00:01.372) 0:04:29.721 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Debug ansible_python_version] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/cleanup.yml:14 Friday 05 January 2024 15:06:43 +0000 (0:00:00.025) 0:04:29.747 ******** ok: [sut] => { "ansible_python_version": "3.6.8" } TASK [Purge firewall configuration] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/cleanup.yml:18 Friday 05 January 2024 15:06:43 +0000 (0:00:00.020) 0:04:29.768 ******** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Friday 05 January 2024 15:06:43 +0000 (0:00:00.065) 0:04:29.833 ******** included: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/.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.161nzvluo7/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Friday 05 January 2024 15:06:43 +0000 (0:00:00.037) 0:04:29.870 ******** 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.161nzvluo7/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Friday 05 January 2024 15:06:44 +0000 (0:00:00.027) 0:04:29.898 ******** 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.161nzvluo7/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Friday 05 January 2024 15:06:44 +0000 (0:00:00.197) 0:04:30.095 ******** 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.161nzvluo7/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:19 Friday 05 January 2024 15:06:44 +0000 (0:00:00.025) 0:04:30.121 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Friday 05 January 2024 15:06:47 +0000 (0:00:02.854) 0:04:32.975 ******** 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.161nzvluo7/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Friday 05 January 2024 15:06:47 +0000 (0:00:00.046) 0:04:33.021 ******** 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.161nzvluo7/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Friday 05 January 2024 15:06:47 +0000 (0:00:00.046) 0:04:33.067 ******** ok: [sut] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Fri 2024-01-05 14:55:11 UTC", "ActiveEnterTimestampMonotonic": "985075881", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target dbus.socket polkit.service sysinit.target system.slice dbus.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 14:55:11 UTC", "AssertTimestampMonotonic": "984431877", "Before": "network-pre.target multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-01-05 14:55:11 UTC", "ConditionTimestampMonotonic": "984431876", "ConfigurationDirectoryMode": "0755", "Conflicts": "iptables.service ebtables.service ipset.service nftables.service shutdown.target ip6tables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "11057", "ExecMainStartTimestamp": "Fri 2024-01-05 14:55:11 UTC", "ExecMainStartTimestampMonotonic": "984433493", "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", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-01-05 14:55:11 UTC", "InactiveExitTimestampMonotonic": "984433548", "InvocationID": "b4b0b0148b8446be956efc3a649ac11c", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "28609", "LimitNPROCSoft": "28609", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28609", "LimitSIGPENDINGSoft": "28609", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "11057", "MemoryAccounting": "yes", "MemoryCurrent": "42557440", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service dbus-org.fedoraproject.FirewallD1.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Fri 2024-01-05 14:55:11 UTC", "StateChangeTimestampMonotonic": "985075881", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "3", "TasksMax": "45774", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Fri 2024-01-05 14:55:11 UTC", "WatchdogTimestampMonotonic": "985075878", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Friday 05 January 2024 15:06:47 +0000 (0:00:00.388) 0:04:33.456 ******** ok: [sut] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-01-05 14:55:11 UTC", "ActiveEnterTimestampMonotonic": "985075881", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target dbus.socket polkit.service sysinit.target system.slice dbus.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 14:55:11 UTC", "AssertTimestampMonotonic": "984431877", "Before": "network-pre.target multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-01-05 14:55:11 UTC", "ConditionTimestampMonotonic": "984431876", "ConfigurationDirectoryMode": "0755", "Conflicts": "iptables.service ebtables.service ipset.service nftables.service shutdown.target ip6tables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "11057", "ExecMainStartTimestamp": "Fri 2024-01-05 14:55:11 UTC", "ExecMainStartTimestampMonotonic": "984433493", "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", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-01-05 14:55:11 UTC", "InactiveExitTimestampMonotonic": "984433548", "InvocationID": "b4b0b0148b8446be956efc3a649ac11c", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "28609", "LimitNPROCSoft": "28609", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28609", "LimitSIGPENDINGSoft": "28609", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "11057", "MemoryAccounting": "yes", "MemoryCurrent": "42557440", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service dbus-org.fedoraproject.FirewallD1.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Fri 2024-01-05 14:55:11 UTC", "StateChangeTimestampMonotonic": "985075881", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "3", "TasksMax": "45774", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Fri 2024-01-05 14:55:11 UTC", "WatchdogTimestampMonotonic": "985075878", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Friday 05 January 2024 15:06:47 +0000 (0:00:00.430) 0:04:33.886 ******** ok: [sut] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/bin/python3", "__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.161nzvluo7/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Friday 05 January 2024 15:06:48 +0000 (0:00:00.119) 0:04:34.006 ******** ok: [sut] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.40.197 closed. TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Friday 05 January 2024 15:06:48 +0000 (0:00:00.500) 0:04:34.507 ******** ok: [sut] => { "ansible_facts": { "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Friday 05 January 2024 15:06:48 +0000 (0:00:00.028) 0:04:34.535 ******** TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Friday 05 January 2024 15:06:48 +0000 (0:00:00.025) 0:04:34.560 ******** TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Friday 05 January 2024 15:06:48 +0000 (0:00:00.035) 0:04:34.596 ******** 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.161nzvluo7/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Friday 05 January 2024 15:06:48 +0000 (0:00:00.032) 0:04:34.629 ******** 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.161nzvluo7/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Friday 05 January 2024 15:06:48 +0000 (0:00:00.045) 0:04:34.674 ******** 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.161nzvluo7/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Friday 05 January 2024 15:06:48 +0000 (0:00:00.128) 0:04:34.803 ******** ok: [sut] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.40.197 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Friday 05 January 2024 15:06:49 +0000 (0:00:00.409) 0:04:35.213 ******** ok: [sut] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Friday 05 January 2024 15:06:49 +0000 (0:00:00.043) 0:04:35.256 ******** skipping: [sut] => {} TASK [Leave realm] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/cleanup.yml:27 Friday 05 January 2024 15:06:49 +0000 (0:00:00.046) 0:04:35.303 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Destroy Kerberos tickets] ************************************************ task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/cleanup.yml:35 Friday 05 January 2024 15:06:49 +0000 (0:00:00.038) 0:04:35.342 ******** 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.161nzvluo7/tests/tasks/cleanup.yml:39 Friday 05 January 2024 15:06:49 +0000 (0:00:00.072) 0:04:35.414 ******** ok: [sut] => { "backup": "", "changed": false } TASK [Remove related packages] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/cleanup.yml:45 Friday 05 January 2024 15:06:49 +0000 (0:00:00.312) 0:04:35.727 ******** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Removed: lsof-4.93.2-1.el8.x86_64", "Removed: unixODBC-2.3.11-1.rh.x86_64", "Removed: unixODBC-devel-2.3.11-1.rh.x86_64", "Removed: gc-7.6.4-3.el8.x86_64", "Removed: libtool-ltdl-2.4.6-25.el8.x86_64", "Removed: gcc-gdb-plugin-8.5.0-21.el8.x86_64", "Removed: gdb-8.2-20.el8.x86_64", "Removed: gdb-headless-8.2-20.el8.x86_64", "Removed: libatomic-8.5.0-21.el8.x86_64", "Removed: libatomic_ops-7.6.2-3.el8.x86_64", "Removed: guile-5:2.0.14-7.el8.x86_64", "Removed: libbabeltrace-1.5.4-4.el8.x86_64", "Removed: libicu-60.3-2.el8_1.x86_64", "Removed: libipt-1.6.1-8.el8.x86_64", "Removed: msodbcsql17-17.10.5.1-1.x86_64", "Removed: cyrus-sasl-2.1.27-6.el8_5.x86_64", "Removed: cyrus-sasl-gssapi-2.1.27-6.el8_5.x86_64", "Removed: mssql-server-16.0.4095.4-1.x86_64", "Removed: mssql-tools-17.10.1.1-1.x86_64", "Removed: bzip2-1.0.6-26.el8.x86_64" ] } TASK [Remove related files] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/cleanup.yml:58 Friday 05 January 2024 15:06:55 +0000 (0:00:05.223) 0:04:40.950 ******** 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.011886", "end": "2024-01-05 15:06:55.236654", "rc": 0, "start": "2024-01-05 15:06:55.224768" } STDOUT: removed directory '/var/opt/mssql/.system/system/Temp' removed '/var/opt/mssql/.system/system/licensing.hiv' 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/c80b1bfb-8489-431f-bc3e-eb331edaf2e7' 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/security.hiv' removed '/var/opt/mssql/.system/system/lsa.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/INetCache/IE' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows/INetCache/Content.IE5' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows/INetCache' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows/INetCookies/ESE' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows/INetCookies' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows/History/History.IE5' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows/History' 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_133489405855750000.xel' removed '/var/opt/mssql/log/system_health_0_133489405877620000.xel' removed '/var/opt/mssql/log/HkEngineEventFile_0_133489405923110000.xel' removed '/var/opt/mssql/log/system_health_0_133489405942120000.xel' removed '/var/opt/mssql/log/log_1.trc' removed '/var/opt/mssql/log/HkEngineEventFile_0_133489406539280000.xel' removed '/var/opt/mssql/log/system_health_0_133489406556950000.xel' removed '/var/opt/mssql/log/log_2.trc' removed '/var/opt/mssql/log/FDLAUNCHERRORLOG' removed '/var/opt/mssql/log/HkEngineEventFile_0_133489407290500000.xel' removed '/var/opt/mssql/log/system_health_0_133489407304040000.xel' removed '/var/opt/mssql/log/log_3.trc' removed '/var/opt/mssql/log/sqlagent.2' removed '/var/opt/mssql/log/sqlagent.1' removed '/var/opt/mssql/log/sqlagent.out' removed '/var/opt/mssql/log/HkEngineEventFile_0_133489407381310000.xel' removed '/var/opt/mssql/log/system_health_0_133489407396180000.xel' removed '/var/opt/mssql/log/log_4.trc' removed '/var/opt/mssql/log/errorlog.6' removed '/var/opt/mssql/log/errorlog.5' removed '/var/opt/mssql/log/errorlog.4' removed '/var/opt/mssql/log/errorlog.3' 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_133489407602190000.xel' removed '/var/opt/mssql/log/system_health_0_133489407620590000.xel' removed '/var/opt/mssql/log/log_5.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 '/var/opt/mssql/FTData/tsara.xml' removed '/var/opt/mssql/FTData/tsben.xml' removed '/var/opt/mssql/FTData/tsbgr.xml' removed '/var/opt/mssql/FTData/tscat.xml' removed '/var/opt/mssql/FTData/tschs.xml' removed '/var/opt/mssql/FTData/tscht.xml' removed '/var/opt/mssql/FTData/tscze.xml' removed '/var/opt/mssql/FTData/tsdan.xml' removed '/var/opt/mssql/FTData/tsdeu.xml' removed '/var/opt/mssql/FTData/tseng.xml' removed '/var/opt/mssql/FTData/tsenu.xml' removed '/var/opt/mssql/FTData/tsesn.xml' removed '/var/opt/mssql/FTData/tsfra.xml' removed '/var/opt/mssql/FTData/tsgrk.xml' removed '/var/opt/mssql/FTData/tsguj.xml' removed '/var/opt/mssql/FTData/tsheb.xml' removed '/var/opt/mssql/FTData/tshin.xml' removed '/var/opt/mssql/FTData/tshrv.xml' removed '/var/opt/mssql/FTData/tsind.xml' removed '/var/opt/mssql/FTData/tsisl.xml' removed '/var/opt/mssql/FTData/tsita.xml' removed '/var/opt/mssql/FTData/tsjpn.xml' removed '/var/opt/mssql/FTData/tskan.xml' removed '/var/opt/mssql/FTData/tskor.xml' removed '/var/opt/mssql/FTData/tslth.xml' removed '/var/opt/mssql/FTData/tslvi.xml' removed '/var/opt/mssql/FTData/tsmal.xml' removed '/var/opt/mssql/FTData/tsmar.xml' removed '/var/opt/mssql/FTData/tsmsl.xml' removed '/var/opt/mssql/FTData/tsglobal.xml' removed '/var/opt/mssql/FTData/tsnld.xml' removed '/var/opt/mssql/FTData/tsnor.xml' removed '/var/opt/mssql/FTData/tspan.xml' removed '/var/opt/mssql/FTData/tsplk.xml' removed '/var/opt/mssql/FTData/tsptb.xml' removed '/var/opt/mssql/FTData/tsptg.xml' removed '/var/opt/mssql/FTData/tsrom.xml' removed '/var/opt/mssql/FTData/tsrus.xml' removed '/var/opt/mssql/FTData/tssky.xml' removed '/var/opt/mssql/FTData/tsslv.xml' removed '/var/opt/mssql/FTData/tssrb.xml' removed '/var/opt/mssql/FTData/tssrl.xml' removed '/var/opt/mssql/FTData/tssve.xml' removed '/var/opt/mssql/FTData/tstam.xml' removed '/var/opt/mssql/FTData/tstel.xml' removed '/var/opt/mssql/FTData/tstha.xml' removed '/var/opt/mssql/FTData/tstrk.xml' removed '/var/opt/mssql/FTData/tsukr.xml' removed '/var/opt/mssql/FTData/tsurd.xml' removed '/var/opt/mssql/FTData/tsvit.xml' removed directory '/var/opt/mssql/FTData/FilterData' removed directory '/var/opt/mssql/FTData' removed directory '/var/opt/mssql' removed directory '/opt/mssql/misc' removed directory '/opt/mssql' removed directory '/opt/mssql-tools' removed '/etc/yum.repos.d/packages-microsoft-com-mssql-server-2022.repo' removed '/etc/yum.repos.d/packages-microsoft-com-prod.repo' removed directory '/tmp/mssql_data' removed directory '/tmp/mssql_log' TASK [Stop the mssql-server service] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/cleanup.yml:72 Friday 05 January 2024 15:06:55 +0000 (0:00:00.211) 0:04:41.162 ******** ok: [sut] => { "changed": false, "cmd": "systemctl stop mssql-server || true", "delta": "0:00:00.010442", "end": "2024-01-05 15:06:55.442983", "rc": 0, "start": "2024-01-05 15:06:55.432541" } STDERR: Failed to stop mssql-server.service: Unit mssql-server.service not loaded. META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=341 changed=36 unreachable=0 failed=0 skipped=510 rescued=0 ignored=1 Friday 05 January 2024 15:06:55 +0000 (0:00:00.190) 0:04:41.353 ******** =============================================================================== linux-system-roles.mssql : Ensure the package mssql-server ------------- 40.25s /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:264 linux-system-roles.mssql : Ensure the package mssql-server-fts --------- 30.35s /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:631 linux-system-roles.mssql : Ensure the package powershell --------------- 12.69s /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:638 linux-system-roles.mssql : Set up MSSQL --------------------------------- 8.42s /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:324 linux-system-roles.mssql : Change the edition of MSSQL ------------------ 7.27s /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:552 linux-system-roles.mssql : Change the password of sa user --------------- 7.09s /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:478 Remove related packages ------------------------------------------------- 5.22s /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/cleanup.yml:45 -------- linux-system-roles.mssql : Ensure that SQL Server client tools are installed --- 3.98s /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:426 linux-system-roles.mssql : Ensure the package mssql-server-fts ---------- 3.62s /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:631 linux-system-roles.mssql : Ensure the package powershell ---------------- 3.59s /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:638 linux-system-roles.mssql : Ensure that the tuned-profiles-mssql package is installed --- 3.55s /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:366 linux-system-roles.mssql : Gather system services facts ----------------- 3.49s /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:295 linux-system-roles.mssql : Ensure the package mssql-server -------------- 3.07s /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:264 linux-system-roles.mssql : Ensure the package mssql-server -------------- 3.06s /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:264 linux-system-roles.mssql : Ensure the package mssql-server -------------- 2.93s /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:264 linux-system-roles.mssql : Ensure that SQL Server client tools are installed --- 2.92s /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:426 linux-system-roles.mssql : Ensure the package mssql-server-fts ---------- 2.90s /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:631 linux-system-roles.mssql : Ensure the package powershell ---------------- 2.88s /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:638 linux-system-roles.mssql : Ensure that the tuned-profiles-mssql package is installed --- 2.86s /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:366 linux-system-roles.mssql : Ensure that the tuned-profiles-mssql package is installed --- 2.86s /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:366 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---