# 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_tls_2017.yml *************************************************** 2 plays in /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tests_tls_2017.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Include vault variables] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tests_tls_2017.yml:4 Friday 05 January 2024 15:09:00 +0000 (0:00:00.012) 0:00:00.012 ******** ok: [sut] => { "ansible_facts": { "mssql_password": { "__ansible_vault": "$ANSIBLE_VAULT;1.1;AES256\n66336361663164656232326461653662643537386337346563613939356466313835383235313234\n3634333565616161316639666662613564353237653663610a616639306439653033386664303839\n30663030636161326137656235636230356162373234386461363632353863393161353035316162\n3664353366373231360a343334326337353861366233656330363634353164316434616561333161\n3234\n" } }, "ansible_included_var_files": [ "/WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/vars/vault-variables.yml" ], "changed": false } META: ran handlers META: ran handlers PLAY [Ensure that tls encryption configuration works] ************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tests_tls_2017.yml:9 Friday 05 January 2024 15:09:00 +0000 (0:00:00.010) 0:00:00.022 ******** ok: [sut] META: ran handlers TASK [Run tests_tls with SQL Server 2017] ************************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tests_tls_2017.yml:23 Friday 05 January 2024 15:09:01 +0000 (0:00:00.517) 0:00:00.540 ******** included: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/tests_tls.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.16so8j2u1z/tests/tasks/tests_tls.yml:2 Friday 05 January 2024 15:09:01 +0000 (0:00:00.036) 0:00:00.577 ******** included: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/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.16so8j2u1z/tests/tasks/assert_fail_on_unsupported_ver.yml:2 Friday 05 January 2024 15:09:01 +0000 (0:00:00.015) 0:00:00.592 ******** ok: [sut] TASK [Run the role] ************************************************************ task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/assert_fail_on_unsupported_ver.yml:15 Friday 05 January 2024 15:09:01 +0000 (0:00:00.227) 0:00:00.820 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unreachable task] ******************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/assert_fail_on_unsupported_ver.yml:22 Friday 05 January 2024 15:09:01 +0000 (0:00:00.011) 0:00:00.831 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure the openssl package] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/tests_tls.yml:5 Friday 05 January 2024 15:09:01 +0000 (0:00:00.009) 0:00:00.841 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [ "1:openssl-1.0.2k-26.el7_9.x86_64 providing openssl is already installed" ] } TASK [Create a tempfile for a certificate on hosts] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/tests_tls.yml:11 Friday 05 January 2024 15:09:02 +0000 (0:00:00.445) 0:00:01.286 ******** changed: [sut] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ansible.5ljEpP", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [Create a tempfile for a private key on hosts] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/tests_tls.yml:17 Friday 05 January 2024 15:09:02 +0000 (0:00:00.180) 0:00:01.467 ******** changed: [sut] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ansible.FPRYbO", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [Generate a self-signed certificate and public key] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/tests_tls.yml:23 Friday 05 January 2024 15:09:02 +0000 (0:00:00.116) 0:00:01.583 ******** changed: [sut] => { "changed": true, "cmd": [ "openssl", "req", "-x509", "-nodes", "-newkey", "rsa:2048", "-subj", "/CN=10.31.15.47", "-out", "/tmp/ansible.5ljEpP", "-keyout", "/tmp/ansible.FPRYbO", "-days", "365" ], "delta": "0:00:00.213102", "end": "2024-01-05 15:09:02.786263", "rc": 0, "start": "2024-01-05 15:09:02.573161" } STDERR: Generating a 2048 bit RSA private key ............................................................................+++ .....................+++ writing new private key to '/tmp/ansible.FPRYbO' ----- TASK [Copy certificate files to local tmp] ************************************* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/tests_tls.yml:32 Friday 05 January 2024 15:09:02 +0000 (0:00:00.388) 0:00:01.972 ******** changed: [sut] => (item=/tmp/ansible.5ljEpP) => { "ansible_loop_var": "item", "changed": true, "checksum": "6b8253633a06b61ac50a3ffbf7033b3c34fac9fe", "dest": "/tmp/ansible.5ljEpP", "item": "/tmp/ansible.5ljEpP", "md5sum": "32e7d27c818639e6c7cbb35a6fff09d7", "remote_checksum": "6b8253633a06b61ac50a3ffbf7033b3c34fac9fe", "remote_md5sum": null } changed: [sut] => (item=/tmp/ansible.FPRYbO) => { "ansible_loop_var": "item", "changed": true, "checksum": "a710eedf0aeadb16cdbab372ba9bb1dacd30d84d", "dest": "/tmp/ansible.FPRYbO", "item": "/tmp/ansible.FPRYbO", "md5sum": "00dae80086ebc0f10b24c03b40647550", "remote_checksum": "a710eedf0aeadb16cdbab372ba9bb1dacd30d84d", "remote_md5sum": null } TASK [Copy a private key to the playbook directory to test a relative path] **** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/tests_tls.yml:44 Friday 05 January 2024 15:09:03 +0000 (0:00:00.409) 0:00:02.381 ******** changed: [sut -> localhost] => { "changed": true, "checksum": "a710eedf0aeadb16cdbab372ba9bb1dacd30d84d", "dest": "./ansible.FPRYbO", "gid": 1001, "group": "jenkins", "md5sum": "00dae80086ebc0f10b24c03b40647550", "mode": "0600", "owner": "jenkins", "size": 1704, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1704467343.2203293-21763-69197292774745/source", "state": "file", "uid": 1000090000 } TASK [Set mssql_tls_cert and mssql_tls_private_key for the following test] ***** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/tests_tls.yml:52 Friday 05 January 2024 15:09:03 +0000 (0:00:00.345) 0:00:02.727 ******** ok: [sut] => { "ansible_facts": { "mssql_tls_cert": "/tmp/ansible.5ljEpP", "mssql_tls_private_key": "ansible.FPRYbO" }, "changed": false } TASK [Run role] **************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/tests_tls.yml:59 Friday 05 January 2024 15:09:03 +0000 (0:00:00.013) 0:00:02.741 ******** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Friday 05 January 2024 15:09:03 +0000 (0:00:00.144) 0:00:02.885 ******** included: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Friday 05 January 2024 15:09:03 +0000 (0:00:00.022) 0:00:02.908 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:9 Friday 05 January 2024 15:09:03 +0000 (0:00:00.042) 0:00:02.950 ******** 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.16so8j2u1z/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_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019 ] }, "ansible_included_var_files": [ "/WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Friday 05 January 2024 15:09:03 +0000 (0:00:00.059) 0:00:03.010 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Friday 05 January 2024 15:09:03 +0000 (0:00:00.019) 0:00:03.030 ******** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Friday 05 January 2024 15:09:03 +0000 (0:00:00.010) 0:00:03.040 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Friday 05 January 2024 15:09:03 +0000 (0:00:00.028) 0:00:03.069 ******** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Friday 05 January 2024 15:09:03 +0000 (0:00:00.023) 0:00:03.092 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Friday 05 January 2024 15:09:03 +0000 (0:00:00.012) 0:00:03.105 ******** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:51 Friday 05 January 2024 15:09:03 +0000 (0:00:00.011) 0:00:03.116 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:58 Friday 05 January 2024 15:09:03 +0000 (0:00:00.009) 0:00:03.126 ******** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:65 Friday 05 January 2024 15:09:03 +0000 (0:00:00.017) 0:00:03.144 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:69 Friday 05 January 2024 15:09:03 +0000 (0:00:00.015) 0:00:03.159 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:81 Friday 05 January 2024 15:09:04 +0000 (0:00:00.042) 0:00:03.202 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:89 Friday 05 January 2024 15:09:04 +0000 (0:00:00.015) 0:00:03.218 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:98 Friday 05 January 2024 15:09:04 +0000 (0:00:00.055) 0:00:03.273 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:111 Friday 05 January 2024 15:09:04 +0000 (0:00:00.015) 0:00:03.289 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:122 Friday 05 January 2024 15:09:04 +0000 (0:00:00.010) 0:00:03.300 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:131 Friday 05 January 2024 15:09:04 +0000 (0:00:00.009) 0:00:03.309 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:135 Friday 05 January 2024 15:09:05 +0000 (0:00:01.160) 0:00:04.469 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Friday 05 January 2024 15:09:05 +0000 (0:00:00.064) 0:00:04.534 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:151 Friday 05 January 2024 15:09:05 +0000 (0:00:00.027) 0:00:04.562 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:158 Friday 05 January 2024 15:09:05 +0000 (0:00:00.041) 0:00:04.603 ******** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:173 Friday 05 January 2024 15:09:05 +0000 (0:00:00.064) 0:00:04.667 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:186 Friday 05 January 2024 15:09:05 +0000 (0:00:00.422) 0:00:05.089 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:196 Friday 05 January 2024 15:09:05 +0000 (0:00:00.025) 0:00:05.115 ******** 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 2017] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:207 Friday 05 January 2024 15:09:05 +0000 (0:00:00.047) 0:00:05.163 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:215 Friday 05 January 2024 15:09:06 +0000 (0:00:00.038) 0:00:05.201 ******** changed: [sut] => { "changed": true, "repo": "packages-microsoft-com-mssql-server-2017", "state": "present" } TASK [Ensure that the system is in SELinux enforcing state] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:228 Friday 05 January 2024 15:09:06 +0000 (0:00:00.230) 0:00:05.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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:236 Friday 05 January 2024 15:09:06 +0000 (0:00:00.024) 0:00:05.455 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:241 Friday 05 January 2024 15:09:06 +0000 (0:00:00.021) 0:00:05.477 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:250 Friday 05 January 2024 15:09:06 +0000 (0:00:00.031) 0:00:05.508 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:259 Friday 05 January 2024 15:09:06 +0000 (0:00:00.041) 0:00:05.549 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:264 Friday 05 January 2024 15:09:06 +0000 (0:00:00.023) 0:00:05.573 ******** changed: [sut] => { "changed": true, "changes": { "installed": [ "mssql-server" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * base: download.cf.centos.org\n * extras: download.cf.centos.org\n * updates: download.cf.centos.org\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-server.x86_64 0:14.0.3465.1-1 will be installed\n--> Processing Dependency: libatomic for package: mssql-server-14.0.3465.1-1.x86_64\n--> Processing Dependency: bzip2 for package: mssql-server-14.0.3465.1-1.x86_64\n--> Processing Dependency: gdb for package: mssql-server-14.0.3465.1-1.x86_64\n--> Processing Dependency: libsss_nss_idmap for package: mssql-server-14.0.3465.1-1.x86_64\n--> Processing Dependency: cyrus-sasl for package: mssql-server-14.0.3465.1-1.x86_64\n--> Processing Dependency: cyrus-sasl-gssapi for package: mssql-server-14.0.3465.1-1.x86_64\n--> Running transaction check\n---> Package bzip2.x86_64 0:1.0.6-13.el7 will be installed\n---> Package cyrus-sasl.x86_64 0:2.1.26-24.el7_9 will be installed\n---> Package cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 will be installed\n---> Package gdb.x86_64 0:7.6.1-120.el7 will be installed\n---> Package libatomic.x86_64 0:4.8.5-44.el7 will be installed\n---> Package libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.15 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n mssql-server x86_64 14.0.3465.1-1 packages-microsoft-com-mssql-server-2017\n 200 M\nInstalling for dependencies:\n bzip2 x86_64 1.0.6-13.el7 base 52 k\n cyrus-sasl x86_64 2.1.26-24.el7_9 updates 88 k\n cyrus-sasl-gssapi x86_64 2.1.26-24.el7_9 updates 41 k\n gdb x86_64 7.6.1-120.el7 base 2.4 M\n libatomic x86_64 4.8.5-44.el7 base 51 k\n libsss_nss_idmap x86_64 1.16.5-10.el7_9.15 updates 170 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package (+6 Dependent packages)\n\nTotal size: 203 M\nInstalled size: 1.0 G\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : libsss_nss_idmap-1.16.5-10.el7_9.15.x86_64 1/7 \n Installing : cyrus-sasl-2.1.26-24.el7_9.x86_64 2/7 \n Installing : gdb-7.6.1-120.el7.x86_64 3/7 \n Installing : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 4/7 \n Installing : bzip2-1.0.6-13.el7.x86_64 5/7 \n Installing : libatomic-4.8.5-44.el7.x86_64 6/7 \n Installing : mssql-server-14.0.3465.1-1.x86_64 7/7 \n\n+--------------------------------------------------------------+\nPlease run 'sudo /opt/mssql/bin/mssql-conf setup'\nto complete the setup of Microsoft SQL Server\n+--------------------------------------------------------------+\n\nSQL Server needs to be restarted in order to apply this setting. Please run\n'systemctl restart mssql-server.service'.\n Verifying : libatomic-4.8.5-44.el7.x86_64 1/7 \n Verifying : bzip2-1.0.6-13.el7.x86_64 2/7 \n Verifying : mssql-server-14.0.3465.1-1.x86_64 3/7 \n Verifying : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 4/7 \n Verifying : gdb-7.6.1-120.el7.x86_64 5/7 \n Verifying : cyrus-sasl-2.1.26-24.el7_9.x86_64 6/7 \n Verifying : libsss_nss_idmap-1.16.5-10.el7_9.15.x86_64 7/7 \n\nInstalled:\n mssql-server.x86_64 0:14.0.3465.1-1 \n\nDependency Installed:\n bzip2.x86_64 0:1.0.6-13.el7 \n cyrus-sasl.x86_64 0:2.1.26-24.el7_9 \n cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 \n gdb.x86_64 0:7.6.1-120.el7 \n libatomic.x86_64 0:4.8.5-44.el7 \n libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.15 \n\nComplete!\n" ] } TASK [linux-system-roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:272 Friday 05 January 2024 15:09:40 +0000 (0:00:33.770) 0:00:39.343 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:280 Friday 05 January 2024 15:09:40 +0000 (0:00:00.017) 0:00:39.360 ******** 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.005329", "end": "2024-01-05 15:09:40.299211", "rc": 0, "start": "2024-01-05 15:09:40.293882" } TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:295 Friday 05 January 2024 15:09:40 +0000 (0:00:00.141) 0:00:39.502 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:299 Friday 05 January 2024 15:09:41 +0000 (0:00:00.832) 0:00:40.335 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:308 Friday 05 January 2024 15:09:41 +0000 (0:00:00.042) 0:00:40.377 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:324 Friday 05 January 2024 15:09:41 +0000 (0:00:00.024) 0:00:40.401 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:344 Friday 05 January 2024 15:09:46 +0000 (0:00:05.174) 0:00:45.576 ******** skipping: [sut] => (item={'path': None, 'mode': None, 'setting': 'defaultdatadir'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": null, "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'path': None, 'mode': None, 'setting': 'defaultlogdir'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": null, "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for {{ __mssql_storage_path }}] *********** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:359 Friday 05 January 2024 15:09:46 +0000 (0:00:00.047) 0:00:45.623 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:366 Friday 05 January 2024 15:09:46 +0000 (0:00:00.061) 0:00:45.685 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } TASK [linux-system-roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:371 Friday 05 January 2024 15:09:46 +0000 (0:00:00.401) 0:00:46.086 ******** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-01-05 14:39:05 UTC", "ActiveEnterTimestampMonotonic": "15127657", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice systemd-journald.socket dbus.service systemd-sysctl.service network.target basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 14:39:03 UTC", "AssertTimestampMonotonic": "13660099", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-01-05 14:39:03 UTC", "ConditionTimestampMonotonic": "13660097", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "878", "ExecMainStartTimestamp": "Fri 2024-01-05 14:39:03 UTC", "ExecMainStartTimestampMonotonic": "13660700", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-01-05 14:39:03 UTC", "InactiveExitTimestampMonotonic": "13660738", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "29173", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "878", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "dbus.service polkit.service basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-01-05 14:39:05 UTC", "WatchdogTimestampMonotonic": "15127600", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:377 Friday 05 January 2024 15:09:47 +0000 (0:00:00.419) 0:00:46.506 ******** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.133033", "end": "2024-01-05 15:09:47.622964", "rc": 0, "start": "2024-01-05 15:09:47.489931" } 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:387 Friday 05 January 2024 15:09:47 +0000 (0:00:00.357) 0:00:46.863 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:400 Friday 05 January 2024 15:09:47 +0000 (0:00:00.066) 0:00:46.929 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:409 Friday 05 January 2024 15:09:47 +0000 (0:00:00.022) 0:00:46.952 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:419 Friday 05 January 2024 15:09:47 +0000 (0:00:00.094) 0:00:47.046 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:426 Friday 05 January 2024 15:09:48 +0000 (0:00:00.236) 0:00:47.283 ******** changed: [sut] => { "changed": true, "changes": { "installed": [ "mssql-tools", "unixODBC-devel" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * base: download.cf.centos.org\n * extras: download.cf.centos.org\n * updates: download.cf.centos.org\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-tools.x86_64 0:17.10.1.1-1 will be installed\n--> Processing Dependency: msodbcsql17 >= 17.3.0.0 for package: mssql-tools-17.10.1.1-1.x86_64\n---> Package unixODBC-devel.x86_64 0:2.3.11-1.rh will be installed\n--> Processing Dependency: unixODBC = 2.3.11 for package: unixODBC-devel-2.3.11-1.rh.x86_64\n--> Running transaction check\n---> Package msodbcsql17.x86_64 0:17.10.5.1-1 will be installed\n---> Package unixODBC.x86_64 0:2.3.11-1.rh will be installed\n--> Processing Dependency: libltdl.so.7()(64bit) for package: unixODBC-2.3.11-1.rh.x86_64\n--> Running transaction check\n---> Package libtool-ltdl.x86_64 0:2.4.2-22.el7_3 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n mssql-tools x86_64 17.10.1.1-1 packages-microsoft-com-prod 291 k\n unixODBC-devel x86_64 2.3.11-1.rh packages-microsoft-com-prod 53 k\nInstalling for dependencies:\n libtool-ltdl x86_64 2.4.2-22.el7_3 base 49 k\n msodbcsql17 x86_64 17.10.5.1-1 packages-microsoft-com-prod 913 k\n unixODBC x86_64 2.3.11-1.rh packages-microsoft-com-prod 274 k\n\nTransaction Summary\n================================================================================\nInstall 2 Packages (+3 Dependent packages)\n\nTotal size: 1.5 M\nInstalled size: 3.8 M\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : libtool-ltdl-2.4.2-22.el7_3.x86_64 1/5 \n Installing : unixODBC-2.3.11-1.rh.x86_64 2/5 \n Installing : msodbcsql17-17.10.5.1-1.x86_64 3/5 \nodbcinst: Driver installed. Usage count increased to 1. \n Target directory is /etc\n Installing : mssql-tools-17.10.1.1-1.x86_64 4/5 \n Installing : unixODBC-devel-2.3.11-1.rh.x86_64 5/5 \n Verifying : mssql-tools-17.10.1.1-1.x86_64 1/5 \n Verifying : unixODBC-devel-2.3.11-1.rh.x86_64 2/5 \n Verifying : libtool-ltdl-2.4.2-22.el7_3.x86_64 3/5 \n Verifying : unixODBC-2.3.11-1.rh.x86_64 4/5 \n Verifying : msodbcsql17-17.10.5.1-1.x86_64 5/5 \n\nInstalled:\n mssql-tools.x86_64 0:17.10.1.1-1 unixODBC-devel.x86_64 0:2.3.11-1.rh \n\nDependency Installed:\n libtool-ltdl.x86_64 0:2.4.2-22.el7_3 msodbcsql17.x86_64 0:17.10.5.1-1 \n unixODBC.x86_64 0:2.3.11-1.rh \n\nComplete!\n" ] } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:438 Friday 05 January 2024 15:09:52 +0000 (0:00:04.802) 0:00:52.085 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:442 Friday 05 January 2024 15:09:52 +0000 (0:00:00.022) 0:00:52.108 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:448 Friday 05 January 2024 15:09:52 +0000 (0:00:00.048) 0:00:52.156 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:463 Friday 05 January 2024 15:09:53 +0000 (0:00:00.051) 0:00:52.208 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:470 Friday 05 January 2024 15:09:53 +0000 (0:00:00.068) 0:00:52.276 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:478 Friday 05 January 2024 15:09:53 +0000 (0:00:00.021) 0:00:52.298 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:500 Friday 05 January 2024 15:09:53 +0000 (0:00:00.020) 0:00:52.319 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:511 Friday 05 January 2024 15:09:53 +0000 (0:00:00.053) 0:00:52.372 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:526 Friday 05 January 2024 15:09:53 +0000 (0:00:00.047) 0:00:52.420 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:539 Friday 05 January 2024 15:09:53 +0000 (0:00:00.051) 0:00:52.471 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:546 Friday 05 January 2024 15:09:53 +0000 (0:00:00.040) 0:00:52.512 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:552 Friday 05 January 2024 15:09:53 +0000 (0:00:00.029) 0:00:52.541 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:572 Friday 05 January 2024 15:09:53 +0000 (0:00:00.063) 0:00:52.605 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:579 Friday 05 January 2024 15:09:53 +0000 (0:00:00.053) 0:00:52.658 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:586 Friday 05 January 2024 15:09:53 +0000 (0:00:00.040) 0:00:52.698 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:598 Friday 05 January 2024 15:09:53 +0000 (0:00:00.032) 0:00:52.731 ******** included: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Friday 05 January 2024 15:09:53 +0000 (0:00:00.072) 0:00:52.803 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003081", "end": "2024-01-05 15:09:53.783015", "failed_when_result": false, "rc": 1, "start": "2024-01-05 15:09:53.779934" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network tcpport] ******** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Friday 05 January 2024 15:09:53 +0000 (0:00:00.197) 0:00:53.000 ******** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.048191", "end": "2024-01-05 15:09:54.006605", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:09:53.958414" } 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Friday 05 January 2024 15:09:54 +0000 (0:00:00.213) 0:00:53.214 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:604 Friday 05 January 2024 15:09:54 +0000 (0:00:00.082) 0:00:53.297 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:624 Friday 05 January 2024 15:09:54 +0000 (0:00:00.034) 0:00:53.331 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:631 Friday 05 January 2024 15:09:54 +0000 (0:00:00.055) 0:00:53.386 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package powershell] **************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:638 Friday 05 January 2024 15:09:54 +0000 (0:00:00.026) 0:00:53.412 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the 3979 trace flag is enabled] ****** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:647 Friday 05 January 2024 15:09:54 +0000 (0:00:00.030) 0:00:53.443 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:653 Friday 05 January 2024 15:09:54 +0000 (0:00:00.028) 0:00:53.471 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:660 Friday 05 January 2024 15:09:54 +0000 (0:00:00.024) 0:00:53.496 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:668 Friday 05 January 2024 15:09:54 +0000 (0:00:00.023) 0:00:53.520 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:674 Friday 05 January 2024 15:09:54 +0000 (0:00:00.022) 0:00:53.542 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:692 Friday 05 January 2024 15:09:54 +0000 (0:00:00.022) 0:00:53.564 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:706 Friday 05 January 2024 15:09:54 +0000 (0:00:00.033) 0:00:53.597 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:711 Friday 05 January 2024 15:09:54 +0000 (0:00:00.021) 0:00:53.618 ******** changed: [sut] => (item=/tmp/ansible.5ljEpP) => { "ansible_loop_var": "item", "changed": true, "checksum": "6b8253633a06b61ac50a3ffbf7033b3c34fac9fe", "dest": "/etc/pki/tls/certs/ansible.5ljEpP", "gid": 994, "group": "mssql", "item": "/tmp/ansible.5ljEpP", "md5sum": "32e7d27c818639e6c7cbb35a6fff09d7", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1099, "src": "/root/.ansible/tmp/ansible-tmp-1704467394.5136545-22294-262031712009901/source", "state": "file", "uid": 996 } changed: [sut] => (item=ansible.FPRYbO) => { "ansible_loop_var": "item", "changed": true, "checksum": "a710eedf0aeadb16cdbab372ba9bb1dacd30d84d", "dest": "/etc/pki/tls/private/ansible.FPRYbO", "gid": 994, "group": "mssql", "item": "ansible.FPRYbO", "md5sum": "00dae80086ebc0f10b24c03b40647550", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1704, "src": "/root/.ansible/tmp/ansible-tmp-1704467394.8778613-22294-123778871154032/source", "state": "file", "uid": 996 } TASK [linux-system-roles.mssql : Configure the tlscert setting] **************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:729 Friday 05 January 2024 15:09:55 +0000 (0:00:00.769) 0:00:54.388 ******** included: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network tlscert] ************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Friday 05 January 2024 15:09:55 +0000 (0:00:00.036) 0:00:54.424 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002885", "end": "2024-01-05 15:09:55.362938", "failed_when_result": false, "rc": 1, "start": "2024-01-05 15:09:55.360053" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network tlscert] ******** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Friday 05 January 2024 15:09:55 +0000 (0:00:00.143) 0:00:54.568 ******** NOTIFIED HANDLER linux-system-roles.mssql : Restart the mssql-server service for sut changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlscert", "/etc/pki/tls/certs/ansible.5ljEpP" ], "delta": "0:00:00.047233", "end": "2024-01-05 15:09:55.569230", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:09:55.521997" } 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 tlscert] ************ task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Friday 05 January 2024 15:09:55 +0000 (0:00:00.229) 0:00:54.798 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:738 Friday 05 January 2024 15:09:55 +0000 (0:00:00.021) 0:00:54.820 ******** included: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network tlskey] *************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Friday 05 January 2024 15:09:55 +0000 (0:00:00.036) 0:00:54.856 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002878", "end": "2024-01-05 15:09:55.793393", "failed_when_result": false, "rc": 1, "start": "2024-01-05 15:09:55.790515" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network tlskey] ********* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Friday 05 January 2024 15:09:55 +0000 (0:00:00.133) 0:00:54.990 ******** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlskey", "/etc/pki/tls/private/ansible.FPRYbO" ], "delta": "0:00:00.047465", "end": "2024-01-05 15:09:55.987738", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:09:55.940273" } 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 tlskey] ************* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Friday 05 January 2024 15:09:56 +0000 (0:00:00.199) 0:00:55.189 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:747 Friday 05 January 2024 15:09:56 +0000 (0:00:00.022) 0:00:55.212 ******** included: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network tlsprotocols] ********* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Friday 05 January 2024 15:09:56 +0000 (0:00:00.046) 0:00:55.258 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002966", "end": "2024-01-05 15:09:56.206952", "failed_when_result": false, "rc": 1, "start": "2024-01-05 15:09:56.203986" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network tlsprotocols] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Friday 05 January 2024 15:09:56 +0000 (0:00:00.145) 0:00:55.403 ******** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlsprotocols", "1.2" ], "delta": "0:00:00.046771", "end": "2024-01-05 15:09:56.388634", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:09:56.341863" } 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 tlsprotocols] ******* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Friday 05 January 2024 15:09:56 +0000 (0:00:00.202) 0:00:55.606 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:754 Friday 05 January 2024 15:09:56 +0000 (0:00:00.071) 0:00:55.677 ******** included: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network forceencryption] ****** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Friday 05 January 2024 15:09:56 +0000 (0:00:00.069) 0:00:55.747 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002808", "end": "2024-01-05 15:09:56.717236", "failed_when_result": false, "rc": 1, "start": "2024-01-05 15:09:56.714428" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network forceencryption] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Friday 05 January 2024 15:09:56 +0000 (0:00:00.165) 0:00:55.912 ******** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.forceencryption", "1" ], "delta": "0:00:00.047598", "end": "2024-01-05 15:09:56.899950", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:09:56.852352" } 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 forceencryption] **** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Friday 05 January 2024 15:09:56 +0000 (0:00:00.197) 0:00:56.110 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:763 Friday 05 January 2024 15:09:56 +0000 (0:00:00.053) 0:00:56.163 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:771 Friday 05 January 2024 15:09:57 +0000 (0:00:00.039) 0:00:56.202 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:779 Friday 05 January 2024 15:09:57 +0000 (0:00:00.030) 0:00:56.233 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:786 Friday 05 January 2024 15:09:57 +0000 (0:00:00.025) 0:00:56.259 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:793 Friday 05 January 2024 15:09:57 +0000 (0:00:00.021) 0:00:56.280 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:802 Friday 05 January 2024 15:09:57 +0000 (0:00:00.021) 0:00:56.302 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:815 Friday 05 January 2024 15:09:57 +0000 (0:00:00.022) 0:00:56.324 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:824 Friday 05 January 2024 15:09:57 +0000 (0:00:00.021) 0:00:56.345 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:836 Friday 05 January 2024 15:09:57 +0000 (0:00:00.022) 0:00:56.368 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:841 Friday 05 January 2024 15:09:57 +0000 (0:00:00.052) 0:00:56.420 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:858 Friday 05 January 2024 15:09:57 +0000 (0:00:00.040) 0:00:56.461 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:863 Friday 05 January 2024 15:09:57 +0000 (0:00:00.028) 0:00:56.489 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:868 Friday 05 January 2024 15:09:57 +0000 (0:00:00.031) 0:00:56.520 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:874 Friday 05 January 2024 15:09:57 +0000 (0:00:00.023) 0:00:56.544 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:900 Friday 05 January 2024 15:09:57 +0000 (0:00:00.020) 0:00:56.564 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:921 Friday 05 January 2024 15:09:57 +0000 (0:00:00.018) 0:00:56.582 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:929 Friday 05 January 2024 15:09:57 +0000 (0:00:00.023) 0:00:56.606 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:939 Friday 05 January 2024 15:09:57 +0000 (0:00:00.018) 0:00:56.625 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:945 Friday 05 January 2024 15:09:57 +0000 (0:00:00.020) 0:00:56.646 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that hosts with mssql_ha_replica_type=primary is available] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:962 Friday 05 January 2024 15:09:57 +0000 (0:00:00.021) 0:00:56.667 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:977 Friday 05 January 2024 15:09:57 +0000 (0:00:00.074) 0:00:56.741 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:997 Friday 05 January 2024 15:09:57 +0000 (0:00:00.021) 0:00:56.763 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1051 Friday 05 January 2024 15:09:57 +0000 (0:00:00.024) 0:00:56.787 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1058 Friday 05 January 2024 15:09:57 +0000 (0:00:00.020) 0:00:56.808 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1065 Friday 05 January 2024 15:09:57 +0000 (0:00:00.024) 0:00:56.832 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1076 Friday 05 January 2024 15:09:57 +0000 (0:00:00.021) 0:00:56.853 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1082 Friday 05 January 2024 15:09:57 +0000 (0:00:00.020) 0:00:56.874 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1090 Friday 05 January 2024 15:09:57 +0000 (0:00:00.024) 0:00:56.898 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1099 Friday 05 January 2024 15:09:57 +0000 (0:00:00.019) 0:00:56.918 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1107 Friday 05 January 2024 15:09:57 +0000 (0:00:00.024) 0:00:56.942 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1122 Friday 05 January 2024 15:09:57 +0000 (0:00:00.029) 0:00:56.971 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1129 Friday 05 January 2024 15:09:57 +0000 (0:00:00.023) 0:00:56.995 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1154 Friday 05 January 2024 15:09:57 +0000 (0:00:00.029) 0:00:57.024 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1163 Friday 05 January 2024 15:09:57 +0000 (0:00:00.026) 0:00:57.051 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1173 Friday 05 January 2024 15:09:57 +0000 (0:00:00.023) 0:00:57.075 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1184 Friday 05 January 2024 15:09:57 +0000 (0:00:00.032) 0:00:57.108 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1197 Friday 05 January 2024 15:09:57 +0000 (0:00:00.028) 0:00:57.136 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1210 Friday 05 January 2024 15:09:57 +0000 (0:00:00.023) 0:00:57.159 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1217 Friday 05 January 2024 15:09:58 +0000 (0:00:00.021) 0:00:57.181 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1224 Friday 05 January 2024 15:09:58 +0000 (0:00:00.044) 0:00:57.225 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1233 Friday 05 January 2024 15:09:58 +0000 (0:00:00.030) 0:00:57.256 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1240 Friday 05 January 2024 15:09:58 +0000 (0:00:00.024) 0:00:57.281 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1252 Friday 05 January 2024 15:09:58 +0000 (0:00:00.035) 0:00:57.316 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1261 Friday 05 January 2024 15:09:58 +0000 (0:00:00.020) 0:00:57.336 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1268 Friday 05 January 2024 15:09:58 +0000 (0:00:00.021) 0:00:57.357 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1274 Friday 05 January 2024 15:09:58 +0000 (0:00:00.020) 0:00:57.378 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1282 Friday 05 January 2024 15:09:58 +0000 (0:00:00.021) 0:00:57.399 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1295 Friday 05 January 2024 15:09:58 +0000 (0:00:00.025) 0:00:57.424 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1307 Friday 05 January 2024 15:09:58 +0000 (0:00:00.020) 0:00:57.445 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1313 Friday 05 January 2024 15:09:58 +0000 (0:00:00.022) 0:00:57.468 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1322 Friday 05 January 2024 15:09:58 +0000 (0:00:00.021) 0:00:57.489 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 Friday 05 January 2024 15:09:58 +0000 (0:00:00.254) 0:00:57.743 ******** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-01-05 15:09:46 UTC", "ActiveEnterTimestampMonotonic": "1856375871", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice systemd-journald.socket auditd.service network.target basic.target -.mount", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 15:09:46 UTC", "AssertTimestampMonotonic": "1856374435", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-01-05 15:09:46 UTC", "ConditionTimestampMonotonic": "1856374433", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "24655", "ExecMainStartTimestamp": "Fri 2024-01-05 15:09:46 UTC", "ExecMainStartTimestampMonotonic": "1856375077", "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", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-01-05 15:09:46 UTC", "InactiveExitTimestampMonotonic": "1856375871", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "24655", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitInterval": "120000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-01-05 15:09:46 UTC", "WatchdogTimestampMonotonic": "1856375847", "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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1335 Friday 05 January 2024 15:09:59 +0000 (0:00:01.130) 0:00:58.874 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1346 Friday 05 January 2024 15:09:59 +0000 (0:00:00.022) 0:00:58.896 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove a private key from the playbook directory] ************************ task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/tests_tls.yml:68 Friday 05 January 2024 15:09:59 +0000 (0:00:00.021) 0:00:58.917 ******** changed: [sut -> localhost] => { "changed": true, "path": "ansible.FPRYbO", "state": "absent" } TASK [Configure the mssql-server service start limit interval and burst] ******* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/tests_tls.yml:75 Friday 05 January 2024 15:09:59 +0000 (0:00:00.190) 0:00:59.108 ******** included: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/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.16so8j2u1z/tests/tasks/mssql-sever-increase-start-limit.yml:3 Friday 05 January 2024 15:09:59 +0000 (0:00:00.041) 0:00:59.149 ******** 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.16so8j2u1z/tests/tasks/mssql-sever-increase-start-limit.yml:10 Friday 05 January 2024 15:10:00 +0000 (0:00:00.201) 0:00:59.350 ******** changed: [sut] => { "changed": true } MSG: 1 replacements made TASK [Reload service daemon] *************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql-sever-increase-start-limit.yml:17 Friday 05 January 2024 15:10:00 +0000 (0:00:00.135) 0:00:59.486 ******** ok: [sut] => { "changed": false, "name": null, "status": {} } TASK [Verify connectivity and settings] **************************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/tests_tls.yml:78 Friday 05 January 2024 15:10:00 +0000 (0:00:00.258) 0:00:59.745 ******** included: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/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.16so8j2u1z/tests/tasks/verify_settings.yml:8 Friday 05 January 2024 15:10:00 +0000 (0:00:00.044) 0:00:59.789 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if the set edition matches the existing edition] ******************* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:23 Friday 05 January 2024 15:10:00 +0000 (0:00:00.027) 0:00:59.817 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:35 Friday 05 January 2024 15:10:00 +0000 (0:00:00.026) 0:00:59.843 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:39 Friday 05 January 2024 15:10:00 +0000 (0:00:00.020) 0:00:59.864 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:55 Friday 05 January 2024 15:10:00 +0000 (0:00:00.021) 0:00:59.886 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_datadir has proper permissions and ownership] ********** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:60 Friday 05 January 2024 15:10:00 +0000 (0:00:00.053) 0:00:59.940 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:70 Friday 05 January 2024 15:10:00 +0000 (0:00:00.024) 0:00:59.964 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_logdir has proper permissions and ownership] *********** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:75 Friday 05 January 2024 15:10:00 +0000 (0:00:00.020) 0:00:59.985 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:85 Friday 05 January 2024 15:10:00 +0000 (0:00:00.026) 0:01:00.011 ******** TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Friday 05 January 2024 15:10:00 +0000 (0:00:00.042) 0:01:00.054 ******** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-01-05 15:09:59 UTC", "ActiveEnterTimestampMonotonic": "1869716121", "ActiveExitTimestamp": "Fri 2024-01-05 15:09:58 UTC", "ActiveExitTimestampMonotonic": "1868833357", "ActiveState": "active", "After": "network.target basic.target auditd.service system.slice systemd-journald.socket -.mount", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 15:09:59 UTC", "AssertTimestampMonotonic": "1869715173", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-01-05 15:09:59 UTC", "ConditionTimestampMonotonic": "1869715171", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "25161", "ExecMainStartTimestamp": "Fri 2024-01-05 15:09:59 UTC", "ExecMainStartTimestampMonotonic": "1869716033", "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", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-01-05 15:09:59 UTC", "InactiveEnterTimestampMonotonic": "1869713443", "InactiveExitTimestamp": "Fri 2024-01-05 15:09:59 UTC", "InactiveExitTimestampMonotonic": "1869716121", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "25161", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-01-05 15:09:59 UTC", "WatchdogTimestampMonotonic": "1869716096", "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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Friday 05 January 2024 15:10:01 +0000 (0:00:00.220) 0:01:00.274 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004989", "end": "2024-01-05 15:10:01.264225", "failed_when_result": false, "rc": 1, "start": "2024-01-05 15:10:01.259236" } 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Friday 05 January 2024 15:10:01 +0000 (0:00:00.186) 0:01:00.461 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003426", "end": "2024-01-05 15:10:01.450431", "failed_when_result": false, "rc": 1, "start": "2024-01-05 15:10:01.447005" } MSG: non-zero return code TASK [linux-system-roles.mssql : Set a fact with a login command] ************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Friday 05 January 2024 15:10:01 +0000 (0:00:00.199) 0:01:00.661 ******** 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.16so8j2u1z/tests/tasks/verify_settings.yml:93 Friday 05 January 2024 15:10:01 +0000 (0:00:00.033) 0:01:00.694 ******** ok: [sut] => { "changed": false, "elapsed": 1, "gid": 994, "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": 5883, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:99 Friday 05 January 2024 15:10:02 +0000 (0:00:01.241) 0:01:01.936 ******** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.038331", "end": "2024-01-05 15:10:02.929757", "rc": 0, "start": "2024-01-05 15:10:02.891426" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2017 (RTM-CU31-GDR) (KB5029376) - 14.0.3465.1 (X64) Jul 30 2023 15:31:58 Copyright (C) 2017 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:113 Friday 05 January 2024 15:10:02 +0000 (0:00:00.193) 0:01:02.129 ******** ok: [sut] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:117 Friday 05 January 2024 15:10:02 +0000 (0:00:00.022) 0:01:02.152 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:124 Friday 05 January 2024 15:10:03 +0000 (0:00:00.024) 0:01:02.176 ******** 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.16so8j2u1z/tests/tasks/verify_settings.yml:135 Friday 05 January 2024 15:10:03 +0000 (0:00:00.020) 0:01:02.197 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:140 Friday 05 January 2024 15:10:03 +0000 (0:00:00.020) 0:01:02.217 ******** 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.16so8j2u1z/tests/tasks/verify_settings.yml:145 Friday 05 January 2024 15:10:03 +0000 (0:00:00.025) 0:01:02.243 ******** 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.16so8j2u1z/tests/tasks/verify_settings.yml:151 Friday 05 January 2024 15:10:03 +0000 (0:00:00.020) 0:01:02.264 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:157 Friday 05 January 2024 15:10:03 +0000 (0:00:00.025) 0:01:02.290 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:167 Friday 05 January 2024 15:10:03 +0000 (0:00:00.021) 0:01:02.311 ******** included: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlscert] ************************************ task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml:7 Friday 05 January 2024 15:10:03 +0000 (0:00:00.036) 0:01:02.347 ******** ok: [sut] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004047", "end": "2024-01-05 15:10:03.293687", "rc": 0, "start": "2024-01-05 15:10:03.289640" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.5ljEpP TASK [Verify the setting when it is type str tlscert] ************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml:14 Friday 05 January 2024 15:10:03 +0000 (0:00:00.142) 0:01:02.489 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml:25 Friday 05 January 2024 15:10:03 +0000 (0:00:00.028) 0:01:02.517 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/certs/ansible.5ljEpP] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml:40 Friday 05 January 2024 15:10:03 +0000 (0:00:00.029) 0:01:02.547 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:178 Friday 05 January 2024 15:10:03 +0000 (0:00:00.020) 0:01:02.568 ******** included: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlskey] ************************************* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml:7 Friday 05 January 2024 15:10:03 +0000 (0:00:00.037) 0:01:02.605 ******** ok: [sut] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004062", "end": "2024-01-05 15:10:03.544342", "rc": 0, "start": "2024-01-05 15:10:03.540280" } STDOUT: tlskey = /etc/pki/tls/private/ansible.FPRYbO TASK [Verify the setting when it is type str tlskey] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml:14 Friday 05 January 2024 15:10:03 +0000 (0:00:00.162) 0:01:02.768 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml:25 Friday 05 January 2024 15:10:03 +0000 (0:00:00.028) 0:01:02.797 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/private/ansible.FPRYbO] *************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml:40 Friday 05 January 2024 15:10:03 +0000 (0:00:00.024) 0:01:02.822 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:190 Friday 05 January 2024 15:10:03 +0000 (0:00:00.019) 0:01:02.841 ******** included: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlsprotocols] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml:7 Friday 05 January 2024 15:10:03 +0000 (0:00:00.035) 0:01:02.877 ******** ok: [sut] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004217", "end": "2024-01-05 15:10:03.815679", "rc": 0, "start": "2024-01-05 15:10:03.811462" } STDOUT: tlsprotocols = 1.2 TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml:14 Friday 05 January 2024 15:10:03 +0000 (0:00:00.134) 0:01:03.012 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml:25 Friday 05 January 2024 15:10:03 +0000 (0:00:00.031) 0:01:03.043 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1.2] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml:40 Friday 05 January 2024 15:10:03 +0000 (0:00:00.026) 0:01:03.069 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:198 Friday 05 January 2024 15:10:03 +0000 (0:00:00.021) 0:01:03.091 ******** included: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting forceencryption] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml:7 Friday 05 January 2024 15:10:03 +0000 (0:00:00.041) 0:01:03.132 ******** ok: [sut] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004042", "end": "2024-01-05 15:10:04.071347", "rc": 0, "start": "2024-01-05 15:10:04.067305" } STDOUT: forceencryption = 1 TASK [Verify the setting when it is type str forceencryption] ****************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml:14 Friday 05 January 2024 15:10:04 +0000 (0:00:00.135) 0:01:03.268 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool forceencryption] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml:25 Friday 05 January 2024 15:10:04 +0000 (0:00:00.025) 0:01:03.293 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml:40 Friday 05 January 2024 15:10:04 +0000 (0:00:00.040) 0:01:03.334 ******** 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.16so8j2u1z/tests/tasks/verify_settings.yml:208 Friday 05 January 2024 15:10:04 +0000 (0:00:00.026) 0:01:03.360 ******** 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.16so8j2u1z/tests/tasks/verify_settings.yml:213 Friday 05 January 2024 15:10:04 +0000 (0:00:00.043) 0:01:03.404 ******** 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.16so8j2u1z/tests/tasks/verify_settings.yml:221 Friday 05 January 2024 15:10:04 +0000 (0:00:00.032) 0:01:03.436 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Disable TLS encryption] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/tests_tls.yml:85 Friday 05 January 2024 15:10:04 +0000 (0:00:00.054) 0:01:03.490 ******** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Friday 05 January 2024 15:10:04 +0000 (0:00:00.121) 0:01:03.612 ******** included: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Friday 05 January 2024 15:10:04 +0000 (0:00:00.058) 0:01:03.670 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:9 Friday 05 January 2024 15:10:04 +0000 (0:00:00.042) 0:01:03.713 ******** 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.16so8j2u1z/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_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019 ] }, "ansible_included_var_files": [ "/WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Friday 05 January 2024 15:10:04 +0000 (0:00:00.038) 0:01:03.752 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Friday 05 January 2024 15:10:04 +0000 (0:00:00.027) 0:01:03.779 ******** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Friday 05 January 2024 15:10:04 +0000 (0:00:00.027) 0:01:03.806 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Friday 05 January 2024 15:10:04 +0000 (0:00:00.019) 0:01:03.826 ******** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Friday 05 January 2024 15:10:04 +0000 (0:00:00.019) 0:01:03.846 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Friday 05 January 2024 15:10:04 +0000 (0:00:00.019) 0:01:03.865 ******** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:51 Friday 05 January 2024 15:10:04 +0000 (0:00:00.022) 0:01:03.888 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:58 Friday 05 January 2024 15:10:04 +0000 (0:00:00.021) 0:01:03.909 ******** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:65 Friday 05 January 2024 15:10:04 +0000 (0:00:00.020) 0:01:03.930 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:69 Friday 05 January 2024 15:10:04 +0000 (0:00:00.061) 0:01:03.991 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:81 Friday 05 January 2024 15:10:04 +0000 (0:00:00.037) 0:01:04.029 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:89 Friday 05 January 2024 15:10:04 +0000 (0:00:00.027) 0:01:04.056 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:98 Friday 05 January 2024 15:10:04 +0000 (0:00:00.029) 0:01:04.086 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:111 Friday 05 January 2024 15:10:04 +0000 (0:00:00.029) 0:01:04.115 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:122 Friday 05 January 2024 15:10:04 +0000 (0:00:00.032) 0:01:04.147 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:131 Friday 05 January 2024 15:10:05 +0000 (0:00:00.032) 0:01:04.179 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:135 Friday 05 January 2024 15:10:05 +0000 (0:00:00.933) 0:01:05.113 ******** ok: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_facts": { "__mssql_current_version": "2017" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 } } 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Friday 05 January 2024 15:10:06 +0000 (0:00:00.078) 0:01:05.191 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:151 Friday 05 January 2024 15:10:06 +0000 (0:00:00.035) 0:01:05.227 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:158 Friday 05 January 2024 15:10:06 +0000 (0:00:00.070) 0:01:05.297 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:173 Friday 05 January 2024 15:10:06 +0000 (0:00:00.055) 0:01:05.352 ******** ok: [sut] => { "attempts": 1, "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:186 Friday 05 January 2024 15:10:06 +0000 (0:00:00.395) 0:01:05.748 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:196 Friday 05 January 2024 15:10:06 +0000 (0:00:00.048) 0:01:05.797 ******** 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 2017] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:207 Friday 05 January 2024 15:10:06 +0000 (0:00:00.040) 0:01:05.837 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:215 Friday 05 January 2024 15:10:06 +0000 (0:00:00.027) 0:01:05.864 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:228 Friday 05 January 2024 15:10:06 +0000 (0:00:00.041) 0:01:05.906 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:236 Friday 05 January 2024 15:10:06 +0000 (0:00:00.057) 0:01:05.963 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:241 Friday 05 January 2024 15:10:06 +0000 (0:00:00.047) 0:01:06.011 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:250 Friday 05 January 2024 15:10:06 +0000 (0:00:00.021) 0:01:06.032 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:259 Friday 05 January 2024 15:10:06 +0000 (0:00:00.022) 0:01:06.055 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:264 Friday 05 January 2024 15:10:06 +0000 (0:00:00.032) 0:01:06.087 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3465.1-1.x86_64 providing mssql-server is already installed" ] } TASK [linux-system-roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:272 Friday 05 January 2024 15:10:07 +0000 (0:00:00.364) 0:01:06.452 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:280 Friday 05 January 2024 15:10:07 +0000 (0:00:00.038) 0:01:06.490 ******** 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.005065", "end": "2024-01-05 15:10:07.472499", "rc": 0, "start": "2024-01-05 15:10:07.467434" } STDOUT: /var/opt/mssql/log/errorlog TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:295 Friday 05 January 2024 15:10:07 +0000 (0:00:00.196) 0:01:06.687 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:299 Friday 05 January 2024 15:10:08 +0000 (0:00:00.695) 0:01:07.382 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:308 Friday 05 January 2024 15:10:08 +0000 (0:00:00.036) 0:01:07.418 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:324 Friday 05 January 2024 15:10:08 +0000 (0:00:00.058) 0:01:07.477 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:344 Friday 05 January 2024 15:10:08 +0000 (0:00:00.022) 0:01:07.499 ******** skipping: [sut] => (item={'path': None, 'mode': None, 'setting': 'defaultdatadir'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": null, "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'path': None, 'mode': None, 'setting': 'defaultlogdir'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": null, "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for {{ __mssql_storage_path }}] *********** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:359 Friday 05 January 2024 15:10:08 +0000 (0:00:00.042) 0:01:07.541 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:366 Friday 05 January 2024 15:10:08 +0000 (0:00:00.023) 0:01:07.565 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } TASK [linux-system-roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:371 Friday 05 January 2024 15:10:08 +0000 (0:00:00.330) 0:01:07.896 ******** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-01-05 14:39:05 UTC", "ActiveEnterTimestampMonotonic": "15127657", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target dbus.service basic.target system.slice systemd-journald.socket systemd-sysctl.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 14:39:03 UTC", "AssertTimestampMonotonic": "13660099", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-01-05 14:39:03 UTC", "ConditionTimestampMonotonic": "13660097", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "878", "ExecMainStartTimestamp": "Fri 2024-01-05 14:39:03 UTC", "ExecMainStartTimestampMonotonic": "13660700", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-01-05 14:39:03 UTC", "InactiveExitTimestampMonotonic": "13660738", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "29173", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "878", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "dbus.service system.slice basic.target polkit.service", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-01-05 14:39:05 UTC", "WatchdogTimestampMonotonic": "15127600", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:377 Friday 05 January 2024 15:10:08 +0000 (0:00:00.204) 0:01:08.101 ******** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.091079", "end": "2024-01-05 15:10:09.126174", "rc": 0, "start": "2024-01-05 15:10:09.035095" } 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:387 Friday 05 January 2024 15:10:09 +0000 (0:00:00.227) 0:01:08.329 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:400 Friday 05 January 2024 15:10:09 +0000 (0:00:00.030) 0:01:08.360 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:409 Friday 05 January 2024 15:10:09 +0000 (0:00:00.037) 0:01:08.398 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:419 Friday 05 January 2024 15:10:09 +0000 (0:00:00.050) 0:01:08.448 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:426 Friday 05 January 2024 15:10:09 +0000 (0:00:00.140) 0:01:08.588 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-tools-17.10.1.1-1.x86_64 providing mssql-tools is already installed", "unixODBC-devel-2.3.11-1.rh.x86_64 providing unixODBC-devel is already installed" ] } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:438 Friday 05 January 2024 15:10:09 +0000 (0:00:00.326) 0:01:08.915 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:442 Friday 05 January 2024 15:10:09 +0000 (0:00:00.023) 0:01:08.938 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:448 Friday 05 January 2024 15:10:09 +0000 (0:00:00.025) 0:01:08.964 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:463 Friday 05 January 2024 15:10:09 +0000 (0:00:00.062) 0:01:09.027 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:470 Friday 05 January 2024 15:10:09 +0000 (0:00:00.023) 0:01:09.050 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:478 Friday 05 January 2024 15:10:09 +0000 (0:00:00.028) 0:01:09.079 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:500 Friday 05 January 2024 15:10:09 +0000 (0:00:00.037) 0:01:09.116 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:511 Friday 05 January 2024 15:10:09 +0000 (0:00:00.024) 0:01:09.141 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:526 Friday 05 January 2024 15:10:09 +0000 (0:00:00.029) 0:01:09.170 ******** 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.004958", "end": "2024-01-05 15:10:10.110834", "rc": 0, "start": "2024-01-05 15:10:10.105876" } STDOUT: true TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:539 Friday 05 January 2024 15:10:10 +0000 (0:00:00.141) 0:01:09.312 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:546 Friday 05 January 2024 15:10:10 +0000 (0:00:00.023) 0:01:09.336 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:552 Friday 05 January 2024 15:10:11 +0000 (0:00:00.920) 0:01:10.256 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Configure the IP address setting] ************* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:572 Friday 05 January 2024 15:10:11 +0000 (0:00:00.023) 0:01:10.280 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:579 Friday 05 January 2024 15:10:11 +0000 (0:00:00.020) 0:01:10.301 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:586 Friday 05 January 2024 15:10:11 +0000 (0:00:00.021) 0:01:10.322 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:598 Friday 05 January 2024 15:10:11 +0000 (0:00:00.056) 0:01:10.378 ******** included: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Friday 05 January 2024 15:10:11 +0000 (0:00:00.060) 0:01:10.439 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003000", "end": "2024-01-05 15:10:11.377887", "failed_when_result": false, "rc": 1, "start": "2024-01-05 15:10:11.374887" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network tcpport] ******** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Friday 05 January 2024 15:10:11 +0000 (0:00:00.169) 0:01:10.608 ******** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.048115", "end": "2024-01-05 15:10:11.597331", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:10:11.549216" } 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Friday 05 January 2024 15:10:11 +0000 (0:00:00.216) 0:01:10.824 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:604 Friday 05 January 2024 15:10:11 +0000 (0:00:00.029) 0:01:10.853 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:624 Friday 05 January 2024 15:10:11 +0000 (0:00:00.026) 0:01:10.879 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:631 Friday 05 January 2024 15:10:11 +0000 (0:00:00.060) 0:01:10.940 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package powershell] **************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:638 Friday 05 January 2024 15:10:11 +0000 (0:00:00.037) 0:01:10.977 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the 3979 trace flag is enabled] ****** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:647 Friday 05 January 2024 15:10:11 +0000 (0:00:00.030) 0:01:11.007 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:653 Friday 05 January 2024 15:10:11 +0000 (0:00:00.022) 0:01:11.029 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:660 Friday 05 January 2024 15:10:11 +0000 (0:00:00.025) 0:01:11.055 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:668 Friday 05 January 2024 15:10:11 +0000 (0:00:00.021) 0:01:11.076 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:674 Friday 05 January 2024 15:10:11 +0000 (0:00:00.023) 0:01:11.099 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:692 Friday 05 January 2024 15:10:11 +0000 (0:00:00.021) 0:01:11.121 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:706 Friday 05 January 2024 15:10:11 +0000 (0:00:00.024) 0:01:11.146 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:711 Friday 05 January 2024 15:10:12 +0000 (0:00:00.044) 0:01:11.190 ******** skipping: [sut] => (item=/tmp/ansible.5ljEpP) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/ansible.5ljEpP", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ansible.FPRYbO) => { "ansible_loop_var": "item", "changed": false, "item": "ansible.FPRYbO", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlscert setting] **************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:729 Friday 05 January 2024 15:10:12 +0000 (0:00:00.028) 0:01:11.218 ******** included: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network tlscert] ************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Friday 05 January 2024 15:10:12 +0000 (0:00:00.096) 0:01:11.314 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002996", "end": "2024-01-05 15:10:12.252739", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:10:12.249743" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.5ljEpP TASK [linux-system-roles.mssql : Configure the setting network tlscert] ******** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Friday 05 January 2024 15:10:12 +0000 (0:00:00.160) 0:01:11.475 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting network tlscert] ************ task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Friday 05 January 2024 15:10:12 +0000 (0:00:00.030) 0:01:11.506 ******** NOTIFIED HANDLER linux-system-roles.mssql : Restart the mssql-server service for sut changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlscert" ], "delta": "0:00:00.046923", "end": "2024-01-05 15:10:12.501367", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:10:12.454444" } 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 tlskey setting] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:738 Friday 05 January 2024 15:10:12 +0000 (0:00:00.224) 0:01:11.731 ******** included: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network tlskey] *************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Friday 05 January 2024 15:10:12 +0000 (0:00:00.046) 0:01:11.777 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003135", "end": "2024-01-05 15:10:12.721564", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:10:12.718429" } STDOUT: tlskey = /etc/pki/tls/private/ansible.FPRYbO TASK [linux-system-roles.mssql : Configure the setting network tlskey] ********* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Friday 05 January 2024 15:10:12 +0000 (0:00:00.147) 0:01:11.925 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting network tlskey] ************* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Friday 05 January 2024 15:10:12 +0000 (0:00:00.027) 0:01:11.952 ******** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlskey" ], "delta": "0:00:00.047646", "end": "2024-01-05 15:10:12.943420", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:10:12.895774" } 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 tlsprotocols setting] *********** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:747 Friday 05 January 2024 15:10:13 +0000 (0:00:00.245) 0:01:12.199 ******** included: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network tlsprotocols] ********* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Friday 05 January 2024 15:10:13 +0000 (0:00:00.052) 0:01:12.251 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003005", "end": "2024-01-05 15:10:13.188248", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:10:13.185243" } STDOUT: tlsprotocols = 1.2 TASK [linux-system-roles.mssql : Configure the setting network tlsprotocols] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Friday 05 January 2024 15:10:13 +0000 (0:00:00.160) 0:01:12.412 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting network tlsprotocols] ******* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Friday 05 January 2024 15:10:13 +0000 (0:00:00.041) 0:01:12.453 ******** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlsprotocols" ], "delta": "0:00:00.047851", "end": "2024-01-05 15:10:13.507171", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:10:13.459320" } 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 forceencryption setting] ******** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:754 Friday 05 January 2024 15:10:13 +0000 (0:00:00.274) 0:01:12.727 ******** included: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network forceencryption] ****** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Friday 05 January 2024 15:10:13 +0000 (0:00:00.148) 0:01:12.875 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003001", "end": "2024-01-05 15:10:13.879669", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:10:13.876668" } STDOUT: forceencryption = 1 TASK [linux-system-roles.mssql : Configure the setting network forceencryption] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Friday 05 January 2024 15:10:13 +0000 (0:00:00.207) 0:01:13.083 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting network forceencryption] **** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Friday 05 January 2024 15:10:13 +0000 (0:00:00.026) 0:01:13.110 ******** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.forceencryption" ], "delta": "0:00:00.047354", "end": "2024-01-05 15:10:14.139655", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:10:14.092301" } 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 : Verify that ad_integration_realm variable is provided] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:763 Friday 05 January 2024 15:10:14 +0000 (0:00:00.256) 0:01:13.366 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:771 Friday 05 January 2024 15:10:14 +0000 (0:00:00.024) 0:01:13.391 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:779 Friday 05 January 2024 15:10:14 +0000 (0:00:00.072) 0:01:13.464 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:786 Friday 05 January 2024 15:10:14 +0000 (0:00:00.052) 0:01:13.516 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:793 Friday 05 January 2024 15:10:14 +0000 (0:00:00.039) 0:01:13.556 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:802 Friday 05 January 2024 15:10:14 +0000 (0:00:00.024) 0:01:13.581 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:815 Friday 05 January 2024 15:10:14 +0000 (0:00:00.044) 0:01:13.626 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:824 Friday 05 January 2024 15:10:14 +0000 (0:00:00.056) 0:01:13.682 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:836 Friday 05 January 2024 15:10:14 +0000 (0:00:00.034) 0:01:13.717 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:841 Friday 05 January 2024 15:10:14 +0000 (0:00:00.050) 0:01:13.768 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:858 Friday 05 January 2024 15:10:14 +0000 (0:00:00.026) 0:01:13.795 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:863 Friday 05 January 2024 15:10:14 +0000 (0:00:00.028) 0:01:13.823 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:868 Friday 05 January 2024 15:10:14 +0000 (0:00:00.044) 0:01:13.867 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:874 Friday 05 January 2024 15:10:14 +0000 (0:00:00.025) 0:01:13.893 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:900 Friday 05 January 2024 15:10:14 +0000 (0:00:00.029) 0:01:13.922 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:921 Friday 05 January 2024 15:10:14 +0000 (0:00:00.074) 0:01:13.997 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:929 Friday 05 January 2024 15:10:14 +0000 (0:00:00.021) 0:01:14.019 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:939 Friday 05 January 2024 15:10:14 +0000 (0:00:00.024) 0:01:14.044 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:945 Friday 05 January 2024 15:10:14 +0000 (0:00:00.037) 0:01:14.081 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:962 Friday 05 January 2024 15:10:14 +0000 (0:00:00.030) 0:01:14.112 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:977 Friday 05 January 2024 15:10:14 +0000 (0:00:00.030) 0:01:14.142 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:997 Friday 05 January 2024 15:10:15 +0000 (0:00:00.050) 0:01:14.192 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1051 Friday 05 January 2024 15:10:15 +0000 (0:00:00.042) 0:01:14.235 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1058 Friday 05 January 2024 15:10:15 +0000 (0:00:00.034) 0:01:14.270 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1065 Friday 05 January 2024 15:10:15 +0000 (0:00:00.042) 0:01:14.312 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1076 Friday 05 January 2024 15:10:15 +0000 (0:00:00.032) 0:01:14.344 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1082 Friday 05 January 2024 15:10:15 +0000 (0:00:00.030) 0:01:14.375 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1090 Friday 05 January 2024 15:10:15 +0000 (0:00:00.032) 0:01:14.408 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1099 Friday 05 January 2024 15:10:15 +0000 (0:00:00.029) 0:01:14.437 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1107 Friday 05 January 2024 15:10:15 +0000 (0:00:00.023) 0:01:14.461 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1122 Friday 05 January 2024 15:10:15 +0000 (0:00:00.045) 0:01:14.506 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1129 Friday 05 January 2024 15:10:15 +0000 (0:00:00.023) 0:01:14.530 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1154 Friday 05 January 2024 15:10:15 +0000 (0:00:00.029) 0:01:14.559 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1163 Friday 05 January 2024 15:10:15 +0000 (0:00:00.022) 0:01:14.581 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1173 Friday 05 January 2024 15:10:15 +0000 (0:00:00.092) 0:01:14.674 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1184 Friday 05 January 2024 15:10:15 +0000 (0:00:00.026) 0:01:14.700 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1197 Friday 05 January 2024 15:10:15 +0000 (0:00:00.042) 0:01:14.743 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1210 Friday 05 January 2024 15:10:15 +0000 (0:00:00.024) 0:01:14.767 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1217 Friday 05 January 2024 15:10:15 +0000 (0:00:00.024) 0:01:14.792 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1224 Friday 05 January 2024 15:10:15 +0000 (0:00:00.037) 0:01:14.829 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1233 Friday 05 January 2024 15:10:15 +0000 (0:00:00.037) 0:01:14.867 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1240 Friday 05 January 2024 15:10:15 +0000 (0:00:00.038) 0:01:14.905 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1252 Friday 05 January 2024 15:10:15 +0000 (0:00:00.040) 0:01:14.946 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1261 Friday 05 January 2024 15:10:15 +0000 (0:00:00.067) 0:01:15.013 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1268 Friday 05 January 2024 15:10:15 +0000 (0:00:00.082) 0:01:15.095 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1274 Friday 05 January 2024 15:10:15 +0000 (0:00:00.050) 0:01:15.145 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1282 Friday 05 January 2024 15:10:16 +0000 (0:00:00.044) 0:01:15.190 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1295 Friday 05 January 2024 15:10:16 +0000 (0:00:00.069) 0:01:15.260 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1307 Friday 05 January 2024 15:10:16 +0000 (0:00:00.021) 0:01:15.281 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1313 Friday 05 January 2024 15:10:16 +0000 (0:00:00.024) 0:01:15.306 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1322 Friday 05 January 2024 15:10:16 +0000 (0:00:00.032) 0:01:15.338 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 Friday 05 January 2024 15:10:16 +0000 (0:00:00.290) 0:01:15.629 ******** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-01-05 15:09:59 UTC", "ActiveEnterTimestampMonotonic": "1869716121", "ActiveExitTimestamp": "Fri 2024-01-05 15:09:58 UTC", "ActiveExitTimestampMonotonic": "1868833357", "ActiveState": "active", "After": "network.target basic.target auditd.service system.slice systemd-journald.socket -.mount", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 15:09:59 UTC", "AssertTimestampMonotonic": "1869715173", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-01-05 15:09:59 UTC", "ConditionTimestampMonotonic": "1869715171", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "25161", "ExecMainStartTimestamp": "Fri 2024-01-05 15:09:59 UTC", "ExecMainStartTimestampMonotonic": "1869716033", "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", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-01-05 15:09:59 UTC", "InactiveEnterTimestampMonotonic": "1869713443", "InactiveExitTimestamp": "Fri 2024-01-05 15:09:59 UTC", "InactiveExitTimestampMonotonic": "1869716121", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "25161", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-01-05 15:09:59 UTC", "WatchdogTimestampMonotonic": "1869716096", "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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1335 Friday 05 January 2024 15:10:16 +0000 (0:00:00.500) 0:01:16.129 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1346 Friday 05 January 2024 15:10:16 +0000 (0:00:00.020) 0:01:16.150 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify connectivity and settings] **************************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/tests_tls.yml:92 Friday 05 January 2024 15:10:17 +0000 (0:00:00.021) 0:01:16.172 ******** included: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/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.16so8j2u1z/tests/tasks/verify_settings.yml:8 Friday 05 January 2024 15:10:17 +0000 (0:00:00.078) 0:01:16.251 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if the set edition matches the existing edition] ******************* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:23 Friday 05 January 2024 15:10:17 +0000 (0:00:00.022) 0:01:16.273 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:35 Friday 05 January 2024 15:10:17 +0000 (0:00:00.023) 0:01:16.297 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:39 Friday 05 January 2024 15:10:17 +0000 (0:00:00.024) 0:01:16.321 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:55 Friday 05 January 2024 15:10:17 +0000 (0:00:00.022) 0:01:16.344 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_datadir has proper permissions and ownership] ********** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:60 Friday 05 January 2024 15:10:17 +0000 (0:00:00.021) 0:01:16.365 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:70 Friday 05 January 2024 15:10:17 +0000 (0:00:00.020) 0:01:16.386 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_logdir has proper permissions and ownership] *********** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:75 Friday 05 January 2024 15:10:17 +0000 (0:00:00.018) 0:01:16.405 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:85 Friday 05 January 2024 15:10:17 +0000 (0:00:00.019) 0:01:16.424 ******** TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Friday 05 January 2024 15:10:17 +0000 (0:00:00.033) 0:01:16.457 ******** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-01-05 15:10:16 UTC", "ActiveEnterTimestampMonotonic": "1887002849", "ActiveExitTimestamp": "Fri 2024-01-05 15:10:16 UTC", "ActiveExitTimestampMonotonic": "1886757253", "ActiveState": "active", "After": "network.target basic.target auditd.service system.slice systemd-journald.socket -.mount", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 15:10:16 UTC", "AssertTimestampMonotonic": "1887001963", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-01-05 15:10:16 UTC", "ConditionTimestampMonotonic": "1887001961", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "25878", "ExecMainStartTimestamp": "Fri 2024-01-05 15:10:16 UTC", "ExecMainStartTimestampMonotonic": "1887002761", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2024-01-05 15:10:16 UTC] ; stop_time=[n/a] ; pid=25878 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-01-05 15:10:16 UTC", "InactiveEnterTimestampMonotonic": "1887000747", "InactiveExitTimestamp": "Fri 2024-01-05 15:10:16 UTC", "InactiveExitTimestampMonotonic": "1887002849", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "25878", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-01-05 15:10:16 UTC", "WatchdogTimestampMonotonic": "1887002817", "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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Friday 05 January 2024 15:10:17 +0000 (0:00:00.252) 0:01:16.710 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003355", "end": "2024-01-05 15:10:17.656919", "failed_when_result": false, "rc": 1, "start": "2024-01-05 15:10:17.653564" } 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Friday 05 January 2024 15:10:17 +0000 (0:00:00.143) 0:01:16.854 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003420", "end": "2024-01-05 15:10:17.844687", "failed_when_result": false, "rc": 1, "start": "2024-01-05 15:10:17.841267" } MSG: non-zero return code TASK [linux-system-roles.mssql : Set a fact with a login command] ************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Friday 05 January 2024 15:10:17 +0000 (0:00:00.202) 0:01:17.056 ******** 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.16so8j2u1z/tests/tasks/verify_settings.yml:93 Friday 05 January 2024 15:10:17 +0000 (0:00:00.057) 0:01:17.113 ******** ok: [sut] => { "changed": false, "elapsed": 2, "gid": 994, "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": 5793, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:99 Friday 05 January 2024 15:10:20 +0000 (0:00:02.165) 0:01:19.279 ******** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.032780", "end": "2024-01-05 15:10:20.255207", "rc": 0, "start": "2024-01-05 15:10:20.222427" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2017 (RTM-CU31-GDR) (KB5029376) - 14.0.3465.1 (X64) Jul 30 2023 15:31:58 Copyright (C) 2017 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:113 Friday 05 January 2024 15:10:20 +0000 (0:00:00.184) 0:01:19.463 ******** ok: [sut] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:117 Friday 05 January 2024 15:10:20 +0000 (0:00:00.027) 0:01:19.491 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:124 Friday 05 January 2024 15:10:20 +0000 (0:00:00.025) 0:01:19.516 ******** 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.16so8j2u1z/tests/tasks/verify_settings.yml:135 Friday 05 January 2024 15:10:20 +0000 (0:00:00.021) 0:01:19.537 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:140 Friday 05 January 2024 15:10:20 +0000 (0:00:00.021) 0:01:19.559 ******** 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.16so8j2u1z/tests/tasks/verify_settings.yml:145 Friday 05 January 2024 15:10:20 +0000 (0:00:00.023) 0:01:19.582 ******** 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.16so8j2u1z/tests/tasks/verify_settings.yml:151 Friday 05 January 2024 15:10:20 +0000 (0:00:00.062) 0:01:19.644 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:157 Friday 05 January 2024 15:10:20 +0000 (0:00:00.026) 0:01:19.670 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:167 Friday 05 January 2024 15:10:20 +0000 (0:00:00.023) 0:01:19.694 ******** included: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlscert] ************************************ task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml:7 Friday 05 January 2024 15:10:20 +0000 (0:00:00.042) 0:01:19.736 ******** ok: [sut] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.003848", "end": "2024-01-05 15:10:20.675950", "rc": 0, "start": "2024-01-05 15:10:20.672102" } TASK [Verify the setting when it is type str tlscert] ************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml:14 Friday 05 January 2024 15:10:20 +0000 (0:00:00.163) 0:01:19.899 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml:25 Friday 05 January 2024 15:10:20 +0000 (0:00:00.053) 0:01:19.953 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml:40 Friday 05 January 2024 15:10:20 +0000 (0:00:00.029) 0:01:19.982 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:178 Friday 05 January 2024 15:10:20 +0000 (0:00:00.022) 0:01:20.005 ******** included: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlskey] ************************************* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml:7 Friday 05 January 2024 15:10:20 +0000 (0:00:00.036) 0:01:20.042 ******** ok: [sut] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004264", "end": "2024-01-05 15:10:20.989186", "rc": 0, "start": "2024-01-05 15:10:20.984922" } TASK [Verify the setting when it is type str tlskey] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml:14 Friday 05 January 2024 15:10:21 +0000 (0:00:00.154) 0:01:20.196 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml:25 Friday 05 January 2024 15:10:21 +0000 (0:00:00.038) 0:01:20.234 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml:40 Friday 05 January 2024 15:10:21 +0000 (0:00:00.043) 0:01:20.278 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:190 Friday 05 January 2024 15:10:21 +0000 (0:00:00.052) 0:01:20.331 ******** included: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlsprotocols] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml:7 Friday 05 January 2024 15:10:21 +0000 (0:00:00.078) 0:01:20.409 ******** ok: [sut] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004202", "end": "2024-01-05 15:10:21.389724", "rc": 0, "start": "2024-01-05 15:10:21.385522" } TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml:14 Friday 05 January 2024 15:10:21 +0000 (0:00:00.275) 0:01:20.684 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml:25 Friday 05 January 2024 15:10:21 +0000 (0:00:00.033) 0:01:20.717 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml:40 Friday 05 January 2024 15:10:21 +0000 (0:00:00.028) 0:01:20.746 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:198 Friday 05 January 2024 15:10:21 +0000 (0:00:00.021) 0:01:20.768 ******** included: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting forceencryption] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml:7 Friday 05 January 2024 15:10:21 +0000 (0:00:00.037) 0:01:20.805 ******** ok: [sut] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004047", "end": "2024-01-05 15:10:21.742595", "rc": 0, "start": "2024-01-05 15:10:21.738548" } TASK [Verify the setting when it is type str forceencryption] ****************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml:14 Friday 05 January 2024 15:10:21 +0000 (0:00:00.135) 0:01:20.941 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool forceencryption] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml:25 Friday 05 January 2024 15:10:21 +0000 (0:00:00.029) 0:01:20.970 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml:40 Friday 05 January 2024 15:10:21 +0000 (0:00:00.031) 0:01:21.001 ******** 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.16so8j2u1z/tests/tasks/verify_settings.yml:208 Friday 05 January 2024 15:10:21 +0000 (0:00:00.024) 0:01:21.026 ******** 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.16so8j2u1z/tests/tasks/verify_settings.yml:213 Friday 05 January 2024 15:10:21 +0000 (0:00:00.024) 0:01:21.050 ******** 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.16so8j2u1z/tests/tasks/verify_settings.yml:221 Friday 05 January 2024 15:10:21 +0000 (0:00:00.033) 0:01:21.083 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove certificates from hosts] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/tests_tls.yml:99 Friday 05 January 2024 15:10:21 +0000 (0:00:00.024) 0:01:21.107 ******** changed: [sut] => (item=/etc/pki/tls/certs/ansible.5ljEpP) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/pki/tls/certs/ansible.5ljEpP", "path": "/etc/pki/tls/certs/ansible.5ljEpP", "state": "absent" } changed: [sut] => (item=/etc/pki/tls/private/ansible.FPRYbO) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/pki/tls/private/ansible.FPRYbO", "path": "/etc/pki/tls/private/ansible.FPRYbO", "state": "absent" } TASK [Copy certificates to hosts] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/tests_tls.yml:107 Friday 05 January 2024 15:10:22 +0000 (0:00:00.259) 0:01:21.367 ******** ok: [sut] => (item=/tmp/ansible.5ljEpP) => { "ansible_loop_var": "item", "changed": false, "checksum": "6b8253633a06b61ac50a3ffbf7033b3c34fac9fe", "dest": "/tmp/ansible.5ljEpP", "gid": 0, "group": "root", "item": "/tmp/ansible.5ljEpP", "mode": "0600", "owner": "root", "path": "/tmp/ansible.5ljEpP", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 1099, "state": "file", "uid": 0 } ok: [sut] => (item=/tmp/ansible.FPRYbO) => { "ansible_loop_var": "item", "changed": false, "checksum": "a710eedf0aeadb16cdbab372ba9bb1dacd30d84d", "dest": "/tmp/ansible.FPRYbO", "gid": 0, "group": "root", "item": "/tmp/ansible.FPRYbO", "mode": "0600", "owner": "root", "path": "/tmp/ansible.FPRYbO", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 1704, "state": "file", "uid": 0 } TASK [Set mssql_tls_cert and mssql_tls_private_key for the following test] ***** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/tests_tls.yml:116 Friday 05 January 2024 15:10:22 +0000 (0:00:00.646) 0:01:22.014 ******** ok: [sut] => { "ansible_facts": { "mssql_tls_cert": "/tmp/ansible.5ljEpP", "mssql_tls_private_key": "ansible.FPRYbO" }, "changed": false } TASK [Test with certs on managed nodes] **************************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/tests_tls.yml:121 Friday 05 January 2024 15:10:22 +0000 (0:00:00.055) 0:01:22.069 ******** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Friday 05 January 2024 15:10:23 +0000 (0:00:00.193) 0:01:22.262 ******** included: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Friday 05 January 2024 15:10:23 +0000 (0:00:00.033) 0:01:22.295 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:9 Friday 05 January 2024 15:10:23 +0000 (0:00:00.025) 0:01:22.321 ******** 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.16so8j2u1z/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_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019 ] }, "ansible_included_var_files": [ "/WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Friday 05 January 2024 15:10:23 +0000 (0:00:00.036) 0:01:22.357 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Friday 05 January 2024 15:10:23 +0000 (0:00:00.026) 0:01:22.384 ******** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Friday 05 January 2024 15:10:23 +0000 (0:00:00.030) 0:01:22.414 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Friday 05 January 2024 15:10:23 +0000 (0:00:00.021) 0:01:22.435 ******** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Friday 05 January 2024 15:10:23 +0000 (0:00:00.034) 0:01:22.469 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Friday 05 January 2024 15:10:23 +0000 (0:00:00.091) 0:01:22.561 ******** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:51 Friday 05 January 2024 15:10:23 +0000 (0:00:00.023) 0:01:22.585 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:58 Friday 05 January 2024 15:10:23 +0000 (0:00:00.022) 0:01:22.607 ******** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:65 Friday 05 January 2024 15:10:23 +0000 (0:00:00.032) 0:01:22.640 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:69 Friday 05 January 2024 15:10:23 +0000 (0:00:00.028) 0:01:22.668 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:81 Friday 05 January 2024 15:10:23 +0000 (0:00:00.028) 0:01:22.697 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:89 Friday 05 January 2024 15:10:23 +0000 (0:00:00.022) 0:01:22.720 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:98 Friday 05 January 2024 15:10:23 +0000 (0:00:00.024) 0:01:22.744 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:111 Friday 05 January 2024 15:10:23 +0000 (0:00:00.021) 0:01:22.766 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:122 Friday 05 January 2024 15:10:23 +0000 (0:00:00.022) 0:01:22.789 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:131 Friday 05 January 2024 15:10:23 +0000 (0:00:00.021) 0:01:22.810 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:135 Friday 05 January 2024 15:10:24 +0000 (0:00:00.926) 0:01:23.737 ******** ok: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_facts": { "__mssql_current_version": "2017" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 } } 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Friday 05 January 2024 15:10:24 +0000 (0:00:00.066) 0:01:23.804 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:151 Friday 05 January 2024 15:10:24 +0000 (0:00:00.072) 0:01:23.876 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:158 Friday 05 January 2024 15:10:24 +0000 (0:00:00.023) 0:01:23.900 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:173 Friday 05 January 2024 15:10:24 +0000 (0:00:00.038) 0:01:23.938 ******** ok: [sut] => { "attempts": 1, "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:186 Friday 05 January 2024 15:10:25 +0000 (0:00:00.314) 0:01:24.252 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:196 Friday 05 January 2024 15:10:25 +0000 (0:00:00.023) 0:01:24.275 ******** 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 2017] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:207 Friday 05 January 2024 15:10:25 +0000 (0:00:00.022) 0:01:24.298 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:215 Friday 05 January 2024 15:10:25 +0000 (0:00:00.022) 0:01:24.321 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:228 Friday 05 January 2024 15:10:25 +0000 (0:00:00.031) 0:01:24.353 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:236 Friday 05 January 2024 15:10:25 +0000 (0:00:00.021) 0:01:24.374 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:241 Friday 05 January 2024 15:10:25 +0000 (0:00:00.021) 0:01:24.395 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:250 Friday 05 January 2024 15:10:25 +0000 (0:00:00.019) 0:01:24.415 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:259 Friday 05 January 2024 15:10:25 +0000 (0:00:00.034) 0:01:24.449 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:264 Friday 05 January 2024 15:10:25 +0000 (0:00:00.022) 0:01:24.472 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3465.1-1.x86_64 providing mssql-server is already installed" ] } TASK [linux-system-roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:272 Friday 05 January 2024 15:10:25 +0000 (0:00:00.346) 0:01:24.819 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:280 Friday 05 January 2024 15:10:25 +0000 (0:00:00.020) 0:01:24.839 ******** 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.005031", "end": "2024-01-05 15:10:25.783058", "rc": 0, "start": "2024-01-05 15:10:25.778027" } STDOUT: /var/opt/mssql/log/errorlog TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:295 Friday 05 January 2024 15:10:25 +0000 (0:00:00.139) 0:01:24.979 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:299 Friday 05 January 2024 15:10:26 +0000 (0:00:00.761) 0:01:25.741 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:308 Friday 05 January 2024 15:10:26 +0000 (0:00:00.039) 0:01:25.780 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:324 Friday 05 January 2024 15:10:26 +0000 (0:00:00.030) 0:01:25.810 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:344 Friday 05 January 2024 15:10:26 +0000 (0:00:00.022) 0:01:25.833 ******** skipping: [sut] => (item={'path': None, 'mode': None, 'setting': 'defaultdatadir'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": null, "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'path': None, 'mode': None, 'setting': 'defaultlogdir'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": null, "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for {{ __mssql_storage_path }}] *********** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:359 Friday 05 January 2024 15:10:26 +0000 (0:00:00.031) 0:01:25.864 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:366 Friday 05 January 2024 15:10:26 +0000 (0:00:00.023) 0:01:25.887 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } TASK [linux-system-roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:371 Friday 05 January 2024 15:10:27 +0000 (0:00:00.358) 0:01:26.246 ******** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-01-05 14:39:05 UTC", "ActiveEnterTimestampMonotonic": "15127657", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target dbus.service basic.target system.slice systemd-journald.socket systemd-sysctl.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 14:39:03 UTC", "AssertTimestampMonotonic": "13660099", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-01-05 14:39:03 UTC", "ConditionTimestampMonotonic": "13660097", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "878", "ExecMainStartTimestamp": "Fri 2024-01-05 14:39:03 UTC", "ExecMainStartTimestampMonotonic": "13660700", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-01-05 14:39:03 UTC", "InactiveExitTimestampMonotonic": "13660738", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "29173", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "878", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "dbus.service system.slice basic.target polkit.service", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-01-05 14:39:05 UTC", "WatchdogTimestampMonotonic": "15127600", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:377 Friday 05 January 2024 15:10:27 +0000 (0:00:00.262) 0:01:26.509 ******** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.090870", "end": "2024-01-05 15:10:27.538874", "rc": 0, "start": "2024-01-05 15:10:27.448004" } 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:387 Friday 05 January 2024 15:10:27 +0000 (0:00:00.236) 0:01:26.745 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:400 Friday 05 January 2024 15:10:27 +0000 (0:00:00.022) 0:01:26.768 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:409 Friday 05 January 2024 15:10:27 +0000 (0:00:00.024) 0:01:26.792 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:419 Friday 05 January 2024 15:10:27 +0000 (0:00:00.022) 0:01:26.815 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:426 Friday 05 January 2024 15:10:27 +0000 (0:00:00.147) 0:01:26.963 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-tools-17.10.1.1-1.x86_64 providing mssql-tools is already installed", "unixODBC-devel-2.3.11-1.rh.x86_64 providing unixODBC-devel is already installed" ] } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:438 Friday 05 January 2024 15:10:28 +0000 (0:00:00.582) 0:01:27.545 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:442 Friday 05 January 2024 15:10:28 +0000 (0:00:00.033) 0:01:27.579 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:448 Friday 05 January 2024 15:10:28 +0000 (0:00:00.041) 0:01:27.621 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:463 Friday 05 January 2024 15:10:28 +0000 (0:00:00.026) 0:01:27.647 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:470 Friday 05 January 2024 15:10:28 +0000 (0:00:00.092) 0:01:27.740 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:478 Friday 05 January 2024 15:10:28 +0000 (0:00:00.035) 0:01:27.775 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:500 Friday 05 January 2024 15:10:28 +0000 (0:00:00.038) 0:01:27.814 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:511 Friday 05 January 2024 15:10:28 +0000 (0:00:00.051) 0:01:27.866 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:526 Friday 05 January 2024 15:10:28 +0000 (0:00:00.026) 0:01:27.893 ******** 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.004951", "end": "2024-01-05 15:10:28.840960", "rc": 0, "start": "2024-01-05 15:10:28.836009" } STDOUT: true TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:539 Friday 05 January 2024 15:10:28 +0000 (0:00:00.157) 0:01:28.050 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:546 Friday 05 January 2024 15:10:28 +0000 (0:00:00.027) 0:01:28.078 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:552 Friday 05 January 2024 15:10:29 +0000 (0:00:00.992) 0:01:29.070 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:572 Friday 05 January 2024 15:10:29 +0000 (0:00:00.057) 0:01:29.128 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:579 Friday 05 January 2024 15:10:29 +0000 (0:00:00.040) 0:01:29.168 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:586 Friday 05 January 2024 15:10:30 +0000 (0:00:00.119) 0:01:29.287 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:598 Friday 05 January 2024 15:10:30 +0000 (0:00:00.023) 0:01:29.311 ******** included: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Friday 05 January 2024 15:10:30 +0000 (0:00:00.059) 0:01:29.371 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002965", "end": "2024-01-05 15:10:30.321119", "failed_when_result": false, "rc": 1, "start": "2024-01-05 15:10:30.318154" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network tcpport] ******** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Friday 05 January 2024 15:10:30 +0000 (0:00:00.173) 0:01:29.544 ******** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.048404", "end": "2024-01-05 15:10:30.576783", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:10:30.528379" } 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Friday 05 January 2024 15:10:30 +0000 (0:00:00.255) 0:01:29.799 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:604 Friday 05 January 2024 15:10:30 +0000 (0:00:00.068) 0:01:29.868 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:624 Friday 05 January 2024 15:10:30 +0000 (0:00:00.067) 0:01:29.935 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:631 Friday 05 January 2024 15:10:30 +0000 (0:00:00.043) 0:01:29.979 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package powershell] **************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:638 Friday 05 January 2024 15:10:30 +0000 (0:00:00.030) 0:01:30.010 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the 3979 trace flag is enabled] ****** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:647 Friday 05 January 2024 15:10:30 +0000 (0:00:00.023) 0:01:30.034 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:653 Friday 05 January 2024 15:10:30 +0000 (0:00:00.032) 0:01:30.066 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:660 Friday 05 January 2024 15:10:30 +0000 (0:00:00.033) 0:01:30.100 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:668 Friday 05 January 2024 15:10:30 +0000 (0:00:00.035) 0:01:30.136 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:674 Friday 05 January 2024 15:10:30 +0000 (0:00:00.024) 0:01:30.160 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:692 Friday 05 January 2024 15:10:31 +0000 (0:00:00.031) 0:01:30.192 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:706 Friday 05 January 2024 15:10:31 +0000 (0:00:00.031) 0:01:30.224 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:711 Friday 05 January 2024 15:10:31 +0000 (0:00:00.036) 0:01:30.260 ******** changed: [sut] => (item=/tmp/ansible.5ljEpP) => { "ansible_loop_var": "item", "changed": true, "checksum": "6b8253633a06b61ac50a3ffbf7033b3c34fac9fe", "dest": "/etc/pki/tls/certs/ansible.5ljEpP", "gid": 994, "group": "mssql", "item": "/tmp/ansible.5ljEpP", "md5sum": "32e7d27c818639e6c7cbb35a6fff09d7", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1099, "src": "/tmp/ansible.5ljEpP", "state": "file", "uid": 996 } changed: [sut] => (item=/tmp/ansible.FPRYbO) => { "ansible_loop_var": "item", "changed": true, "checksum": "a710eedf0aeadb16cdbab372ba9bb1dacd30d84d", "dest": "/etc/pki/tls/private/ansible.FPRYbO", "gid": 994, "group": "mssql", "item": "/tmp/ansible.FPRYbO", "md5sum": "00dae80086ebc0f10b24c03b40647550", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1704, "src": "/tmp/ansible.FPRYbO", "state": "file", "uid": 996 } TASK [linux-system-roles.mssql : Configure the tlscert setting] **************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:729 Friday 05 January 2024 15:10:31 +0000 (0:00:00.419) 0:01:30.679 ******** included: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network tlscert] ************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Friday 05 January 2024 15:10:31 +0000 (0:00:00.038) 0:01:30.717 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002868", "end": "2024-01-05 15:10:31.657056", "failed_when_result": false, "rc": 1, "start": "2024-01-05 15:10:31.654188" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network tlscert] ******** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Friday 05 January 2024 15:10:31 +0000 (0:00:00.145) 0:01:30.862 ******** NOTIFIED HANDLER linux-system-roles.mssql : Restart the mssql-server service for sut changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlscert", "/etc/pki/tls/certs/ansible.5ljEpP" ], "delta": "0:00:00.047445", "end": "2024-01-05 15:10:31.858043", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:10:31.810598" } 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 tlscert] ************ task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Friday 05 January 2024 15:10:31 +0000 (0:00:00.200) 0:01:31.063 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:738 Friday 05 January 2024 15:10:31 +0000 (0:00:00.046) 0:01:31.109 ******** included: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network tlskey] *************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Friday 05 January 2024 15:10:31 +0000 (0:00:00.060) 0:01:31.170 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002742", "end": "2024-01-05 15:10:32.131839", "failed_when_result": false, "rc": 1, "start": "2024-01-05 15:10:32.129097" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network tlskey] ********* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Friday 05 January 2024 15:10:32 +0000 (0:00:00.159) 0:01:31.329 ******** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlskey", "/etc/pki/tls/private/ansible.FPRYbO" ], "delta": "0:00:00.047292", "end": "2024-01-05 15:10:32.364701", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:10:32.317409" } 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 tlskey] ************* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Friday 05 January 2024 15:10:32 +0000 (0:00:00.259) 0:01:31.588 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:747 Friday 05 January 2024 15:10:32 +0000 (0:00:00.034) 0:01:31.623 ******** included: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network tlsprotocols] ********* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Friday 05 January 2024 15:10:32 +0000 (0:00:00.046) 0:01:31.669 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002849", "end": "2024-01-05 15:10:32.625280", "failed_when_result": false, "rc": 1, "start": "2024-01-05 15:10:32.622431" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network tlsprotocols] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Friday 05 January 2024 15:10:32 +0000 (0:00:00.192) 0:01:31.861 ******** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlsprotocols", "1.2" ], "delta": "0:00:00.048122", "end": "2024-01-05 15:10:32.887014", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:10:32.838892" } 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 tlsprotocols] ******* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Friday 05 January 2024 15:10:32 +0000 (0:00:00.244) 0:01:32.106 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:754 Friday 05 January 2024 15:10:33 +0000 (0:00:00.096) 0:01:32.202 ******** included: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network forceencryption] ****** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Friday 05 January 2024 15:10:33 +0000 (0:00:00.074) 0:01:32.277 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002954", "end": "2024-01-05 15:10:33.219603", "failed_when_result": false, "rc": 1, "start": "2024-01-05 15:10:33.216649" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network forceencryption] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Friday 05 January 2024 15:10:33 +0000 (0:00:00.154) 0:01:32.432 ******** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.forceencryption", "1" ], "delta": "0:00:00.047808", "end": "2024-01-05 15:10:33.430692", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:10:33.382884" } 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 forceencryption] **** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Friday 05 January 2024 15:10:33 +0000 (0:00:00.212) 0:01:32.644 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:763 Friday 05 January 2024 15:10:33 +0000 (0:00:00.040) 0:01:32.685 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:771 Friday 05 January 2024 15:10:33 +0000 (0:00:00.033) 0:01:32.718 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:779 Friday 05 January 2024 15:10:33 +0000 (0:00:00.038) 0:01:32.757 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:786 Friday 05 January 2024 15:10:33 +0000 (0:00:00.032) 0:01:32.789 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:793 Friday 05 January 2024 15:10:33 +0000 (0:00:00.047) 0:01:32.836 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:802 Friday 05 January 2024 15:10:33 +0000 (0:00:00.047) 0:01:32.884 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:815 Friday 05 January 2024 15:10:33 +0000 (0:00:00.037) 0:01:32.921 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:824 Friday 05 January 2024 15:10:33 +0000 (0:00:00.027) 0:01:32.949 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:836 Friday 05 January 2024 15:10:33 +0000 (0:00:00.044) 0:01:32.994 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:841 Friday 05 January 2024 15:10:33 +0000 (0:00:00.042) 0:01:33.037 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:858 Friday 05 January 2024 15:10:33 +0000 (0:00:00.057) 0:01:33.094 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:863 Friday 05 January 2024 15:10:33 +0000 (0:00:00.064) 0:01:33.159 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:868 Friday 05 January 2024 15:10:34 +0000 (0:00:00.045) 0:01:33.204 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:874 Friday 05 January 2024 15:10:34 +0000 (0:00:00.107) 0:01:33.312 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:900 Friday 05 January 2024 15:10:34 +0000 (0:00:00.040) 0:01:33.352 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:921 Friday 05 January 2024 15:10:34 +0000 (0:00:00.042) 0:01:33.395 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:929 Friday 05 January 2024 15:10:34 +0000 (0:00:00.045) 0:01:33.440 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:939 Friday 05 January 2024 15:10:34 +0000 (0:00:00.060) 0:01:33.500 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:945 Friday 05 January 2024 15:10:34 +0000 (0:00:00.024) 0:01:33.524 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:962 Friday 05 January 2024 15:10:34 +0000 (0:00:00.045) 0:01:33.570 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:977 Friday 05 January 2024 15:10:34 +0000 (0:00:00.072) 0:01:33.642 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:997 Friday 05 January 2024 15:10:34 +0000 (0:00:00.068) 0:01:33.710 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1051 Friday 05 January 2024 15:10:34 +0000 (0:00:00.039) 0:01:33.749 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1058 Friday 05 January 2024 15:10:34 +0000 (0:00:00.053) 0:01:33.803 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1065 Friday 05 January 2024 15:10:34 +0000 (0:00:00.029) 0:01:33.833 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1076 Friday 05 January 2024 15:10:34 +0000 (0:00:00.037) 0:01:33.871 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1082 Friday 05 January 2024 15:10:34 +0000 (0:00:00.048) 0:01:33.919 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1090 Friday 05 January 2024 15:10:34 +0000 (0:00:00.074) 0:01:33.993 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1099 Friday 05 January 2024 15:10:34 +0000 (0:00:00.023) 0:01:34.017 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1107 Friday 05 January 2024 15:10:34 +0000 (0:00:00.046) 0:01:34.063 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1122 Friday 05 January 2024 15:10:34 +0000 (0:00:00.071) 0:01:34.135 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1129 Friday 05 January 2024 15:10:35 +0000 (0:00:00.048) 0:01:34.184 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1154 Friday 05 January 2024 15:10:35 +0000 (0:00:00.114) 0:01:34.298 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1163 Friday 05 January 2024 15:10:35 +0000 (0:00:00.052) 0:01:34.350 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1173 Friday 05 January 2024 15:10:35 +0000 (0:00:00.048) 0:01:34.398 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1184 Friday 05 January 2024 15:10:35 +0000 (0:00:00.063) 0:01:34.462 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1197 Friday 05 January 2024 15:10:35 +0000 (0:00:00.041) 0:01:34.503 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1210 Friday 05 January 2024 15:10:35 +0000 (0:00:00.051) 0:01:34.554 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1217 Friday 05 January 2024 15:10:35 +0000 (0:00:00.039) 0:01:34.594 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1224 Friday 05 January 2024 15:10:35 +0000 (0:00:00.084) 0:01:34.679 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1233 Friday 05 January 2024 15:10:35 +0000 (0:00:00.052) 0:01:34.731 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1240 Friday 05 January 2024 15:10:35 +0000 (0:00:00.027) 0:01:34.759 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1252 Friday 05 January 2024 15:10:35 +0000 (0:00:00.057) 0:01:34.816 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1261 Friday 05 January 2024 15:10:35 +0000 (0:00:00.047) 0:01:34.863 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1268 Friday 05 January 2024 15:10:35 +0000 (0:00:00.053) 0:01:34.917 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1274 Friday 05 January 2024 15:10:35 +0000 (0:00:00.031) 0:01:34.948 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1282 Friday 05 January 2024 15:10:35 +0000 (0:00:00.057) 0:01:35.006 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1295 Friday 05 January 2024 15:10:35 +0000 (0:00:00.042) 0:01:35.048 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1307 Friday 05 January 2024 15:10:35 +0000 (0:00:00.036) 0:01:35.085 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1313 Friday 05 January 2024 15:10:35 +0000 (0:00:00.038) 0:01:35.123 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1322 Friday 05 January 2024 15:10:35 +0000 (0:00:00.034) 0:01:35.157 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 Friday 05 January 2024 15:10:36 +0000 (0:00:00.262) 0:01:35.420 ******** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-01-05 15:10:16 UTC", "ActiveEnterTimestampMonotonic": "1887002849", "ActiveExitTimestamp": "Fri 2024-01-05 15:10:16 UTC", "ActiveExitTimestampMonotonic": "1886757253", "ActiveState": "active", "After": "network.target basic.target auditd.service system.slice systemd-journald.socket -.mount", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 15:10:16 UTC", "AssertTimestampMonotonic": "1887001963", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-01-05 15:10:16 UTC", "ConditionTimestampMonotonic": "1887001961", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "25878", "ExecMainStartTimestamp": "Fri 2024-01-05 15:10:16 UTC", "ExecMainStartTimestampMonotonic": "1887002761", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2024-01-05 15:10:16 UTC] ; stop_time=[n/a] ; pid=25878 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-01-05 15:10:16 UTC", "InactiveEnterTimestampMonotonic": "1887000747", "InactiveExitTimestamp": "Fri 2024-01-05 15:10:16 UTC", "InactiveExitTimestampMonotonic": "1887002849", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "25878", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-01-05 15:10:16 UTC", "WatchdogTimestampMonotonic": "1887002817", "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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1335 Friday 05 January 2024 15:10:37 +0000 (0:00:01.421) 0:01:36.841 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1346 Friday 05 January 2024 15:10:37 +0000 (0:00:00.028) 0:01:36.870 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify connectivity and settings] **************************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/tests_tls.yml:131 Friday 05 January 2024 15:10:37 +0000 (0:00:00.028) 0:01:36.899 ******** included: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/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.16so8j2u1z/tests/tasks/verify_settings.yml:8 Friday 05 January 2024 15:10:37 +0000 (0:00:00.141) 0:01:37.040 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if the set edition matches the existing edition] ******************* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:23 Friday 05 January 2024 15:10:37 +0000 (0:00:00.020) 0:01:37.060 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:35 Friday 05 January 2024 15:10:37 +0000 (0:00:00.021) 0:01:37.082 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:39 Friday 05 January 2024 15:10:37 +0000 (0:00:00.023) 0:01:37.105 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:55 Friday 05 January 2024 15:10:37 +0000 (0:00:00.024) 0:01:37.130 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_datadir has proper permissions and ownership] ********** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:60 Friday 05 January 2024 15:10:37 +0000 (0:00:00.022) 0:01:37.153 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:70 Friday 05 January 2024 15:10:38 +0000 (0:00:00.073) 0:01:37.226 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_logdir has proper permissions and ownership] *********** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:75 Friday 05 January 2024 15:10:38 +0000 (0:00:00.022) 0:01:37.248 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:85 Friday 05 January 2024 15:10:38 +0000 (0:00:00.030) 0:01:37.279 ******** TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Friday 05 January 2024 15:10:38 +0000 (0:00:00.093) 0:01:37.373 ******** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-01-05 15:10:37 UTC", "ActiveEnterTimestampMonotonic": "1907703589", "ActiveExitTimestamp": "Fri 2024-01-05 15:10:36 UTC", "ActiveExitTimestampMonotonic": "1906569201", "ActiveState": "active", "After": "network.target basic.target auditd.service system.slice systemd-journald.socket -.mount", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 15:10:37 UTC", "AssertTimestampMonotonic": "1907702926", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-01-05 15:10:37 UTC", "ConditionTimestampMonotonic": "1907702925", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "26719", "ExecMainStartTimestamp": "Fri 2024-01-05 15:10:37 UTC", "ExecMainStartTimestampMonotonic": "1907703529", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2024-01-05 15:10:37 UTC] ; stop_time=[n/a] ; pid=26719 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-01-05 15:10:37 UTC", "InactiveEnterTimestampMonotonic": "1907702387", "InactiveExitTimestamp": "Fri 2024-01-05 15:10:37 UTC", "InactiveExitTimestampMonotonic": "1907703589", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "26719", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-01-05 15:10:37 UTC", "WatchdogTimestampMonotonic": "1907703568", "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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Friday 05 January 2024 15:10:38 +0000 (0:00:00.372) 0:01:37.745 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003408", "end": "2024-01-05 15:10:38.741446", "failed_when_result": false, "rc": 1, "start": "2024-01-05 15:10:38.738038" } 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Friday 05 January 2024 15:10:38 +0000 (0:00:00.204) 0:01:37.950 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003991", "end": "2024-01-05 15:10:38.943855", "failed_when_result": false, "rc": 1, "start": "2024-01-05 15:10:38.939864" } MSG: non-zero return code TASK [linux-system-roles.mssql : Set a fact with a login command] ************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Friday 05 January 2024 15:10:39 +0000 (0:00:00.223) 0:01:38.174 ******** 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.16so8j2u1z/tests/tasks/verify_settings.yml:93 Friday 05 January 2024 15:10:39 +0000 (0:00:00.073) 0:01:38.247 ******** ok: [sut] => { "changed": false, "elapsed": 2, "gid": 994, "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": 6354, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:99 Friday 05 January 2024 15:10:41 +0000 (0:00:02.231) 0:01:40.479 ******** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.032587", "end": "2024-01-05 15:10:41.482052", "rc": 0, "start": "2024-01-05 15:10:41.449465" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2017 (RTM-CU31-GDR) (KB5029376) - 14.0.3465.1 (X64) Jul 30 2023 15:31:58 Copyright (C) 2017 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:113 Friday 05 January 2024 15:10:41 +0000 (0:00:00.244) 0:01:40.724 ******** ok: [sut] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:117 Friday 05 January 2024 15:10:41 +0000 (0:00:00.100) 0:01:40.824 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:124 Friday 05 January 2024 15:10:41 +0000 (0:00:00.022) 0:01:40.847 ******** 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.16so8j2u1z/tests/tasks/verify_settings.yml:135 Friday 05 January 2024 15:10:41 +0000 (0:00:00.020) 0:01:40.868 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:140 Friday 05 January 2024 15:10:41 +0000 (0:00:00.030) 0:01:40.898 ******** 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.16so8j2u1z/tests/tasks/verify_settings.yml:145 Friday 05 January 2024 15:10:41 +0000 (0:00:00.024) 0:01:40.922 ******** 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.16so8j2u1z/tests/tasks/verify_settings.yml:151 Friday 05 January 2024 15:10:41 +0000 (0:00:00.023) 0:01:40.946 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:157 Friday 05 January 2024 15:10:41 +0000 (0:00:00.020) 0:01:40.966 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:167 Friday 05 January 2024 15:10:41 +0000 (0:00:00.020) 0:01:40.986 ******** included: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlscert] ************************************ task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml:7 Friday 05 January 2024 15:10:41 +0000 (0:00:00.037) 0:01:41.023 ******** ok: [sut] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004155", "end": "2024-01-05 15:10:41.964276", "rc": 0, "start": "2024-01-05 15:10:41.960121" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.5ljEpP TASK [Verify the setting when it is type str tlscert] ************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml:14 Friday 05 January 2024 15:10:41 +0000 (0:00:00.142) 0:01:41.166 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml:25 Friday 05 January 2024 15:10:42 +0000 (0:00:00.038) 0:01:41.204 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/certs/ansible.5ljEpP] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml:40 Friday 05 January 2024 15:10:42 +0000 (0:00:00.043) 0:01:41.248 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:178 Friday 05 January 2024 15:10:42 +0000 (0:00:00.033) 0:01:41.282 ******** included: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlskey] ************************************* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml:7 Friday 05 January 2024 15:10:42 +0000 (0:00:00.040) 0:01:41.323 ******** ok: [sut] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004188", "end": "2024-01-05 15:10:42.270512", "rc": 0, "start": "2024-01-05 15:10:42.266324" } STDOUT: tlskey = /etc/pki/tls/private/ansible.FPRYbO TASK [Verify the setting when it is type str tlskey] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml:14 Friday 05 January 2024 15:10:42 +0000 (0:00:00.147) 0:01:41.471 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml:25 Friday 05 January 2024 15:10:42 +0000 (0:00:00.110) 0:01:41.581 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/private/ansible.FPRYbO] *************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml:40 Friday 05 January 2024 15:10:42 +0000 (0:00:00.039) 0:01:41.620 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:190 Friday 05 January 2024 15:10:42 +0000 (0:00:00.040) 0:01:41.661 ******** included: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlsprotocols] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml:7 Friday 05 January 2024 15:10:42 +0000 (0:00:00.081) 0:01:41.743 ******** ok: [sut] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004220", "end": "2024-01-05 15:10:42.743507", "rc": 0, "start": "2024-01-05 15:10:42.739287" } STDOUT: tlsprotocols = 1.2 TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml:14 Friday 05 January 2024 15:10:42 +0000 (0:00:00.219) 0:01:41.962 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml:25 Friday 05 January 2024 15:10:42 +0000 (0:00:00.037) 0:01:42.000 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1.2] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml:40 Friday 05 January 2024 15:10:42 +0000 (0:00:00.024) 0:01:42.024 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:198 Friday 05 January 2024 15:10:42 +0000 (0:00:00.024) 0:01:42.049 ******** included: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting forceencryption] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml:7 Friday 05 January 2024 15:10:42 +0000 (0:00:00.051) 0:01:42.100 ******** ok: [sut] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004081", "end": "2024-01-05 15:10:43.041739", "rc": 0, "start": "2024-01-05 15:10:43.037658" } STDOUT: forceencryption = 1 TASK [Verify the setting when it is type str forceencryption] ****************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml:14 Friday 05 January 2024 15:10:43 +0000 (0:00:00.152) 0:01:42.253 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool forceencryption] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml:25 Friday 05 January 2024 15:10:43 +0000 (0:00:00.024) 0:01:42.278 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml:40 Friday 05 January 2024 15:10:43 +0000 (0:00:00.034) 0:01:42.312 ******** 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.16so8j2u1z/tests/tasks/verify_settings.yml:208 Friday 05 January 2024 15:10:43 +0000 (0:00:00.029) 0:01:42.342 ******** 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.16so8j2u1z/tests/tasks/verify_settings.yml:213 Friday 05 January 2024 15:10:43 +0000 (0:00:00.043) 0:01:42.385 ******** 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.16so8j2u1z/tests/tasks/verify_settings.yml:221 Friday 05 January 2024 15:10:43 +0000 (0:00:00.057) 0:01:42.442 ******** 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.16so8j2u1z/tests/tasks/tests_tls.yml:137 Friday 05 January 2024 15:10:43 +0000 (0:00:00.020) 0:01:42.463 ******** included: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/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.16so8j2u1z/tests/tasks/check_header.yml:4 Friday 05 January 2024 15:10:43 +0000 (0:00:00.206) 0:01:42.670 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "Ansible managed\n", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003054", "end": "2024-01-05 15:10:43.644211", "rc": 0, "start": "2024-01-05 15:10:43.641157" } STDOUT: # BEGIN ANSIBLE MANAGED BLOCK # # Ansible managed # # system_role:mssql # END ANSIBLE MANAGED BLOCK [sqlagent] enabled = false [EULA] accepteula = Y [network] tlscert = /etc/pki/tls/certs/ansible.5ljEpP tlskey = /etc/pki/tls/private/ansible.FPRYbO tlsprotocols = 1.2 forceencryption = 1 TASK [Disable TLS encryption] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/tests_tls.yml:141 Friday 05 January 2024 15:10:43 +0000 (0:00:00.173) 0:01:42.843 ******** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Friday 05 January 2024 15:10:43 +0000 (0:00:00.265) 0:01:43.109 ******** included: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Friday 05 January 2024 15:10:43 +0000 (0:00:00.032) 0:01:43.142 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:9 Friday 05 January 2024 15:10:43 +0000 (0:00:00.027) 0:01:43.169 ******** 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.16so8j2u1z/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_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019 ] }, "ansible_included_var_files": [ "/WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Friday 05 January 2024 15:10:44 +0000 (0:00:00.105) 0:01:43.275 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Friday 05 January 2024 15:10:44 +0000 (0:00:00.021) 0:01:43.297 ******** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Friday 05 January 2024 15:10:44 +0000 (0:00:00.023) 0:01:43.321 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Friday 05 January 2024 15:10:44 +0000 (0:00:00.021) 0:01:43.343 ******** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Friday 05 January 2024 15:10:44 +0000 (0:00:00.031) 0:01:43.374 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Friday 05 January 2024 15:10:44 +0000 (0:00:00.025) 0:01:43.400 ******** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:51 Friday 05 January 2024 15:10:44 +0000 (0:00:00.033) 0:01:43.433 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:58 Friday 05 January 2024 15:10:44 +0000 (0:00:00.040) 0:01:43.474 ******** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:65 Friday 05 January 2024 15:10:44 +0000 (0:00:00.021) 0:01:43.495 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:69 Friday 05 January 2024 15:10:44 +0000 (0:00:00.026) 0:01:43.522 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:81 Friday 05 January 2024 15:10:44 +0000 (0:00:00.040) 0:01:43.563 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:89 Friday 05 January 2024 15:10:44 +0000 (0:00:00.042) 0:01:43.605 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:98 Friday 05 January 2024 15:10:44 +0000 (0:00:00.055) 0:01:43.661 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:111 Friday 05 January 2024 15:10:44 +0000 (0:00:00.036) 0:01:43.698 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:122 Friday 05 January 2024 15:10:44 +0000 (0:00:00.029) 0:01:43.727 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:131 Friday 05 January 2024 15:10:44 +0000 (0:00:00.022) 0:01:43.750 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:135 Friday 05 January 2024 15:10:45 +0000 (0:00:00.985) 0:01:44.735 ******** ok: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_facts": { "__mssql_current_version": "2017" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 } } 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Friday 05 January 2024 15:10:45 +0000 (0:00:00.070) 0:01:44.805 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:151 Friday 05 January 2024 15:10:45 +0000 (0:00:00.039) 0:01:44.845 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:158 Friday 05 January 2024 15:10:45 +0000 (0:00:00.047) 0:01:44.893 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:173 Friday 05 January 2024 15:10:45 +0000 (0:00:00.046) 0:01:44.939 ******** ok: [sut] => { "attempts": 1, "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:186 Friday 05 January 2024 15:10:46 +0000 (0:00:00.327) 0:01:45.266 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:196 Friday 05 January 2024 15:10:46 +0000 (0:00:00.026) 0:01:45.292 ******** 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 2017] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:207 Friday 05 January 2024 15:10:46 +0000 (0:00:00.038) 0:01:45.330 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:215 Friday 05 January 2024 15:10:46 +0000 (0:00:00.058) 0:01:45.389 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:228 Friday 05 January 2024 15:10:46 +0000 (0:00:00.031) 0:01:45.420 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:236 Friday 05 January 2024 15:10:46 +0000 (0:00:00.025) 0:01:45.445 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:241 Friday 05 January 2024 15:10:46 +0000 (0:00:00.025) 0:01:45.471 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:250 Friday 05 January 2024 15:10:46 +0000 (0:00:00.041) 0:01:45.512 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:259 Friday 05 January 2024 15:10:46 +0000 (0:00:00.022) 0:01:45.535 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:264 Friday 05 January 2024 15:10:46 +0000 (0:00:00.089) 0:01:45.624 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3465.1-1.x86_64 providing mssql-server is already installed" ] } TASK [linux-system-roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:272 Friday 05 January 2024 15:10:46 +0000 (0:00:00.383) 0:01:46.008 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:280 Friday 05 January 2024 15:10:46 +0000 (0:00:00.021) 0:01:46.029 ******** 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.004966", "end": "2024-01-05 15:10:46.970397", "rc": 0, "start": "2024-01-05 15:10:46.965431" } STDOUT: /var/opt/mssql/log/errorlog TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:295 Friday 05 January 2024 15:10:46 +0000 (0:00:00.139) 0:01:46.169 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:299 Friday 05 January 2024 15:10:47 +0000 (0:00:00.695) 0:01:46.864 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:308 Friday 05 January 2024 15:10:47 +0000 (0:00:00.054) 0:01:46.919 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:324 Friday 05 January 2024 15:10:47 +0000 (0:00:00.028) 0:01:46.947 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:344 Friday 05 January 2024 15:10:47 +0000 (0:00:00.035) 0:01:46.982 ******** skipping: [sut] => (item={'path': None, 'mode': None, 'setting': 'defaultdatadir'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": null, "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'path': None, 'mode': None, 'setting': 'defaultlogdir'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": null, "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for {{ __mssql_storage_path }}] *********** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:359 Friday 05 January 2024 15:10:47 +0000 (0:00:00.058) 0:01:47.041 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:366 Friday 05 January 2024 15:10:47 +0000 (0:00:00.026) 0:01:47.068 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } TASK [linux-system-roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:371 Friday 05 January 2024 15:10:48 +0000 (0:00:00.435) 0:01:47.503 ******** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-01-05 14:39:05 UTC", "ActiveEnterTimestampMonotonic": "15127657", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target dbus.service basic.target system.slice systemd-journald.socket systemd-sysctl.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 14:39:03 UTC", "AssertTimestampMonotonic": "13660099", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-01-05 14:39:03 UTC", "ConditionTimestampMonotonic": "13660097", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "878", "ExecMainStartTimestamp": "Fri 2024-01-05 14:39:03 UTC", "ExecMainStartTimestampMonotonic": "13660700", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-01-05 14:39:03 UTC", "InactiveExitTimestampMonotonic": "13660738", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "29173", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "878", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "dbus.service system.slice basic.target polkit.service", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-01-05 14:39:05 UTC", "WatchdogTimestampMonotonic": "15127600", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:377 Friday 05 January 2024 15:10:48 +0000 (0:00:00.246) 0:01:47.750 ******** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.086380", "end": "2024-01-05 15:10:48.781056", "rc": 0, "start": "2024-01-05 15:10:48.694676" } 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:387 Friday 05 January 2024 15:10:48 +0000 (0:00:00.318) 0:01:48.069 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:400 Friday 05 January 2024 15:10:48 +0000 (0:00:00.042) 0:01:48.112 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:409 Friday 05 January 2024 15:10:48 +0000 (0:00:00.049) 0:01:48.161 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:419 Friday 05 January 2024 15:10:49 +0000 (0:00:00.030) 0:01:48.191 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:426 Friday 05 January 2024 15:10:49 +0000 (0:00:00.194) 0:01:48.386 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-tools-17.10.1.1-1.x86_64 providing mssql-tools is already installed", "unixODBC-devel-2.3.11-1.rh.x86_64 providing unixODBC-devel is already installed" ] } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:438 Friday 05 January 2024 15:10:49 +0000 (0:00:00.349) 0:01:48.736 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:442 Friday 05 January 2024 15:10:49 +0000 (0:00:00.042) 0:01:48.779 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:448 Friday 05 January 2024 15:10:49 +0000 (0:00:00.035) 0:01:48.814 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:463 Friday 05 January 2024 15:10:49 +0000 (0:00:00.044) 0:01:48.859 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:470 Friday 05 January 2024 15:10:49 +0000 (0:00:00.040) 0:01:48.900 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:478 Friday 05 January 2024 15:10:49 +0000 (0:00:00.027) 0:01:48.928 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:500 Friday 05 January 2024 15:10:49 +0000 (0:00:00.024) 0:01:48.952 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:511 Friday 05 January 2024 15:10:49 +0000 (0:00:00.025) 0:01:48.977 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:526 Friday 05 January 2024 15:10:49 +0000 (0:00:00.024) 0:01:49.002 ******** 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.004813", "end": "2024-01-05 15:10:49.944711", "rc": 0, "start": "2024-01-05 15:10:49.939898" } STDOUT: true TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:539 Friday 05 January 2024 15:10:49 +0000 (0:00:00.150) 0:01:49.152 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:546 Friday 05 January 2024 15:10:50 +0000 (0:00:00.034) 0:01:49.187 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:552 Friday 05 January 2024 15:10:51 +0000 (0:00:01.049) 0:01:50.237 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:572 Friday 05 January 2024 15:10:51 +0000 (0:00:00.037) 0:01:50.275 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:579 Friday 05 January 2024 15:10:51 +0000 (0:00:00.072) 0:01:50.347 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:586 Friday 05 January 2024 15:10:51 +0000 (0:00:00.089) 0:01:50.437 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:598 Friday 05 January 2024 15:10:51 +0000 (0:00:00.046) 0:01:50.484 ******** included: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Friday 05 January 2024 15:10:51 +0000 (0:00:00.049) 0:01:50.533 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002834", "end": "2024-01-05 15:10:51.481249", "failed_when_result": false, "rc": 1, "start": "2024-01-05 15:10:51.478415" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network tcpport] ******** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Friday 05 January 2024 15:10:51 +0000 (0:00:00.144) 0:01:50.677 ******** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.047107", "end": "2024-01-05 15:10:51.683015", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:10:51.635908" } 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Friday 05 January 2024 15:10:51 +0000 (0:00:00.216) 0:01:50.894 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:604 Friday 05 January 2024 15:10:51 +0000 (0:00:00.027) 0:01:50.921 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:624 Friday 05 January 2024 15:10:51 +0000 (0:00:00.035) 0:01:50.957 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:631 Friday 05 January 2024 15:10:51 +0000 (0:00:00.026) 0:01:50.983 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package powershell] **************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:638 Friday 05 January 2024 15:10:51 +0000 (0:00:00.032) 0:01:51.016 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the 3979 trace flag is enabled] ****** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:647 Friday 05 January 2024 15:10:51 +0000 (0:00:00.031) 0:01:51.048 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:653 Friday 05 January 2024 15:10:51 +0000 (0:00:00.029) 0:01:51.077 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:660 Friday 05 January 2024 15:10:51 +0000 (0:00:00.073) 0:01:51.150 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:668 Friday 05 January 2024 15:10:52 +0000 (0:00:00.021) 0:01:51.172 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:674 Friday 05 January 2024 15:10:52 +0000 (0:00:00.020) 0:01:51.192 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:692 Friday 05 January 2024 15:10:52 +0000 (0:00:00.021) 0:01:51.214 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:706 Friday 05 January 2024 15:10:52 +0000 (0:00:00.023) 0:01:51.237 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:711 Friday 05 January 2024 15:10:52 +0000 (0:00:00.022) 0:01:51.259 ******** skipping: [sut] => (item=/tmp/ansible.5ljEpP) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/ansible.5ljEpP", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ansible.FPRYbO) => { "ansible_loop_var": "item", "changed": false, "item": "ansible.FPRYbO", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlscert setting] **************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:729 Friday 05 January 2024 15:10:52 +0000 (0:00:00.029) 0:01:51.288 ******** included: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network tlscert] ************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Friday 05 January 2024 15:10:52 +0000 (0:00:00.059) 0:01:51.348 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003137", "end": "2024-01-05 15:10:52.290329", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:10:52.287192" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.5ljEpP TASK [linux-system-roles.mssql : Configure the setting network tlscert] ******** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Friday 05 January 2024 15:10:52 +0000 (0:00:00.143) 0:01:51.492 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting network tlscert] ************ task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Friday 05 January 2024 15:10:52 +0000 (0:00:00.025) 0:01:51.518 ******** NOTIFIED HANDLER linux-system-roles.mssql : Restart the mssql-server service for sut changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlscert" ], "delta": "0:00:00.047920", "end": "2024-01-05 15:10:52.505710", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:10:52.457790" } 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 tlskey setting] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:738 Friday 05 January 2024 15:10:52 +0000 (0:00:00.185) 0:01:51.704 ******** included: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network tlskey] *************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Friday 05 January 2024 15:10:52 +0000 (0:00:00.092) 0:01:51.797 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003168", "end": "2024-01-05 15:10:52.765488", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:10:52.762320" } STDOUT: tlskey = /etc/pki/tls/private/ansible.FPRYbO TASK [linux-system-roles.mssql : Configure the setting network tlskey] ********* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Friday 05 January 2024 15:10:52 +0000 (0:00:00.165) 0:01:51.962 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting network tlskey] ************* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Friday 05 January 2024 15:10:52 +0000 (0:00:00.026) 0:01:51.989 ******** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlskey" ], "delta": "0:00:00.047801", "end": "2024-01-05 15:10:52.984619", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:10:52.936818" } 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 tlsprotocols setting] *********** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:747 Friday 05 January 2024 15:10:53 +0000 (0:00:00.261) 0:01:52.250 ******** included: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network tlsprotocols] ********* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Friday 05 January 2024 15:10:53 +0000 (0:00:00.059) 0:01:52.309 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003137", "end": "2024-01-05 15:10:53.251908", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:10:53.248771" } STDOUT: tlsprotocols = 1.2 TASK [linux-system-roles.mssql : Configure the setting network tlsprotocols] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Friday 05 January 2024 15:10:53 +0000 (0:00:00.143) 0:01:52.453 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting network tlsprotocols] ******* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Friday 05 January 2024 15:10:53 +0000 (0:00:00.040) 0:01:52.493 ******** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlsprotocols" ], "delta": "0:00:00.047940", "end": "2024-01-05 15:10:53.497655", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:10:53.449715" } 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 forceencryption setting] ******** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:754 Friday 05 January 2024 15:10:53 +0000 (0:00:00.205) 0:01:52.699 ******** included: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network forceencryption] ****** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Friday 05 January 2024 15:10:53 +0000 (0:00:00.044) 0:01:52.744 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003020", "end": "2024-01-05 15:10:53.684942", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:10:53.681922" } STDOUT: forceencryption = 1 TASK [linux-system-roles.mssql : Configure the setting network forceencryption] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Friday 05 January 2024 15:10:53 +0000 (0:00:00.145) 0:01:52.889 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting network forceencryption] **** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Friday 05 January 2024 15:10:53 +0000 (0:00:00.034) 0:01:52.923 ******** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.forceencryption" ], "delta": "0:00:00.047666", "end": "2024-01-05 15:10:53.909036", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:10:53.861370" } 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 : Verify that ad_integration_realm variable is provided] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:763 Friday 05 January 2024 15:10:53 +0000 (0:00:00.187) 0:01:53.110 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:771 Friday 05 January 2024 15:10:53 +0000 (0:00:00.027) 0:01:53.138 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:779 Friday 05 January 2024 15:10:54 +0000 (0:00:00.034) 0:01:53.172 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:786 Friday 05 January 2024 15:10:54 +0000 (0:00:00.028) 0:01:53.200 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:793 Friday 05 January 2024 15:10:54 +0000 (0:00:00.023) 0:01:53.224 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:802 Friday 05 January 2024 15:10:54 +0000 (0:00:00.023) 0:01:53.248 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:815 Friday 05 January 2024 15:10:54 +0000 (0:00:00.020) 0:01:53.269 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:824 Friday 05 January 2024 15:10:54 +0000 (0:00:00.067) 0:01:53.337 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:836 Friday 05 January 2024 15:10:54 +0000 (0:00:00.021) 0:01:53.359 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:841 Friday 05 January 2024 15:10:54 +0000 (0:00:00.021) 0:01:53.380 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:858 Friday 05 January 2024 15:10:54 +0000 (0:00:00.026) 0:01:53.406 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:863 Friday 05 January 2024 15:10:54 +0000 (0:00:00.038) 0:01:53.445 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:868 Friday 05 January 2024 15:10:54 +0000 (0:00:00.022) 0:01:53.468 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:874 Friday 05 January 2024 15:10:54 +0000 (0:00:00.020) 0:01:53.488 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:900 Friday 05 January 2024 15:10:54 +0000 (0:00:00.020) 0:01:53.509 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:921 Friday 05 January 2024 15:10:54 +0000 (0:00:00.020) 0:01:53.529 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:929 Friday 05 January 2024 15:10:54 +0000 (0:00:00.019) 0:01:53.549 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:939 Friday 05 January 2024 15:10:54 +0000 (0:00:00.020) 0:01:53.569 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:945 Friday 05 January 2024 15:10:54 +0000 (0:00:00.019) 0:01:53.589 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:962 Friday 05 January 2024 15:10:54 +0000 (0:00:00.020) 0:01:53.610 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:977 Friday 05 January 2024 15:10:54 +0000 (0:00:00.019) 0:01:53.630 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:997 Friday 05 January 2024 15:10:54 +0000 (0:00:00.019) 0:01:53.650 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1051 Friday 05 January 2024 15:10:54 +0000 (0:00:00.021) 0:01:53.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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1058 Friday 05 January 2024 15:10:54 +0000 (0:00:00.021) 0:01:53.693 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1065 Friday 05 January 2024 15:10:54 +0000 (0:00:00.022) 0:01:53.715 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1076 Friday 05 January 2024 15:10:54 +0000 (0:00:00.022) 0:01:53.738 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1082 Friday 05 January 2024 15:10:54 +0000 (0:00:00.115) 0:01:53.854 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1090 Friday 05 January 2024 15:10:54 +0000 (0:00:00.051) 0:01:53.905 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1099 Friday 05 January 2024 15:10:54 +0000 (0:00:00.027) 0:01:53.932 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1107 Friday 05 January 2024 15:10:54 +0000 (0:00:00.022) 0:01:53.955 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1122 Friday 05 January 2024 15:10:54 +0000 (0:00:00.077) 0:01:54.032 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1129 Friday 05 January 2024 15:10:54 +0000 (0:00:00.030) 0:01:54.063 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1154 Friday 05 January 2024 15:10:54 +0000 (0:00:00.024) 0:01:54.087 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1163 Friday 05 January 2024 15:10:54 +0000 (0:00:00.037) 0:01:54.125 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1173 Friday 05 January 2024 15:10:54 +0000 (0:00:00.023) 0:01:54.148 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1184 Friday 05 January 2024 15:10:55 +0000 (0:00:00.027) 0:01:54.175 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1197 Friday 05 January 2024 15:10:55 +0000 (0:00:00.025) 0:01:54.201 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1210 Friday 05 January 2024 15:10:55 +0000 (0:00:00.023) 0:01:54.225 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1217 Friday 05 January 2024 15:10:55 +0000 (0:00:00.034) 0:01:54.259 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1224 Friday 05 January 2024 15:10:55 +0000 (0:00:00.025) 0:01:54.285 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1233 Friday 05 January 2024 15:10:55 +0000 (0:00:00.025) 0:01:54.310 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1240 Friday 05 January 2024 15:10:55 +0000 (0:00:00.023) 0:01:54.333 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1252 Friday 05 January 2024 15:10:55 +0000 (0:00:00.040) 0:01:54.374 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1261 Friday 05 January 2024 15:10:55 +0000 (0:00:00.025) 0:01:54.399 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1268 Friday 05 January 2024 15:10:55 +0000 (0:00:00.032) 0:01:54.432 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1274 Friday 05 January 2024 15:10:55 +0000 (0:00:00.089) 0:01:54.521 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1282 Friday 05 January 2024 15:10:55 +0000 (0:00:00.057) 0:01:54.578 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1295 Friday 05 January 2024 15:10:55 +0000 (0:00:00.046) 0:01:54.625 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1307 Friday 05 January 2024 15:10:55 +0000 (0:00:00.049) 0:01:54.675 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1313 Friday 05 January 2024 15:10:55 +0000 (0:00:00.066) 0:01:54.741 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1322 Friday 05 January 2024 15:10:55 +0000 (0:00:00.053) 0:01:54.794 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 Friday 05 January 2024 15:10:55 +0000 (0:00:00.243) 0:01:55.038 ******** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-01-05 15:10:37 UTC", "ActiveEnterTimestampMonotonic": "1907703589", "ActiveExitTimestamp": "Fri 2024-01-05 15:10:36 UTC", "ActiveExitTimestampMonotonic": "1906569201", "ActiveState": "active", "After": "network.target basic.target auditd.service system.slice systemd-journald.socket -.mount", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 15:10:37 UTC", "AssertTimestampMonotonic": "1907702926", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-01-05 15:10:37 UTC", "ConditionTimestampMonotonic": "1907702925", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "26719", "ExecMainStartTimestamp": "Fri 2024-01-05 15:10:37 UTC", "ExecMainStartTimestampMonotonic": "1907703529", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2024-01-05 15:10:37 UTC] ; stop_time=[n/a] ; pid=26719 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-01-05 15:10:37 UTC", "InactiveEnterTimestampMonotonic": "1907702387", "InactiveExitTimestamp": "Fri 2024-01-05 15:10:37 UTC", "InactiveExitTimestampMonotonic": "1907703589", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "26719", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-01-05 15:10:37 UTC", "WatchdogTimestampMonotonic": "1907703568", "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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1335 Friday 05 January 2024 15:10:56 +0000 (0:00:00.584) 0:01:55.623 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1346 Friday 05 January 2024 15:10:56 +0000 (0:00:00.033) 0:01:55.656 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify connectivity and settings] **************************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/tests_tls.yml:147 Friday 05 January 2024 15:10:56 +0000 (0:00:00.031) 0:01:55.688 ******** included: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/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.16so8j2u1z/tests/tasks/verify_settings.yml:8 Friday 05 January 2024 15:10:56 +0000 (0:00:00.195) 0:01:55.883 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if the set edition matches the existing edition] ******************* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:23 Friday 05 January 2024 15:10:56 +0000 (0:00:00.039) 0:01:55.923 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:35 Friday 05 January 2024 15:10:56 +0000 (0:00:00.105) 0:01:56.028 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:39 Friday 05 January 2024 15:10:56 +0000 (0:00:00.024) 0:01:56.052 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:55 Friday 05 January 2024 15:10:56 +0000 (0:00:00.044) 0:01:56.097 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_datadir has proper permissions and ownership] ********** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:60 Friday 05 January 2024 15:10:56 +0000 (0:00:00.039) 0:01:56.137 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:70 Friday 05 January 2024 15:10:56 +0000 (0:00:00.032) 0:01:56.169 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_logdir has proper permissions and ownership] *********** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:75 Friday 05 January 2024 15:10:57 +0000 (0:00:00.023) 0:01:56.193 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:85 Friday 05 January 2024 15:10:57 +0000 (0:00:00.039) 0:01:56.232 ******** TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Friday 05 January 2024 15:10:57 +0000 (0:00:00.059) 0:01:56.291 ******** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-01-05 15:10:56 UTC", "ActiveEnterTimestampMonotonic": "1926464033", "ActiveExitTimestamp": "Fri 2024-01-05 15:10:56 UTC", "ActiveExitTimestampMonotonic": "1926224309", "ActiveState": "active", "After": "network.target basic.target auditd.service system.slice systemd-journald.socket -.mount", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 15:10:56 UTC", "AssertTimestampMonotonic": "1926463456", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-01-05 15:10:56 UTC", "ConditionTimestampMonotonic": "1926463454", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "27400", "ExecMainStartTimestamp": "Fri 2024-01-05 15:10:56 UTC", "ExecMainStartTimestampMonotonic": "1926463973", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2024-01-05 15:10:56 UTC] ; stop_time=[n/a] ; pid=27400 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-01-05 15:10:56 UTC", "InactiveEnterTimestampMonotonic": "1926462889", "InactiveExitTimestamp": "Fri 2024-01-05 15:10:56 UTC", "InactiveExitTimestampMonotonic": "1926464033", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "27400", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-01-05 15:10:56 UTC", "WatchdogTimestampMonotonic": "1926464011", "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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Friday 05 January 2024 15:10:57 +0000 (0:00:00.225) 0:01:56.517 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003243", "end": "2024-01-05 15:10:57.492334", "failed_when_result": false, "rc": 1, "start": "2024-01-05 15:10:57.489091" } 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Friday 05 January 2024 15:10:57 +0000 (0:00:00.184) 0:01:56.702 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003435", "end": "2024-01-05 15:10:57.760099", "failed_when_result": false, "rc": 1, "start": "2024-01-05 15:10:57.756664" } MSG: non-zero return code TASK [linux-system-roles.mssql : Set a fact with a login command] ************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Friday 05 January 2024 15:10:57 +0000 (0:00:00.269) 0:01:56.971 ******** 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.16so8j2u1z/tests/tasks/verify_settings.yml:93 Friday 05 January 2024 15:10:57 +0000 (0:00:00.041) 0:01:57.013 ******** ok: [sut] => { "changed": false, "elapsed": 2, "gid": 994, "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": 6264, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:99 Friday 05 January 2024 15:11:00 +0000 (0:00:02.251) 0:01:59.264 ******** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.028672", "end": "2024-01-05 15:11:00.242334", "rc": 0, "start": "2024-01-05 15:11:00.213662" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2017 (RTM-CU31-GDR) (KB5029376) - 14.0.3465.1 (X64) Jul 30 2023 15:31:58 Copyright (C) 2017 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:113 Friday 05 January 2024 15:11:00 +0000 (0:00:00.267) 0:01:59.532 ******** ok: [sut] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:117 Friday 05 January 2024 15:11:00 +0000 (0:00:00.040) 0:01:59.572 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:124 Friday 05 January 2024 15:11:00 +0000 (0:00:00.061) 0:01:59.633 ******** 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.16so8j2u1z/tests/tasks/verify_settings.yml:135 Friday 05 January 2024 15:11:00 +0000 (0:00:00.025) 0:01:59.659 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:140 Friday 05 January 2024 15:11:00 +0000 (0:00:00.083) 0:01:59.743 ******** 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.16so8j2u1z/tests/tasks/verify_settings.yml:145 Friday 05 January 2024 15:11:00 +0000 (0:00:00.053) 0:01:59.796 ******** 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.16so8j2u1z/tests/tasks/verify_settings.yml:151 Friday 05 January 2024 15:11:00 +0000 (0:00:00.044) 0:01:59.841 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:157 Friday 05 January 2024 15:11:00 +0000 (0:00:00.034) 0:01:59.876 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:167 Friday 05 January 2024 15:11:00 +0000 (0:00:00.023) 0:01:59.899 ******** included: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlscert] ************************************ task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml:7 Friday 05 January 2024 15:11:00 +0000 (0:00:00.056) 0:01:59.956 ******** ok: [sut] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004020", "end": "2024-01-05 15:11:00.899302", "rc": 0, "start": "2024-01-05 15:11:00.895282" } TASK [Verify the setting when it is type str tlscert] ************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml:14 Friday 05 January 2024 15:11:00 +0000 (0:00:00.143) 0:02:00.099 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml:25 Friday 05 January 2024 15:11:00 +0000 (0:00:00.040) 0:02:00.140 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml:40 Friday 05 January 2024 15:11:00 +0000 (0:00:00.031) 0:02:00.172 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:178 Friday 05 January 2024 15:11:01 +0000 (0:00:00.054) 0:02:00.226 ******** included: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlskey] ************************************* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml:7 Friday 05 January 2024 15:11:01 +0000 (0:00:00.077) 0:02:00.304 ******** ok: [sut] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.003987", "end": "2024-01-05 15:11:01.271417", "rc": 0, "start": "2024-01-05 15:11:01.267430" } TASK [Verify the setting when it is type str tlskey] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml:14 Friday 05 January 2024 15:11:01 +0000 (0:00:00.237) 0:02:00.542 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml:25 Friday 05 January 2024 15:11:01 +0000 (0:00:00.054) 0:02:00.596 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml:40 Friday 05 January 2024 15:11:01 +0000 (0:00:00.029) 0:02:00.626 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:190 Friday 05 January 2024 15:11:01 +0000 (0:00:00.028) 0:02:00.654 ******** included: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlsprotocols] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml:7 Friday 05 January 2024 15:11:01 +0000 (0:00:00.066) 0:02:00.721 ******** ok: [sut] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004201", "end": "2024-01-05 15:11:01.711814", "rc": 0, "start": "2024-01-05 15:11:01.707613" } TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml:14 Friday 05 January 2024 15:11:01 +0000 (0:00:00.215) 0:02:00.937 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml:25 Friday 05 January 2024 15:11:01 +0000 (0:00:00.049) 0:02:00.987 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml:40 Friday 05 January 2024 15:11:01 +0000 (0:00:00.041) 0:02:01.029 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:198 Friday 05 January 2024 15:11:01 +0000 (0:00:00.036) 0:02:01.065 ******** included: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting forceencryption] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml:7 Friday 05 January 2024 15:11:01 +0000 (0:00:00.056) 0:02:01.122 ******** ok: [sut] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004184", "end": "2024-01-05 15:11:02.096166", "rc": 0, "start": "2024-01-05 15:11:02.091982" } TASK [Verify the setting when it is type str forceencryption] ****************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml:14 Friday 05 January 2024 15:11:02 +0000 (0:00:00.223) 0:02:01.345 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool forceencryption] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml:25 Friday 05 January 2024 15:11:02 +0000 (0:00:00.093) 0:02:01.439 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml:40 Friday 05 January 2024 15:11:02 +0000 (0:00:00.087) 0:02:01.526 ******** 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.16so8j2u1z/tests/tasks/verify_settings.yml:208 Friday 05 January 2024 15:11:02 +0000 (0:00:00.049) 0:02:01.575 ******** 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.16so8j2u1z/tests/tasks/verify_settings.yml:213 Friday 05 January 2024 15:11:02 +0000 (0:00:00.043) 0:02:01.619 ******** 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.16so8j2u1z/tests/tasks/verify_settings.yml:221 Friday 05 January 2024 15:11:02 +0000 (0:00:00.038) 0:02:01.657 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Test with certs created by the certificate role] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/tests_tls.yml:154 Friday 05 January 2024 15:11:02 +0000 (0:00:00.036) 0:02:01.694 ******** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Friday 05 January 2024 15:11:03 +0000 (0:00:00.505) 0:02:02.199 ******** included: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Friday 05 January 2024 15:11:03 +0000 (0:00:00.076) 0:02:02.276 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:9 Friday 05 January 2024 15:11:03 +0000 (0:00:00.048) 0:02:02.324 ******** 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.16so8j2u1z/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_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019 ] }, "ansible_included_var_files": [ "/WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Friday 05 January 2024 15:11:03 +0000 (0:00:00.045) 0:02:02.370 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Friday 05 January 2024 15:11:03 +0000 (0:00:00.151) 0:02:02.521 ******** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Friday 05 January 2024 15:11:03 +0000 (0:00:00.032) 0:02:02.553 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Friday 05 January 2024 15:11:03 +0000 (0:00:00.028) 0:02:02.582 ******** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Friday 05 January 2024 15:11:03 +0000 (0:00:00.022) 0:02:02.605 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Friday 05 January 2024 15:11:03 +0000 (0:00:00.020) 0:02:02.625 ******** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:51 Friday 05 January 2024 15:11:03 +0000 (0:00:00.021) 0:02:02.646 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:58 Friday 05 January 2024 15:11:03 +0000 (0:00:00.020) 0:02:02.667 ******** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:65 Friday 05 January 2024 15:11:03 +0000 (0:00:00.022) 0:02:02.689 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:69 Friday 05 January 2024 15:11:03 +0000 (0:00:00.023) 0:02:02.713 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:81 Friday 05 January 2024 15:11:03 +0000 (0:00:00.024) 0:02:02.737 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:89 Friday 05 January 2024 15:11:03 +0000 (0:00:00.020) 0:02:02.758 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:98 Friday 05 January 2024 15:11:03 +0000 (0:00:00.021) 0:02:02.779 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:111 Friday 05 January 2024 15:11:03 +0000 (0:00:00.020) 0:02:02.800 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:122 Friday 05 January 2024 15:11:03 +0000 (0:00:00.020) 0:02:02.820 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:131 Friday 05 January 2024 15:11:03 +0000 (0:00:00.021) 0:02:02.842 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:135 Friday 05 January 2024 15:11:04 +0000 (0:00:01.000) 0:02:03.843 ******** ok: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_facts": { "__mssql_current_version": "2017" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 } } 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Friday 05 January 2024 15:11:04 +0000 (0:00:00.074) 0:02:03.918 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:151 Friday 05 January 2024 15:11:04 +0000 (0:00:00.024) 0:02:03.942 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:158 Friday 05 January 2024 15:11:04 +0000 (0:00:00.028) 0:02:03.971 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:173 Friday 05 January 2024 15:11:04 +0000 (0:00:00.042) 0:02:04.013 ******** ok: [sut] => { "attempts": 1, "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:186 Friday 05 January 2024 15:11:05 +0000 (0:00:00.308) 0:02:04.321 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:196 Friday 05 January 2024 15:11:05 +0000 (0:00:00.022) 0:02:04.344 ******** 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 2017] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:207 Friday 05 January 2024 15:11:05 +0000 (0:00:00.024) 0:02:04.368 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:215 Friday 05 January 2024 15:11:05 +0000 (0:00:00.024) 0:02:04.392 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:228 Friday 05 January 2024 15:11:05 +0000 (0:00:00.025) 0:02:04.418 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:236 Friday 05 January 2024 15:11:05 +0000 (0:00:00.022) 0:02:04.441 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:241 Friday 05 January 2024 15:11:05 +0000 (0:00:00.020) 0:02:04.462 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:250 Friday 05 January 2024 15:11:05 +0000 (0:00:00.035) 0:02:04.497 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:259 Friday 05 January 2024 15:11:05 +0000 (0:00:00.040) 0:02:04.538 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:264 Friday 05 January 2024 15:11:05 +0000 (0:00:00.024) 0:02:04.562 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3465.1-1.x86_64 providing mssql-server is already installed" ] } TASK [linux-system-roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:272 Friday 05 January 2024 15:11:05 +0000 (0:00:00.347) 0:02:04.910 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:280 Friday 05 January 2024 15:11:05 +0000 (0:00:00.022) 0:02:04.932 ******** 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.004760", "end": "2024-01-05 15:11:05.873915", "rc": 0, "start": "2024-01-05 15:11:05.869155" } STDOUT: /var/opt/mssql/log/errorlog TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:295 Friday 05 January 2024 15:11:05 +0000 (0:00:00.137) 0:02:05.070 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:299 Friday 05 January 2024 15:11:06 +0000 (0:00:00.653) 0:02:05.724 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:308 Friday 05 January 2024 15:11:06 +0000 (0:00:00.030) 0:02:05.754 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:324 Friday 05 January 2024 15:11:06 +0000 (0:00:00.025) 0:02:05.779 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:344 Friday 05 January 2024 15:11:06 +0000 (0:00:00.022) 0:02:05.802 ******** skipping: [sut] => (item={'path': None, 'mode': None, 'setting': 'defaultdatadir'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": null, "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'path': None, 'mode': None, 'setting': 'defaultlogdir'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": null, "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for {{ __mssql_storage_path }}] *********** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:359 Friday 05 January 2024 15:11:06 +0000 (0:00:00.025) 0:02:05.827 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:366 Friday 05 January 2024 15:11:06 +0000 (0:00:00.019) 0:02:05.846 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } TASK [linux-system-roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:371 Friday 05 January 2024 15:11:06 +0000 (0:00:00.322) 0:02:06.169 ******** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-01-05 14:39:05 UTC", "ActiveEnterTimestampMonotonic": "15127657", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target dbus.service basic.target system.slice systemd-journald.socket systemd-sysctl.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 14:39:03 UTC", "AssertTimestampMonotonic": "13660099", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-01-05 14:39:03 UTC", "ConditionTimestampMonotonic": "13660097", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "878", "ExecMainStartTimestamp": "Fri 2024-01-05 14:39:03 UTC", "ExecMainStartTimestampMonotonic": "13660700", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-01-05 14:39:03 UTC", "InactiveExitTimestampMonotonic": "13660738", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "29173", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "878", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "dbus.service system.slice basic.target polkit.service", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-01-05 14:39:05 UTC", "WatchdogTimestampMonotonic": "15127600", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:377 Friday 05 January 2024 15:11:07 +0000 (0:00:00.203) 0:02:06.372 ******** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.088449", "end": "2024-01-05 15:11:07.397314", "rc": 0, "start": "2024-01-05 15:11:07.308865" } 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:387 Friday 05 January 2024 15:11:07 +0000 (0:00:00.300) 0:02:06.673 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:400 Friday 05 January 2024 15:11:07 +0000 (0:00:00.023) 0:02:06.697 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:409 Friday 05 January 2024 15:11:07 +0000 (0:00:00.031) 0:02:06.729 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:419 Friday 05 January 2024 15:11:07 +0000 (0:00:00.032) 0:02:06.762 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:426 Friday 05 January 2024 15:11:07 +0000 (0:00:00.146) 0:02:06.908 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-tools-17.10.1.1-1.x86_64 providing mssql-tools is already installed", "unixODBC-devel-2.3.11-1.rh.x86_64 providing unixODBC-devel is already installed" ] } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:438 Friday 05 January 2024 15:11:08 +0000 (0:00:00.328) 0:02:07.236 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:442 Friday 05 January 2024 15:11:08 +0000 (0:00:00.021) 0:02:07.258 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:448 Friday 05 January 2024 15:11:08 +0000 (0:00:00.021) 0:02:07.279 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:463 Friday 05 January 2024 15:11:08 +0000 (0:00:00.020) 0:02:07.299 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:470 Friday 05 January 2024 15:11:08 +0000 (0:00:00.020) 0:02:07.320 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:478 Friday 05 January 2024 15:11:08 +0000 (0:00:00.022) 0:02:07.343 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:500 Friday 05 January 2024 15:11:08 +0000 (0:00:00.028) 0:02:07.371 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:511 Friday 05 January 2024 15:11:08 +0000 (0:00:00.043) 0:02:07.414 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:526 Friday 05 January 2024 15:11:08 +0000 (0:00:00.021) 0:02:07.436 ******** 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.004840", "end": "2024-01-05 15:11:08.378496", "rc": 0, "start": "2024-01-05 15:11:08.373656" } STDOUT: true TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:539 Friday 05 January 2024 15:11:08 +0000 (0:00:00.140) 0:02:07.576 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:546 Friday 05 January 2024 15:11:08 +0000 (0:00:00.024) 0:02:07.601 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:552 Friday 05 January 2024 15:11:09 +0000 (0:00:01.020) 0:02:08.621 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:572 Friday 05 January 2024 15:11:09 +0000 (0:00:00.052) 0:02:08.674 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:579 Friday 05 January 2024 15:11:09 +0000 (0:00:00.054) 0:02:08.729 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:586 Friday 05 January 2024 15:11:09 +0000 (0:00:00.035) 0:02:08.764 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:598 Friday 05 January 2024 15:11:09 +0000 (0:00:00.044) 0:02:08.809 ******** included: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Friday 05 January 2024 15:11:09 +0000 (0:00:00.040) 0:02:08.849 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002834", "end": "2024-01-05 15:11:09.797130", "failed_when_result": false, "rc": 1, "start": "2024-01-05 15:11:09.794296" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network tcpport] ******** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Friday 05 January 2024 15:11:09 +0000 (0:00:00.143) 0:02:08.993 ******** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.047320", "end": "2024-01-05 15:11:09.980297", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:11:09.932977" } 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Friday 05 January 2024 15:11:10 +0000 (0:00:00.191) 0:02:09.185 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:604 Friday 05 January 2024 15:11:10 +0000 (0:00:00.024) 0:02:09.209 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:624 Friday 05 January 2024 15:11:10 +0000 (0:00:00.024) 0:02:09.234 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:631 Friday 05 January 2024 15:11:10 +0000 (0:00:00.031) 0:02:09.265 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package powershell] **************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:638 Friday 05 January 2024 15:11:10 +0000 (0:00:00.032) 0:02:09.298 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the 3979 trace flag is enabled] ****** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:647 Friday 05 January 2024 15:11:10 +0000 (0:00:00.023) 0:02:09.321 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:653 Friday 05 January 2024 15:11:10 +0000 (0:00:00.107) 0:02:09.428 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:660 Friday 05 January 2024 15:11:10 +0000 (0:00:00.033) 0:02:09.462 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:668 Friday 05 January 2024 15:11:10 +0000 (0:00:00.021) 0:02:09.484 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:674 Friday 05 January 2024 15:11:10 +0000 (0:00:00.023) 0:02:09.507 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:692 Friday 05 January 2024 15:11:10 +0000 (0:00:00.022) 0:02:09.529 ******** TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Friday 05 January 2024 15:11:10 +0000 (0:00:00.072) 0:02:09.601 ******** included: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.certificate : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Friday 05 January 2024 15:11:10 +0000 (0:00:00.045) 0:02:09.646 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Check if system is ostree] ******* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Friday 05 January 2024 15:11:10 +0000 (0:00:00.038) 0:02:09.685 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.certificate : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Friday 05 January 2024 15:11:10 +0000 (0:00:00.146) 0:02:09.832 ******** ok: [sut] => { "ansible_facts": { "__certificate_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.certificate : Set platform/version specific variables] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Friday 05 January 2024 15:11:10 +0000 (0:00:00.027) 0:02:09.860 ******** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=CentOS_7.yml) => { "ansible_facts": { "__certificate_default_directory": "/etc/pki/tls", "__certificate_packages": [ "python-pyasn1", "python-cryptography", "python-dbus" ] }, "ansible_included_var_files": [ "/WORKDIR/git-ansible-lint-test-2.16so8j2u1z/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Friday 05 January 2024 15:11:10 +0000 (0:00:00.076) 0:02:09.936 ******** changed: [sut] => { "changed": true, "changes": { "installed": [ "python-pyasn1", "python-cryptography" ] }, "rc": 0, "results": [ "dbus-python-1.1.1-9.el7.x86_64 providing python-dbus is already installed", "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * base: download.cf.centos.org\n * extras: download.cf.centos.org\n * updates: download.cf.centos.org\nResolving Dependencies\n--> Running transaction check\n---> Package python2-cryptography.x86_64 0:1.7.2-2.el7 will be installed\n--> Processing Dependency: python-idna >= 2.0 for package: python2-cryptography-1.7.2-2.el7.x86_64\n--> Processing Dependency: python-cffi >= 1.4.1 for package: python2-cryptography-1.7.2-2.el7.x86_64\n---> Package python2-pyasn1.noarch 0:0.1.9-7.el7 will be installed\n--> Running transaction check\n---> Package python-cffi.x86_64 0:1.6.0-5.el7 will be installed\n--> Processing Dependency: python-pycparser for package: python-cffi-1.6.0-5.el7.x86_64\n---> Package python-idna.noarch 0:2.4-1.el7 will be installed\n--> Running transaction check\n---> Package python-pycparser.noarch 0:2.14-1.el7 will be installed\n--> Processing Dependency: python-ply for package: python-pycparser-2.14-1.el7.noarch\n--> Running transaction check\n---> Package python-ply.noarch 0:3.4-11.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n python2-cryptography x86_64 1.7.2-2.el7 base 502 k\n python2-pyasn1 noarch 0.1.9-7.el7 base 100 k\nInstalling for dependencies:\n python-cffi x86_64 1.6.0-5.el7 base 218 k\n python-idna noarch 2.4-1.el7 base 94 k\n python-ply noarch 3.4-11.el7 base 123 k\n python-pycparser noarch 2.14-1.el7 base 104 k\n\nTransaction Summary\n================================================================================\nInstall 2 Packages (+4 Dependent packages)\n\nTotal download size: 1.1 M\nInstalled size: 5.8 M\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 4.6 MB/s | 1.1 MB 00:00 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : python2-pyasn1-0.1.9-7.el7.noarch 1/6 \n Installing : python-ply-3.4-11.el7.noarch 2/6 \n Installing : python-pycparser-2.14-1.el7.noarch 3/6 \n Installing : python-cffi-1.6.0-5.el7.x86_64 4/6 \n Installing : python-idna-2.4-1.el7.noarch 5/6 \n Installing : python2-cryptography-1.7.2-2.el7.x86_64 6/6 \n Verifying : python-idna-2.4-1.el7.noarch 1/6 \n Verifying : python-pycparser-2.14-1.el7.noarch 2/6 \n Verifying : python-ply-3.4-11.el7.noarch 3/6 \n Verifying : python-cffi-1.6.0-5.el7.x86_64 4/6 \n Verifying : python2-pyasn1-0.1.9-7.el7.noarch 5/6 \n Verifying : python2-cryptography-1.7.2-2.el7.x86_64 6/6 \n\nInstalled:\n python2-cryptography.x86_64 0:1.7.2-2.el7 python2-pyasn1.noarch 0:0.1.9-7.el7\n\nDependency Installed:\n python-cffi.x86_64 0:1.6.0-5.el7 python-idna.noarch 0:2.4-1.el7 \n python-ply.noarch 0:3.4-11.el7 python-pycparser.noarch 0:2.14-1.el7 \n\nComplete!\n" ] } TASK [fedora.linux_system_roles.certificate : Ensure provider packages are installed] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Friday 05 January 2024 15:11:13 +0000 (0:00:03.066) 0:02:13.003 ******** changed: [sut] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "changes": { "installed": [ "certmonger" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * base: download.cf.centos.org\n * extras: download.cf.centos.org\n * updates: download.cf.centos.org\nResolving Dependencies\n--> Running transaction check\n---> Package certmonger.x86_64 0:0.78.4-17.el7_9 will be installed\n--> Processing Dependency: libtevent.so.0(TEVENT_0.9.9)(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libtalloc.so.2(TALLOC_2.0.2)(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libxmlrpc_util.so.3()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libxmlrpc_client.so.3()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libxmlrpc.so.3()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libtevent.so.0()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libtalloc.so.2()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Running transaction check\n---> Package libtalloc.x86_64 0:2.1.16-1.el7 will be installed\n---> Package libtevent.x86_64 0:0.9.39-1.el7 will be installed\n---> Package xmlrpc-c.x86_64 0:1.32.5-1905.svn2451.el7 will be installed\n---> Package xmlrpc-c-client.x86_64 0:1.32.5-1905.svn2451.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n certmonger x86_64 0.78.4-17.el7_9 updates 608 k\nInstalling for dependencies:\n libtalloc x86_64 2.1.16-1.el7 base 33 k\n libtevent x86_64 0.9.39-1.el7 base 41 k\n xmlrpc-c x86_64 1.32.5-1905.svn2451.el7 base 130 k\n xmlrpc-c-client x86_64 1.32.5-1905.svn2451.el7 base 32 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package (+4 Dependent packages)\n\nTotal download size: 843 k\nInstalled size: 3.3 M\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 2.8 MB/s | 843 kB 00:00 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : libtalloc-2.1.16-1.el7.x86_64 1/5 \n Installing : xmlrpc-c-1.32.5-1905.svn2451.el7.x86_64 2/5 \n Installing : xmlrpc-c-client-1.32.5-1905.svn2451.el7.x86_64 3/5 \n Installing : libtevent-0.9.39-1.el7.x86_64 4/5 \n Installing : certmonger-0.78.4-17.el7_9.x86_64 5/5 \n Verifying : xmlrpc-c-1.32.5-1905.svn2451.el7.x86_64 1/5 \n Verifying : libtalloc-2.1.16-1.el7.x86_64 2/5 \n Verifying : certmonger-0.78.4-17.el7_9.x86_64 3/5 \n Verifying : xmlrpc-c-client-1.32.5-1905.svn2451.el7.x86_64 4/5 \n Verifying : libtevent-0.9.39-1.el7.x86_64 5/5 \n\nInstalled:\n certmonger.x86_64 0:0.78.4-17.el7_9 \n\nDependency Installed:\n libtalloc.x86_64 0:2.1.16-1.el7 \n libtevent.x86_64 0:0.9.39-1.el7 \n xmlrpc-c.x86_64 0:1.32.5-1905.svn2451.el7 \n xmlrpc-c-client.x86_64 0:1.32.5-1905.svn2451.el7 \n\nComplete!\n" ] } TASK [fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Friday 05 January 2024 15:11:16 +0000 (0:00:03.151) 0:02:16.154 ******** changed: [sut] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/etc/certmonger//pre-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Friday 05 January 2024 15:11:17 +0000 (0:00:00.161) 0:02:16.316 ******** changed: [sut] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/etc/certmonger//post-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure provider service is running] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Friday 05 January 2024 15:11:17 +0000 (0:00:00.198) 0:02:16.514 ******** changed: [sut] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "enabled": true, "name": "certmonger", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice systemd-journald.socket network.target syslog.target basic.target dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedorahosted.certmonger", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Certificate monitoring and PKI enrollment", "DevicePolicy": "auto", "EnvironmentFile": "/etc/sysconfig/certmonger (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /var/run/certmonger.pid -n $OPTS ; 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/certmonger.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "certmonger.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "29173", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "certmonger.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/var/run/certmonger.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.certificate : Ensure certificate requests] ***** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Friday 05 January 2024 15:11:17 +0000 (0:00:00.331) 0:02:16.845 ******** changed: [sut] => (item={'name': 'mssql_2019_cert', 'common_name': '10.31.15.47', 'ca': 'self-sign', 'owner': 'mssql', 'group': 'mssql', 'mode': '0600'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ca": "self-sign", "common_name": "10.31.15.47", "group": "mssql", "mode": "0600", "name": "mssql_2019_cert", "owner": "mssql" } } MSG: Certificate requested (new). File attributes updated. TASK [fedora.linux_system_roles.certificate : Slurp the contents of the files] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Friday 05 January 2024 15:11:18 +0000 (0:00:00.745) 0:02:17.591 ******** skipping: [sut] => (item=['cert', {'name': 'mssql_2019_cert', 'common_name': '10.31.15.47', 'ca': 'self-sign', 'owner': 'mssql', 'group': 'mssql', 'mode': '0600'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "cert", { "ca": "self-sign", "common_name": "10.31.15.47", "group": "mssql", "mode": "0600", "name": "mssql_2019_cert", "owner": "mssql" } ], "skip_reason": "Conditional result was False" } skipping: [sut] => (item=['key', {'name': 'mssql_2019_cert', 'common_name': '10.31.15.47', 'ca': 'self-sign', 'owner': 'mssql', 'group': 'mssql', 'mode': '0600'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "key", { "ca": "self-sign", "common_name": "10.31.15.47", "group": "mssql", "mode": "0600", "name": "mssql_2019_cert", "owner": "mssql" } ], "skip_reason": "Conditional result was False" } skipping: [sut] => (item=['ca', {'name': 'mssql_2019_cert', 'common_name': '10.31.15.47', 'ca': 'self-sign', 'owner': 'mssql', 'group': 'mssql', 'mode': '0600'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "ca", { "ca": "self-sign", "common_name": "10.31.15.47", "group": "mssql", "mode": "0600", "name": "mssql_2019_cert", "owner": "mssql" } ], "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Create return data] ************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Friday 05 January 2024 15:11:18 +0000 (0:00:00.041) 0:02:17.633 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Stop tracking certificates] ****** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Friday 05 January 2024 15:11:18 +0000 (0:00:00.024) 0:02:17.658 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Remove files] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Friday 05 January 2024 15:11:18 +0000 (0:00:00.027) 0:02:17.685 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:706 Friday 05 January 2024 15:11:18 +0000 (0:00:00.030) 0:02:17.715 ******** ok: [sut] => { "ansible_facts": { "mssql_tls_cert": "mssql_2019_cert.crt", "mssql_tls_private_key": "mssql_2019_cert.key" }, "changed": false } TASK [linux-system-roles.mssql : Copy certificate and private_key files to the host] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:711 Friday 05 January 2024 15:11:18 +0000 (0:00:00.030) 0:02:17.745 ******** skipping: [sut] => (item=mssql_2019_cert.crt) => { "ansible_loop_var": "item", "changed": false, "item": "mssql_2019_cert.crt", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=mssql_2019_cert.key) => { "ansible_loop_var": "item", "changed": false, "item": "mssql_2019_cert.key", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlscert setting] **************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:729 Friday 05 January 2024 15:11:18 +0000 (0:00:00.030) 0:02:17.776 ******** included: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network tlscert] ************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Friday 05 January 2024 15:11:18 +0000 (0:00:00.037) 0:02:17.814 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003315", "end": "2024-01-05 15:11:18.755779", "failed_when_result": false, "rc": 1, "start": "2024-01-05 15:11:18.752464" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network tlscert] ******** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Friday 05 January 2024 15:11:18 +0000 (0:00:00.226) 0:02:18.041 ******** NOTIFIED HANDLER linux-system-roles.mssql : Restart the mssql-server service for sut changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlscert", "/etc/pki/tls/certs/mssql_2019_cert.crt" ], "delta": "0:00:00.047836", "end": "2024-01-05 15:11:19.049602", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:11:19.001766" } 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 tlscert] ************ task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Friday 05 January 2024 15:11:19 +0000 (0:00:00.212) 0:02:18.253 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:738 Friday 05 January 2024 15:11:19 +0000 (0:00:00.023) 0:02:18.276 ******** included: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network tlskey] *************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Friday 05 January 2024 15:11:19 +0000 (0:00:00.046) 0:02:18.322 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003036", "end": "2024-01-05 15:11:19.263129", "failed_when_result": false, "rc": 1, "start": "2024-01-05 15:11:19.260093" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network tlskey] ********* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Friday 05 January 2024 15:11:19 +0000 (0:00:00.139) 0:02:18.462 ******** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlskey", "/etc/pki/tls/private/mssql_2019_cert.key" ], "delta": "0:00:00.047495", "end": "2024-01-05 15:11:19.449876", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:11:19.402381" } 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 tlskey] ************* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Friday 05 January 2024 15:11:19 +0000 (0:00:00.188) 0:02:18.650 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:747 Friday 05 January 2024 15:11:19 +0000 (0:00:00.026) 0:02:18.676 ******** included: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network tlsprotocols] ********* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Friday 05 January 2024 15:11:19 +0000 (0:00:00.043) 0:02:18.720 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002979", "end": "2024-01-05 15:11:19.663112", "failed_when_result": false, "rc": 1, "start": "2024-01-05 15:11:19.660133" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network tlsprotocols] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Friday 05 January 2024 15:11:19 +0000 (0:00:00.158) 0:02:18.879 ******** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlsprotocols", "1.2" ], "delta": "0:00:00.047344", "end": "2024-01-05 15:11:19.867530", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:11:19.820186" } 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 tlsprotocols] ******* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Friday 05 January 2024 15:11:19 +0000 (0:00:00.188) 0:02:19.067 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:754 Friday 05 January 2024 15:11:19 +0000 (0:00:00.043) 0:02:19.110 ******** included: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network forceencryption] ****** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Friday 05 January 2024 15:11:20 +0000 (0:00:00.064) 0:02:19.175 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002848", "end": "2024-01-05 15:11:20.115603", "failed_when_result": false, "rc": 1, "start": "2024-01-05 15:11:20.112755" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network forceencryption] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Friday 05 January 2024 15:11:20 +0000 (0:00:00.232) 0:02:19.408 ******** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.forceencryption", "1" ], "delta": "0:00:00.048266", "end": "2024-01-05 15:11:20.399200", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:11:20.350934" } 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 forceencryption] **** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Friday 05 January 2024 15:11:20 +0000 (0:00:00.192) 0:02:19.601 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:763 Friday 05 January 2024 15:11:20 +0000 (0:00:00.034) 0:02:19.635 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:771 Friday 05 January 2024 15:11:20 +0000 (0:00:00.026) 0:02:19.662 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:779 Friday 05 January 2024 15:11:20 +0000 (0:00:00.029) 0:02:19.691 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:786 Friday 05 January 2024 15:11:20 +0000 (0:00:00.030) 0:02:19.722 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:793 Friday 05 January 2024 15:11:20 +0000 (0:00:00.024) 0:02:19.746 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:802 Friday 05 January 2024 15:11:20 +0000 (0:00:00.024) 0:02:19.771 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:815 Friday 05 January 2024 15:11:20 +0000 (0:00:00.029) 0:02:19.801 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:824 Friday 05 January 2024 15:11:20 +0000 (0:00:00.025) 0:02:19.826 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:836 Friday 05 January 2024 15:11:20 +0000 (0:00:00.035) 0:02:19.862 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:841 Friday 05 January 2024 15:11:20 +0000 (0:00:00.025) 0:02:19.888 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:858 Friday 05 January 2024 15:11:20 +0000 (0:00:00.023) 0:02:19.911 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:863 Friday 05 January 2024 15:11:20 +0000 (0:00:00.042) 0:02:19.954 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:868 Friday 05 January 2024 15:11:20 +0000 (0:00:00.046) 0:02:20.000 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:874 Friday 05 January 2024 15:11:20 +0000 (0:00:00.031) 0:02:20.031 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:900 Friday 05 January 2024 15:11:20 +0000 (0:00:00.023) 0:02:20.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 : Ensure correct permissions and ownership on the keytab] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:921 Friday 05 January 2024 15:11:20 +0000 (0:00:00.021) 0:02:20.077 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:929 Friday 05 January 2024 15:11:20 +0000 (0:00:00.033) 0:02:20.110 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:939 Friday 05 January 2024 15:11:21 +0000 (0:00:00.162) 0:02:20.273 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:945 Friday 05 January 2024 15:11:21 +0000 (0:00:00.022) 0:02:20.296 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:962 Friday 05 January 2024 15:11:21 +0000 (0:00:00.021) 0:02:20.317 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:977 Friday 05 January 2024 15:11:21 +0000 (0:00:00.022) 0:02:20.339 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:997 Friday 05 January 2024 15:11:21 +0000 (0:00:00.029) 0:02:20.369 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1051 Friday 05 January 2024 15:11:21 +0000 (0:00:00.026) 0:02:20.395 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1058 Friday 05 January 2024 15:11:21 +0000 (0:00:00.022) 0:02:20.417 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1065 Friday 05 January 2024 15:11:21 +0000 (0:00:00.020) 0:02:20.438 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1076 Friday 05 January 2024 15:11:21 +0000 (0:00:00.021) 0:02:20.459 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1082 Friday 05 January 2024 15:11:21 +0000 (0:00:00.020) 0:02:20.480 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1090 Friday 05 January 2024 15:11:21 +0000 (0:00:00.026) 0:02:20.506 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1099 Friday 05 January 2024 15:11:21 +0000 (0:00:00.023) 0:02:20.530 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1107 Friday 05 January 2024 15:11:21 +0000 (0:00:00.022) 0:02:20.552 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1122 Friday 05 January 2024 15:11:21 +0000 (0:00:00.028) 0:02:20.581 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1129 Friday 05 January 2024 15:11:21 +0000 (0:00:00.021) 0:02:20.602 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1154 Friday 05 January 2024 15:11:21 +0000 (0:00:00.026) 0:02:20.629 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1163 Friday 05 January 2024 15:11:21 +0000 (0:00:00.034) 0:02:20.664 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1173 Friday 05 January 2024 15:11:21 +0000 (0:00:00.035) 0:02:20.699 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1184 Friday 05 January 2024 15:11:21 +0000 (0:00:00.023) 0:02:20.722 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1197 Friday 05 January 2024 15:11:21 +0000 (0:00:00.125) 0:02:20.848 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1210 Friday 05 January 2024 15:11:21 +0000 (0:00:00.029) 0:02:20.877 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1217 Friday 05 January 2024 15:11:21 +0000 (0:00:00.019) 0:02:20.896 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1224 Friday 05 January 2024 15:11:21 +0000 (0:00:00.019) 0:02:20.916 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1233 Friday 05 January 2024 15:11:21 +0000 (0:00:00.031) 0:02:20.948 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1240 Friday 05 January 2024 15:11:21 +0000 (0:00:00.023) 0:02:20.971 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1252 Friday 05 January 2024 15:11:21 +0000 (0:00:00.037) 0:02:21.009 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1261 Friday 05 January 2024 15:11:21 +0000 (0:00:00.036) 0:02:21.045 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1268 Friday 05 January 2024 15:11:21 +0000 (0:00:00.021) 0:02:21.067 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1274 Friday 05 January 2024 15:11:21 +0000 (0:00:00.021) 0:02:21.089 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1282 Friday 05 January 2024 15:11:21 +0000 (0:00:00.035) 0:02:21.125 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1295 Friday 05 January 2024 15:11:21 +0000 (0:00:00.038) 0:02:21.163 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1307 Friday 05 January 2024 15:11:22 +0000 (0:00:00.038) 0:02:21.201 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1313 Friday 05 January 2024 15:11:22 +0000 (0:00:00.045) 0:02:21.247 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1322 Friday 05 January 2024 15:11:22 +0000 (0:00:00.035) 0:02:21.282 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 Friday 05 January 2024 15:11:22 +0000 (0:00:00.170) 0:02:21.453 ******** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-01-05 15:10:56 UTC", "ActiveEnterTimestampMonotonic": "1926464033", "ActiveExitTimestamp": "Fri 2024-01-05 15:10:56 UTC", "ActiveExitTimestampMonotonic": "1926224309", "ActiveState": "active", "After": "system.slice systemd-journald.socket network.target basic.target -.mount auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 15:10:56 UTC", "AssertTimestampMonotonic": "1926463456", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-01-05 15:10:56 UTC", "ConditionTimestampMonotonic": "1926463454", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "27400", "ExecMainStartTimestamp": "Fri 2024-01-05 15:10:56 UTC", "ExecMainStartTimestampMonotonic": "1926463973", "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", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-01-05 15:10:56 UTC", "InactiveEnterTimestampMonotonic": "1926462889", "InactiveExitTimestamp": "Fri 2024-01-05 15:10:56 UTC", "InactiveExitTimestampMonotonic": "1926464033", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "27400", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-01-05 15:10:56 UTC", "WatchdogTimestampMonotonic": "1926464011", "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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1335 Friday 05 January 2024 15:11:23 +0000 (0:00:01.024) 0:02:22.477 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1346 Friday 05 January 2024 15:11:23 +0000 (0:00:00.047) 0:02:22.525 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers TASK [Verify connectivity and settings] **************************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/tests_tls.yml:168 Friday 05 January 2024 15:11:23 +0000 (0:00:00.027) 0:02:22.552 ******** included: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/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.16so8j2u1z/tests/tasks/verify_settings.yml:8 Friday 05 January 2024 15:11:23 +0000 (0:00:00.282) 0:02:22.835 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if the set edition matches the existing edition] ******************* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:23 Friday 05 January 2024 15:11:23 +0000 (0:00:00.021) 0:02:22.856 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:35 Friday 05 January 2024 15:11:23 +0000 (0:00:00.030) 0:02:22.887 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:39 Friday 05 January 2024 15:11:23 +0000 (0:00:00.031) 0:02:22.918 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:55 Friday 05 January 2024 15:11:23 +0000 (0:00:00.031) 0:02:22.950 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_datadir has proper permissions and ownership] ********** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:60 Friday 05 January 2024 15:11:23 +0000 (0:00:00.021) 0:02:22.972 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:70 Friday 05 January 2024 15:11:23 +0000 (0:00:00.021) 0:02:22.993 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_logdir has proper permissions and ownership] *********** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:75 Friday 05 January 2024 15:11:23 +0000 (0:00:00.100) 0:02:23.093 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:85 Friday 05 January 2024 15:11:23 +0000 (0:00:00.021) 0:02:23.115 ******** TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Friday 05 January 2024 15:11:23 +0000 (0:00:00.037) 0:02:23.153 ******** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-01-05 15:11:23 UTC", "ActiveEnterTimestampMonotonic": "1953337535", "ActiveExitTimestamp": "Fri 2024-01-05 15:11:22 UTC", "ActiveExitTimestampMonotonic": "1952553848", "ActiveState": "active", "After": "system.slice systemd-journald.socket network.target basic.target -.mount auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 15:11:23 UTC", "AssertTimestampMonotonic": "1953336862", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-01-05 15:11:23 UTC", "ConditionTimestampMonotonic": "1953336860", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "28216", "ExecMainStartTimestamp": "Fri 2024-01-05 15:11:23 UTC", "ExecMainStartTimestampMonotonic": "1953337463", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2024-01-05 15:11:23 UTC] ; stop_time=[n/a] ; pid=28216 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-01-05 15:11:23 UTC", "InactiveEnterTimestampMonotonic": "1953335880", "InactiveExitTimestamp": "Fri 2024-01-05 15:11:23 UTC", "InactiveExitTimestampMonotonic": "1953337535", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "28216", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-01-05 15:11:23 UTC", "WatchdogTimestampMonotonic": "1953337509", "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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Friday 05 January 2024 15:11:24 +0000 (0:00:00.225) 0:02:23.378 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002978", "end": "2024-01-05 15:11:24.331534", "failed_when_result": false, "rc": 1, "start": "2024-01-05 15:11:24.328556" } 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Friday 05 January 2024 15:11:24 +0000 (0:00:00.150) 0:02:23.528 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003235", "end": "2024-01-05 15:11:24.515292", "failed_when_result": false, "rc": 1, "start": "2024-01-05 15:11:24.512057" } MSG: non-zero return code TASK [linux-system-roles.mssql : Set a fact with a login command] ************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Friday 05 January 2024 15:11:24 +0000 (0:00:00.196) 0:02:23.725 ******** 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.16so8j2u1z/tests/tasks/verify_settings.yml:93 Friday 05 January 2024 15:11:24 +0000 (0:00:00.049) 0:02:23.774 ******** ok: [sut] => { "changed": false, "elapsed": 2, "gid": 994, "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": 6364, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:99 Friday 05 January 2024 15:11:26 +0000 (0:00:02.140) 0:02:25.914 ******** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.038386", "end": "2024-01-05 15:11:26.888129", "rc": 0, "start": "2024-01-05 15:11:26.849743" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2017 (RTM-CU31-GDR) (KB5029376) - 14.0.3465.1 (X64) Jul 30 2023 15:31:58 Copyright (C) 2017 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:113 Friday 05 January 2024 15:11:26 +0000 (0:00:00.172) 0:02:26.087 ******** ok: [sut] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:117 Friday 05 January 2024 15:11:26 +0000 (0:00:00.023) 0:02:26.110 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:124 Friday 05 January 2024 15:11:26 +0000 (0:00:00.024) 0:02:26.134 ******** 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.16so8j2u1z/tests/tasks/verify_settings.yml:135 Friday 05 January 2024 15:11:26 +0000 (0:00:00.021) 0:02:26.156 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:140 Friday 05 January 2024 15:11:27 +0000 (0:00:00.020) 0:02:26.176 ******** 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.16so8j2u1z/tests/tasks/verify_settings.yml:145 Friday 05 January 2024 15:11:27 +0000 (0:00:00.021) 0:02:26.198 ******** 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.16so8j2u1z/tests/tasks/verify_settings.yml:151 Friday 05 January 2024 15:11:27 +0000 (0:00:00.026) 0:02:26.225 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:157 Friday 05 January 2024 15:11:27 +0000 (0:00:00.125) 0:02:26.350 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:167 Friday 05 January 2024 15:11:27 +0000 (0:00:00.024) 0:02:26.375 ******** included: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlscert] ************************************ task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml:7 Friday 05 January 2024 15:11:27 +0000 (0:00:00.038) 0:02:26.414 ******** ok: [sut] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004012", "end": "2024-01-05 15:11:27.358247", "rc": 0, "start": "2024-01-05 15:11:27.354235" } STDOUT: tlscert = /etc/pki/tls/certs/mssql_2019_cert.crt TASK [Verify the setting when it is type str tlscert] ************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml:14 Friday 05 January 2024 15:11:27 +0000 (0:00:00.140) 0:02:26.555 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml:25 Friday 05 January 2024 15:11:27 +0000 (0:00:00.038) 0:02:26.593 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/certs/mssql_2019_cert.crt] ************ task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml:40 Friday 05 January 2024 15:11:27 +0000 (0:00:00.042) 0:02:26.635 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:178 Friday 05 January 2024 15:11:27 +0000 (0:00:00.030) 0:02:26.666 ******** included: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlskey] ************************************* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml:7 Friday 05 January 2024 15:11:27 +0000 (0:00:00.041) 0:02:26.708 ******** ok: [sut] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004062", "end": "2024-01-05 15:11:27.651503", "rc": 0, "start": "2024-01-05 15:11:27.647441" } STDOUT: tlskey = /etc/pki/tls/private/mssql_2019_cert.key TASK [Verify the setting when it is type str tlskey] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml:14 Friday 05 January 2024 15:11:27 +0000 (0:00:00.140) 0:02:26.848 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml:25 Friday 05 January 2024 15:11:27 +0000 (0:00:00.032) 0:02:26.880 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/private/mssql_2019_cert.key] ********** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml:40 Friday 05 January 2024 15:11:27 +0000 (0:00:00.027) 0:02:26.908 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:190 Friday 05 January 2024 15:11:27 +0000 (0:00:00.028) 0:02:26.937 ******** included: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlsprotocols] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml:7 Friday 05 January 2024 15:11:27 +0000 (0:00:00.053) 0:02:26.990 ******** ok: [sut] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.003995", "end": "2024-01-05 15:11:27.930247", "rc": 0, "start": "2024-01-05 15:11:27.926252" } STDOUT: tlsprotocols = 1.2 TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml:14 Friday 05 January 2024 15:11:27 +0000 (0:00:00.138) 0:02:27.128 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml:25 Friday 05 January 2024 15:11:28 +0000 (0:00:00.122) 0:02:27.251 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1.2] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml:40 Friday 05 January 2024 15:11:28 +0000 (0:00:00.041) 0:02:27.292 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:198 Friday 05 January 2024 15:11:28 +0000 (0:00:00.045) 0:02:27.338 ******** included: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting forceencryption] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml:7 Friday 05 January 2024 15:11:28 +0000 (0:00:00.070) 0:02:27.408 ******** ok: [sut] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004141", "end": "2024-01-05 15:11:28.350121", "rc": 0, "start": "2024-01-05 15:11:28.345980" } STDOUT: forceencryption = 1 TASK [Verify the setting when it is type str forceencryption] ****************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml:14 Friday 05 January 2024 15:11:28 +0000 (0:00:00.146) 0:02:27.555 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool forceencryption] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml:25 Friday 05 January 2024 15:11:28 +0000 (0:00:00.026) 0:02:27.581 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml:40 Friday 05 January 2024 15:11:28 +0000 (0:00:00.033) 0:02:27.615 ******** 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.16so8j2u1z/tests/tasks/verify_settings.yml:208 Friday 05 January 2024 15:11:28 +0000 (0:00:00.037) 0:02:27.653 ******** 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.16so8j2u1z/tests/tasks/verify_settings.yml:213 Friday 05 January 2024 15:11:28 +0000 (0:00:00.024) 0:02:27.678 ******** 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.16so8j2u1z/tests/tasks/verify_settings.yml:221 Friday 05 January 2024 15:11:28 +0000 (0:00:00.030) 0:02:27.708 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Disable TLS encryption] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/tests_tls.yml:175 Friday 05 January 2024 15:11:28 +0000 (0:00:00.038) 0:02:27.747 ******** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Friday 05 January 2024 15:11:29 +0000 (0:00:00.647) 0:02:28.394 ******** included: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Friday 05 January 2024 15:11:29 +0000 (0:00:00.039) 0:02:28.434 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:9 Friday 05 January 2024 15:11:29 +0000 (0:00:00.026) 0:02:28.460 ******** 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.16so8j2u1z/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_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019 ] }, "ansible_included_var_files": [ "/WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Friday 05 January 2024 15:11:29 +0000 (0:00:00.037) 0:02:28.498 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Friday 05 January 2024 15:11:29 +0000 (0:00:00.023) 0:02:28.522 ******** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Friday 05 January 2024 15:11:29 +0000 (0:00:00.021) 0:02:28.543 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Friday 05 January 2024 15:11:29 +0000 (0:00:00.020) 0:02:28.564 ******** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Friday 05 January 2024 15:11:29 +0000 (0:00:00.021) 0:02:28.585 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Friday 05 January 2024 15:11:29 +0000 (0:00:00.021) 0:02:28.606 ******** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:51 Friday 05 January 2024 15:11:29 +0000 (0:00:00.021) 0:02:28.628 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:58 Friday 05 January 2024 15:11:29 +0000 (0:00:00.140) 0:02:28.768 ******** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:65 Friday 05 January 2024 15:11:29 +0000 (0:00:00.024) 0:02:28.793 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:69 Friday 05 January 2024 15:11:29 +0000 (0:00:00.023) 0:02:28.817 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:81 Friday 05 January 2024 15:11:29 +0000 (0:00:00.028) 0:02:28.845 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:89 Friday 05 January 2024 15:11:29 +0000 (0:00:00.022) 0:02:28.868 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:98 Friday 05 January 2024 15:11:29 +0000 (0:00:00.023) 0:02:28.891 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:111 Friday 05 January 2024 15:11:29 +0000 (0:00:00.022) 0:02:28.914 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:122 Friday 05 January 2024 15:11:29 +0000 (0:00:00.026) 0:02:28.940 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:131 Friday 05 January 2024 15:11:29 +0000 (0:00:00.022) 0:02:28.963 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:135 Friday 05 January 2024 15:11:30 +0000 (0:00:00.916) 0:02:29.879 ******** ok: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_facts": { "__mssql_current_version": "2017" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 } } 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Friday 05 January 2024 15:11:30 +0000 (0:00:00.065) 0:02:29.945 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:151 Friday 05 January 2024 15:11:30 +0000 (0:00:00.036) 0:02:29.981 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:158 Friday 05 January 2024 15:11:30 +0000 (0:00:00.028) 0:02:30.009 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:173 Friday 05 January 2024 15:11:30 +0000 (0:00:00.043) 0:02:30.053 ******** ok: [sut] => { "attempts": 1, "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:186 Friday 05 January 2024 15:11:31 +0000 (0:00:00.319) 0:02:30.372 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:196 Friday 05 January 2024 15:11:31 +0000 (0:00:00.126) 0:02:30.499 ******** 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 2017] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:207 Friday 05 January 2024 15:11:31 +0000 (0:00:00.024) 0:02:30.524 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:215 Friday 05 January 2024 15:11:31 +0000 (0:00:00.026) 0:02:30.551 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:228 Friday 05 January 2024 15:11:31 +0000 (0:00:00.026) 0:02:30.577 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:236 Friday 05 January 2024 15:11:31 +0000 (0:00:00.020) 0:02:30.598 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:241 Friday 05 January 2024 15:11:31 +0000 (0:00:00.020) 0:02:30.618 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:250 Friday 05 January 2024 15:11:31 +0000 (0:00:00.020) 0:02:30.638 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:259 Friday 05 January 2024 15:11:31 +0000 (0:00:00.022) 0:02:30.661 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:264 Friday 05 January 2024 15:11:31 +0000 (0:00:00.023) 0:02:30.684 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3465.1-1.x86_64 providing mssql-server is already installed" ] } TASK [linux-system-roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:272 Friday 05 January 2024 15:11:31 +0000 (0:00:00.339) 0:02:31.024 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:280 Friday 05 January 2024 15:11:31 +0000 (0:00:00.022) 0:02:31.046 ******** 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.004906", "end": "2024-01-05 15:11:31.997681", "rc": 0, "start": "2024-01-05 15:11:31.992775" } STDOUT: /var/opt/mssql/log/errorlog TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:295 Friday 05 January 2024 15:11:32 +0000 (0:00:00.149) 0:02:31.196 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:299 Friday 05 January 2024 15:11:32 +0000 (0:00:00.694) 0:02:31.890 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:308 Friday 05 January 2024 15:11:32 +0000 (0:00:00.044) 0:02:31.934 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:324 Friday 05 January 2024 15:11:32 +0000 (0:00:00.046) 0:02:31.981 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:344 Friday 05 January 2024 15:11:32 +0000 (0:00:00.028) 0:02:32.010 ******** skipping: [sut] => (item={'path': None, 'mode': None, 'setting': 'defaultdatadir'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": null, "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'path': None, 'mode': None, 'setting': 'defaultlogdir'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": null, "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for {{ __mssql_storage_path }}] *********** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:359 Friday 05 January 2024 15:11:33 +0000 (0:00:00.204) 0:02:32.214 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:366 Friday 05 January 2024 15:11:33 +0000 (0:00:00.032) 0:02:32.247 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } TASK [linux-system-roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:371 Friday 05 January 2024 15:11:33 +0000 (0:00:00.376) 0:02:32.624 ******** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-01-05 14:39:05 UTC", "ActiveEnterTimestampMonotonic": "15127657", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket systemd-sysctl.service network.target dbus.service basic.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 14:39:03 UTC", "AssertTimestampMonotonic": "13660099", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-01-05 14:39:03 UTC", "ConditionTimestampMonotonic": "13660097", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "878", "ExecMainStartTimestamp": "Fri 2024-01-05 14:39:03 UTC", "ExecMainStartTimestampMonotonic": "13660700", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-01-05 14:39:03 UTC", "InactiveExitTimestampMonotonic": "13660738", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "29173", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "878", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "polkit.service system.slice dbus.service basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-01-05 14:39:05 UTC", "WatchdogTimestampMonotonic": "15127600", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:377 Friday 05 January 2024 15:11:33 +0000 (0:00:00.235) 0:02:32.859 ******** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.089625", "end": "2024-01-05 15:11:33.884617", "rc": 0, "start": "2024-01-05 15:11:33.794992" } 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:387 Friday 05 January 2024 15:11:33 +0000 (0:00:00.254) 0:02:33.114 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:400 Friday 05 January 2024 15:11:33 +0000 (0:00:00.033) 0:02:33.148 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:409 Friday 05 January 2024 15:11:33 +0000 (0:00:00.023) 0:02:33.171 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:419 Friday 05 January 2024 15:11:34 +0000 (0:00:00.027) 0:02:33.198 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:426 Friday 05 January 2024 15:11:34 +0000 (0:00:00.137) 0:02:33.336 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-tools-17.10.1.1-1.x86_64 providing mssql-tools is already installed", "unixODBC-devel-2.3.11-1.rh.x86_64 providing unixODBC-devel is already installed" ] } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:438 Friday 05 January 2024 15:11:34 +0000 (0:00:00.340) 0:02:33.676 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:442 Friday 05 January 2024 15:11:34 +0000 (0:00:00.023) 0:02:33.699 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:448 Friday 05 January 2024 15:11:34 +0000 (0:00:00.027) 0:02:33.726 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:463 Friday 05 January 2024 15:11:34 +0000 (0:00:00.025) 0:02:33.751 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:470 Friday 05 January 2024 15:11:34 +0000 (0:00:00.050) 0:02:33.802 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:478 Friday 05 January 2024 15:11:34 +0000 (0:00:00.035) 0:02:33.838 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:500 Friday 05 January 2024 15:11:34 +0000 (0:00:00.151) 0:02:33.990 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:511 Friday 05 January 2024 15:11:34 +0000 (0:00:00.039) 0:02:34.029 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:526 Friday 05 January 2024 15:11:34 +0000 (0:00:00.025) 0:02:34.055 ******** 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.005310", "end": "2024-01-05 15:11:35.037169", "rc": 0, "start": "2024-01-05 15:11:35.031859" } STDOUT: true TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:539 Friday 05 January 2024 15:11:35 +0000 (0:00:00.183) 0:02:34.238 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:546 Friday 05 January 2024 15:11:35 +0000 (0:00:00.039) 0:02:34.278 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:552 Friday 05 January 2024 15:11:36 +0000 (0:00:00.989) 0:02:35.267 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:572 Friday 05 January 2024 15:11:36 +0000 (0:00:00.048) 0:02:35.315 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:579 Friday 05 January 2024 15:11:36 +0000 (0:00:00.026) 0:02:35.342 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:586 Friday 05 January 2024 15:11:36 +0000 (0:00:00.025) 0:02:35.367 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:598 Friday 05 January 2024 15:11:36 +0000 (0:00:00.027) 0:02:35.395 ******** included: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Friday 05 January 2024 15:11:36 +0000 (0:00:00.063) 0:02:35.459 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002930", "end": "2024-01-05 15:11:36.419393", "failed_when_result": false, "rc": 1, "start": "2024-01-05 15:11:36.416463" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network tcpport] ******** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Friday 05 January 2024 15:11:36 +0000 (0:00:00.168) 0:02:35.627 ******** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.047833", "end": "2024-01-05 15:11:36.620684", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:11:36.572851" } 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Friday 05 January 2024 15:11:36 +0000 (0:00:00.376) 0:02:36.003 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:604 Friday 05 January 2024 15:11:36 +0000 (0:00:00.053) 0:02:36.057 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:624 Friday 05 January 2024 15:11:36 +0000 (0:00:00.034) 0:02:36.092 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:631 Friday 05 January 2024 15:11:36 +0000 (0:00:00.041) 0:02:36.133 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package powershell] **************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:638 Friday 05 January 2024 15:11:37 +0000 (0:00:00.045) 0:02:36.179 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the 3979 trace flag is enabled] ****** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:647 Friday 05 January 2024 15:11:37 +0000 (0:00:00.027) 0:02:36.207 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:653 Friday 05 January 2024 15:11:37 +0000 (0:00:00.026) 0:02:36.233 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:660 Friday 05 January 2024 15:11:37 +0000 (0:00:00.042) 0:02:36.276 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:668 Friday 05 January 2024 15:11:37 +0000 (0:00:00.041) 0:02:36.318 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:674 Friday 05 January 2024 15:11:37 +0000 (0:00:00.023) 0:02:36.341 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:692 Friday 05 January 2024 15:11:37 +0000 (0:00:00.024) 0:02:36.366 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:706 Friday 05 January 2024 15:11:37 +0000 (0:00:00.027) 0:02:36.394 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:711 Friday 05 January 2024 15:11:37 +0000 (0:00:00.042) 0:02:36.437 ******** skipping: [sut] => (item=mssql_2019_cert.crt) => { "ansible_loop_var": "item", "changed": false, "item": "mssql_2019_cert.crt", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=mssql_2019_cert.key) => { "ansible_loop_var": "item", "changed": false, "item": "mssql_2019_cert.key", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlscert setting] **************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:729 Friday 05 January 2024 15:11:37 +0000 (0:00:00.030) 0:02:36.467 ******** included: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network tlscert] ************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Friday 05 January 2024 15:11:37 +0000 (0:00:00.039) 0:02:36.506 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003049", "end": "2024-01-05 15:11:37.450097", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:11:37.447048" } STDOUT: tlscert = /etc/pki/tls/certs/mssql_2019_cert.crt TASK [linux-system-roles.mssql : Configure the setting network tlscert] ******** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Friday 05 January 2024 15:11:37 +0000 (0:00:00.156) 0:02:36.663 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting network tlscert] ************ task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Friday 05 January 2024 15:11:37 +0000 (0:00:00.028) 0:02:36.692 ******** NOTIFIED HANDLER linux-system-roles.mssql : Restart the mssql-server service for sut changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlscert" ], "delta": "0:00:00.047342", "end": "2024-01-05 15:11:37.713640", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:11:37.666298" } 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 tlskey setting] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:738 Friday 05 January 2024 15:11:37 +0000 (0:00:00.293) 0:02:36.985 ******** included: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network tlskey] *************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Friday 05 January 2024 15:11:37 +0000 (0:00:00.062) 0:02:37.047 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003047", "end": "2024-01-05 15:11:37.996033", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:11:37.992986" } STDOUT: tlskey = /etc/pki/tls/private/mssql_2019_cert.key TASK [linux-system-roles.mssql : Configure the setting network tlskey] ********* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Friday 05 January 2024 15:11:38 +0000 (0:00:00.186) 0:02:37.234 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting network tlskey] ************* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Friday 05 January 2024 15:11:38 +0000 (0:00:00.067) 0:02:37.302 ******** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlskey" ], "delta": "0:00:00.047268", "end": "2024-01-05 15:11:38.331581", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:11:38.284313" } 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 tlsprotocols setting] *********** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:747 Friday 05 January 2024 15:11:38 +0000 (0:00:00.248) 0:02:37.550 ******** included: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network tlsprotocols] ********* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Friday 05 January 2024 15:11:38 +0000 (0:00:00.044) 0:02:37.595 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002947", "end": "2024-01-05 15:11:38.567493", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:11:38.564546" } STDOUT: tlsprotocols = 1.2 TASK [linux-system-roles.mssql : Configure the setting network tlsprotocols] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Friday 05 January 2024 15:11:38 +0000 (0:00:00.181) 0:02:37.777 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting network tlsprotocols] ******* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Friday 05 January 2024 15:11:38 +0000 (0:00:00.078) 0:02:37.856 ******** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlsprotocols" ], "delta": "0:00:00.047128", "end": "2024-01-05 15:11:38.934140", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:11:38.887012" } 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 forceencryption setting] ******** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:754 Friday 05 January 2024 15:11:38 +0000 (0:00:00.297) 0:02:38.153 ******** included: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network forceencryption] ****** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Friday 05 January 2024 15:11:39 +0000 (0:00:00.111) 0:02:38.265 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002956", "end": "2024-01-05 15:11:39.214940", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:11:39.211984" } STDOUT: forceencryption = 1 TASK [linux-system-roles.mssql : Configure the setting network forceencryption] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Friday 05 January 2024 15:11:39 +0000 (0:00:00.159) 0:02:38.424 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting network forceencryption] **** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Friday 05 January 2024 15:11:39 +0000 (0:00:00.044) 0:02:38.469 ******** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.forceencryption" ], "delta": "0:00:00.048093", "end": "2024-01-05 15:11:39.465859", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:11:39.417766" } 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 : Verify that ad_integration_realm variable is provided] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:763 Friday 05 January 2024 15:11:39 +0000 (0:00:00.233) 0:02:38.702 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:771 Friday 05 January 2024 15:11:39 +0000 (0:00:00.173) 0:02:38.875 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:779 Friday 05 January 2024 15:11:39 +0000 (0:00:00.025) 0:02:38.900 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:786 Friday 05 January 2024 15:11:39 +0000 (0:00:00.030) 0:02:38.930 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:793 Friday 05 January 2024 15:11:39 +0000 (0:00:00.033) 0:02:38.964 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:802 Friday 05 January 2024 15:11:39 +0000 (0:00:00.059) 0:02:39.023 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:815 Friday 05 January 2024 15:11:39 +0000 (0:00:00.026) 0:02:39.050 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:824 Friday 05 January 2024 15:11:39 +0000 (0:00:00.044) 0:02:39.095 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:836 Friday 05 January 2024 15:11:39 +0000 (0:00:00.033) 0:02:39.128 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:841 Friday 05 January 2024 15:11:39 +0000 (0:00:00.025) 0:02:39.153 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:858 Friday 05 January 2024 15:11:40 +0000 (0:00:00.055) 0:02:39.209 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:863 Friday 05 January 2024 15:11:40 +0000 (0:00:00.035) 0:02:39.245 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:868 Friday 05 January 2024 15:11:40 +0000 (0:00:00.035) 0:02:39.280 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:874 Friday 05 January 2024 15:11:40 +0000 (0:00:00.046) 0:02:39.327 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:900 Friday 05 January 2024 15:11:40 +0000 (0:00:00.046) 0:02:39.374 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:921 Friday 05 January 2024 15:11:40 +0000 (0:00:00.054) 0:02:39.428 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:929 Friday 05 January 2024 15:11:40 +0000 (0:00:00.037) 0:02:39.465 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:939 Friday 05 January 2024 15:11:40 +0000 (0:00:00.040) 0:02:39.506 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:945 Friday 05 January 2024 15:11:40 +0000 (0:00:00.024) 0:02:39.531 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:962 Friday 05 January 2024 15:11:40 +0000 (0:00:00.022) 0:02:39.554 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:977 Friday 05 January 2024 15:11:40 +0000 (0:00:00.181) 0:02:39.736 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:997 Friday 05 January 2024 15:11:40 +0000 (0:00:00.053) 0:02:39.789 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1051 Friday 05 January 2024 15:11:40 +0000 (0:00:00.053) 0:02:39.843 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1058 Friday 05 January 2024 15:11:40 +0000 (0:00:00.030) 0:02:39.873 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1065 Friday 05 January 2024 15:11:40 +0000 (0:00:00.026) 0:02:39.900 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1076 Friday 05 January 2024 15:11:40 +0000 (0:00:00.023) 0:02:39.924 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1082 Friday 05 January 2024 15:11:40 +0000 (0:00:00.037) 0:02:39.962 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1090 Friday 05 January 2024 15:11:40 +0000 (0:00:00.028) 0:02:39.990 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1099 Friday 05 January 2024 15:11:40 +0000 (0:00:00.021) 0:02:40.011 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1107 Friday 05 January 2024 15:11:40 +0000 (0:00:00.023) 0:02:40.034 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1122 Friday 05 January 2024 15:11:40 +0000 (0:00:00.029) 0:02:40.064 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1129 Friday 05 January 2024 15:11:40 +0000 (0:00:00.022) 0:02:40.087 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1154 Friday 05 January 2024 15:11:40 +0000 (0:00:00.037) 0:02:40.125 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1163 Friday 05 January 2024 15:11:40 +0000 (0:00:00.025) 0:02:40.150 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1173 Friday 05 January 2024 15:11:41 +0000 (0:00:00.023) 0:02:40.174 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1184 Friday 05 January 2024 15:11:41 +0000 (0:00:00.041) 0:02:40.215 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1197 Friday 05 January 2024 15:11:41 +0000 (0:00:00.021) 0:02:40.236 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1210 Friday 05 January 2024 15:11:41 +0000 (0:00:00.045) 0:02:40.281 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1217 Friday 05 January 2024 15:11:41 +0000 (0:00:00.025) 0:02:40.307 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1224 Friday 05 January 2024 15:11:41 +0000 (0:00:00.135) 0:02:40.443 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1233 Friday 05 January 2024 15:11:41 +0000 (0:00:00.048) 0:02:40.492 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1240 Friday 05 January 2024 15:11:41 +0000 (0:00:00.027) 0:02:40.519 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1252 Friday 05 January 2024 15:11:41 +0000 (0:00:00.068) 0:02:40.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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1261 Friday 05 January 2024 15:11:41 +0000 (0:00:00.039) 0:02:40.627 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1268 Friday 05 January 2024 15:11:41 +0000 (0:00:00.045) 0:02:40.672 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1274 Friday 05 January 2024 15:11:41 +0000 (0:00:00.038) 0:02:40.711 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1282 Friday 05 January 2024 15:11:41 +0000 (0:00:00.043) 0:02:40.754 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1295 Friday 05 January 2024 15:11:41 +0000 (0:00:00.052) 0:02:40.807 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1307 Friday 05 January 2024 15:11:41 +0000 (0:00:00.030) 0:02:40.837 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1313 Friday 05 January 2024 15:11:41 +0000 (0:00:00.050) 0:02:40.887 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1322 Friday 05 January 2024 15:11:41 +0000 (0:00:00.067) 0:02:40.955 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 Friday 05 January 2024 15:11:42 +0000 (0:00:00.279) 0:02:41.234 ******** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-01-05 15:11:23 UTC", "ActiveEnterTimestampMonotonic": "1953337535", "ActiveExitTimestamp": "Fri 2024-01-05 15:11:22 UTC", "ActiveExitTimestampMonotonic": "1952553848", "ActiveState": "active", "After": "system.slice systemd-journald.socket network.target basic.target -.mount auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 15:11:23 UTC", "AssertTimestampMonotonic": "1953336862", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-01-05 15:11:23 UTC", "ConditionTimestampMonotonic": "1953336860", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "28216", "ExecMainStartTimestamp": "Fri 2024-01-05 15:11:23 UTC", "ExecMainStartTimestampMonotonic": "1953337463", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2024-01-05 15:11:23 UTC] ; stop_time=[n/a] ; pid=28216 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-01-05 15:11:23 UTC", "InactiveEnterTimestampMonotonic": "1953335880", "InactiveExitTimestamp": "Fri 2024-01-05 15:11:23 UTC", "InactiveExitTimestampMonotonic": "1953337535", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "28216", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-01-05 15:11:23 UTC", "WatchdogTimestampMonotonic": "1953337509", "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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1335 Friday 05 January 2024 15:11:42 +0000 (0:00:00.581) 0:02:41.815 ******** 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.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1346 Friday 05 January 2024 15:11:42 +0000 (0:00:00.038) 0:02:41.854 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up after the role invocation] ************************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tests_tls_2017.yml:26 Friday 05 January 2024 15:11:42 +0000 (0:00:00.037) 0:02:41.891 ******** included: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/cleanup.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/cleanup.yml:2 Friday 05 January 2024 15:11:42 +0000 (0:00:00.236) 0:02:42.127 ******** 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.16so8j2u1z/tests/tasks/cleanup.yml:6 Friday 05 January 2024 15:11:43 +0000 (0:00:01.006) 0:02:43.134 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Debug ansible_python_version] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/cleanup.yml:14 Friday 05 January 2024 15:11:43 +0000 (0:00:00.029) 0:02:43.163 ******** ok: [sut] => { "ansible_python_version": "2.7.5" } TASK [Purge firewall configuration] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/cleanup.yml:18 Friday 05 January 2024 15:11:44 +0000 (0:00:00.041) 0:02:43.205 ******** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Friday 05 January 2024 15:11:44 +0000 (0:00:00.068) 0:02:43.273 ******** included: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/.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.16so8j2u1z/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Friday 05 January 2024 15:11:44 +0000 (0:00:00.048) 0:02:43.322 ******** 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.16so8j2u1z/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Friday 05 January 2024 15:11:44 +0000 (0:00:00.042) 0:02:43.364 ******** 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.16so8j2u1z/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Friday 05 January 2024 15:11:44 +0000 (0:00:00.173) 0:02:43.537 ******** 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.16so8j2u1z/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:19 Friday 05 January 2024 15:11:44 +0000 (0:00:00.047) 0:02:43.585 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Friday 05 January 2024 15:11:44 +0000 (0:00:00.458) 0:02:44.043 ******** 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.16so8j2u1z/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Friday 05 January 2024 15:11:44 +0000 (0:00:00.072) 0:02:44.116 ******** 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.16so8j2u1z/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Friday 05 January 2024 15:11:45 +0000 (0:00:00.083) 0:02:44.200 ******** ok: [sut] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Fri 2024-01-05 15:01:08 UTC", "ActiveEnterTimestampMonotonic": "1338965582", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service system.slice dbus.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 15:01:08 UTC", "AssertTimestampMonotonic": "1338328212", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-01-05 15:01:08 UTC", "ConditionTimestampMonotonic": "1338328210", "Conflicts": "ip6tables.service iptables.service shutdown.target ipset.service ebtables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "13515", "ExecMainStartTimestamp": "Fri 2024-01-05 15:01:08 UTC", "ExecMainStartTimestampMonotonic": "1338329413", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-01-05 15:01:08 UTC", "InactiveExitTimestampMonotonic": "1338329451", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "29173", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "13515", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "dbus-org.fedoraproject.FirewallD1.service firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Fri 2024-01-05 15:01:08 UTC", "WatchdogTimestampMonotonic": "1338965490", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Friday 05 January 2024 15:11:45 +0000 (0:00:00.382) 0:02:44.582 ******** ok: [sut] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-01-05 15:01:08 UTC", "ActiveEnterTimestampMonotonic": "1338965582", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service system.slice dbus.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 15:01:08 UTC", "AssertTimestampMonotonic": "1338328212", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-01-05 15:01:08 UTC", "ConditionTimestampMonotonic": "1338328210", "Conflicts": "ip6tables.service iptables.service shutdown.target ipset.service ebtables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "13515", "ExecMainStartTimestamp": "Fri 2024-01-05 15:01:08 UTC", "ExecMainStartTimestampMonotonic": "1338329413", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-01-05 15:01:08 UTC", "InactiveExitTimestampMonotonic": "1338329451", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "29173", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "13515", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "dbus-org.fedoraproject.FirewallD1.service firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Fri 2024-01-05 15:01:08 UTC", "WatchdogTimestampMonotonic": "1338965490", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Friday 05 January 2024 15:11:45 +0000 (0:00:00.320) 0:02:44.903 ******** ok: [sut] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/bin/python2", "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Friday 05 January 2024 15:11:45 +0000 (0:00:00.063) 0:02:44.967 ******** ok: [sut] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.15.47 closed. TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Friday 05 January 2024 15:11:46 +0000 (0:00:00.592) 0:02:45.560 ******** 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.16so8j2u1z/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Friday 05 January 2024 15:11:46 +0000 (0:00:00.069) 0:02:45.629 ******** TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Friday 05 January 2024 15:11:46 +0000 (0:00:00.033) 0:02:45.663 ******** TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Friday 05 January 2024 15:11:46 +0000 (0:00:00.056) 0:02:45.719 ******** 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.16so8j2u1z/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Friday 05 January 2024 15:11:46 +0000 (0:00:00.029) 0:02:45.749 ******** 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.16so8j2u1z/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Friday 05 January 2024 15:11:46 +0000 (0:00:00.023) 0:02:45.773 ******** 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.16so8j2u1z/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Friday 05 January 2024 15:11:46 +0000 (0:00:00.050) 0:02:45.823 ******** ok: [sut] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.15.47 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Friday 05 January 2024 15:11:46 +0000 (0:00:00.341) 0:02:46.165 ******** 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.16so8j2u1z/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Friday 05 January 2024 15:11:47 +0000 (0:00:00.028) 0:02:46.193 ******** skipping: [sut] => {} TASK [Leave realm] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/cleanup.yml:27 Friday 05 January 2024 15:11:47 +0000 (0:00:00.031) 0:02:46.225 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Destroy Kerberos tickets] ************************************************ task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/cleanup.yml:35 Friday 05 January 2024 15:11:47 +0000 (0:00:00.190) 0:02:46.416 ******** 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.16so8j2u1z/tests/tasks/cleanup.yml:39 Friday 05 January 2024 15:11:47 +0000 (0:00:00.030) 0:02:46.446 ******** ok: [sut] => { "backup": "", "changed": false } TASK [Remove related packages] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/cleanup.yml:45 Friday 05 January 2024 15:11:47 +0000 (0:00:00.237) 0:02:46.683 ******** changed: [sut] => { "changed": true, "changes": { "removed": [ "mssql-server", "mssql-tools", "unixODBC-devel" ] }, "rc": 0, "results": [ "adutil is not installed", "mssql-server-fts is not installed", "mssql-server-ha is not installed", "powershell is not installed", "Loaded plugins: fastestmirror\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-server.x86_64 0:14.0.3465.1-1 will be erased\n---> Package mssql-tools.x86_64 0:17.10.1.1-1 will be erased\n---> Package unixODBC-devel.x86_64 0:2.3.11-1.rh will be erased\n--> Finished Dependency Resolution\n--> Finding unneeded leftover dependencies\n---> Marking msodbcsql17 to be removed - no longer needed by mssql-tools\n---> Marking unixODBC to be removed - no longer needed by unixODBC-devel\n---> Marking libsss_nss_idmap to be removed - no longer needed by mssql-server\n---> Marking cyrus-sasl to be removed - no longer needed by mssql-server\n---> Marking gdb to be removed - no longer needed by mssql-server\n---> Marking cyrus-sasl-gssapi to be removed - no longer needed by mssql-server\n---> Marking libatomic to be removed - no longer needed by mssql-server\n---> Marking bzip2 to be removed - no longer needed by mssql-server\n---> Marking libtool-ltdl to be removed - no longer needed by unixODBC\nFound and removing 9 unneeded dependencies\n--> Running transaction check\n---> Package bzip2.x86_64 0:1.0.6-13.el7 will be erased\n---> Package cyrus-sasl.x86_64 0:2.1.26-24.el7_9 will be erased\n---> Package cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 will be erased\n---> Package gdb.x86_64 0:7.6.1-120.el7 will be erased\n---> Package libatomic.x86_64 0:4.8.5-44.el7 will be erased\n---> Package libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.15 will be erased\n---> Package libtool-ltdl.x86_64 0:2.4.2-22.el7_3 will be erased\n---> Package msodbcsql17.x86_64 0:17.10.5.1-1 will be erased\n---> Package unixODBC.x86_64 0:2.3.11-1.rh will be erased\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nRemoving:\n mssql-server x86_64 14.0.3465.1-1 @packages-microsoft-com-mssql-server-2017\n 1.0 G\n mssql-tools x86_64 17.10.1.1-1 @packages-microsoft-com-prod 714 k\n unixODBC-devel x86_64 2.3.11-1.rh @packages-microsoft-com-prod 223 k\nRemoving for dependencies:\n bzip2 x86_64 1.0.6-13.el7 @base 82 k\n cyrus-sasl x86_64 2.1.26-24.el7_9 @updates 141 k\n cyrus-sasl-gssapi x86_64 2.1.26-24.el7_9 @updates 36 k\n gdb x86_64 7.6.1-120.el7 @base 7.0 M\n libatomic x86_64 4.8.5-44.el7 @base 26 k\n libsss_nss_idmap x86_64 1.16.5-10.el7_9.15 @updates 82 k\n libtool-ltdl x86_64 2.4.2-22.el7_3 @base 66 k\n msodbcsql17 x86_64 17.10.5.1-1 @packages-microsoft-com-prod 2.2 M\n unixODBC x86_64 2.3.11-1.rh @packages-microsoft-com-prod 648 k\n\nTransaction Summary\n================================================================================\nRemove 3 Packages (+9 Dependent packages)\n\nInstalled size: 1.0 G\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Erasing : mssql-server-14.0.3465.1-1.x86_64 1/12 \n Erasing : unixODBC-devel-2.3.11-1.rh.x86_64 2/12 \n Erasing : mssql-tools-17.10.1.1-1.x86_64 3/12 \n Erasing : msodbcsql17-17.10.5.1-1.x86_64 4/12 \nODBC Driver 17 for SQL Server has been deleted (if it existed at all) because its usage count became zero\n Erasing : unixODBC-2.3.11-1.rh.x86_64 5/12 \nwarning: /etc/odbcinst.ini saved as /etc/odbcinst.ini.rpmsave\n Erasing : libtool-ltdl-2.4.2-22.el7_3.x86_64 6/12 \n Erasing : libatomic-4.8.5-44.el7.x86_64 7/12 \n Erasing : bzip2-1.0.6-13.el7.x86_64 8/12 \n Erasing : gdb-7.6.1-120.el7.x86_64 9/12 \n Erasing : libsss_nss_idmap-1.16.5-10.el7_9.15.x86_64 10/12 \n Erasing : cyrus-sasl-2.1.26-24.el7_9.x86_64 11/12 \n Erasing : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 12/12 \n Verifying : mssql-tools-17.10.1.1-1.x86_64 1/12 \n Verifying : libatomic-4.8.5-44.el7.x86_64 2/12 \n Verifying : bzip2-1.0.6-13.el7.x86_64 3/12 \n Verifying : libtool-ltdl-2.4.2-22.el7_3.x86_64 4/12 \n Verifying : mssql-server-14.0.3465.1-1.x86_64 5/12 \n Verifying : unixODBC-devel-2.3.11-1.rh.x86_64 6/12 \n Verifying : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 7/12 \n Verifying : gdb-7.6.1-120.el7.x86_64 8/12 \n Verifying : unixODBC-2.3.11-1.rh.x86_64 9/12 \n Verifying : msodbcsql17-17.10.5.1-1.x86_64 10/12 \n Verifying : cyrus-sasl-2.1.26-24.el7_9.x86_64 11/12 \n Verifying : libsss_nss_idmap-1.16.5-10.el7_9.15.x86_64 12/12 \n\nRemoved:\n mssql-server.x86_64 0:14.0.3465.1-1 mssql-tools.x86_64 0:17.10.1.1-1 \n unixODBC-devel.x86_64 0:2.3.11-1.rh \n\nDependency Removed:\n bzip2.x86_64 0:1.0.6-13.el7 \n cyrus-sasl.x86_64 0:2.1.26-24.el7_9 \n cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 \n gdb.x86_64 0:7.6.1-120.el7 \n libatomic.x86_64 0:4.8.5-44.el7 \n libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.15 \n libtool-ltdl.x86_64 0:2.4.2-22.el7_3 \n msodbcsql17.x86_64 0:17.10.5.1-1 \n unixODBC.x86_64 0:2.3.11-1.rh \n\nComplete!\n" ] } TASK [Remove related files] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/cleanup.yml:58 Friday 05 January 2024 15:11:50 +0000 (0:00:02.898) 0:02:49.582 ******** 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.007107", "end": "2024-01-05 15:11:50.530724", "rc": 0, "start": "2024-01-05 15:11:50.523617" } STDOUT: removed ‘/var/opt/mssql/mssql.conf’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/Temp’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/LocalLow’ 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 ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/S-1-5-21-412672668-636830519-2180444189-500/Preferred’ removed ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/S-1-5-21-412672668-636830519-2180444189-500/c5eeea39-d525-4020-b363-e6ae25e4f773’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/S-1-5-21-412672668-636830519-2180444189-500’ removed ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/CREDHIST’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect’ removed ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Crypto/RSA/S-1-5-21-412672668-636830519-2180444189-500/42e7704ae40b0d75de00736cc66b813a_dd26462b-8905-4617-ae9c-137934f0261d’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Crypto/RSA/S-1-5-21-412672668-636830519-2180444189-500’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Crypto/RSA’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Crypto’ 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/Certificates’ 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/CTLs’ 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’ 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’ removed directory: ‘/var/opt/mssql/.system/profiles’ removed ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore/Microsoft.Diagnostics.Tracing.EventSource, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ removed ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore/Microsoft.Diagnostics.Tracing.EventSource, Version=1.1.26.0, 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 directory: ‘/var/opt/mssql/.system/system/system32/LogFiles/Scm’ removed directory: ‘/var/opt/mssql/.system/system/system32/LogFiles’ removed ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User/Preferred’ removed ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User/bd12c7e1-b031-4f3e-8d07-8f491dce4739’ 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’ removed directory: ‘/var/opt/mssql/.system/system/Temp’ removed ‘/var/opt/mssql/.system/system/security.hiv’ removed ‘/var/opt/mssql/.system/system/debug/PASSWD.LOG’ removed directory: ‘/var/opt/mssql/.system/system/debug’ removed ‘/var/opt/mssql/.system/system/licensing.hiv’ removed ‘/var/opt/mssql/.system/system/lsa.hiv’ removed ‘/var/opt/mssql/.system/system/lsasetup.log’ removed directory: ‘/var/opt/mssql/.system/system’ removed ‘/var/opt/mssql/.system/instance_id’ removed directory: ‘/var/opt/mssql/.system’ removed ‘/var/opt/mssql/data/templog.ldf’ removed ‘/var/opt/mssql/data/tempdb.mdf’ removed ‘/var/opt/mssql/data/model.mdf’ removed ‘/var/opt/mssql/data/modellog.ldf’ removed ‘/var/opt/mssql/data/master.mdf’ removed ‘/var/opt/mssql/data/mastlog.ldf’ removed ‘/var/opt/mssql/data/msdblog.ldf’ removed ‘/var/opt/mssql/data/msdbdata.mdf’ removed directory: ‘/var/opt/mssql/data’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133489410588040000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133489409843850000.xel’ removed ‘/var/opt/mssql/log/sqlagentstartup.log’ removed ‘/var/opt/mssql/log/log_4.trc’ removed ‘/var/opt/mssql/log/errorlog.2’ removed ‘/var/opt/mssql/log/system_health_0_133489409853020000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133489411050140000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133489410400480000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133489410195890000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133489410020490000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133489410023090000.xel’ removed ‘/var/opt/mssql/log/errorlog.7’ removed ‘/var/opt/mssql/log/system_health_0_133489410859010000.xel’ removed ‘/var/opt/mssql/log/log_5.trc’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133489409887100000.xel’ removed ‘/var/opt/mssql/log/log_3.trc’ removed ‘/var/opt/mssql/log/errorlog’ removed ‘/var/opt/mssql/log/errorlog.6’ removed ‘/var/opt/mssql/log/errorlog.8’ removed ‘/var/opt/mssql/log/system_health_0_133489411053530000.xel’ removed ‘/var/opt/mssql/log/errorlog.5’ removed ‘/var/opt/mssql/log/errorlog.3’ removed ‘/var/opt/mssql/log/errorlog.1’ removed ‘/var/opt/mssql/log/system_health_0_133489409889670000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133489410590420000.xel’ removed ‘/var/opt/mssql/log/log_7.trc’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133489410856490000.xel’ removed ‘/var/opt/mssql/log/errorlog.4’ removed ‘/var/opt/mssql/log/log_6.trc’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133489410192460000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133489410402920000.xel’ removed directory: ‘/var/opt/mssql/log’ removed ‘/var/opt/mssql/secrets/machine-key’ removed directory: ‘/var/opt/mssql/secrets’ removed directory: ‘/var/opt/mssql’ removed directory: ‘/opt/mssql’ removed directory: ‘/opt/mssql-tools’ removed ‘/etc/yum.repos.d/packages-microsoft-com-mssql-server-2017.repo’ removed ‘/etc/yum.repos.d/packages-microsoft-com-prod.repo’ removed ‘/etc/systemd/system/multi-user.target.wants/mssql-server.service’ TASK [Stop the mssql-server service] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/cleanup.yml:72 Friday 05 January 2024 15:11:50 +0000 (0:00:00.165) 0:02:49.747 ******** ok: [sut] => { "changed": false, "cmd": "systemctl stop mssql-server || true", "delta": "0:00:05.549173", "end": "2024-01-05 15:11:56.238883", "rc": 0, "start": "2024-01-05 15:11:50.689710" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=369 changed=60 unreachable=0 failed=0 skipped=835 rescued=0 ignored=0 Friday 05 January 2024 15:11:56 +0000 (0:00:05.680) 0:02:55.427 ******** =============================================================================== linux-system-roles.mssql : Ensure the package mssql-server ------------- 33.77s /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:264 Stop the mssql-server service ------------------------------------------- 5.68s /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/cleanup.yml:72 -------- linux-system-roles.mssql : Set up MSSQL --------------------------------- 5.17s /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:324 linux-system-roles.mssql : Ensure that SQL Server client tools are installed --- 4.80s /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:426 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 3.15s /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 3.07s /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 linux-system-roles.mssql : Gather package facts ------------------------- 2.96s /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:546 Remove related packages ------------------------------------------------- 2.90s /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/cleanup.yml:45 -------- linux-system-roles.mssql : Gather package facts ------------------------- 2.84s /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:131 Wait for mssql-server to prepare for client connections ----------------- 2.25s /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:93 Wait for mssql-server to prepare for client connections ----------------- 2.23s /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:93 Wait for mssql-server to prepare for client connections ----------------- 2.17s /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:93 Wait for mssql-server to prepare for client connections ----------------- 2.14s /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:93 linux-system-roles.mssql : Gather system services facts ----------------- 2.08s /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:295 linux-system-roles.mssql : Restart the mssql-server service ------------- 1.67s /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 linux-system-roles.mssql : Restart the mssql-server service ------------- 1.42s /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 linux-system-roles.mssql : Ensure that the mssql-server service is started --- 1.30s /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Wait for mssql-server to prepare for client connections ----------------- 1.24s /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:93 linux-system-roles.mssql : Gather package facts ------------------------- 1.16s /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:131 linux-system-roles.mssql : Ensure that the tuned-profiles-mssql package is installed --- 1.14s /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:366 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the file module with state=absent rather than running 'rm'. If you need to use command because file is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---