# 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_2019.yml ******************************************* 1 plays in /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tests_idempotency_2019.yml PLAY [Ensure that the role is idempotent] ************************************** META: ran handlers TASK [Run tests_idempotency with SQL Server 2019] ****************************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tests_idempotency_2019.yml:15 Friday 05 January 2024 15:00:51 +0000 (0:00:00.023) 0:00:00.023 ******** 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:00:51 +0000 (0:00:00.011) 0:00:00.034 ******** 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:00:51 +0000 (0:00:00.039) 0:00:00.074 ******** 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:00:51 +0000 (0:00:00.462) 0:00:00.537 ******** 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:00:51 +0000 (0:00:00.018) 0:00:00.555 ******** 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:00:51 +0000 (0:00:00.015) 0:00:00.571 ******** 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:00:51 +0000 (0:00:00.171) 0:00:00.742 ******** 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:00:51 +0000 (0:00:00.009) 0:00:00.751 ******** 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:00:51 +0000 (0:00:00.010) 0:00:00.762 ******** 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:00:52 +0000 (0:00:00.026) 0:00:00.789 ******** 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:00:52 +0000 (0:00:00.007) 0:00:00.796 ******** 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:00:52 +0000 (0:00:00.007) 0:00:00.804 ******** 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:00:52 +0000 (0:00:00.007) 0:00:00.811 ******** 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:00:52 +0000 (0:00:00.007) 0:00:00.819 ******** 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:00:52 +0000 (0:00:00.008) 0:00:00.827 ******** 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:00:52 +0000 (0:00:00.007) 0:00:00.835 ******** 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:00:52 +0000 (0:00:00.007) 0:00:00.842 ******** 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:00:52 +0000 (0:00:00.007) 0:00:00.850 ******** 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:00:52 +0000 (0:00:00.008) 0:00:00.858 ******** 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:00:52 +0000 (0:00:00.019) 0:00:00.877 ******** 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:00:52 +0000 (0:00:00.008) 0:00:00.886 ******** 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:00:52 +0000 (0:00:00.014) 0:00:00.900 ******** 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:00:52 +0000 (0:00:00.009) 0:00:00.910 ******** 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:00:52 +0000 (0:00:00.007) 0:00:00.917 ******** 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:00:52 +0000 (0:00:00.008) 0:00:00.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 : 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:00:53 +0000 (0:00:01.491) 0:00:02.418 ******** 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:00:53 +0000 (0:00:00.046) 0:00:02.464 ******** 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:00:53 +0000 (0:00:00.027) 0:00:02.491 ******** 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:00:53 +0000 (0:00:00.021) 0:00:02.513 ******** 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:00:53 +0000 (0:00:00.072) 0:00:02.586 ******** 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:00:54 +0000 (0:00:00.477) 0:00:03.063 ******** 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:00:54 +0000 (0:00:00.018) 0:00:03.082 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:207 Friday 05 January 2024 15:00:54 +0000 (0:00:00.043) 0:00:03.126 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:215 Friday 05 January 2024 15:00:54 +0000 (0:00:00.033) 0:00:03.160 ******** changed: [sut] => { "changed": true, "repo": "packages-microsoft-com-mssql-server-2019", "state": "present" } TASK [Ensure that the system is in SELinux enforcing state] ******************** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:228 Friday 05 January 2024 15:00:54 +0000 (0:00:00.271) 0:00:03.431 ******** 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:00:54 +0000 (0:00:00.035) 0:00:03.467 ******** 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:00:54 +0000 (0:00:00.046) 0:00:03.513 ******** 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:00:54 +0000 (0:00:00.027) 0:00:03.541 ******** 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:00:54 +0000 (0:00:00.032) 0:00:03.573 ******** 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:00:54 +0000 (0:00:00.025) 0:00:03.599 ******** 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-15.0.4345.5-2.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:01:31 +0000 (0:00:36.997) 0:00:40.596 ******** 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:01:31 +0000 (0:00:00.018) 0:00:40.615 ******** 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.005857", "end": "2024-01-05 15:01:32.121983", "rc": 0, "start": "2024-01-05 15:01:32.116126" } 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:01:32 +0000 (0:00:00.317) 0:00:40.932 ******** 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:01:40 +0000 (0:00:08.642) 0:00:49.574 ******** 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:01:40 +0000 (0:00:00.065) 0:00:49.640 ******** 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:01:40 +0000 (0:00:00.024) 0:00:49.664 ******** 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:01:46 +0000 (0:00:05.419) 0:00:55.083 ******** 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:01:46 +0000 (0:00:00.045) 0:00:55.128 ******** 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:01:46 +0000 (0:00:00.302) 0:00:55.431 ******** 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:01:46 +0000 (0:00:00.347) 0:00:55.779 ******** 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:01:47 +0000 (0:00:00.026) 0:00:55.805 ******** 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:01:47 +0000 (0:00:00.067) 0:00:55.873 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003438", "end": "2024-01-05 15:01:47.280696", "failed_when_result": false, "rc": 1, "start": "2024-01-05 15:01:47.277258" } 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:01:47 +0000 (0:00:00.224) 0:00:56.097 ******** 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.116698", "end": "2024-01-05 15:01:47.665104", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:01:47.548406" } 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:01:47 +0000 (0:00:00.384) 0:00:56.482 ******** 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:01:47 +0000 (0:00:00.023) 0:00:56.506 ******** 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:01:47 +0000 (0:00:00.274) 0:00:56.780 ******** 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:01:48 +0000 (0:00:00.243) 0:00:57.023 ******** 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:01:48 +0000 (0:00:00.026) 0:00:57.050 ******** 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:01:48 +0000 (0:00:00.038) 0:00:57.089 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003429", "end": "2024-01-05 15:01:48.493802", "failed_when_result": false, "rc": 1, "start": "2024-01-05 15:01:48.490373" } 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:01:48 +0000 (0:00:00.216) 0:00:57.305 ******** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "filelocation.defaultlogdir", "/tmp/mssql_log" ], "delta": "0:00:00.165936", "end": "2024-01-05 15:01:48.866668", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:01:48.700732" } 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:01:48 +0000 (0:00:00.399) 0:00:57.705 ******** 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:01:48 +0000 (0:00:00.073) 0:00:57.778 ******** 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:01:49 +0000 (0:00:00.021) 0:00:57.800 ******** 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:01:52 +0000 (0:00:03.319) 0:01:01.119 ******** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-01-05 14:39:19 UTC", "ActiveEnterTimestampMonotonic": "28048547", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice systemd-sysctl.service systemd-journald.socket sysinit.target basic.target dbus.socket network.target dbus.service polkit.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 14:39:18 UTC", "AssertTimestampMonotonic": "26288382", "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:18 UTC", "ConditionTimestampMonotonic": "26288381", "ConfigurationDirectoryMode": "0755", "Conflicts": "tlp.service auto-cpufreq.service cpupower.service power-profiles-daemon.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": "712", "ExecMainStartTimestamp": "Fri 2024-01-05 14:39:18 UTC", "ExecMainStartTimestampMonotonic": "26289266", "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:18 UTC", "InactiveExitTimestampMonotonic": "26289302", "InvocationID": "71709df99d1b4e0aacd773f31b90c7e4", "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": "712", "MemoryAccounting": "yes", "MemoryCurrent": "22806528", "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": "system.slice sysinit.target dbus.socket dbus.service", "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": "28048547", "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": "28048544", "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:01:53 +0000 (0:00:01.529) 0:01:02.649 ******** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.116873", "end": "2024-01-05 15:01:54.179722", "rc": 0, "start": "2024-01-05 15:01:54.062849" } 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:01:54 +0000 (0:00:00.369) 0:01:03.018 ******** 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:01:54 +0000 (0:00:00.086) 0:01:03.105 ******** 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:01:54 +0000 (0:00:00.043) 0:01:03.148 ******** 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:01:54 +0000 (0:00:00.054) 0:01:03.203 ******** 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:01:54 +0000 (0:00:00.250) 0:01:03.453 ******** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: msodbcsql17-17.10.5.1-1.x86_64", "Installed: unixODBC-2.3.11-1.rh.x86_64", "Installed: unixODBC-devel-2.3.11-1.rh.x86_64", "Installed: mssql-tools-17.10.1.1-1.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:01:58 +0000 (0:00:04.069) 0:01:07.522 ******** 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:01:58 +0000 (0:00:00.034) 0:01:07.557 ******** 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:01:58 +0000 (0:00:00.023) 0:01:07.580 ******** 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:01:58 +0000 (0:00:00.021) 0:01:07.602 ******** 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:01:58 +0000 (0:00:00.061) 0:01:07.663 ******** 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:01:58 +0000 (0:00:00.024) 0:01:07.687 ******** 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:01:58 +0000 (0:00:00.033) 0:01:07.721 ******** 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:01:58 +0000 (0:00:00.048) 0:01:07.770 ******** 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:01:59 +0000 (0:00:00.025) 0:01:07.795 ******** 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:01:59 +0000 (0:00:00.125) 0:01:07.921 ******** 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:01:59 +0000 (0:00:00.047) 0:01:07.969 ******** 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:01:59 +0000 (0:00:00.034) 0:01:08.004 ******** 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:01:59 +0000 (0:00:00.043) 0:01:08.047 ******** 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:01:59 +0000 (0:00:00.037) 0:01:08.085 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003051", "end": "2024-01-05 15:01:59.472716", "failed_when_result": false, "rc": 1, "start": "2024-01-05 15:01:59.469665" } 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:01:59 +0000 (0:00:00.201) 0:01:08.287 ******** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.ipaddress", "0.0.0.0" ], "delta": "0:00:00.115093", "end": "2024-01-05 15:01:59.816486", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:01:59.701393" } 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:01:59 +0000 (0:00:00.344) 0:01:08.632 ******** 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:01:59 +0000 (0:00:00.037) 0:01:08.669 ******** 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:01:59 +0000 (0:00:00.030) 0:01:08.700 ******** 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:01:59 +0000 (0:00:00.032) 0:01:08.732 ******** 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:02:00 +0000 (0:00:00.063) 0:01:08.796 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002978", "end": "2024-01-05 15:02:00.184401", "failed_when_result": false, "rc": 1, "start": "2024-01-05 15:02:00.181423" } 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:02:00 +0000 (0:00:00.222) 0:01:09.018 ******** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.115429", "end": "2024-01-05 15:02:00.529259", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:02:00.413830" } 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:02:00 +0000 (0:00:00.340) 0:01:09.359 ******** 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:02:00 +0000 (0:00:00.023) 0:01:09.382 ******** 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:02:00 +0000 (0:00:00.022) 0:01:09.405 ******** 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:02:00 +0000 (0:00:00.044) 0:01:09.449 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002883", "end": "2024-01-05 15:02:00.842877", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:02:00.839994" } 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:02:00 +0000 (0:00:00.213) 0:01:09.663 ******** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "sqlagent.enabled", "True" ], "delta": "0:00:00.114744", "end": "2024-01-05 15:02:01.178930", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:02:01.064186" } 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:02:01 +0000 (0:00:00.344) 0:01:10.008 ******** 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:02:01 +0000 (0:00:00.070) 0:01:10.078 ******** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: mssql-server-fts-15.0.4345.5-2.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:02:30 +0000 (0:00:29.482) 0:01:39.560 ******** 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:02:41 +0000 (0:00:10.373) 0:01:49.934 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003026", "end": "2024-01-05 15:02:41.344880", "failed_when_result": false, "rc": 1, "start": "2024-01-05 15:02:41.341854" } 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:02:41 +0000 (0:00:00.220) 0:01:50.155 ******** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "traceflag", "3979", "on" ], "delta": "0:00:00.116171", "end": "2024-01-05 15:02:41.657234", "rc": 0, "start": "2024-01-05 15:02:41.541063" } 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:02:41 +0000 (0:00:00.321) 0:01:50.476 ******** 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:02:41 +0000 (0:00:00.047) 0:01:50.524 ******** 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:02:41 +0000 (0:00:00.037) 0:01:50.561 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003074", "end": "2024-01-05 15:02:41.955780", "failed_when_result": false, "rc": 1, "start": "2024-01-05 15:02:41.952706" } 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:02:41 +0000 (0:00:00.206) 0:01:50.768 ******** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "control.alternatewritethrough", "0" ], "delta": "0:00:00.120433", "end": "2024-01-05 15:02:42.291631", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:02:42.171198" } 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:02:42 +0000 (0:00:00.340) 0:01:51.109 ******** 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:02:42 +0000 (0:00:00.022) 0:01:51.132 ******** 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:02:42 +0000 (0:00:00.040) 0:01:51.172 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003000", "end": "2024-01-05 15:02:42.559597", "failed_when_result": false, "rc": 1, "start": "2024-01-05 15:02:42.556597" } 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:02:42 +0000 (0:00:00.202) 0:01:51.375 ******** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "control.writethrough", "1" ], "delta": "0:00:00.117032", "end": "2024-01-05 15:02:42.880449", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:02:42.763417" } 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:02:42 +0000 (0:00:00.342) 0:01:51.717 ******** 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:02:42 +0000 (0:00:00.024) 0:01:51.742 ******** 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:02:42 +0000 (0:00:00.023) 0:01:51.765 ******** 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:02:43 +0000 (0:00:00.029) 0:01:51.795 ******** 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:02:43 +0000 (0:00:00.036) 0:01:51.832 ******** 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:02:43 +0000 (0:00:00.022) 0:01:51.854 ******** 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:02:43 +0000 (0:00:00.054) 0:01:51.908 ******** 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:02:43 +0000 (0:00:00.027) 0:01:51.936 ******** 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:02:43 +0000 (0:00:00.043) 0:01:51.980 ******** 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:02:43 +0000 (0:00:00.030) 0:01:52.010 ******** 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:02:43 +0000 (0:00:00.023) 0:01:52.033 ******** 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:02:43 +0000 (0:00:00.030) 0:01:52.064 ******** 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:02:43 +0000 (0:00:00.024) 0:01:52.089 ******** 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:02:43 +0000 (0:00:00.022) 0:01:52.111 ******** 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:02:43 +0000 (0:00:00.029) 0:01:52.140 ******** 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:02:43 +0000 (0:00:00.038) 0:01:52.179 ******** 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:02:43 +0000 (0:00:00.022) 0:01:52.201 ******** 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:02:43 +0000 (0:00:00.023) 0:01:52.225 ******** 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:02:43 +0000 (0:00:00.020) 0:01:52.246 ******** 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:02:43 +0000 (0:00:00.034) 0:01:52.280 ******** 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:02:43 +0000 (0:00:00.037) 0:01:52.318 ******** 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:02:43 +0000 (0:00:00.042) 0:01:52.360 ******** 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:02:43 +0000 (0:00:00.036) 0:01:52.397 ******** 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:02:43 +0000 (0:00:00.088) 0:01:52.485 ******** 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:02:43 +0000 (0:00:00.022) 0:01:52.508 ******** 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:02:43 +0000 (0:00:00.027) 0:01:52.536 ******** 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:02:43 +0000 (0:00:00.035) 0:01:52.571 ******** 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:02:43 +0000 (0:00:00.029) 0:01:52.600 ******** 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:02:43 +0000 (0:00:00.026) 0:01:52.627 ******** 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:02:43 +0000 (0:00:00.035) 0:01:52.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:1051 Friday 05 January 2024 15:02:43 +0000 (0:00:00.038) 0:01:52.701 ******** 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:02:43 +0000 (0:00:00.027) 0:01:52.728 ******** 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:02:43 +0000 (0:00:00.021) 0:01:52.749 ******** 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:02:43 +0000 (0:00:00.027) 0:01:52.777 ******** 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:02:44 +0000 (0:00:00.046) 0:01:52.823 ******** 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:02:44 +0000 (0:00:00.029) 0:01:52.853 ******** 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:02:44 +0000 (0:00:00.023) 0:01:52.876 ******** 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:02:44 +0000 (0:00:00.021) 0:01:52.898 ******** 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:02:44 +0000 (0:00:00.034) 0:01:52.932 ******** 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:02:44 +0000 (0:00:00.020) 0:01:52.953 ******** 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:02:44 +0000 (0:00:00.021) 0:01:52.974 ******** 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:02:44 +0000 (0:00:00.019) 0:01:52.994 ******** 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:02:44 +0000 (0:00:00.047) 0:01:53.041 ******** 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:02:44 +0000 (0:00:00.020) 0:01:53.061 ******** 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:02:44 +0000 (0:00:00.020) 0:01:53.082 ******** 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:02:44 +0000 (0:00:00.025) 0:01:53.107 ******** 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:02:44 +0000 (0:00:00.029) 0:01:53.137 ******** 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:02:44 +0000 (0:00:00.077) 0:01:53.214 ******** 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:02:44 +0000 (0:00:00.043) 0:01:53.258 ******** 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:02:44 +0000 (0:00:00.039) 0:01:53.298 ******** 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:02:44 +0000 (0:00:00.094) 0:01:53.392 ******** 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:02:44 +0000 (0:00:00.052) 0:01:53.444 ******** 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:02:44 +0000 (0:00:00.031) 0:01:53.476 ******** 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:02:44 +0000 (0:00:00.029) 0:01:53.505 ******** 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:02:44 +0000 (0:00:00.046) 0:01:53.551 ******** 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:02:44 +0000 (0:00:00.042) 0:01:53.593 ******** 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:02:44 +0000 (0:00:00.055) 0:01:53.649 ******** 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:02:44 +0000 (0:00:00.064) 0:01:53.714 ******** 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:02:44 +0000 (0:00:00.029) 0:01:53.743 ******** 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:02:45 +0000 (0:00:00.406) 0:01:54.149 ******** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-01-05 15:01:46 UTC", "ActiveEnterTimestampMonotonic": "1374273178", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target -.mount sysinit.target auditd.service basic.target system.slice systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 15:01:46 UTC", "AssertTimestampMonotonic": "1374265285", "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:01:46 UTC", "ConditionTimestampMonotonic": "1374265284", "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": "21737", "ExecMainStartTimestamp": "Fri 2024-01-05 15:01:46 UTC", "ExecMainStartTimestampMonotonic": "1374273112", "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:01:46 UTC", "InactiveExitTimestampMonotonic": "1374273178", "InvocationID": "c4177f5a647d4f10a2b3def456c135b9", "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": "21737", "MemoryAccounting": "yes", "MemoryCurrent": "695418880", "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": "sysinit.target system.slice -.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": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Fri 2024-01-05 15:01:46 UTC", "StateChangeTimestampMonotonic": "1374273178", "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": "151", "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:01:46 UTC", "WatchdogTimestampMonotonic": "1374273176", "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:02:46 +0000 (0:00:01.389) 0:01:55.539 ******** 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:02:46 +0000 (0:00:00.032) 0:01:55.572 ******** 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:02:46 +0000 (0:00:00.064) 0:01:55.637 ******** 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:02:46 +0000 (0:00:00.093) 0:01:55.730 ******** 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:02:47 +0000 (0:00:00.378) 0:01:56.109 ******** 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:02:47 +0000 (0:00:00.230) 0:01:56.340 ******** 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:02:48 +0000 (0:00:00.535) 0:01:56.875 ******** 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:48 +0000 (0:00:00.286) 0:01:57.162 ******** 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:48 +0000 (0:00:00.038) 0:01:57.200 ******** 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:48 +0000 (0:00:00.063) 0:01:57.264 ******** 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:48 +0000 (0:00:00.057) 0:01:57.321 ******** 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:48 +0000 (0:00:00.023) 0:01:57.345 ******** 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:48 +0000 (0:00:00.035) 0:01:57.381 ******** 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:48 +0000 (0:00:00.023) 0:01:57.404 ******** 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:48 +0000 (0:00:00.032) 0:01:57.437 ******** 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:48 +0000 (0:00:00.061) 0:01:57.499 ******** 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:48 +0000 (0:00:00.023) 0:01:57.522 ******** 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:48 +0000 (0:00:00.036) 0:01:57.558 ******** 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:48 +0000 (0:00:00.025) 0:01:57.584 ******** 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:48 +0000 (0:00:00.032) 0:01:57.616 ******** 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:48 +0000 (0:00:00.040) 0:01:57.657 ******** 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:48 +0000 (0:00:00.081) 0:01:57.739 ******** 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:48 +0000 (0:00:00.033) 0:01:57.772 ******** 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:49 +0000 (0:00:00.023) 0:01:57.795 ******** 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:49 +0000 (0:00:00.035) 0:01:57.831 ******** 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:49 +0000 (0:00:00.046) 0:01:57.878 ******** 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:50 +0000 (0:00:01.773) 0:01:59.651 ******** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } ok: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Friday 05 January 2024 15:02:50 +0000 (0:00:00.062) 0:01:59.714 ******** 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:50 +0000 (0:00:00.021) 0:01:59.735 ******** 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:51 +0000 (0:00:00.047) 0:01:59.783 ******** 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:51 +0000 (0:00:00.053) 0:01:59.837 ******** ok: [sut] => { "attempts": 1, "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server repo version 2019] *** 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:51 +0000 (0:00:00.416) 0:02:00.253 ******** 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:51 +0000 (0:00:00.038) 0:02:00.291 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:207 Friday 05 January 2024 15:02:51 +0000 (0:00:00.025) 0:02:00.317 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:215 Friday 05 January 2024 15:02:51 +0000 (0:00:00.024) 0:02:00.342 ******** 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:02:51 +0000 (0:00:00.028) 0:02:00.370 ******** 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:51 +0000 (0:00:00.021) 0:02:00.392 ******** 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:51 +0000 (0:00:00.021) 0:02:00.413 ******** 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:51 +0000 (0:00:00.021) 0:02:00.435 ******** 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:51 +0000 (0:00:00.029) 0:02:00.465 ******** 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:51 +0000 (0:00:00.050) 0:02:00.516 ******** 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:02:54 +0000 (0:00:02.931) 0:02:03.447 ******** 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:54 +0000 (0:00:00.021) 0:02:03.468 ******** 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.006107", "end": "2024-01-05 15:02:54.862069", "rc": 0, "start": "2024-01-05 15:02:54.855962" } 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:02:54 +0000 (0:00:00.205) 0:02:03.674 ******** 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:14 +0000 (0:00:19.548) 0:02:23.223 ******** 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:03:14 +0000 (0:00:00.103) 0:02:23.326 ******** 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:03:14 +0000 (0:00:00.035) 0:02:23.362 ******** 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:03:14 +0000 (0:00:00.047) 0:02:23.410 ******** 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:14 +0000 (0:00:00.096) 0:02:23.506 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1704466906.9586458, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1704466906.9606457, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 991, "gr_name": "mssql", "inode": 415236480, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1704466906.9586458, "nlink": 2, "path": "/tmp/mssql_data", "pw_name": "mssql", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6, "uid": 993, "version": "1215249492", "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:03:14 +0000 (0:00:00.224) 0:02:23.730 ******** 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:03:15 +0000 (0:00:00.238) 0:02:23.969 ******** 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:03:15 +0000 (0:00:00.045) 0:02:24.015 ******** 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:15 +0000 (0:00:00.047) 0:02:24.062 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002906", "end": "2024-01-05 15:03:15.497020", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:03:15.494114" } 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:03:15 +0000 (0:00:00.289) 0:02:24.351 ******** 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:03:15 +0000 (0:00:00.068) 0:02:24.420 ******** 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:15 +0000 (0:00:00.062) 0:02:24.483 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1704466908.21064, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1704466908.21164, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 991, "gr_name": "mssql", "inode": 425722116, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1704466908.21064, "nlink": 2, "path": "/tmp/mssql_log", "pw_name": "mssql", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6, "uid": 993, "version": "365459988", "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:03:15 +0000 (0:00:00.207) 0:02:24.690 ******** 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:03:16 +0000 (0:00:00.240) 0:02:24.930 ******** 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:03:16 +0000 (0:00:00.081) 0:02:25.012 ******** 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:16 +0000 (0:00:00.038) 0:02:25.051 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002929", "end": "2024-01-05 15:03:16.469948", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:03:16.467019" } 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:03:16 +0000 (0:00:00.281) 0:02:25.332 ******** 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:03:16 +0000 (0:00:00.079) 0:02:25.412 ******** 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:16 +0000 (0:00:00.057) 0:02:25.469 ******** 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:16 +0000 (0:00:00.037) 0:02:25.506 ******** 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:19 +0000 (0:00:02.923) 0:02:28.430 ******** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-01-05 14:39:19 UTC", "ActiveEnterTimestampMonotonic": "28048547", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target sysinit.target systemd-journald.socket system.slice systemd-sysctl.service polkit.service dbus.socket network.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 14:39:18 UTC", "AssertTimestampMonotonic": "26288382", "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:18 UTC", "ConditionTimestampMonotonic": "26288381", "ConfigurationDirectoryMode": "0755", "Conflicts": "auto-cpufreq.service shutdown.target cpupower.service tlp.service power-profiles-daemon.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": "712", "ExecMainStartTimestamp": "Fri 2024-01-05 14:39:18 UTC", "ExecMainStartTimestampMonotonic": "26289266", "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:18 UTC", "InactiveExitTimestampMonotonic": "26289302", "InvocationID": "71709df99d1b4e0aacd773f31b90c7e4", "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": "712", "MemoryAccounting": "yes", "MemoryCurrent": "22585344", "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": "system.slice sysinit.target dbus.service 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": "28048547", "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": "28048544", "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:20 +0000 (0:00:00.527) 0:02:28.957 ******** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.118158", "end": "2024-01-05 15:03:20.473970", "rc": 0, "start": "2024-01-05 15:03:20.355812" } 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:20 +0000 (0:00:00.351) 0:02:29.309 ******** 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:20 +0000 (0:00:00.024) 0:02:29.333 ******** 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:20 +0000 (0:00:00.031) 0:02:29.365 ******** 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:20 +0000 (0:00:00.035) 0:02:29.400 ******** 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:03:20 +0000 (0:00:00.245) 0:02:29.646 ******** 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:03:23 +0000 (0:00:02.855) 0:02:32.501 ******** 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:03:23 +0000 (0:00:00.066) 0:02:32.568 ******** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-01-05 15:02:46 UTC", "ActiveEnterTimestampMonotonic": "1434895972", "ActiveExitTimestamp": "Fri 2024-01-05 15:02:45 UTC", "ActiveExitTimestampMonotonic": "1433921627", "ActiveState": "active", "After": "sysinit.target network.target system.slice basic.target -.mount systemd-journald.socket auditd.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 15:02:46 UTC", "AssertTimestampMonotonic": "1434894780", "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:02:46 UTC", "ConditionTimestampMonotonic": "1434894778", "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": "23022", "ExecMainStartTimestamp": "Fri 2024-01-05 15:02:46 UTC", "ExecMainStartTimestampMonotonic": "1434895791", "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:02:46 UTC", "InactiveEnterTimestampMonotonic": "1434893832", "InactiveExitTimestamp": "Fri 2024-01-05 15:02:46 UTC", "InactiveExitTimestampMonotonic": "1434895972", "InvocationID": "03d2c02e550a4c7b83ab08da980a8c88", "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": "23022", "MemoryAccounting": "yes", "MemoryCurrent": "764227584", "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 system.slice sysinit.target", "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:02:46 UTC", "StateChangeTimestampMonotonic": "1434895972", "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": "162", "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:02:46 UTC", "WatchdogTimestampMonotonic": "1434895970", "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:03:24 +0000 (0:00:00.323) 0:02:32.891 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002852", "end": "2024-01-05 15:03:24.285681", "failed_when_result": false, "rc": 1, "start": "2024-01-05 15:03:24.282829" } 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:03:24 +0000 (0:00:00.215) 0:02:33.106 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002875", "end": "2024-01-05 15:03:24.502206", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:03:24.499331" } 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:03:24 +0000 (0:00:00.227) 0:02:33.333 ******** 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:03:24 +0000 (0:00:00.045) 0:02:33.379 ******** 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": 10845, "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:03:25 +0000 (0:00:01.318) 0:02:34.698 ******** 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:03:26 +0000 (0:00:00.262) 0:02:34.961 ******** 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:26 +0000 (0:00:00.053) 0:02:35.014 ******** 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:03:27 +0000 (0:00:01.353) 0:02:36.368 ******** 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:27 +0000 (0:00:00.024) 0:02:36.393 ******** 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:27 +0000 (0:00:00.020) 0:02:36.413 ******** 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:27 +0000 (0:00:00.026) 0:02:36.440 ******** 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.005187", "end": "2024-01-05 15:03:27.831145", "rc": 0, "start": "2024-01-05 15:03:27.825958" } 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:03:27 +0000 (0:00:00.205) 0:02:36.645 ******** 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:27 +0000 (0:00:00.025) 0:02:36.671 ******** 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:03:29 +0000 (0:00:01.487) 0:02:38.159 ******** 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:29 +0000 (0:00:00.111) 0:02:38.271 ******** 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:29 +0000 (0:00:00.066) 0:02:38.337 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002856", "end": "2024-01-05 15:03:29.736188", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:03:29.733332" } 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:03:29 +0000 (0:00:00.214) 0:02:38.552 ******** 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:03:29 +0000 (0:00:00.037) 0:02:38.589 ******** 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:29 +0000 (0:00:00.040) 0:02:38.629 ******** 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:29 +0000 (0:00:00.034) 0:02:38.664 ******** 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:29 +0000 (0:00:00.032) 0:02:38.696 ******** 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:29 +0000 (0:00:00.048) 0:02:38.744 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003121", "end": "2024-01-05 15:03:30.148314", "failed_when_result": false, "rc": 1, "start": "2024-01-05 15:03:30.145193" } 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:30 +0000 (0:00:00.225) 0:02:38.969 ******** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.116003", "end": "2024-01-05 15:03:30.480451", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:03:30.364448" } 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:30 +0000 (0:00:00.338) 0:02:39.308 ******** 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:30 +0000 (0:00:00.044) 0:02:39.352 ******** 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:30 +0000 (0:00:00.060) 0:02:39.413 ******** 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:30 +0000 (0:00:00.098) 0:02:39.512 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003024", "end": "2024-01-05 15:03:30.903520", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:03:30.900496" } 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:03:30 +0000 (0:00:00.227) 0:02:39.740 ******** 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:03:31 +0000 (0:00:00.069) 0:02:39.809 ******** 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:31 +0000 (0:00:00.024) 0:02:39.834 ******** 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:03:33 +0000 (0:00:02.875) 0:02:42.709 ******** 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:03:36 +0000 (0:00:02.938) 0:02:45.648 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003145", "end": "2024-01-05 15:03:37.045161", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:03:37.042016" } 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:03:37 +0000 (0:00:00.211) 0:02:45.860 ******** 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:03:37 +0000 (0:00:00.040) 0:02:45.901 ******** 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:03:37 +0000 (0:00:00.034) 0:02:45.935 ******** 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:03:37 +0000 (0:00:00.044) 0:02:45.980 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003105", "end": "2024-01-05 15:03:37.369109", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:03:37.366004" } 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:03:37 +0000 (0:00:00.211) 0:02:46.192 ******** 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:03:37 +0000 (0:00:00.031) 0:02:46.223 ******** 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:03:37 +0000 (0:00:00.023) 0:02:46.247 ******** 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:03:37 +0000 (0:00:00.038) 0:02:46.286 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.004054", "end": "2024-01-05 15:03:38.676757", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:03:37.672703" } 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:03:38 +0000 (0:00:01.209) 0:02:47.495 ******** 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:03:38 +0000 (0:00:00.073) 0:02:47.569 ******** 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:03:38 +0000 (0:00:00.049) 0:02:47.618 ******** 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:03:38 +0000 (0:00:00.088) 0:02:47.706 ******** 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:03:38 +0000 (0:00:00.055) 0:02:47.762 ******** 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:03:39 +0000 (0:00:00.041) 0:02:47.803 ******** 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:03:39 +0000 (0:00:00.023) 0:02:47.827 ******** 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:03:39 +0000 (0:00:00.034) 0:02:47.862 ******** 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:03:39 +0000 (0:00:00.031) 0:02:47.894 ******** 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:03:39 +0000 (0:00:00.029) 0:02:47.923 ******** 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:03:39 +0000 (0:00:00.031) 0:02:47.955 ******** 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:03:39 +0000 (0:00:00.050) 0:02:48.005 ******** 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:03:39 +0000 (0:00:00.026) 0:02:48.031 ******** 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:03:39 +0000 (0:00:00.030) 0:02:48.061 ******** 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:03:39 +0000 (0:00:00.024) 0:02:48.086 ******** 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:03:39 +0000 (0:00:00.027) 0:02:48.113 ******** 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:03:39 +0000 (0:00:00.034) 0:02:48.148 ******** 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:03:39 +0000 (0:00:00.029) 0:02:48.177 ******** 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:03:39 +0000 (0:00:00.031) 0:02:48.209 ******** 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:03:39 +0000 (0:00:00.026) 0:02:48.235 ******** 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:03:39 +0000 (0:00:00.071) 0:02:48.307 ******** 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:03:39 +0000 (0:00:00.041) 0:02:48.348 ******** 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:03:39 +0000 (0:00:00.026) 0:02:48.375 ******** 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:03:39 +0000 (0:00:00.023) 0:02:48.398 ******** 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:03:39 +0000 (0:00:00.021) 0:02:48.420 ******** 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:03:39 +0000 (0:00:00.022) 0:02:48.442 ******** 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:03:39 +0000 (0:00:00.025) 0:02:48.467 ******** 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:03:39 +0000 (0:00:00.076) 0:02:48.544 ******** 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:03:39 +0000 (0:00:00.036) 0:02:48.581 ******** 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:03:39 +0000 (0:00:00.044) 0:02:48.625 ******** 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:03:39 +0000 (0:00:00.021) 0:02:48.647 ******** 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:03:39 +0000 (0:00:00.025) 0:02:48.672 ******** 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:03:39 +0000 (0:00:00.022) 0:02:48.695 ******** 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:03:39 +0000 (0:00:00.021) 0:02:48.716 ******** 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:03:39 +0000 (0:00:00.034) 0:02:48.751 ******** 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:03:40 +0000 (0:00:00.033) 0:02:48.784 ******** 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:03:40 +0000 (0:00:00.031) 0:02:48.816 ******** 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:03:40 +0000 (0:00:00.170) 0:02:48.986 ******** 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:03:40 +0000 (0:00:00.100) 0:02:49.086 ******** 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:03:40 +0000 (0:00:00.029) 0:02:49.116 ******** 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:03:40 +0000 (0:00:00.034) 0:02:49.150 ******** 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:03:40 +0000 (0:00:00.041) 0:02:49.192 ******** 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:03:40 +0000 (0:00:00.038) 0:02:49.230 ******** 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:03:40 +0000 (0:00:00.030) 0:02:49.260 ******** 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:03:40 +0000 (0:00:00.038) 0:02:49.299 ******** 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:03:40 +0000 (0:00:00.033) 0:02:49.333 ******** 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:03:40 +0000 (0:00:00.041) 0:02:49.374 ******** 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:03:40 +0000 (0:00:00.051) 0:02:49.426 ******** 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:03:40 +0000 (0:00:00.033) 0:02:49.460 ******** 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:03:40 +0000 (0:00:00.037) 0:02:49.498 ******** 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:03:40 +0000 (0:00:00.047) 0:02:49.545 ******** 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:03:40 +0000 (0:00:00.043) 0:02:49.588 ******** 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:03:40 +0000 (0:00:00.039) 0:02:49.628 ******** 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:03:40 +0000 (0:00:00.034) 0:02:49.662 ******** 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:03:40 +0000 (0:00:00.071) 0:02:49.733 ******** 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:03:40 +0000 (0:00:00.022) 0:02:49.756 ******** 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:03:40 +0000 (0:00:00.025) 0:02:49.781 ******** 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:03:41 +0000 (0:00:00.021) 0:02:49.803 ******** 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:03:41 +0000 (0:00:00.021) 0:02:49.825 ******** 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:03:41 +0000 (0:00:00.023) 0:02:49.848 ******** 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:03:41 +0000 (0:00:00.239) 0:02:50.088 ******** 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:03:41 +0000 (0:00:00.021) 0:02:50.109 ******** 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:03:41 +0000 (0:00:00.019) 0:02:50.129 ******** 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:03:41 +0000 (0:00:00.124) 0:02:50.253 ******** 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.005458", "end": "2024-01-05 15:03:41.646466", "rc": 0, "start": "2024-01-05 15:03:41.641008" } 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:03:41 +0000 (0:00:00.215) 0:02:50.469 ******** 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.005103", "end": "2024-01-05 15:03:41.858511", "rc": 0, "start": "2024-01-05 15:03:41.853408" } 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:03:41 +0000 (0:00:00.283) 0:02:50.752 ******** 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:03:42 +0000 (0:00:00.064) 0:02:50.816 ******** 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:03:42 +0000 (0:00:00.071) 0:02:50.888 ******** ok: [sut] => { "changed": false, "cmd": "grep '^ipaddress' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004407", "end": "2024-01-05 15:03:42.325111", "rc": 0, "start": "2024-01-05 15:03:42.320704" } 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:03:42 +0000 (0:00:00.265) 0:02:51.154 ******** 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:03:42 +0000 (0:00:00.029) 0:02:51.184 ******** 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:03:42 +0000 (0:00:00.024) 0:02:51.208 ******** 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:03:42 +0000 (0:00:00.024) 0:02:51.233 ******** ok: [sut] => { "changed": false, "cmd": "grep '^tcpport' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004397", "end": "2024-01-05 15:03:42.622648", "rc": 0, "start": "2024-01-05 15:03:42.618251" } 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:03:42 +0000 (0:00:00.227) 0:02:51.460 ******** 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:03:42 +0000 (0:00:00.031) 0:02:51.491 ******** 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:03:42 +0000 (0:00:00.024) 0:02:51.516 ******** 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:03:42 +0000 (0:00:00.034) 0:02:51.551 ******** ok: [sut] => { "changed": false, "cmd": "grep '^defaultdatadir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004377", "end": "2024-01-05 15:03:42.949918", "rc": 0, "start": "2024-01-05 15:03:42.945541" } 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:03:42 +0000 (0:00:00.221) 0:02:51.772 ******** 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:03:43 +0000 (0:00:00.034) 0:02:51.807 ******** 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:03:43 +0000 (0:00:00.022) 0:02:51.830 ******** 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:03:43 +0000 (0:00:00.070) 0:02:51.901 ******** ok: [sut] => { "changed": false, "cmd": "grep '^defaultlogdir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004429", "end": "2024-01-05 15:03:43.319344", "rc": 0, "start": "2024-01-05 15:03:43.314915" } 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:03:43 +0000 (0:00:00.255) 0:02:52.157 ******** 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:03:43 +0000 (0:00:00.030) 0:02:52.187 ******** 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:03:43 +0000 (0:00:00.032) 0:02:52.219 ******** 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:03:43 +0000 (0:00:00.027) 0:02:52.247 ******** ok: [sut] => { "changed": false, "cmd": "grep '^enabled' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004243", "end": "2024-01-05 15:03:43.640101", "rc": 0, "start": "2024-01-05 15:03:43.635858" } 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:03:43 +0000 (0:00:00.205) 0:02:52.453 ******** 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:03:43 +0000 (0:00:00.024) 0:02:52.477 ******** 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:03:43 +0000 (0:00:00.031) 0:02:52.508 ******** 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:03:43 +0000 (0:00:00.021) 0:02:52.530 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1704466906.9586458, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1704466906.9606457, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 991, "gr_name": "mssql", "inode": 415236480, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1704466906.9586458, "nlink": 2, "path": "/tmp/mssql_data", "pw_name": "mssql", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6, "uid": 993, "version": "1215249492", "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:03:43 +0000 (0:00:00.201) 0:02:52.732 ******** 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:03:43 +0000 (0:00:00.027) 0:02:52.759 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1704466908.21064, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1704466908.21164, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 991, "gr_name": "mssql", "inode": 425722116, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1704466908.21064, "nlink": 2, "path": "/tmp/mssql_log", "pw_name": "mssql", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6, "uid": 993, "version": "365459988", "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:03:44 +0000 (0:00:00.203) 0:02:52.963 ******** 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:03:44 +0000 (0:00:00.027) 0:02:52.990 ******** 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:03:44 +0000 (0:00:00.117) 0:02:53.108 ******** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-01-05 15:02:46 UTC", "ActiveEnterTimestampMonotonic": "1434895972", "ActiveExitTimestamp": "Fri 2024-01-05 15:02:45 UTC", "ActiveExitTimestampMonotonic": "1433921627", "ActiveState": "active", "After": "sysinit.target network.target system.slice basic.target -.mount systemd-journald.socket auditd.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 15:02:46 UTC", "AssertTimestampMonotonic": "1434894780", "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:02:46 UTC", "ConditionTimestampMonotonic": "1434894778", "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": "23022", "ExecMainStartTimestamp": "Fri 2024-01-05 15:02:46 UTC", "ExecMainStartTimestampMonotonic": "1434895791", "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:02:46 UTC", "InactiveEnterTimestampMonotonic": "1434893832", "InactiveExitTimestamp": "Fri 2024-01-05 15:02:46 UTC", "InactiveExitTimestampMonotonic": "1434895972", "InvocationID": "03d2c02e550a4c7b83ab08da980a8c88", "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": "23022", "MemoryAccounting": "yes", "MemoryCurrent": "764215296", "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 system.slice sysinit.target", "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:02:46 UTC", "StateChangeTimestampMonotonic": "1434895972", "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": "162", "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:02:46 UTC", "WatchdogTimestampMonotonic": "1434895970", "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:03:44 +0000 (0:00:00.328) 0:02:53.436 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002834", "end": "2024-01-05 15:03:44.826772", "failed_when_result": false, "rc": 1, "start": "2024-01-05 15:03:44.823938" } 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:03:44 +0000 (0:00:00.202) 0:02:53.638 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003088", "end": "2024-01-05 15:03:45.027374", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:03:45.024286" } 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:03:45 +0000 (0:00:00.202) 0:02:53.841 ******** 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:03:45 +0000 (0:00:00.039) 0:02:53.880 ******** 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": 10845, "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:03:46 +0000 (0:00:01.216) 0:02:55.096 ******** 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.021870", "end": "2024-01-05 15:03:46.508598", "rc": 0, "start": "2024-01-05 15:03:46.486728" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2019 (RTM-CU24) (KB5031908) - 15.0.4345.5 (X64) Dec 4 2023 14:44:16 Copyright (C) 2019 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:03:46 +0000 (0:00:00.227) 0:02:55.324 ******** 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:03:46 +0000 (0:00:00.025) 0:02:55.349 ******** 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:03:46 +0000 (0:00:00.042) 0:02:55.391 ******** 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:03:47 +0000 (0:00:01.353) 0:02:56.744 ******** 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:03:47 +0000 (0:00:00.033) 0:02:56.778 ******** 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:03:48 +0000 (0:00:00.023) 0:02:56.801 ******** 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:03:48 +0000 (0:00:00.038) 0:02:56.839 ******** 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:03:49 +0000 (0:00:01.329) 0:02:58.168 ******** 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:03:49 +0000 (0:00:00.031) 0:02:58.199 ******** 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:03:49 +0000 (0:00:00.019) 0:02:58.219 ******** ok: [sut] => { "changed": false, "cmd": "grep '^traceflag' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004417", "end": "2024-01-05 15:03:49.607227", "rc": 0, "start": "2024-01-05 15:03:49.602810" } 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:03:49 +0000 (0:00:00.199) 0:02:58.418 ******** 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:03:49 +0000 (0:00:00.025) 0:02:58.444 ******** 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:03:49 +0000 (0:00:00.027) 0:02:58.472 ******** 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:03:49 +0000 (0:00:00.038) 0:02:58.510 ******** ok: [sut] => { "changed": false, "cmd": "grep '^alternatewritethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004422", "end": "2024-01-05 15:03:49.903262", "rc": 0, "start": "2024-01-05 15:03:49.898840" } 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:03:49 +0000 (0:00:00.206) 0:02:58.716 ******** 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:03:49 +0000 (0:00:00.023) 0:02:58.739 ******** 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:03:49 +0000 (0:00:00.026) 0:02:58.766 ******** 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:03:50 +0000 (0:00:00.020) 0:02:58.787 ******** 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:03:50 +0000 (0:00:00.074) 0:02:58.861 ******** ok: [sut] => { "changed": false, "cmd": "grep '^writethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004428", "end": "2024-01-05 15:03:50.249819", "rc": 0, "start": "2024-01-05 15:03:50.245391" } 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:03:50 +0000 (0:00:00.202) 0:02:59.064 ******** 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:03:50 +0000 (0:00:00.024) 0:02:59.088 ******** 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:03:50 +0000 (0:00:00.030) 0:02:59.119 ******** 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:03:50 +0000 (0:00:00.023) 0:02:59.143 ******** 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:03:50 +0000 (0:00:00.021) 0:02:59.164 ******** 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:03:50 +0000 (0:00:00.024) 0:02:59.188 ******** 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:03:50 +0000 (0:00:00.021) 0:02:59.210 ******** 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:03:50 +0000 (0:00:00.021) 0:02:59.231 ******** 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:03:50 +0000 (0:00:00.023) 0:02:59.255 ******** 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:03:50 +0000 (0:00:00.022) 0:02:59.278 ******** 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:03:50 +0000 (0:00:00.021) 0:02:59.299 ******** 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:03:50 +0000 (0:00:00.307) 0:02:59.606 ******** 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:03:50 +0000 (0:00:00.033) 0:02:59.640 ******** 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:03:50 +0000 (0:00:00.029) 0:02:59.669 ******** 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:03:50 +0000 (0:00:00.042) 0:02:59.712 ******** 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:03:50 +0000 (0:00:00.022) 0:02:59.734 ******** 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:03:50 +0000 (0:00:00.023) 0:02:59.758 ******** 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:03:50 +0000 (0:00:00.022) 0:02:59.780 ******** 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:03:51 +0000 (0:00:00.022) 0:02:59.802 ******** 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:03:51 +0000 (0:00:00.020) 0:02:59.823 ******** 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:03:51 +0000 (0:00:00.021) 0:02:59.844 ******** 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:03:51 +0000 (0:00:00.076) 0:02:59.921 ******** 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:03:51 +0000 (0:00:00.021) 0:02:59.942 ******** 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:03:51 +0000 (0:00:00.021) 0:02:59.964 ******** 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:03:51 +0000 (0:00:00.027) 0:02:59.991 ******** 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:03:51 +0000 (0:00:00.021) 0:03:00.012 ******** 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:03:51 +0000 (0:00:00.021) 0:03:00.034 ******** 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:03:51 +0000 (0:00:00.020) 0:03:00.055 ******** 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:03:51 +0000 (0:00:00.021) 0:03:00.076 ******** 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:03:51 +0000 (0:00:00.022) 0:03:00.099 ******** 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:03:52 +0000 (0:00:01.352) 0:03:01.451 ******** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } ok: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Friday 05 January 2024 15:03:52 +0000 (0:00:00.059) 0:03:01.511 ******** 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:03:52 +0000 (0:00:00.022) 0:03:01.534 ******** 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:03:52 +0000 (0:00:00.026) 0:03:01.560 ******** 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:03:52 +0000 (0:00:00.041) 0:03:01.602 ******** ok: [sut] => { "attempts": 1, "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:186 Friday 05 January 2024 15:03:53 +0000 (0:00:00.362) 0:03:01.964 ******** 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:03:53 +0000 (0:00:00.023) 0:03:01.987 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:207 Friday 05 January 2024 15:03:53 +0000 (0:00:00.022) 0:03:02.010 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:215 Friday 05 January 2024 15:03:53 +0000 (0:00:00.023) 0:03:02.034 ******** 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:03:53 +0000 (0:00:00.024) 0:03:02.058 ******** 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:03:53 +0000 (0:00:00.019) 0:03:02.078 ******** 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:03:53 +0000 (0:00:00.019) 0:03:02.098 ******** 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:03:53 +0000 (0:00:00.020) 0:03:02.118 ******** 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:03:53 +0000 (0:00:00.022) 0:03:02.141 ******** 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:03:53 +0000 (0:00:00.023) 0:03:02.164 ******** 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:03:56 +0000 (0:00:02.864) 0:03:05.028 ******** 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:03:56 +0000 (0:00:00.022) 0:03:05.051 ******** 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.005615", "end": "2024-01-05 15:03:56.440131", "rc": 0, "start": "2024-01-05 15:03:56.434516" } 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:03:56 +0000 (0:00:00.201) 0:03:05.252 ******** 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:02 +0000 (0:00:06.506) 0:03:11.759 ******** 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:03 +0000 (0:00:00.034) 0:03:11.794 ******** 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:03 +0000 (0:00:00.022) 0:03:11.816 ******** 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:03 +0000 (0:00:00.033) 0:03:11.850 ******** 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:04:03 +0000 (0:00:00.118) 0:03:11.968 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1704466905.9696503, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1704466905.9396505, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 991, "gr_name": "mssql", "inode": 329253120, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1704466905.9396505, "nlink": 2, "path": "/var/opt/mssql/data", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 993, "version": "966993738", "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:04:03 +0000 (0:00:00.228) 0:03:12.197 ******** 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:04:03 +0000 (0:00:00.221) 0:03:12.418 ******** 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:04:03 +0000 (0:00:00.034) 0:03:12.453 ******** 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:03 +0000 (0:00:00.046) 0:03:12.499 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003056", "end": "2024-01-05 15:04:03.890164", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:04:03.887108" } 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:03 +0000 (0:00:00.205) 0:03:12.704 ******** 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.117875", "end": "2024-01-05 15:04:04.211948", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:04:04.094073" } 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:04:04 +0000 (0:00:00.325) 0:03:13.030 ******** 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:04:04 +0000 (0:00:00.022) 0:03:13.052 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1704466970.2943528, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1704466970.2933528, "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": 1704466970.2933528, "nlink": 3, "path": "/var/opt/mssql/log", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 993, "version": "3762203104", "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:04:04 +0000 (0:00:00.202) 0:03:13.255 ******** 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:04:04 +0000 (0:00:00.210) 0:03:13.466 ******** 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:04:04 +0000 (0:00:00.082) 0:03:13.548 ******** 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:04 +0000 (0:00:00.038) 0:03:13.586 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003066", "end": "2024-01-05 15:04:04.975326", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:04:04.972260" } 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:05 +0000 (0:00:00.202) 0:03:13.789 ******** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "filelocation.defaultlogdir", "/var/opt/mssql/log" ], "delta": "0:00:00.113905", "end": "2024-01-05 15:04:05.293106", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:04:05.179201" } 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:04:05 +0000 (0:00:00.321) 0:03:14.110 ******** 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:05 +0000 (0:00:00.023) 0:03:14.133 ******** 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:05 +0000 (0:00:00.019) 0:03:14.153 ******** 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:08 +0000 (0:00:02.879) 0:03:17.032 ******** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-01-05 14:39:19 UTC", "ActiveEnterTimestampMonotonic": "28048547", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target sysinit.target systemd-journald.socket system.slice systemd-sysctl.service polkit.service dbus.socket network.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 14:39:18 UTC", "AssertTimestampMonotonic": "26288382", "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:18 UTC", "ConditionTimestampMonotonic": "26288381", "ConfigurationDirectoryMode": "0755", "Conflicts": "auto-cpufreq.service shutdown.target cpupower.service tlp.service power-profiles-daemon.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": "712", "ExecMainStartTimestamp": "Fri 2024-01-05 14:39:18 UTC", "ExecMainStartTimestampMonotonic": "26289266", "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:18 UTC", "InactiveExitTimestampMonotonic": "26289302", "InvocationID": "71709df99d1b4e0aacd773f31b90c7e4", "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": "712", "MemoryAccounting": "yes", "MemoryCurrent": "22851584", "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": "system.slice sysinit.target dbus.service 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": "28048547", "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": "28048544", "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:09 +0000 (0:00:01.365) 0:03:18.398 ******** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.115661", "end": "2024-01-05 15:04:09.917946", "rc": 0, "start": "2024-01-05 15:04:09.802285" } 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:09 +0000 (0:00:00.343) 0:03:18.741 ******** 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:09 +0000 (0:00:00.022) 0:03:18.764 ******** 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:10 +0000 (0:00:00.048) 0:03:18.813 ******** 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:10 +0000 (0:00:00.025) 0:03:18.839 ******** 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:10 +0000 (0:00:00.227) 0:03:19.066 ******** 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:13 +0000 (0:00:02.921) 0:03:21.988 ******** 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:13 +0000 (0:00:00.039) 0:03:22.027 ******** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-01-05 15:02:46 UTC", "ActiveEnterTimestampMonotonic": "1434895972", "ActiveExitTimestamp": "Fri 2024-01-05 15:02:45 UTC", "ActiveExitTimestampMonotonic": "1433921627", "ActiveState": "active", "After": "sysinit.target network.target system.slice basic.target -.mount systemd-journald.socket auditd.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 15:02:46 UTC", "AssertTimestampMonotonic": "1434894780", "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:02:46 UTC", "ConditionTimestampMonotonic": "1434894778", "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": "23022", "ExecMainStartTimestamp": "Fri 2024-01-05 15:02:46 UTC", "ExecMainStartTimestampMonotonic": "1434895791", "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:02:46 UTC", "InactiveEnterTimestampMonotonic": "1434893832", "InactiveExitTimestamp": "Fri 2024-01-05 15:02:46 UTC", "InactiveExitTimestampMonotonic": "1434895972", "InvocationID": "03d2c02e550a4c7b83ab08da980a8c88", "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": "23022", "MemoryAccounting": "yes", "MemoryCurrent": "768638976", "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 system.slice sysinit.target", "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:02:46 UTC", "StateChangeTimestampMonotonic": "1434895972", "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": "165", "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:02:46 UTC", "WatchdogTimestampMonotonic": "1434895970", "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:13 +0000 (0:00:00.321) 0:03:22.349 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002849", "end": "2024-01-05 15:04:13.739792", "failed_when_result": false, "rc": 1, "start": "2024-01-05 15:04:13.736943" } 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:13 +0000 (0:00:00.201) 0:03:22.550 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002866", "end": "2024-01-05 15:04:13.937891", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:04:13.935025" } 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:13 +0000 (0:00:00.205) 0:03:22.756 ******** 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:14 +0000 (0:00:00.034) 0:03:22.790 ******** 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": 10845, "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:15 +0000 (0:00:01.206) 0:03:23.997 ******** 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:04:15 +0000 (0:00:00.224) 0:03:24.222 ******** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Fri 2024-01-05 15:02:46 UTC", "ActiveEnterTimestampMonotonic": "1434895972", "ActiveExitTimestamp": "Fri 2024-01-05 15:02:45 UTC", "ActiveExitTimestampMonotonic": "1433921627", "ActiveState": "active", "After": "sysinit.target network.target system.slice basic.target -.mount systemd-journald.socket auditd.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 15:02:46 UTC", "AssertTimestampMonotonic": "1434894780", "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:02:46 UTC", "ConditionTimestampMonotonic": "1434894778", "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": "23022", "ExecMainStartTimestamp": "Fri 2024-01-05 15:02:46 UTC", "ExecMainStartTimestampMonotonic": "1434895791", "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:02:46 UTC", "InactiveEnterTimestampMonotonic": "1434893832", "InactiveExitTimestamp": "Fri 2024-01-05 15:02:46 UTC", "InactiveExitTimestampMonotonic": "1434895972", "InvocationID": "03d2c02e550a4c7b83ab08da980a8c88", "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": "23022", "MemoryAccounting": "yes", "MemoryCurrent": "768659456", "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 system.slice sysinit.target", "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:02:46 UTC", "StateChangeTimestampMonotonic": "1434895972", "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": "163", "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:02:46 UTC", "WatchdogTimestampMonotonic": "1434895970", "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:04:15 +0000 (0:00:00.554) 0:03:24.776 ******** 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:17 +0000 (0:00:01.440) 0:03:26.216 ******** 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:04:23 +0000 (0:00:05.638) 0:03:31.854 ******** 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:23 +0000 (0:00:00.032) 0:03:31.887 ******** 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:23 +0000 (0:00:00.025) 0:03:31.913 ******** 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.005041", "end": "2024-01-05 15:04:23.302813", "rc": 0, "start": "2024-01-05 15:04:23.297772" } 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:04:23 +0000 (0:00:00.208) 0:03:32.121 ******** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Fri 2024-01-05 15:02:46 UTC", "ActiveEnterTimestampMonotonic": "1434895972", "ActiveExitTimestamp": "Fri 2024-01-05 15:04:15 UTC", "ActiveExitTimestampMonotonic": "1523926763", "ActiveState": "inactive", "After": "sysinit.target network.target system.slice basic.target -.mount systemd-journald.socket auditd.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 15:02:46 UTC", "AssertTimestampMonotonic": "1434894780", "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:02:46 UTC", "ConditionTimestampMonotonic": "1434894778", "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:04:15 UTC", "ExecMainExitTimestampMonotonic": "1524142565", "ExecMainPID": "23022", "ExecMainStartTimestamp": "Fri 2024-01-05 15:02:46 UTC", "ExecMainStartTimestampMonotonic": "1434895791", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2024-01-05 15:02:46 UTC] ; stop_time=[Fri 2024-01-05 15:04:15 UTC] ; pid=23022 ; 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:04:15 UTC", "InactiveEnterTimestampMonotonic": "1524142650", "InactiveExitTimestamp": "Fri 2024-01-05 15:02:46 UTC", "InactiveExitTimestampMonotonic": "1434895972", "InvocationID": "03d2c02e550a4c7b83ab08da980a8c88", "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": "-.mount system.slice sysinit.target", "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:15 UTC", "StateChangeTimestampMonotonic": "1524142650", "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:04:23 +0000 (0:00:00.323) 0:03:32.444 ******** 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:24 +0000 (0:00:01.312) 0:03:33.757 ******** 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:04:30 +0000 (0:00:05.700) 0:03:39.458 ******** 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:30 +0000 (0:00:00.050) 0:03:39.508 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003115", "end": "2024-01-05 15:04:30.897411", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:04:30.894296" } 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:30 +0000 (0:00:00.202) 0:03:39.711 ******** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.ipaddress", "127.0.0.1" ], "delta": "0:00:00.115220", "end": "2024-01-05 15:04:31.217885", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:04:31.102665" } 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:04:31 +0000 (0:00:00.338) 0:03:40.049 ******** 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:31 +0000 (0:00:00.030) 0:03:40.080 ******** 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:04:31 +0000 (0:00:00.038) 0:03:40.118 ******** 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:04:31 +0000 (0:00:00.051) 0:03:40.170 ******** 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:31 +0000 (0:00:00.038) 0:03:40.208 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002965", "end": "2024-01-05 15:04:31.594739", "failed_when_result": false, "rc": 1, "start": "2024-01-05 15:04:31.591774" } 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:31 +0000 (0:00:00.207) 0:03:40.416 ******** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1435" ], "delta": "0:00:00.115182", "end": "2024-01-05 15:04:31.932472", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:04:31.817290" } 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:04:31 +0000 (0:00:00.332) 0:03:40.749 ******** 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:32 +0000 (0:00:00.051) 0:03:40.800 ******** 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:32 +0000 (0:00:00.027) 0:03:40.827 ******** 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:32 +0000 (0:00:00.103) 0:03:40.931 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003276", "end": "2024-01-05 15:04:32.329587", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:04:32.326311" } 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:32 +0000 (0:00:00.212) 0:03:41.143 ******** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "sqlagent.enabled", "False" ], "delta": "0:00:00.117639", "end": "2024-01-05 15:04:32.649852", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:04:32.532213" } 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:04:32 +0000 (0:00:00.322) 0:03:41.466 ******** 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:32 +0000 (0:00:00.023) 0:03:41.489 ******** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Removed: mssql-server-fts-15.0.4345.5-2.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:04:36 +0000 (0:00:03.583) 0:03:45.073 ******** 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:04:39 +0000 (0:00:03.664) 0:03:48.738 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003154", "end": "2024-01-05 15:04:40.125600", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:04:40.122446" } 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:40 +0000 (0:00:00.203) 0:03:48.941 ******** 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:40 +0000 (0:00:00.081) 0:03:49.023 ******** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "traceflag", "3979", "off" ], "delta": "0:00:00.115076", "end": "2024-01-05 15:04:40.524733", "rc": 0, "start": "2024-01-05 15:04:40.409657" } 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:04:40 +0000 (0:00:00.326) 0:03:49.349 ******** 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:40 +0000 (0:00:00.072) 0:03:49.421 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002748", "end": "2024-01-05 15:04:40.832719", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:04:40.829971" } 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:40 +0000 (0:00:00.226) 0:03:49.648 ******** 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:40 +0000 (0:00:00.029) 0:03:49.678 ******** 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:40 +0000 (0:00:00.033) 0:03:49.711 ******** 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:40 +0000 (0:00:00.047) 0:03:49.759 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002942", "end": "2024-01-05 15:04:41.180909", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:04:41.177967" } 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:41 +0000 (0:00:00.252) 0:03:50.011 ******** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "control.writethrough", "0" ], "delta": "0:00:00.114471", "end": "2024-01-05 15:04:41.565140", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:04:41.450669" } 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:41 +0000 (0:00:00.443) 0:03:50.455 ******** 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:41 +0000 (0:00:00.038) 0:03:50.494 ******** 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:41 +0000 (0:00:00.032) 0:03:50.527 ******** 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:41 +0000 (0:00:00.022) 0:03:50.549 ******** 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:41 +0000 (0:00:00.048) 0:03:50.597 ******** 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:41 +0000 (0:00:00.033) 0:03:50.631 ******** 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:41 +0000 (0:00:00.104) 0:03:50.735 ******** 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:41 +0000 (0:00:00.045) 0:03:50.781 ******** 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:42 +0000 (0:00:00.032) 0:03:50.813 ******** 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:42 +0000 (0:00:00.052) 0:03:50.865 ******** 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:42 +0000 (0:00:00.046) 0:03:50.912 ******** 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:42 +0000 (0:00:00.024) 0:03:50.936 ******** 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:42 +0000 (0:00:00.032) 0:03:50.969 ******** 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:42 +0000 (0:00:00.037) 0:03:51.007 ******** 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:42 +0000 (0:00:00.031) 0:03:51.039 ******** 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:42 +0000 (0:00:00.025) 0:03:51.064 ******** 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:42 +0000 (0:00:00.026) 0:03:51.090 ******** 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:42 +0000 (0:00:00.045) 0:03:51.136 ******** 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:42 +0000 (0:00:00.042) 0:03:51.178 ******** 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:42 +0000 (0:00:00.023) 0:03:51.201 ******** 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:42 +0000 (0:00:00.043) 0:03:51.245 ******** 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:42 +0000 (0:00:00.043) 0:03:51.289 ******** 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:42 +0000 (0:00:00.027) 0:03:51.317 ******** 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:42 +0000 (0:00:00.079) 0:03:51.397 ******** 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:42 +0000 (0:00:00.030) 0:03:51.427 ******** 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:42 +0000 (0:00:00.027) 0:03:51.454 ******** 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:42 +0000 (0:00:00.039) 0:03:51.494 ******** 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:42 +0000 (0:00:00.025) 0:03:51.519 ******** 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:42 +0000 (0:00:00.026) 0:03:51.545 ******** 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:42 +0000 (0:00:00.024) 0:03:51.569 ******** 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:42 +0000 (0:00:00.024) 0:03:51.594 ******** 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:42 +0000 (0:00:00.042) 0:03:51.637 ******** 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:42 +0000 (0:00:00.039) 0:03:51.676 ******** 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:42 +0000 (0:00:00.026) 0:03:51.702 ******** 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:42 +0000 (0:00:00.033) 0:03:51.736 ******** 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:43 +0000 (0:00:00.054) 0:03:51.791 ******** 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:43 +0000 (0:00:00.021) 0:03:51.812 ******** 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:43 +0000 (0:00:00.027) 0:03:51.840 ******** 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:43 +0000 (0:00:00.048) 0:03:51.889 ******** 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:43 +0000 (0:00:00.296) 0:03:52.186 ******** 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:43 +0000 (0:00:00.062) 0:03:52.248 ******** 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:43 +0000 (0:00:00.074) 0:03:52.322 ******** 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:43 +0000 (0:00:00.028) 0:03:52.351 ******** 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:43 +0000 (0:00:00.045) 0:03:52.396 ******** 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:43 +0000 (0:00:00.021) 0:03:52.417 ******** 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:43 +0000 (0:00:00.023) 0:03:52.441 ******** 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:43 +0000 (0:00:00.022) 0:03:52.464 ******** 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:43 +0000 (0:00:00.022) 0:03:52.486 ******** 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:43 +0000 (0:00:00.055) 0:03:52.542 ******** 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:43 +0000 (0:00:00.027) 0:03:52.569 ******** 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:43 +0000 (0:00:00.049) 0:03:52.619 ******** 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:43 +0000 (0:00:00.068) 0:03:52.687 ******** 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:43 +0000 (0:00:00.055) 0:03:52.742 ******** 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:44 +0000 (0:00:00.087) 0:03:52.830 ******** 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:44 +0000 (0:00:00.039) 0:03:52.869 ******** 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:44 +0000 (0:00:00.026) 0:03:52.896 ******** 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:44 +0000 (0:00:00.137) 0:03:53.034 ******** 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:44 +0000 (0:00:00.032) 0:03:53.066 ******** 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:44 +0000 (0:00:00.061) 0:03:53.128 ******** 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:44 +0000 (0:00:00.285) 0:03:53.414 ******** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-01-05 15:02:46 UTC", "ActiveEnterTimestampMonotonic": "1434895972", "ActiveExitTimestamp": "Fri 2024-01-05 15:04:15 UTC", "ActiveExitTimestampMonotonic": "1523926763", "ActiveState": "inactive", "After": "sysinit.target network.target system.slice basic.target -.mount systemd-journald.socket auditd.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 15:02:46 UTC", "AssertTimestampMonotonic": "1434894780", "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:02:46 UTC", "ConditionTimestampMonotonic": "1434894778", "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:04:15 UTC", "ExecMainExitTimestampMonotonic": "1524142565", "ExecMainPID": "23022", "ExecMainStartTimestamp": "Fri 2024-01-05 15:02:46 UTC", "ExecMainStartTimestampMonotonic": "1434895791", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2024-01-05 15:02:46 UTC] ; stop_time=[Fri 2024-01-05 15:04:15 UTC] ; pid=23022 ; 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:04:15 UTC", "InactiveEnterTimestampMonotonic": "1524142650", "InactiveExitTimestamp": "Fri 2024-01-05 15:02:46 UTC", "InactiveExitTimestampMonotonic": "1434895972", "InvocationID": "03d2c02e550a4c7b83ab08da980a8c88", "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": "-.mount system.slice sysinit.target", "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:15 UTC", "StateChangeTimestampMonotonic": "1524142650", "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:04:45 +0000 (0:00:00.387) 0:03:53.802 ******** 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:45 +0000 (0:00:00.043) 0:03:53.845 ******** 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:04:45 +0000 (0:00:00.042) 0:03:53.888 ******** 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:45 +0000 (0:00:00.481) 0:03:54.370 ******** 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:45 +0000 (0:00:00.062) 0:03:54.432 ******** 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:45 +0000 (0:00:00.061) 0:03:54.494 ******** 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:45 +0000 (0:00:00.062) 0:03:54.557 ******** 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:45 +0000 (0:00:00.062) 0:03:54.620 ******** 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:45 +0000 (0:00:00.047) 0:03:54.667 ******** 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:45 +0000 (0:00:00.064) 0:03:54.731 ******** 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:46 +0000 (0:00:00.055) 0:03:54.787 ******** 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:46 +0000 (0:00:00.033) 0:03:54.821 ******** 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:46 +0000 (0:00:00.021) 0:03:54.843 ******** 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:46 +0000 (0:00:00.032) 0:03:54.875 ******** 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:46 +0000 (0:00:00.022) 0:03:54.898 ******** 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:46 +0000 (0:00:00.022) 0:03:54.920 ******** 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:46 +0000 (0:00:00.028) 0:03:54.949 ******** 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:46 +0000 (0:00:00.108) 0:03:55.058 ******** 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:46 +0000 (0:00:00.022) 0:03:55.081 ******** 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:46 +0000 (0:00:00.019) 0:03:55.100 ******** 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:46 +0000 (0:00:00.021) 0:03:55.122 ******** 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:46 +0000 (0:00:00.022) 0:03:55.145 ******** 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:48 +0000 (0:00:01.728) 0:03:56.873 ******** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } ok: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Friday 05 January 2024 15:04:48 +0000 (0:00:00.168) 0:03:57.041 ******** 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:48 +0000 (0:00:00.066) 0:03:57.107 ******** 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:48 +0000 (0:00:00.046) 0:03:57.154 ******** 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:48 +0000 (0:00:00.064) 0:03:57.219 ******** ok: [sut] => { "attempts": 1, "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server repo version 2019] *** 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:48 +0000 (0:00:00.539) 0:03:57.759 ******** 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:49 +0000 (0:00:00.040) 0:03:57.800 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:207 Friday 05 January 2024 15:04:49 +0000 (0:00:00.076) 0:03:57.876 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:215 Friday 05 January 2024 15:04:49 +0000 (0:00:00.045) 0:03:57.921 ******** 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:49 +0000 (0:00:00.036) 0:03:57.958 ******** 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:49 +0000 (0:00:00.021) 0:03:57.979 ******** 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:49 +0000 (0:00:00.019) 0:03:57.999 ******** 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:49 +0000 (0:00:00.024) 0:03:58.023 ******** 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:49 +0000 (0:00:00.025) 0:03:58.049 ******** 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:49 +0000 (0:00:00.065) 0:03:58.114 ******** 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:52 +0000 (0:00:02.921) 0:04:01.035 ******** 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:52 +0000 (0:00:00.056) 0:04:01.091 ******** 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.005269", "end": "2024-01-05 15:04:52.525403", "rc": 0, "start": "2024-01-05 15:04:52.520134" } 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:52 +0000 (0:00:00.357) 0:04:01.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 [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:09 +0000 (0:00:16.541) 0:04:17.991 ******** 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:09 +0000 (0:00:00.044) 0:04:18.035 ******** 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:09 +0000 (0:00:00.028) 0:04:18.063 ******** 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:09 +0000 (0:00:00.039) 0:04:18.103 ******** 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:09 +0000 (0:00:00.063) 0:04:18.166 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1704466905.9696503, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1704466905.9396505, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 991, "gr_name": "mssql", "inode": 329253120, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1704466905.9396505, "nlink": 2, "path": "/var/opt/mssql/data", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 993, "version": "966993738", "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:00.227) 0:04:18.394 ******** 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:09 +0000 (0:00:00.257) 0:04:18.651 ******** 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:05:09 +0000 (0:00:00.042) 0:04:18.694 ******** 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.242) 0:04:18.937 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003153", "end": "2024-01-05 15:05:10.361660", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:05:10.358507" } 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:05:10 +0000 (0:00:00.280) 0:04:19.217 ******** 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:05:10 +0000 (0:00:00.032) 0:04:19.250 ******** 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.091) 0:04:19.342 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1704467087.9838057, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1704467087.9988055, "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": 1704467087.9988055, "nlink": 3, "path": "/var/opt/mssql/log", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 993, "version": "3762203104", "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:10 +0000 (0:00:00.271) 0:04:19.613 ******** 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.349) 0:04:19.963 ******** 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:05:11 +0000 (0:00:00.050) 0:04:20.013 ******** 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.095) 0:04:20.108 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003058", "end": "2024-01-05 15:05:11.515977", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:05:11.512919" } 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:05:11 +0000 (0:00:00.272) 0:04:20.380 ******** 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:05:11 +0000 (0:00:00.084) 0:04:20.464 ******** 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:11 +0000 (0:00:00.080) 0:04:20.545 ******** 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:11 +0000 (0:00:00.086) 0:04:20.631 ******** 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:14 +0000 (0:00:02.933) 0:04:23.564 ******** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-01-05 14:39:19 UTC", "ActiveEnterTimestampMonotonic": "28048547", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target sysinit.target systemd-journald.socket system.slice systemd-sysctl.service polkit.service dbus.socket network.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 14:39:18 UTC", "AssertTimestampMonotonic": "26288382", "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:18 UTC", "ConditionTimestampMonotonic": "26288381", "ConfigurationDirectoryMode": "0755", "Conflicts": "auto-cpufreq.service shutdown.target cpupower.service tlp.service power-profiles-daemon.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": "712", "ExecMainStartTimestamp": "Fri 2024-01-05 14:39:18 UTC", "ExecMainStartTimestampMonotonic": "26289266", "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:18 UTC", "InactiveExitTimestampMonotonic": "26289302", "InvocationID": "71709df99d1b4e0aacd773f31b90c7e4", "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": "712", "MemoryAccounting": "yes", "MemoryCurrent": "22810624", "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": "system.slice sysinit.target dbus.service 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": "28048547", "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": "28048544", "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:15 +0000 (0:00:00.417) 0:04:23.982 ******** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.116390", "end": "2024-01-05 15:05:15.493277", "rc": 0, "start": "2024-01-05 15:05:15.376887" } 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:15 +0000 (0:00:00.370) 0:04:24.353 ******** 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:15 +0000 (0:00:00.023) 0:04:24.377 ******** 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:15 +0000 (0:00:00.034) 0:04:24.412 ******** 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:15 +0000 (0:00:00.046) 0:04:24.458 ******** 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:15 +0000 (0:00:00.267) 0:04:24.726 ******** 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:18 +0000 (0:00:02.858) 0:04:27.584 ******** 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:18 +0000 (0:00:00.041) 0:04:27.626 ******** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-01-05 15:04:44 UTC", "ActiveEnterTimestampMonotonic": "1553151314", "ActiveExitTimestamp": "Fri 2024-01-05 15:04:15 UTC", "ActiveExitTimestampMonotonic": "1523926763", "ActiveState": "active", "After": "sysinit.target network.target system.slice basic.target -.mount systemd-journald.socket auditd.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 15:04:44 UTC", "AssertTimestampMonotonic": "1553150345", "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:44 UTC", "ConditionTimestampMonotonic": "1553150344", "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": "26044", "ExecMainStartTimestamp": "Fri 2024-01-05 15:04:44 UTC", "ExecMainStartTimestampMonotonic": "1553151252", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2024-01-05 15:04:44 UTC] ; stop_time=[n/a] ; pid=26044 ; 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:15 UTC", "InactiveEnterTimestampMonotonic": "1524142650", "InactiveExitTimestamp": "Fri 2024-01-05 15:04:44 UTC", "InactiveExitTimestampMonotonic": "1553151314", "InvocationID": "9afd41cdcefc4f93b58e664bc491cf7f", "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": "26044", "MemoryAccounting": "yes", "MemoryCurrent": "673349632", "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 system.slice sysinit.target", "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:44 UTC", "StateChangeTimestampMonotonic": "1553151314", "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": "149", "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:44 UTC", "WatchdogTimestampMonotonic": "1553151311", "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:19 +0000 (0:00:00.410) 0:04:28.036 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002792", "end": "2024-01-05 15:05:19.426246", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:05:19.423454" } 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:05:19 +0000 (0:00:00.203) 0:04:28.240 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.004206", "end": "2024-01-05 15:05:20.642639", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:05:19.638433" } 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:05:20 +0000 (0:00:01.229) 0:04:29.469 ******** 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:20 +0000 (0:00:00.036) 0:04:29.505 ******** 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": 7524, "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:21 +0000 (0:00:01.228) 0:04:30.734 ******** 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:05:22 +0000 (0:00:00.255) 0:04:30.990 ******** 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:05:22 +0000 (0:00:00.023) 0:04:31.013 ******** 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:23 +0000 (0:00:01.564) 0:04:32.578 ******** 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:05:23 +0000 (0:00:00.025) 0:04:32.604 ******** 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:23 +0000 (0:00:00.022) 0:04:32.627 ******** 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:23 +0000 (0:00:00.021) 0:04:32.648 ******** 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.005122", "end": "2024-01-05 15:05:24.036851", "rc": 0, "start": "2024-01-05 15:05:24.031729" } 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:05:24 +0000 (0:00:00.209) 0:04:32.858 ******** 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:05:24 +0000 (0:00:00.029) 0:04:32.888 ******** 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:25 +0000 (0:00:01.347) 0:04:34.236 ******** 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:05:25 +0000 (0:00:00.051) 0:04:34.288 ******** 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:25 +0000 (0:00:00.056) 0:04:34.344 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.003990", "end": "2024-01-05 15:05:26.749740", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:05:25.745750" } 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:05:26 +0000 (0:00:01.233) 0:04:35.577 ******** 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:05:26 +0000 (0:00:00.029) 0:04:35.607 ******** 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:26 +0000 (0:00:00.034) 0:04:35.642 ******** 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:26 +0000 (0:00:00.033) 0:04:35.675 ******** 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:26 +0000 (0:00:00.072) 0:04:35.748 ******** 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:27 +0000 (0:00:00.058) 0:04:35.807 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.004005", "end": "2024-01-05 15:05:28.218937", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:05:27.214932" } 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:05:28 +0000 (0:00:01.227) 0:04:37.034 ******** 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:05:28 +0000 (0:00:00.029) 0:04:37.063 ******** 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:28 +0000 (0:00:00.021) 0:04:37.085 ******** 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:28 +0000 (0:00:00.023) 0:04:37.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 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:28 +0000 (0:00:00.106) 0:04:37.215 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003097", "end": "2024-01-05 15:05:28.603135", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:05:28.600038" } 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:05:28 +0000 (0:00:00.217) 0:04:37.433 ******** 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:05:28 +0000 (0:00:00.047) 0:04:37.481 ******** 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:28 +0000 (0:00:00.040) 0:04:37.521 ******** 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:05:31 +0000 (0:00:02.932) 0:04:40.453 ******** 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:05:34 +0000 (0:00:02.868) 0:04:43.321 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002896", "end": "2024-01-05 15:05:34.717837", "failed_when_result": false, "rc": 1, "start": "2024-01-05 15:05:34.714941" } 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:05:34 +0000 (0:00:00.221) 0:04:43.543 ******** 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:34 +0000 (0:00:00.038) 0:04:43.582 ******** 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:05:34 +0000 (0:00:00.032) 0:04:43.615 ******** 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:34 +0000 (0:00:00.064) 0:04:43.679 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002878", "end": "2024-01-05 15:05:35.071202", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:05:35.068324" } 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:35 +0000 (0:00:00.314) 0:04:43.993 ******** 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:35 +0000 (0:00:00.038) 0:04:44.031 ******** 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:35 +0000 (0:00:00.034) 0:04:44.066 ******** 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:35 +0000 (0:00:00.070) 0:04:44.136 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.004008", "end": "2024-01-05 15:05:36.546436", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:05:35.542428" } 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:05:36 +0000 (0:00:01.249) 0:04:45.385 ******** 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:05:36 +0000 (0:00:00.031) 0:04:45.416 ******** 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:36 +0000 (0:00:00.028) 0:04:45.444 ******** 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:36 +0000 (0:00:00.040) 0:04:45.485 ******** 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:36 +0000 (0:00:00.041) 0:04:45.526 ******** 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:36 +0000 (0:00:00.026) 0:04:45.553 ******** 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:36 +0000 (0:00:00.022) 0:04:45.576 ******** 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:36 +0000 (0:00:00.021) 0:04:45.597 ******** 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:36 +0000 (0:00:00.022) 0:04:45.620 ******** 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:36 +0000 (0:00:00.024) 0:04:45.645 ******** 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:36 +0000 (0:00:00.133) 0:04:45.778 ******** 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:37 +0000 (0:00:00.046) 0:04:45.825 ******** 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:37 +0000 (0:00:00.038) 0:04:45.864 ******** 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:37 +0000 (0:00:00.033) 0:04:45.898 ******** 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:37 +0000 (0:00:00.064) 0:04:45.963 ******** 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:37 +0000 (0:00:00.056) 0:04:46.019 ******** 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:37 +0000 (0:00:00.035) 0:04:46.055 ******** 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:37 +0000 (0:00:00.034) 0:04:46.089 ******** 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:37 +0000 (0:00:00.028) 0:04:46.117 ******** 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:37 +0000 (0:00:00.042) 0:04:46.159 ******** 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:37 +0000 (0:00:00.031) 0:04:46.191 ******** 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:37 +0000 (0:00:00.040) 0:04:46.232 ******** 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:37 +0000 (0:00:00.034) 0:04:46.266 ******** 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:37 +0000 (0:00:00.063) 0:04:46.329 ******** 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:37 +0000 (0:00:00.097) 0:04:46.426 ******** 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:37 +0000 (0:00:00.044) 0:04:46.471 ******** 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:37 +0000 (0:00:00.163) 0:04:46.634 ******** 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:37 +0000 (0:00:00.044) 0:04:46.679 ******** 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:37 +0000 (0:00:00.026) 0:04:46.705 ******** 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:37 +0000 (0:00:00.029) 0:04:46.735 ******** 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:37 +0000 (0:00:00.021) 0:04:46.757 ******** 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:37 +0000 (0:00:00.023) 0:04:46.781 ******** 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:38 +0000 (0:00:00.029) 0:04:46.810 ******** 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:38 +0000 (0:00:00.034) 0:04:46.844 ******** 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:38 +0000 (0:00:00.063) 0:04:46.908 ******** 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:38 +0000 (0:00:00.054) 0:04:46.963 ******** 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:38 +0000 (0:00:00.049) 0:04:47.012 ******** 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:38 +0000 (0:00:00.037) 0:04:47.050 ******** 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:38 +0000 (0:00:00.029) 0:04:47.079 ******** 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:38 +0000 (0:00:00.093) 0:04:47.173 ******** 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:38 +0000 (0:00:00.071) 0:04:47.245 ******** 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:38 +0000 (0:00:00.043) 0:04:47.288 ******** 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:38 +0000 (0:00:00.031) 0:04:47.320 ******** 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:38 +0000 (0:00:00.055) 0:04:47.375 ******** 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:38 +0000 (0:00:00.118) 0:04:47.494 ******** 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:38 +0000 (0:00:00.032) 0:04:47.527 ******** 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:38 +0000 (0:00:00.065) 0:04:47.593 ******** 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:38 +0000 (0:00:00.032) 0:04:47.625 ******** 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:38 +0000 (0:00:00.043) 0:04:47.668 ******** 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:38 +0000 (0:00:00.041) 0:04:47.709 ******** 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:38 +0000 (0:00:00.030) 0:04:47.740 ******** 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:39 +0000 (0:00:00.055) 0:04:47.795 ******** 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:39 +0000 (0:00:00.038) 0:04:47.833 ******** 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:39 +0000 (0:00:00.038) 0:04:47.872 ******** 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:39 +0000 (0:00:00.034) 0:04:47.906 ******** 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:39 +0000 (0:00:00.052) 0:04:47.959 ******** 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:39 +0000 (0:00:00.066) 0:04:48.025 ******** 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:39 +0000 (0:00:00.035) 0:04:48.061 ******** 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:39 +0000 (0:00:00.032) 0:04:48.093 ******** 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:39 +0000 (0:00:00.076) 0:04:48.170 ******** 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:05:39 +0000 (0:00:00.483) 0:04:48.653 ******** 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:40 +0000 (0:00:00.251) 0:04:48.905 ******** 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:05:40 +0000 (0:00:00.045) 0:04:48.950 ******** 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:05:40 +0000 (0:00:00.336) 0:04:49.287 ******** 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.005792", "end": "2024-01-05 15:05:40.711906", "rc": 0, "start": "2024-01-05 15:05:40.706114" } 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:05:40 +0000 (0:00:00.264) 0:04:49.551 ******** 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.004919", "end": "2024-01-05 15:05:40.983148", "rc": 0, "start": "2024-01-05 15:05:40.978229" } 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:05:41 +0000 (0:00:00.272) 0:04:49.824 ******** 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:05:41 +0000 (0:00:00.043) 0:04:49.867 ******** 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:05:41 +0000 (0:00:00.103) 0:04:49.971 ******** ok: [sut] => { "changed": false, "cmd": "grep '^ipaddress' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004368", "end": "2024-01-05 15:05:41.392214", "rc": 0, "start": "2024-01-05 15:05:41.387846" } 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:05:41 +0000 (0:00:00.259) 0:04:50.231 ******** 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:05:41 +0000 (0:00:00.172) 0:04:50.403 ******** 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:05:41 +0000 (0:00:00.036) 0:04:50.439 ******** 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:05:41 +0000 (0:00:00.034) 0:04:50.474 ******** ok: [sut] => { "changed": false, "cmd": "grep '^tcpport' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004416", "end": "2024-01-05 15:05:41.865534", "rc": 0, "start": "2024-01-05 15:05:41.861118" } 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:05:41 +0000 (0:00:00.237) 0:04:50.711 ******** 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:05:41 +0000 (0:00:00.034) 0:04:50.745 ******** 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:05:41 +0000 (0:00:00.028) 0:04:50.773 ******** 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:05:42 +0000 (0:00:00.041) 0:04:50.815 ******** ok: [sut] => { "changed": false, "cmd": "grep '^defaultdatadir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004354", "end": "2024-01-05 15:05:42.206047", "rc": 0, "start": "2024-01-05 15:05:42.201693" } 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:05:42 +0000 (0:00:00.238) 0:04:51.053 ******** 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:05:42 +0000 (0:00:00.136) 0:04:51.189 ******** 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:05:42 +0000 (0:00:00.035) 0:04:51.225 ******** 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:05:42 +0000 (0:00:00.024) 0:04:51.250 ******** ok: [sut] => { "changed": false, "cmd": "grep '^defaultlogdir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004211", "end": "2024-01-05 15:05:42.663418", "rc": 0, "start": "2024-01-05 15:05:42.659207" } 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:05:42 +0000 (0:00:00.242) 0:04:51.492 ******** 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:05:42 +0000 (0:00:00.069) 0:04:51.562 ******** 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:05:42 +0000 (0:00:00.053) 0:04:51.616 ******** 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:05:42 +0000 (0:00:00.056) 0:04:51.673 ******** ok: [sut] => { "changed": false, "cmd": "grep '^enabled' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004265", "end": "2024-01-05 15:05:43.123985", "rc": 0, "start": "2024-01-05 15:05:43.119720" } 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:05:43 +0000 (0:00:00.444) 0:04:52.117 ******** 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:05:43 +0000 (0:00:00.027) 0:04:52.145 ******** 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:05:43 +0000 (0:00:00.043) 0:04:52.188 ******** 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:05:43 +0000 (0:00:00.027) 0:04:52.216 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1704466905.9696503, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1704466905.9396505, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 991, "gr_name": "mssql", "inode": 329253120, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1704466905.9396505, "nlink": 2, "path": "/var/opt/mssql/data", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 993, "version": "966993738", "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:05:43 +0000 (0:00:00.234) 0:04:52.451 ******** 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:05:43 +0000 (0:00:00.084) 0:04:52.535 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1704467087.9838057, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1704467087.9988055, "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": 1704467087.9988055, "nlink": 3, "path": "/var/opt/mssql/log", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 993, "version": "3762203104", "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:05:43 +0000 (0:00:00.239) 0:04:52.774 ******** 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:05:44 +0000 (0:00:00.066) 0:04:52.841 ******** 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:44 +0000 (0:00:00.039) 0:04:52.881 ******** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-01-05 15:04:44 UTC", "ActiveEnterTimestampMonotonic": "1553151314", "ActiveExitTimestamp": "Fri 2024-01-05 15:04:15 UTC", "ActiveExitTimestampMonotonic": "1523926763", "ActiveState": "active", "After": "sysinit.target network.target system.slice basic.target -.mount systemd-journald.socket auditd.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 15:04:44 UTC", "AssertTimestampMonotonic": "1553150345", "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:44 UTC", "ConditionTimestampMonotonic": "1553150344", "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": "26044", "ExecMainStartTimestamp": "Fri 2024-01-05 15:04:44 UTC", "ExecMainStartTimestampMonotonic": "1553151252", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2024-01-05 15:04:44 UTC] ; stop_time=[n/a] ; pid=26044 ; 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:15 UTC", "InactiveEnterTimestampMonotonic": "1524142650", "InactiveExitTimestamp": "Fri 2024-01-05 15:04:44 UTC", "InactiveExitTimestampMonotonic": "1553151314", "InvocationID": "9afd41cdcefc4f93b58e664bc491cf7f", "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": "26044", "MemoryAccounting": "yes", "MemoryCurrent": "674508800", "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 system.slice sysinit.target", "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:44 UTC", "StateChangeTimestampMonotonic": "1553151314", "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": "149", "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:44 UTC", "WatchdogTimestampMonotonic": "1553151311", "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:44 +0000 (0:00:00.408) 0:04:53.289 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.004155", "end": "2024-01-05 15:05:45.716461", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:05:44.712306" } 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:05:45 +0000 (0:00:01.272) 0:04:54.561 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003070", "end": "2024-01-05 15:05:45.994127", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:05:45.991057" } 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:05:46 +0000 (0:00:00.300) 0:04:54.862 ******** 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:05:46 +0000 (0:00:00.032) 0:04:54.895 ******** 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": 7524, "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:05:47 +0000 (0:00:01.220) 0:04:56.115 ******** 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.021845", "end": "2024-01-05 15:05:47.530240", "rc": 0, "start": "2024-01-05 15:05:47.508395" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2019 (RTM-CU24) (KB5031908) - 15.0.4345.5 (X64) Dec 4 2023 14:44:16 Copyright (C) 2019 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:05:47 +0000 (0:00:00.234) 0:04:56.350 ******** 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:05:47 +0000 (0:00:00.049) 0:04:56.400 ******** 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:05:47 +0000 (0:00:00.040) 0:04:56.441 ******** 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:05:49 +0000 (0:00:01.408) 0:04:57.850 ******** 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:05:49 +0000 (0:00:00.054) 0:04:57.904 ******** 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:05:49 +0000 (0:00:00.085) 0:04:57.990 ******** 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:05:49 +0000 (0:00:00.044) 0:04:58.035 ******** 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:05:50 +0000 (0:00:01.518) 0:04:59.553 ******** 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:05:50 +0000 (0:00:00.067) 0:04:59.621 ******** 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:05:50 +0000 (0:00:00.055) 0:04:59.676 ******** ok: [sut] => { "changed": false, "cmd": "grep '^traceflag' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004507", "end": "2024-01-05 15:05:51.067795", "rc": 0, "start": "2024-01-05 15:05:51.063288" } 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:05:51 +0000 (0:00:00.210) 0:04:59.887 ******** 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:05:51 +0000 (0:00:00.023) 0:04:59.911 ******** 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:05:51 +0000 (0:00:00.048) 0:04:59.960 ******** 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:05:51 +0000 (0:00:00.041) 0:05:00.001 ******** ok: [sut] => { "changed": false, "cmd": "grep '^alternatewritethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004620", "end": "2024-01-05 15:05:51.397108", "rc": 0, "start": "2024-01-05 15:05:51.392488" } 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:05:51 +0000 (0:00:00.209) 0:05:00.211 ******** 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:05:51 +0000 (0:00:00.036) 0:05:00.247 ******** 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:05:51 +0000 (0:00:00.041) 0:05:00.289 ******** 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:05:51 +0000 (0:00:00.167) 0:05:00.456 ******** 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:05:51 +0000 (0:00:00.041) 0:05:00.498 ******** ok: [sut] => { "changed": false, "cmd": "grep '^writethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004287", "end": "2024-01-05 15:05:51.897288", "rc": 0, "start": "2024-01-05 15:05:51.893001" } 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:05:51 +0000 (0:00:00.233) 0:05:00.731 ******** 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:05:51 +0000 (0:00:00.027) 0:05:00.759 ******** 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:05:52 +0000 (0:00:00.069) 0:05:00.828 ******** 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:05:52 +0000 (0:00:00.035) 0:05:00.864 ******** 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:05:52 +0000 (0:00:00.034) 0:05:00.899 ******** 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:05:52 +0000 (0:00:00.036) 0:05:00.935 ******** 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:05:52 +0000 (0:00:00.034) 0:05:00.970 ******** 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:05:52 +0000 (0:00:00.029) 0:05:00.999 ******** 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:05:52 +0000 (0:00:00.025) 0:05:01.025 ******** 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:05:52 +0000 (0:00:00.047) 0:05:01.072 ******** 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:05:52 +0000 (0:00:00.037) 0:05:01.109 ******** 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:05:52 +0000 (0:00:00.369) 0:05:01.478 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "Ansible managed\n", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003132", "end": "2024-01-05 15:05:52.939455", "rc": 0, "start": "2024-01-05 15:05:52.936323" } 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_2019.yml:18 Friday 05 January 2024 15:05:53 +0000 (0:00:00.304) 0:05:01.783 ******** 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:05:53 +0000 (0:00:00.091) 0:05:01.874 ******** 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:05:54 +0000 (0:00:01.364) 0:05:03.239 ******** 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:05:54 +0000 (0:00:00.036) 0:05:03.276 ******** 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:05:54 +0000 (0:00:00.049) 0:05:03.325 ******** 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:05:54 +0000 (0:00:00.191) 0:05:03.517 ******** 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:05:54 +0000 (0:00:00.071) 0:05:03.589 ******** 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:05:54 +0000 (0:00:00.040) 0:05:03.629 ******** 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:05:55 +0000 (0:00:00.265) 0:05:03.894 ******** 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:05:55 +0000 (0:00:00.048) 0:05:03.943 ******** 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:05:58 +0000 (0:00:02.964) 0:05:06.908 ******** 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:05:58 +0000 (0:00:00.036) 0:05:06.944 ******** 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:05:58 +0000 (0:00:00.044) 0:05:06.988 ******** ok: [sut] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Fri 2024-01-05 14:57:57 UTC", "ActiveEnterTimestampMonotonic": "1145356154", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service system.slice dbus.service sysinit.target basic.target dbus.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 14:57:56 UTC", "AssertTimestampMonotonic": "1144855408", "Before": "shutdown.target multi-user.target network-pre.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:57:56 UTC", "ConditionTimestampMonotonic": "1144855407", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target ip6tables.service iptables.service ipset.service ebtables.service nftables.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": "14033", "ExecMainStartTimestamp": "Fri 2024-01-05 14:57:56 UTC", "ExecMainStartTimestampMonotonic": "1144857167", "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:57:56 UTC", "InactiveExitTimestampMonotonic": "1144857324", "InvocationID": "3e4fd34d49cc4693af4f683178ddd13a", "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": "14033", "MemoryAccounting": "yes", "MemoryCurrent": "43790336", "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 sysinit.target 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": "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:57:57 UTC", "StateChangeTimestampMonotonic": "1145356154", "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:57:57 UTC", "WatchdogTimestampMonotonic": "1145356151", "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:05:58 +0000 (0:00:00.379) 0:05:07.368 ******** ok: [sut] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-01-05 14:57:57 UTC", "ActiveEnterTimestampMonotonic": "1145356154", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service system.slice dbus.service sysinit.target basic.target dbus.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 14:57:56 UTC", "AssertTimestampMonotonic": "1144855408", "Before": "shutdown.target multi-user.target network-pre.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:57:56 UTC", "ConditionTimestampMonotonic": "1144855407", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target ip6tables.service iptables.service ipset.service ebtables.service nftables.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": "14033", "ExecMainStartTimestamp": "Fri 2024-01-05 14:57:56 UTC", "ExecMainStartTimestampMonotonic": "1144857167", "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:57:56 UTC", "InactiveExitTimestampMonotonic": "1144857324", "InvocationID": "3e4fd34d49cc4693af4f683178ddd13a", "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": "14033", "MemoryAccounting": "yes", "MemoryCurrent": "43790336", "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 sysinit.target 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": "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:57:57 UTC", "StateChangeTimestampMonotonic": "1145356154", "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:57:57 UTC", "WatchdogTimestampMonotonic": "1145356151", "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:05:58 +0000 (0:00:00.373) 0:05:07.742 ******** 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:05:58 +0000 (0:00:00.032) 0:05:07.774 ******** ok: [sut] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.12.150 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:05:59 +0000 (0:00:00.407) 0:05:08.182 ******** 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:05:59 +0000 (0:00:00.024) 0:05:08.206 ******** 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:05:59 +0000 (0:00:00.023) 0:05:08.230 ******** 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:05:59 +0000 (0:00:00.039) 0:05:08.270 ******** 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:05:59 +0000 (0:00:00.028) 0:05:08.298 ******** 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:05:59 +0000 (0:00:00.025) 0:05:08.323 ******** 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:05:59 +0000 (0:00:00.031) 0:05:08.355 ******** ok: [sut] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.12.150 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:05:59 +0000 (0:00:00.401) 0:05:08.757 ******** 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:00 +0000 (0:00:00.034) 0:05:08.791 ******** 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:00 +0000 (0:00:00.058) 0:05:08.849 ******** 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:00 +0000 (0:00:00.049) 0:05:08.899 ******** 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:00 +0000 (0:00:00.069) 0:05:08.969 ******** 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:00 +0000 (0:00:00.516) 0:05:09.485 ******** 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-15.0.4345.5-2.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:06 +0000 (0:00:05.314) 0:05:14.800 ******** 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.011914", "end": "2024-01-05 15:06:06.199981", "rc": 0, "start": "2024-01-05 15:06:06.188067" } 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/77b813d8-4a6f-42cd-9a49-a92083c71ec0' 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' 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_133489405041410000.xel' removed '/var/opt/mssql/log/system_health_0_133489405048300000.xel' removed '/var/opt/mssql/log/HkEngineEventFile_0_133489405087720000.xel' removed '/var/opt/mssql/log/system_health_0_133489405092950000.xel' removed '/var/opt/mssql/log/log_1.trc' removed '/var/opt/mssql/log/HkEngineEventFile_0_133489405693920000.xel' removed '/var/opt/mssql/log/system_health_0_133489405698160000.xel' removed '/var/opt/mssql/log/log_2.trc' removed '/var/opt/mssql/log/FDLAUNCHERRORLOG' removed '/var/opt/mssql/log/HkEngineEventFile_0_133489406602880000.xel' removed '/var/opt/mssql/log/system_health_0_133489406605860000.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_133489406678950000.xel' removed '/var/opt/mssql/log/system_health_0_133489406682630000.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_133489406875230000.xel' removed '/var/opt/mssql/log/system_health_0_133489406879730000.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-2019.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:06 +0000 (0:00:00.215) 0:05:15.015 ******** ok: [sut] => { "changed": false, "cmd": "systemctl stop mssql-server || true", "delta": "0:00:00.010303", "end": "2024-01-05 15:06:06.407425", "rc": 0, "start": "2024-01-05 15:06:06.397122" } 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:06 +0000 (0:00:00.192) 0:05:15.208 ******** =============================================================================== linux-system-roles.mssql : Ensure the package mssql-server ------------- 37.00s /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 --------- 29.48s /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:631 linux-system-roles.mssql : Gather system services facts ---------------- 19.55s /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:295 linux-system-roles.mssql : Gather system services facts ---------------- 16.54s /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:295 linux-system-roles.mssql : Ensure the package powershell --------------- 10.37s /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:638 linux-system-roles.mssql : Gather system services facts ----------------- 8.64s /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:295 linux-system-roles.mssql : Gather system services facts ----------------- 6.51s /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:295 linux-system-roles.mssql : Change the edition of MSSQL ------------------ 5.70s /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 --------------- 5.64s /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:478 linux-system-roles.mssql : Set up MSSQL --------------------------------- 5.42s /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:324 Remove related packages ------------------------------------------------- 5.31s /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/tasks/cleanup.yml:45 -------- linux-system-roles.mssql : Ensure that SQL Server client tools are installed --- 4.07s /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:426 linux-system-roles.mssql : Ensure the package powershell ---------------- 3.66s /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:638 linux-system-roles.mssql : Ensure the package mssql-server-fts ---------- 3.58s /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:631 linux-system-roles.mssql : Ensure that the tuned-profiles-mssql package is installed --- 3.32s /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:366 fedora.linux_system_roles.firewall : Install firewalld ------------------ 2.96s /WORKDIR/git-ansible-lint-test-2.161nzvluo7/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:19 linux-system-roles.mssql : Ensure the package powershell ---------------- 2.94s /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.93s /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:366 linux-system-roles.mssql : Ensure the package mssql-server-fts ---------- 2.93s /WORKDIR/git-ansible-lint-test-2.161nzvluo7/tests/roles/linux-system-roles.mssql/tasks/main.yml:631 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 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---