# 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_2019.yml *************************************************** 2 plays in /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tests_tls_2019.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Include vault variables] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tests_tls_2019.yml:4 Friday 05 January 2024 15:09:06 +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_2019.yml:9 Friday 05 January 2024 15:09:06 +0000 (0:00:00.009) 0:00:00.021 ******** ok: [sut] META: ran handlers TASK [Run tests_tls with SQL Server 2019] ************************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tests_tls_2019.yml:23 Friday 05 January 2024 15:09:06 +0000 (0:00:00.520) 0:00:00.542 ******** 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:06 +0000 (0:00:00.028) 0:00:00.570 ******** 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:06 +0000 (0:00:00.032) 0:00:00.603 ******** 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:07 +0000 (0:00:00.238) 0:00:00.841 ******** 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:07 +0000 (0:00:00.028) 0:00:00.870 ******** 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:07 +0000 (0:00:00.012) 0:00:00.882 ******** 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:07 +0000 (0:00:00.493) 0:00:01.375 ******** changed: [sut] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ansible.TnJOUq", "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:07 +0000 (0:00:00.205) 0:00:01.580 ******** changed: [sut] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ansible.nV_nQH", "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:07 +0000 (0:00:00.157) 0:00:01.738 ******** changed: [sut] => { "changed": true, "cmd": [ "openssl", "req", "-x509", "-nodes", "-newkey", "rsa:2048", "-subj", "/CN=10.31.40.204", "-out", "/tmp/ansible.TnJOUq", "-keyout", "/tmp/ansible.nV_nQH", "-days", "365" ], "delta": "0:00:00.124338", "end": "2024-01-05 15:09:08.263090", "rc": 0, "start": "2024-01-05 15:09:08.138752" } STDERR: Generating a 2048 bit RSA private key ........+++ ...........................+++ writing new private key to '/tmp/ansible.nV_nQH' ----- 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:08 +0000 (0:00:00.335) 0:00:02.073 ******** changed: [sut] => (item=/tmp/ansible.TnJOUq) => { "ansible_loop_var": "item", "changed": true, "checksum": "a928f1d2f0e2f34c0bc4c5de1856dc522e074800", "dest": "/tmp/ansible.TnJOUq", "item": "/tmp/ansible.TnJOUq", "md5sum": "ddc25e2999722f7998e17337e57a9ac3", "remote_checksum": "a928f1d2f0e2f34c0bc4c5de1856dc522e074800", "remote_md5sum": null } changed: [sut] => (item=/tmp/ansible.nV_nQH) => { "ansible_loop_var": "item", "changed": true, "checksum": "26a60f2588c170a9d539b5b84188e890cb381a47", "dest": "/tmp/ansible.nV_nQH", "item": "/tmp/ansible.nV_nQH", "md5sum": "868b9e33a682e1c2d289b38c3c70faa1", "remote_checksum": "26a60f2588c170a9d539b5b84188e890cb381a47", "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:08 +0000 (0:00:00.544) 0:00:02.617 ******** changed: [sut -> localhost] => { "changed": true, "checksum": "26a60f2588c170a9d539b5b84188e890cb381a47", "dest": "./ansible.nV_nQH", "gid": 1001, "group": "jenkins", "md5sum": "868b9e33a682e1c2d289b38c3c70faa1", "mode": "0600", "owner": "jenkins", "size": 1708, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1704467348.8532848-21918-98128848796763/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:09 +0000 (0:00:00.341) 0:00:02.959 ******** ok: [sut] => { "ansible_facts": { "mssql_tls_cert": "/tmp/ansible.TnJOUq", "mssql_tls_private_key": "ansible.nV_nQH" }, "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:09 +0000 (0:00:00.015) 0:00:02.974 ******** 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:09 +0000 (0:00:00.137) 0:00:03.112 ******** 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:09 +0000 (0:00:00.016) 0:00:03.128 ******** 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:09 +0000 (0:00:00.010) 0:00:03.139 ******** 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:09 +0000 (0:00:00.041) 0:00:03.180 ******** 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:09 +0000 (0:00:00.035) 0:00:03.216 ******** 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:09 +0000 (0:00:00.013) 0:00:03.229 ******** 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:09 +0000 (0:00:00.010) 0:00:03.239 ******** 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:09 +0000 (0:00:00.016) 0:00:03.256 ******** 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:09 +0000 (0:00:00.031) 0:00:03.288 ******** 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:09 +0000 (0:00:00.016) 0:00:03.305 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the mssql_ha_cluster_run_role variable is deprecated] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:58 Friday 05 January 2024 15:09:09 +0000 (0:00:00.029) 0:00:03.335 ******** 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:09 +0000 (0:00:00.017) 0:00:03.352 ******** 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:09 +0000 (0:00:00.016) 0:00:03.369 ******** 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:09 +0000 (0:00:00.022) 0:00:03.391 ******** 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:09 +0000 (0:00:00.019) 0:00:03.410 ******** 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:09 +0000 (0:00:00.012) 0:00:03.423 ******** 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:09 +0000 (0:00:00.010) 0:00:03.433 ******** 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:09 +0000 (0:00:00.009) 0:00:03.443 ******** 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:09 +0000 (0:00:00.010) 0:00:03.453 ******** 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:10 +0000 (0:00:01.055) 0:00:04.509 ******** 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:10 +0000 (0:00:00.072) 0:00:04.581 ******** 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:10 +0000 (0:00:00.018) 0:00:04.600 ******** 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:10 +0000 (0:00:00.021) 0:00:04.621 ******** 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:10 +0000 (0:00:00.031) 0:00:04.653 ******** 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:11 +0000 (0:00:00.385) 0:00:05.039 ******** 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:11 +0000 (0:00:00.020) 0:00:05.060 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:207 Friday 05 January 2024 15:09:11 +0000 (0:00:00.021) 0:00:05.081 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:215 Friday 05 January 2024 15:09:11 +0000 (0:00:00.018) 0:00:05.099 ******** changed: [sut] => { "changed": true, "repo": "packages-microsoft-com-mssql-server-2019", "state": "present" } TASK [Ensure that the system is in SELinux enforcing state] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:228 Friday 05 January 2024 15:09:11 +0000 (0:00:00.213) 0:00:05.313 ******** 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:11 +0000 (0:00:00.018) 0:00:05.331 ******** 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:11 +0000 (0:00:00.017) 0:00:05.349 ******** 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:11 +0000 (0:00:00.018) 0:00:05.368 ******** 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:11 +0000 (0:00:00.025) 0:00:05.394 ******** 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:11 +0000 (0:00:00.030) 0:00:05.424 ******** 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:15.0.4345.5-2 will be installed\n--> Processing Dependency: libatomic for package: mssql-server-15.0.4345.5-2.x86_64\n--> Processing Dependency: bzip2 for package: mssql-server-15.0.4345.5-2.x86_64\n--> Processing Dependency: gdb for package: mssql-server-15.0.4345.5-2.x86_64\n--> Processing Dependency: python3 for package: mssql-server-15.0.4345.5-2.x86_64\n--> Processing Dependency: libsss_nss_idmap for package: mssql-server-15.0.4345.5-2.x86_64\n--> Processing Dependency: cyrus-sasl for package: mssql-server-15.0.4345.5-2.x86_64\n--> Processing Dependency: cyrus-sasl-gssapi for package: mssql-server-15.0.4345.5-2.x86_64\n--> Processing Dependency: lsof for package: mssql-server-15.0.4345.5-2.x86_64\n--> Running transaction check\n---> Package bzip2.x86_64 0:1.0.6-13.el7 will be installed\n---> Package cyrus-sasl.x86_64 0:2.1.26-24.el7_9 will be installed\n---> Package cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 will be installed\n---> Package gdb.x86_64 0:7.6.1-120.el7 will be installed\n---> Package libatomic.x86_64 0:4.8.5-44.el7 will be installed\n---> Package libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.15 will be installed\n---> Package lsof.x86_64 0:4.87-6.el7 will be installed\n---> Package python3.x86_64 0:3.6.8-21.el7_9 will be installed\n--> Processing Dependency: python3-libs(x86-64) = 3.6.8-21.el7_9 for package: python3-3.6.8-21.el7_9.x86_64\n--> Processing Dependency: python3-setuptools for package: python3-3.6.8-21.el7_9.x86_64\n--> Processing Dependency: python3-pip for package: python3-3.6.8-21.el7_9.x86_64\n--> Processing Dependency: libpython3.6m.so.1.0()(64bit) for package: python3-3.6.8-21.el7_9.x86_64\n--> Running transaction check\n---> Package python3-libs.x86_64 0:3.6.8-21.el7_9 will be installed\n---> Package python3-pip.noarch 0:9.0.3-8.el7 will be installed\n---> Package python3-setuptools.noarch 0:39.2.0-10.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n mssql-server x86_64 15.0.4345.5-2 packages-microsoft-com-mssql-server-2019\n 229 M\nInstalling for dependencies:\n bzip2 x86_64 1.0.6-13.el7 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 lsof x86_64 4.87-6.el7 base 331 k\n python3 x86_64 3.6.8-21.el7_9 updates 71 k\n python3-libs x86_64 3.6.8-21.el7_9 updates 7.0 M\n python3-pip noarch 9.0.3-8.el7 base 1.6 M\n python3-setuptools noarch 39.2.0-10.el7 base 629 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package (+11 Dependent packages)\n\nTotal size: 241 M\nInstalled size: 1.2 G\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : python3-libs-3.6.8-21.el7_9.x86_64 1/12 \n Installing : python3-setuptools-39.2.0-10.el7.noarch 2/12 \n Installing : python3-pip-9.0.3-8.el7.noarch 3/12 \n Installing : python3-3.6.8-21.el7_9.x86_64 4/12 \n Installing : libsss_nss_idmap-1.16.5-10.el7_9.15.x86_64 5/12 \n Installing : libatomic-4.8.5-44.el7.x86_64 6/12 \n Installing : cyrus-sasl-2.1.26-24.el7_9.x86_64 7/12 \n Installing : gdb-7.6.1-120.el7.x86_64 8/12 \n Installing : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 9/12 \n Installing : lsof-4.87-6.el7.x86_64 10/12 \n Installing : bzip2-1.0.6-13.el7.x86_64 11/12 \n Installing : mssql-server-15.0.4345.5-2.x86_64 12/12 \n\n+--------------------------------------------------------------+\nPlease run 'sudo /opt/mssql/bin/mssql-conf setup'\nto complete the setup of Microsoft SQL Server\n+--------------------------------------------------------------+\n\n Verifying : python3-3.6.8-21.el7_9.x86_64 1/12 \n Verifying : bzip2-1.0.6-13.el7.x86_64 2/12 \n Verifying : mssql-server-15.0.4345.5-2.x86_64 3/12 \n Verifying : lsof-4.87-6.el7.x86_64 4/12 \n Verifying : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 5/12 \n Verifying : gdb-7.6.1-120.el7.x86_64 6/12 \n Verifying : python3-libs-3.6.8-21.el7_9.x86_64 7/12 \n Verifying : python3-setuptools-39.2.0-10.el7.noarch 8/12 \n Verifying : python3-pip-9.0.3-8.el7.noarch 9/12 \n Verifying : cyrus-sasl-2.1.26-24.el7_9.x86_64 10/12 \n Verifying : libatomic-4.8.5-44.el7.x86_64 11/12 \n Verifying : libsss_nss_idmap-1.16.5-10.el7_9.15.x86_64 12/12 \n\nInstalled:\n mssql-server.x86_64 0:15.0.4345.5-2 \n\nDependency Installed:\n bzip2.x86_64 0:1.0.6-13.el7 \n cyrus-sasl.x86_64 0:2.1.26-24.el7_9 \n cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 \n gdb.x86_64 0:7.6.1-120.el7 \n libatomic.x86_64 0:4.8.5-44.el7 \n libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.15 \n lsof.x86_64 0:4.87-6.el7 \n python3.x86_64 0:3.6.8-21.el7_9 \n python3-libs.x86_64 0:3.6.8-21.el7_9 \n python3-pip.noarch 0:9.0.3-8.el7 \n python3-setuptools.noarch 0:39.2.0-10.el7 \n\nComplete!\n" ] } TASK [linux-system-roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:272 Friday 05 January 2024 15:09:50 +0000 (0:00:38.500) 0:00:43.925 ******** 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:50 +0000 (0:00:00.030) 0:00:43.955 ******** 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.005961", "end": "2024-01-05 15:09:50.311601", "rc": 0, "start": "2024-01-05 15:09:50.305640" } 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:50 +0000 (0:00:00.179) 0:00:44.135 ******** 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:51 +0000 (0:00:01.052) 0:00:45.188 ******** 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:51 +0000 (0:00:00.035) 0:00:45.223 ******** 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:51 +0000 (0:00:00.050) 0:00:45.274 ******** 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:57 +0000 (0:00:05.704) 0:00:50.978 ******** 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:57 +0000 (0:00:00.043) 0:00:51.022 ******** 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:57 +0000 (0:00:00.022) 0:00:51.044 ******** 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:57 +0000 (0:00:00.373) 0:00:51.418 ******** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-01-05 14:39:05 UTC", "ActiveEnterTimestampMonotonic": "21380366", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target systemd-sysctl.service dbus.service basic.target systemd-journald.socket system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 14:39:03 UTC", "AssertTimestampMonotonic": "19950014", "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": "19950012", "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": "881", "ExecMainStartTimestamp": "Fri 2024-01-05 14:39:03 UTC", "ExecMainStartTimestampMonotonic": "19951022", "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": "19951142", "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": "881", "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": "basic.target system.slice dbus.service polkit.service", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-01-05 14:39:05 UTC", "WatchdogTimestampMonotonic": "21380194", "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:58 +0000 (0:00:00.440) 0:00:51.858 ******** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.108894", "end": "2024-01-05 15:09:58.297482", "rc": 0, "start": "2024-01-05 15:09:58.188588" } 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:58 +0000 (0:00:00.260) 0:00:52.118 ******** 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:58 +0000 (0:00:00.064) 0:00:52.183 ******** 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:58 +0000 (0:00:00.022) 0:00:52.205 ******** 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:58 +0000 (0:00:00.027) 0:00:52.233 ******** 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:58 +0000 (0:00:00.157) 0:00:52.390 ******** 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:10:03 +0000 (0:00:05.394) 0:00:57.784 ******** 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:04 +0000 (0:00:00.019) 0:00:57.804 ******** 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:04 +0000 (0:00:00.018) 0:00:57.822 ******** 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:04 +0000 (0:00:00.017) 0:00:57.840 ******** 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:04 +0000 (0:00:00.039) 0:00:57.879 ******** 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:04 +0000 (0:00:00.024) 0:00:57.904 ******** 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:04 +0000 (0:00:00.027) 0:00:57.932 ******** 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:04 +0000 (0:00:00.021) 0:00:57.953 ******** 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:04 +0000 (0:00:00.019) 0:00:57.973 ******** 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:10:04 +0000 (0:00:00.027) 0:00:58.001 ******** 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:04 +0000 (0:00:00.020) 0:00:58.021 ******** 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:10:04 +0000 (0:00:00.024) 0:00:58.046 ******** 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:04 +0000 (0:00:00.026) 0:00:58.072 ******** 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:04 +0000 (0:00:00.040) 0:00:58.113 ******** 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:04 +0000 (0:00:00.024) 0:00:58.137 ******** 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:04 +0000 (0:00:00.023) 0:00:58.161 ******** 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:04 +0000 (0:00:00.038) 0:00:58.200 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003496", "end": "2024-01-05 15:10:04.549472", "failed_when_result": false, "rc": 1, "start": "2024-01-05 15:10:04.545976" } 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:04 +0000 (0:00:00.183) 0:00:58.383 ******** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.132739", "end": "2024-01-05 15:10:04.850339", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:10:04.717600" } 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:04 +0000 (0:00:00.303) 0:00:58.687 ******** 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:04 +0000 (0:00:00.022) 0:00:58.710 ******** 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:04 +0000 (0:00:00.021) 0:00:58.731 ******** 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:05 +0000 (0:00:00.060) 0:00:58.792 ******** 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:05 +0000 (0:00:00.026) 0:00:58.818 ******** 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:05 +0000 (0:00:00.020) 0:00:58.839 ******** 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:05 +0000 (0:00:00.021) 0:00:58.860 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the 3979 traceflag] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:660 Friday 05 January 2024 15:10:05 +0000 (0:00:00.021) 0:00:58.882 ******** 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:05 +0000 (0:00:00.021) 0:00:58.904 ******** 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:05 +0000 (0:00:00.023) 0:00:58.927 ******** 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:05 +0000 (0:00:00.033) 0:00:58.961 ******** 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:05 +0000 (0:00:00.023) 0:00:58.984 ******** 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:05 +0000 (0:00:00.027) 0:00:59.012 ******** changed: [sut] => (item=/tmp/ansible.TnJOUq) => { "ansible_loop_var": "item", "changed": true, "checksum": "a928f1d2f0e2f34c0bc4c5de1856dc522e074800", "dest": "/etc/pki/tls/certs/ansible.TnJOUq", "gid": 994, "group": "mssql", "item": "/tmp/ansible.TnJOUq", "md5sum": "ddc25e2999722f7998e17337e57a9ac3", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1103, "src": "/root/.ansible/tmp/ansible-tmp-1704467405.2655244-22708-56665894748522/source", "state": "file", "uid": 996 } changed: [sut] => (item=ansible.nV_nQH) => { "ansible_loop_var": "item", "changed": true, "checksum": "26a60f2588c170a9d539b5b84188e890cb381a47", "dest": "/etc/pki/tls/private/ansible.nV_nQH", "gid": 994, "group": "mssql", "item": "ansible.nV_nQH", "md5sum": "868b9e33a682e1c2d289b38c3c70faa1", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1708, "src": "/root/.ansible/tmp/ansible-tmp-1704467405.6646693-22708-137834326513105/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:10:06 +0000 (0:00:00.829) 0:00:59.841 ******** 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:06 +0000 (0:00:00.048) 0:00:59.890 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003270", "end": "2024-01-05 15:10:06.235833", "failed_when_result": false, "rc": 1, "start": "2024-01-05 15:10:06.232563" } 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:06 +0000 (0:00:00.160) 0:01:00.051 ******** 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.TnJOUq" ], "delta": "0:00:00.132418", "end": "2024-01-05 15:10:06.518729", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:10:06.386311" } 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:06 +0000 (0:00:00.329) 0:01:00.380 ******** 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:06 +0000 (0:00:00.025) 0:01:00.406 ******** 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:06 +0000 (0:00:00.039) 0:01:00.445 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003303", "end": "2024-01-05 15:10:06.776088", "failed_when_result": false, "rc": 1, "start": "2024-01-05 15:10:06.772785" } 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:06 +0000 (0:00:00.156) 0:01:00.602 ******** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlskey", "/etc/pki/tls/private/ansible.nV_nQH" ], "delta": "0:00:00.135317", "end": "2024-01-05 15:10:07.072107", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:10:06.936790" } 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:07 +0000 (0:00:00.287) 0:01:00.889 ******** 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:07 +0000 (0:00:00.037) 0:01:00.927 ******** 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:07 +0000 (0:00:00.040) 0:01:00.967 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003441", "end": "2024-01-05 15:10:07.298892", "failed_when_result": false, "rc": 1, "start": "2024-01-05 15:10:07.295451" } 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:07 +0000 (0:00:00.162) 0:01:01.129 ******** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlsprotocols", "1.2" ], "delta": "0:00:00.162276", "end": "2024-01-05 15:10:07.657261", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:10:07.494985" } 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:07 +0000 (0:00:00.353) 0:01:01.483 ******** 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:07 +0000 (0:00:00.039) 0:01:01.522 ******** 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:07 +0000 (0:00:00.067) 0:01:01.590 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003436", "end": "2024-01-05 15:10:07.929138", "failed_when_result": false, "rc": 1, "start": "2024-01-05 15:10:07.925702" } 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:07 +0000 (0:00:00.154) 0:01:01.744 ******** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.forceencryption", "1" ], "delta": "0:00:02.468312", "end": "2024-01-05 15:10:10.553658", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:10:08.085346" } 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:10 +0000 (0:00:02.622) 0:01:04.366 ******** 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:10 +0000 (0:00:00.021) 0:01:04.388 ******** 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:10 +0000 (0:00:00.020) 0:01:04.408 ******** 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:10 +0000 (0:00:00.018) 0:01:04.427 ******** 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:10 +0000 (0:00:00.019) 0:01:04.446 ******** 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:10 +0000 (0:00:00.027) 0:01:04.473 ******** 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:10 +0000 (0:00:00.021) 0:01:04.495 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : 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:10 +0000 (0:00:00.021) 0:01:04.516 ******** 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:10 +0000 (0:00:00.020) 0:01:04.537 ******** 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:10 +0000 (0:00:00.018) 0:01:04.556 ******** 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:10 +0000 (0:00:00.022) 0:01:04.578 ******** 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:10 +0000 (0:00:00.019) 0:01:04.598 ******** 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:10 +0000 (0:00:00.049) 0:01:04.648 ******** 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:10 +0000 (0:00:00.020) 0:01:04.668 ******** 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:10 +0000 (0:00:00.020) 0:01:04.689 ******** 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:10 +0000 (0:00:00.022) 0:01:04.711 ******** 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:10 +0000 (0:00:00.020) 0:01:04.731 ******** 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:10 +0000 (0:00:00.026) 0:01:04.757 ******** 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:10 +0000 (0:00:00.021) 0:01:04.779 ******** 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:11 +0000 (0:00:00.020) 0:01:04.800 ******** 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:11 +0000 (0:00:00.020) 0:01:04.820 ******** 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:11 +0000 (0:00:00.021) 0:01:04.841 ******** 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:11 +0000 (0:00:00.026) 0:01:04.867 ******** 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:11 +0000 (0:00:00.020) 0:01:04.888 ******** 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:11 +0000 (0:00:00.030) 0:01:04.918 ******** 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:11 +0000 (0:00:00.019) 0:01:04.938 ******** 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:11 +0000 (0:00:00.019) 0:01:04.957 ******** 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:11 +0000 (0:00:00.020) 0:01:04.978 ******** 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:11 +0000 (0:00:00.032) 0:01:05.011 ******** 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:11 +0000 (0:00:00.021) 0:01:05.033 ******** 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:11 +0000 (0:00:00.054) 0:01:05.087 ******** 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:11 +0000 (0:00:00.095) 0:01:05.183 ******** 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:11 +0000 (0:00:00.028) 0:01:05.211 ******** 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:11 +0000 (0:00:00.026) 0:01:05.238 ******** 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:11 +0000 (0:00:00.020) 0:01:05.259 ******** 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:11 +0000 (0:00:00.021) 0:01:05.280 ******** 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:11 +0000 (0:00:00.021) 0:01:05.302 ******** 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:11 +0000 (0:00:00.019) 0:01:05.321 ******** 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:11 +0000 (0:00:00.038) 0:01:05.359 ******** 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:11 +0000 (0:00:00.026) 0:01:05.386 ******** 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:11 +0000 (0:00:00.031) 0:01:05.417 ******** 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:11 +0000 (0:00:00.028) 0:01:05.446 ******** 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:11 +0000 (0:00:00.025) 0:01:05.471 ******** 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:11 +0000 (0:00:00.026) 0:01:05.498 ******** 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:11 +0000 (0:00:00.029) 0:01:05.528 ******** 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:11 +0000 (0:00:00.026) 0:01:05.554 ******** 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:11 +0000 (0:00:00.022) 0:01:05.576 ******** 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:11 +0000 (0:00:00.028) 0:01:05.605 ******** 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:11 +0000 (0:00:00.031) 0:01:05.637 ******** 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:11 +0000 (0:00:00.026) 0:01:05.664 ******** 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:11 +0000 (0:00:00.064) 0:01:05.729 ******** 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:11 +0000 (0:00:00.032) 0:01:05.761 ******** 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:12 +0000 (0:00:00.243) 0:01:06.004 ******** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-01-05 15:09:57 UTC", "ActiveEnterTimestampMonotonic": "1873105611", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice network.target auditd.service basic.target systemd-journald.socket -.mount", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 15:09:57 UTC", "AssertTimestampMonotonic": "1873104673", "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:57 UTC", "ConditionTimestampMonotonic": "1873104671", "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": "25645", "ExecMainStartTimestamp": "Fri 2024-01-05 15:09:57 UTC", "ExecMainStartTimestampMonotonic": "1873105542", "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:57 UTC", "InactiveExitTimestampMonotonic": "1873105611", "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": "25645", "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 -.mount basic.target", "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:57 UTC", "WatchdogTimestampMonotonic": "1873105585", "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:13 +0000 (0:00:00.948) 0:01:06.953 ******** 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:13 +0000 (0:00:00.051) 0:01:07.004 ******** 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:10:13 +0000 (0:00:00.060) 0:01:07.065 ******** changed: [sut -> localhost] => { "changed": true, "path": "ansible.nV_nQH", "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:10:13 +0000 (0:00:00.362) 0:01:07.427 ******** 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:10:13 +0000 (0:00:00.072) 0:01:07.499 ******** 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:14 +0000 (0:00:00.340) 0:01:07.839 ******** 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:14 +0000 (0:00:00.163) 0:01:08.003 ******** 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:14 +0000 (0:00:00.428) 0:01:08.431 ******** 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:14 +0000 (0:00:00.079) 0:01:08.510 ******** 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:14 +0000 (0:00:00.075) 0:01:08.585 ******** 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:14 +0000 (0:00:00.040) 0:01:08.626 ******** 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:14 +0000 (0:00:00.023) 0:01:08.650 ******** 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:14 +0000 (0:00:00.029) 0:01:08.679 ******** 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:14 +0000 (0:00:00.044) 0:01:08.724 ******** 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:14 +0000 (0:00:00.049) 0:01:08.773 ******** 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:15 +0000 (0:00:00.044) 0:01:08.817 ******** 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:15 +0000 (0:00:00.056) 0:01:08.874 ******** 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:15 +0000 (0:00:00.047) 0:01:08.921 ******** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-01-05 15:10:13 UTC", "ActiveEnterTimestampMonotonic": "1889167477", "ActiveExitTimestamp": "Fri 2024-01-05 15:10:12 UTC", "ActiveExitTimestampMonotonic": "1888497324", "ActiveState": "active", "After": "network.target systemd-journald.socket -.mount system.slice basic.target auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 15:10:13 UTC", "AssertTimestampMonotonic": "1889166330", "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:13 UTC", "ConditionTimestampMonotonic": "1889166329", "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": "26200", "ExecMainStartTimestamp": "Fri 2024-01-05 15:10:13 UTC", "ExecMainStartTimestampMonotonic": "1889167369", "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:13 UTC", "InactiveEnterTimestampMonotonic": "1889165762", "InactiveExitTimestamp": "Fri 2024-01-05 15:10:13 UTC", "InactiveExitTimestampMonotonic": "1889167477", "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": "26200", "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": "-.mount basic.target system.slice", "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:13 UTC", "WatchdogTimestampMonotonic": "1889167435", "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:15 +0000 (0:00:00.248) 0:01:09.169 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003311", "end": "2024-01-05 15:10:15.507043", "failed_when_result": false, "rc": 1, "start": "2024-01-05 15:10:15.503732" } 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:15 +0000 (0:00:00.151) 0:01:09.321 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003321", "end": "2024-01-05 15:10:15.648875", "failed_when_result": false, "rc": 1, "start": "2024-01-05 15:10:15.645554" } 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:15 +0000 (0:00:00.143) 0:01:09.464 ******** 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:15 +0000 (0:00:00.047) 0:01:09.512 ******** 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": 6995, "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:17 +0000 (0:00:01.377) 0:01:10.890 ******** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.029906", "end": "2024-01-05 15:10:17.248490", "rc": 0, "start": "2024-01-05 15:10:17.218584" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2019 (RTM-CU24) (KB5031908) - 15.0.4345.5 (X64) Dec 4 2023 14:44:16 Copyright (C) 2019 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS 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:17 +0000 (0:00:00.177) 0:01:11.067 ******** 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:17 +0000 (0:00:00.034) 0:01:11.101 ******** 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:17 +0000 (0:00:00.033) 0:01:11.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:10:17 +0000 (0:00:00.021) 0:01:11.155 ******** 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:17 +0000 (0:00:00.020) 0:01:11.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:10:17 +0000 (0:00:00.020) 0:01:11.197 ******** 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:17 +0000 (0:00:00.018) 0:01:11.215 ******** 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:17 +0000 (0:00:00.018) 0:01:11.234 ******** 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:17 +0000 (0:00:00.018) 0:01:11.252 ******** 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:17 +0000 (0:00:00.036) 0:01:11.288 ******** ok: [sut] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004330", "end": "2024-01-05 15:10:17.619668", "rc": 0, "start": "2024-01-05 15:10:17.615338" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.TnJOUq 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:17 +0000 (0:00:00.141) 0:01:11.429 ******** 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:17 +0000 (0:00:00.037) 0:01:11.467 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/certs/ansible.TnJOUq] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml:40 Friday 05 January 2024 15:10:17 +0000 (0:00:00.029) 0:01:11.496 ******** 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:17 +0000 (0:00:00.031) 0:01:11.528 ******** 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:17 +0000 (0:00:00.040) 0:01:11.568 ******** ok: [sut] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004412", "end": "2024-01-05 15:10:17.907409", "rc": 0, "start": "2024-01-05 15:10:17.902997" } STDOUT: tlskey = /etc/pki/tls/private/ansible.nV_nQH 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:17 +0000 (0:00:00.200) 0:01:11.769 ******** 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:18 +0000 (0:00:00.034) 0:01:11.803 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/private/ansible.nV_nQH] *************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml:40 Friday 05 January 2024 15:10:18 +0000 (0:00:00.025) 0:01:11.829 ******** 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:18 +0000 (0:00:00.039) 0:01:11.868 ******** 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:18 +0000 (0:00:00.055) 0:01:11.924 ******** ok: [sut] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004371", "end": "2024-01-05 15:10:18.256235", "rc": 0, "start": "2024-01-05 15:10:18.251864" } 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:18 +0000 (0:00:00.158) 0:01:12.083 ******** 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:18 +0000 (0:00:00.037) 0:01:12.121 ******** 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:18 +0000 (0:00:00.025) 0:01:12.146 ******** 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:18 +0000 (0:00:00.034) 0:01:12.181 ******** 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:18 +0000 (0:00:00.048) 0:01:12.230 ******** ok: [sut] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004469", "end": "2024-01-05 15:10:18.562373", "rc": 0, "start": "2024-01-05 15:10:18.557904" } 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:18 +0000 (0:00:00.157) 0:01:12.388 ******** 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:18 +0000 (0:00:00.025) 0:01:12.413 ******** 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:18 +0000 (0:00:00.049) 0:01:12.463 ******** 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:18 +0000 (0:00:00.037) 0:01:12.500 ******** 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:18 +0000 (0:00:00.045) 0:01:12.545 ******** 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:18 +0000 (0:00:00.071) 0:01:12.616 ******** 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:18 +0000 (0:00:00.039) 0:01:12.656 ******** 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:18 +0000 (0:00:00.126) 0:01:12.783 ******** 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:19 +0000 (0:00:00.043) 0:01:12.826 ******** 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:19 +0000 (0:00:00.032) 0:01:12.859 ******** 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:19 +0000 (0:00:00.034) 0:01:12.893 ******** 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:19 +0000 (0:00:00.021) 0:01:12.914 ******** 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:19 +0000 (0:00:00.030) 0:01:12.945 ******** 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:19 +0000 (0:00:00.022) 0:01:12.967 ******** 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:19 +0000 (0:00:00.031) 0:01:12.998 ******** 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:19 +0000 (0:00:00.029) 0:01:13.027 ******** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:51 Friday 05 January 2024 15:10:19 +0000 (0:00:00.023) 0:01:13.051 ******** 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:19 +0000 (0:00:00.019) 0:01:13.071 ******** 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:19 +0000 (0:00:00.047) 0:01:13.118 ******** 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:19 +0000 (0:00:00.020) 0:01:13.139 ******** 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:19 +0000 (0:00:00.024) 0:01:13.163 ******** 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:19 +0000 (0:00:00.019) 0:01:13.183 ******** 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:19 +0000 (0:00:00.020) 0:01:13.203 ******** 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:19 +0000 (0:00:00.022) 0:01:13.226 ******** 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:19 +0000 (0:00:00.026) 0:01:13.252 ******** 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:19 +0000 (0:00:00.022) 0:01:13.275 ******** 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:20 +0000 (0:00:00.935) 0:01:14.211 ******** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } ok: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Friday 05 January 2024 15:10:20 +0000 (0:00:00.074) 0:01:14.285 ******** 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:20 +0000 (0:00:00.021) 0:01:14.307 ******** 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:20 +0000 (0:00:00.037) 0:01:14.344 ******** 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:20 +0000 (0:00:00.048) 0:01:14.392 ******** ok: [sut] => { "attempts": 1, "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:186 Friday 05 January 2024 15:10:20 +0000 (0:00:00.357) 0:01:14.749 ******** 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:20 +0000 (0:00:00.021) 0:01:14.771 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:207 Friday 05 January 2024 15:10:21 +0000 (0:00:00.024) 0:01:14.795 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:215 Friday 05 January 2024 15:10:21 +0000 (0:00:00.024) 0:01:14.820 ******** 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:21 +0000 (0:00:00.049) 0:01:14.870 ******** 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:21 +0000 (0:00:00.038) 0:01:14.908 ******** 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:21 +0000 (0:00:00.030) 0:01:14.938 ******** 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:21 +0000 (0:00:00.052) 0:01:14.991 ******** 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:21 +0000 (0:00:00.067) 0:01:15.058 ******** 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:21 +0000 (0:00:00.063) 0:01:15.122 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-server-15.0.4345.5-2.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:21 +0000 (0:00:00.346) 0:01:15.468 ******** 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:21 +0000 (0:00:00.022) 0:01:15.491 ******** 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.005210", "end": "2024-01-05 15:10:21.821218", "rc": 0, "start": "2024-01-05 15:10:21.816008" } 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:21 +0000 (0:00:00.138) 0:01:15.629 ******** 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:22 +0000 (0:00:00.739) 0:01:16.369 ******** 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:22 +0000 (0:00:00.029) 0:01:16.399 ******** 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:22 +0000 (0:00:00.020) 0:01:16.420 ******** 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:22 +0000 (0:00:00.022) 0:01:16.443 ******** 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:22 +0000 (0:00:00.037) 0:01:16.480 ******** 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:22 +0000 (0:00:00.023) 0:01:16.504 ******** 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:23 +0000 (0:00:00.344) 0:01:16.849 ******** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-01-05 14:39:05 UTC", "ActiveEnterTimestampMonotonic": "21380366", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target dbus.service systemd-journald.socket system.slice basic.target systemd-sysctl.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 14:39:03 UTC", "AssertTimestampMonotonic": "19950014", "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": "19950012", "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": "881", "ExecMainStartTimestamp": "Fri 2024-01-05 14:39:03 UTC", "ExecMainStartTimestampMonotonic": "19951022", "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": "19951142", "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": "881", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice dbus.service 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": "21380194", "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:23 +0000 (0:00:00.216) 0:01:17.065 ******** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.095926", "end": "2024-01-05 15:10:23.493753", "rc": 0, "start": "2024-01-05 15:10:23.397827" } 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:23 +0000 (0:00:00.247) 0:01:17.312 ******** 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:23 +0000 (0:00:00.021) 0:01:17.334 ******** 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:23 +0000 (0:00:00.022) 0:01:17.357 ******** 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:23 +0000 (0:00:00.021) 0:01:17.379 ******** 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:23 +0000 (0:00:00.142) 0:01:17.521 ******** 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:24 +0000 (0:00:00.332) 0:01:17.854 ******** 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:24 +0000 (0:00:00.058) 0:01:17.913 ******** 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:24 +0000 (0:00:00.023) 0:01:17.936 ******** 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:24 +0000 (0:00:00.023) 0:01:17.960 ******** 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:24 +0000 (0:00:00.031) 0:01:17.991 ******** 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:24 +0000 (0:00:00.024) 0:01:18.015 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : 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:24 +0000 (0:00:00.028) 0:01:18.044 ******** 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:24 +0000 (0:00:00.019) 0:01:18.063 ******** 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:24 +0000 (0:00:00.020) 0:01:18.084 ******** 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.005181", "end": "2024-01-05 15:10:24.415915", "rc": 0, "start": "2024-01-05 15:10:24.410734" } 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:24 +0000 (0:00:00.150) 0:01:18.234 ******** 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:24 +0000 (0:00:00.033) 0:01:18.268 ******** 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:25 +0000 (0:00:00.942) 0:01:19.211 ******** 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:25 +0000 (0:00:00.026) 0:01:19.238 ******** 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:25 +0000 (0:00:00.065) 0:01:19.303 ******** 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:25 +0000 (0:00:00.021) 0:01:19.325 ******** 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:25 +0000 (0:00:00.022) 0:01:19.347 ******** 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:25 +0000 (0:00:00.033) 0:01:19.381 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003245", "end": "2024-01-05 15:10:25.711199", "failed_when_result": false, "rc": 1, "start": "2024-01-05 15:10:25.707954" } 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:25 +0000 (0:00:00.142) 0:01:19.524 ******** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.134706", "end": "2024-01-05 15:10:25.992125", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:10:25.857419" } 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:26 +0000 (0:00:00.287) 0:01:19.811 ******** 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:26 +0000 (0:00:00.023) 0:01:19.835 ******** 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:26 +0000 (0:00:00.029) 0:01:19.864 ******** 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:26 +0000 (0:00:00.030) 0:01:19.895 ******** 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:26 +0000 (0:00:00.026) 0:01:19.922 ******** 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:26 +0000 (0:00:00.025) 0:01:19.947 ******** 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:26 +0000 (0:00:00.022) 0:01:19.970 ******** 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:26 +0000 (0:00:00.023) 0:01:19.994 ******** 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:26 +0000 (0:00:00.022) 0:01:20.016 ******** 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:26 +0000 (0:00:00.021) 0:01:20.038 ******** 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:26 +0000 (0:00:00.033) 0:01:20.071 ******** 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:26 +0000 (0:00:00.028) 0:01:20.100 ******** 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:26 +0000 (0:00:00.059) 0:01:20.159 ******** skipping: [sut] => (item=/tmp/ansible.TnJOUq) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/ansible.TnJOUq", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ansible.nV_nQH) => { "ansible_loop_var": "item", "changed": false, "item": "ansible.nV_nQH", "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:26 +0000 (0:00:00.035) 0:01:20.195 ******** 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:26 +0000 (0:00:00.043) 0:01:20.238 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003263", "end": "2024-01-05 15:10:26.571671", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:10:26.568408" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.TnJOUq 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:26 +0000 (0:00:00.157) 0:01:20.396 ******** 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:26 +0000 (0:00:00.043) 0:01:20.440 ******** 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.125921", "end": "2024-01-05 15:10:26.912509", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:10:26.786588" } 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:26 +0000 (0:00:00.292) 0:01:20.733 ******** 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:26 +0000 (0:00:00.049) 0:01:20.782 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003249", "end": "2024-01-05 15:10:27.127973", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:10:27.124724" } STDOUT: tlskey = /etc/pki/tls/private/ansible.nV_nQH 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:27 +0000 (0:00:00.157) 0:01:20.939 ******** 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:27 +0000 (0:00:00.049) 0:01:20.989 ******** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlskey" ], "delta": "0:00:00.124644", "end": "2024-01-05 15:10:27.480893", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:10:27.356249" } 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:27 +0000 (0:00:00.304) 0:01:21.293 ******** 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:27 +0000 (0:00:00.041) 0:01:21.335 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003258", "end": "2024-01-05 15:10:27.665709", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:10:27.662451" } 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:27 +0000 (0:00:00.160) 0:01:21.496 ******** 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:27 +0000 (0:00:00.034) 0:01:21.530 ******** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlsprotocols" ], "delta": "0:00:00.126908", "end": "2024-01-05 15:10:28.068575", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:10:27.941667" } 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:28 +0000 (0:00:00.403) 0:01:21.934 ******** 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:28 +0000 (0:00:00.114) 0:01:22.048 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003163", "end": "2024-01-05 15:10:28.407232", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:10:28.404069" } 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:28 +0000 (0:00:00.196) 0:01:22.245 ******** 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:28 +0000 (0:00:00.064) 0:01:22.310 ******** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.forceencryption" ], "delta": "0:00:00.125665", "end": "2024-01-05 15:10:28.783737", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:10:28.658072" } 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:28 +0000 (0:00:00.297) 0:01:22.608 ******** 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:28 +0000 (0:00:00.026) 0:01:22.634 ******** 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:28 +0000 (0:00:00.022) 0:01:22.657 ******** 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:28 +0000 (0:00:00.042) 0:01:22.699 ******** 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:28 +0000 (0:00:00.038) 0:01:22.737 ******** 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:28 +0000 (0:00:00.041) 0:01:22.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 : 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:29 +0000 (0:00:00.057) 0:01:22.837 ******** 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:29 +0000 (0:00:00.029) 0:01:22.866 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : 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:29 +0000 (0:00:00.025) 0:01:22.892 ******** 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:29 +0000 (0:00:00.048) 0:01:22.941 ******** 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:29 +0000 (0:00:00.030) 0:01:22.971 ******** 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:29 +0000 (0:00:00.026) 0:01:22.998 ******** 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:29 +0000 (0:00:00.078) 0:01:23.076 ******** 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:29 +0000 (0:00:00.030) 0:01:23.106 ******** 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:29 +0000 (0:00:00.034) 0:01:23.141 ******** 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:29 +0000 (0:00:00.031) 0:01:23.172 ******** 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:29 +0000 (0:00:00.020) 0:01:23.192 ******** 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:29 +0000 (0:00:00.021) 0:01:23.214 ******** 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:29 +0000 (0:00:00.021) 0:01:23.235 ******** 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:29 +0000 (0:00:00.022) 0:01:23.258 ******** 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:29 +0000 (0:00:00.030) 0:01:23.288 ******** 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:29 +0000 (0:00:00.039) 0:01:23.328 ******** 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:29 +0000 (0:00:00.028) 0:01:23.356 ******** 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:29 +0000 (0:00:00.028) 0:01:23.385 ******** 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:29 +0000 (0:00:00.032) 0:01:23.417 ******** 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:29 +0000 (0:00:00.051) 0:01:23.469 ******** 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:29 +0000 (0:00:00.021) 0:01:23.491 ******** 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:29 +0000 (0:00:00.033) 0:01:23.525 ******** 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:29 +0000 (0:00:00.041) 0:01:23.567 ******** 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:29 +0000 (0:00:00.031) 0:01:23.598 ******** 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:29 +0000 (0:00:00.072) 0:01:23.671 ******** 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:29 +0000 (0:00:00.053) 0:01:23.725 ******** 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:29 +0000 (0:00:00.039) 0:01:23.764 ******** 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:30 +0000 (0:00:00.034) 0:01:23.798 ******** 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:30 +0000 (0:00:00.033) 0:01:23.831 ******** 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:30 +0000 (0:00:00.055) 0:01:23.887 ******** 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:30 +0000 (0:00:00.032) 0:01:23.920 ******** 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:30 +0000 (0:00:00.023) 0:01:23.943 ******** 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:30 +0000 (0:00:00.024) 0:01:23.968 ******** 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:30 +0000 (0:00:00.027) 0:01:23.996 ******** 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:30 +0000 (0:00:00.021) 0:01:24.017 ******** 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:30 +0000 (0:00:00.029) 0:01:24.047 ******** 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:30 +0000 (0:00:00.076) 0:01:24.123 ******** 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:30 +0000 (0:00:00.029) 0:01:24.153 ******** 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:30 +0000 (0:00:00.024) 0:01:24.178 ******** 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:30 +0000 (0:00:00.041) 0:01:24.219 ******** 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:30 +0000 (0:00:00.024) 0:01:24.243 ******** 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:30 +0000 (0:00:00.026) 0:01:24.269 ******** 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:30 +0000 (0:00:00.021) 0:01:24.290 ******** 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:30 +0000 (0:00:00.069) 0:01:24.359 ******** 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:30 +0000 (0:00:00.028) 0:01:24.388 ******** 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:30 +0000 (0:00:00.245) 0:01:24.633 ******** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-01-05 15:10:13 UTC", "ActiveEnterTimestampMonotonic": "1889167477", "ActiveExitTimestamp": "Fri 2024-01-05 15:10:12 UTC", "ActiveExitTimestampMonotonic": "1888497324", "ActiveState": "active", "After": "network.target systemd-journald.socket -.mount system.slice basic.target auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 15:10:13 UTC", "AssertTimestampMonotonic": "1889166330", "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:13 UTC", "ConditionTimestampMonotonic": "1889166329", "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": "26200", "ExecMainStartTimestamp": "Fri 2024-01-05 15:10:13 UTC", "ExecMainStartTimestampMonotonic": "1889167369", "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:13 UTC", "InactiveEnterTimestampMonotonic": "1889165762", "InactiveExitTimestamp": "Fri 2024-01-05 15:10:13 UTC", "InactiveExitTimestampMonotonic": "1889167477", "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": "26200", "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": "-.mount basic.target system.slice", "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:13 UTC", "WatchdogTimestampMonotonic": "1889167435", "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:31 +0000 (0:00:00.526) 0:01:25.160 ******** 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:31 +0000 (0:00:00.020) 0:01:25.180 ******** 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:31 +0000 (0:00:00.020) 0:01:25.200 ******** 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:31 +0000 (0:00:00.078) 0:01:25.279 ******** 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:31 +0000 (0:00:00.021) 0:01:25.301 ******** 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:31 +0000 (0:00:00.020) 0:01:25.322 ******** 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:31 +0000 (0:00:00.022) 0:01:25.344 ******** 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:31 +0000 (0:00:00.022) 0:01:25.366 ******** 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:31 +0000 (0:00:00.021) 0:01:25.388 ******** 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:31 +0000 (0:00:00.020) 0:01:25.408 ******** 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:31 +0000 (0:00:00.019) 0:01:25.428 ******** 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:31 +0000 (0:00:00.065) 0:01:25.494 ******** 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:31 +0000 (0:00:00.072) 0:01:25.566 ******** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-01-05 15:10:31 UTC", "ActiveEnterTimestampMonotonic": "1907372884", "ActiveExitTimestamp": "Fri 2024-01-05 15:10:31 UTC", "ActiveExitTimestampMonotonic": "1907121810", "ActiveState": "active", "After": "network.target systemd-journald.socket -.mount system.slice basic.target auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 15:10:31 UTC", "AssertTimestampMonotonic": "1907372235", "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:31 UTC", "ConditionTimestampMonotonic": "1907372233", "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": "26946", "ExecMainStartTimestamp": "Fri 2024-01-05 15:10:31 UTC", "ExecMainStartTimestampMonotonic": "1907372822", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2024-01-05 15:10:31 UTC] ; stop_time=[n/a] ; pid=26946 ; 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:31 UTC", "InactiveEnterTimestampMonotonic": "1907371176", "InactiveExitTimestamp": "Fri 2024-01-05 15:10:31 UTC", "InactiveExitTimestampMonotonic": "1907372884", "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": "26946", "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": "-.mount basic.target system.slice", "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:31 UTC", "WatchdogTimestampMonotonic": "1907372859", "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:32 +0000 (0:00:00.265) 0:01:25.832 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003508", "end": "2024-01-05 15:10:32.237474", "failed_when_result": false, "rc": 1, "start": "2024-01-05 15:10:32.233966" } 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:32 +0000 (0:00:00.242) 0:01:26.074 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004080", "end": "2024-01-05 15:10:32.434528", "failed_when_result": false, "rc": 1, "start": "2024-01-05 15:10:32.430448" } 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:32 +0000 (0:00:00.216) 0:01:26.290 ******** 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:32 +0000 (0:00:00.129) 0:01:26.420 ******** 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": 6270, "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:34 +0000 (0:00:02.222) 0:01:28.642 ******** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.031255", "end": "2024-01-05 15:10:35.065897", "rc": 0, "start": "2024-01-05 15:10:35.034642" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2019 (RTM-CU24) (KB5031908) - 15.0.4345.5 (X64) Dec 4 2023 14:44:16 Copyright (C) 2019 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS 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:35 +0000 (0:00:00.276) 0:01:28.918 ******** 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:35 +0000 (0:00:00.049) 0:01:28.968 ******** 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:35 +0000 (0:00:00.065) 0:01:29.034 ******** 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:35 +0000 (0:00:00.054) 0:01:29.088 ******** 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:35 +0000 (0:00:00.048) 0:01:29.137 ******** 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:35 +0000 (0:00:00.052) 0:01:29.189 ******** 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:35 +0000 (0:00:00.060) 0:01:29.250 ******** 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:35 +0000 (0:00:00.056) 0:01:29.306 ******** 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:35 +0000 (0:00:00.035) 0:01:29.342 ******** 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:35 +0000 (0:00:00.109) 0:01:29.452 ******** ok: [sut] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004275", "end": "2024-01-05 15:10:35.802925", "rc": 0, "start": "2024-01-05 15:10:35.798650" } 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:35 +0000 (0:00:00.184) 0:01:29.637 ******** 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:35 +0000 (0:00:00.097) 0:01:29.735 ******** 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:35 +0000 (0:00:00.045) 0:01:29.780 ******** 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:36 +0000 (0:00:00.042) 0:01:29.823 ******** 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:36 +0000 (0:00:00.052) 0:01:29.875 ******** ok: [sut] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004192", "end": "2024-01-05 15:10:36.228187", "rc": 0, "start": "2024-01-05 15:10:36.223995" } 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:36 +0000 (0:00:00.167) 0:01:30.043 ******** 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:36 +0000 (0:00:00.067) 0:01:30.111 ******** 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:36 +0000 (0:00:00.032) 0:01:30.144 ******** 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:36 +0000 (0:00:00.024) 0:01:30.169 ******** 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:36 +0000 (0:00:00.047) 0:01:30.216 ******** ok: [sut] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004280", "end": "2024-01-05 15:10:36.552235", "rc": 0, "start": "2024-01-05 15:10:36.547955" } 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:36 +0000 (0:00:00.181) 0:01:30.398 ******** 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:36 +0000 (0:00:00.030) 0:01:30.429 ******** 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:36 +0000 (0:00:00.039) 0:01:30.468 ******** 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:36 +0000 (0:00:00.029) 0:01:30.498 ******** 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:36 +0000 (0:00:00.045) 0:01:30.544 ******** ok: [sut] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004321", "end": "2024-01-05 15:10:36.875499", "rc": 0, "start": "2024-01-05 15:10:36.871178" } 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:36 +0000 (0:00:00.142) 0:01:30.686 ******** 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:36 +0000 (0:00:00.033) 0:01:30.720 ******** 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:36 +0000 (0:00:00.040) 0:01:30.761 ******** 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:37 +0000 (0:00:00.047) 0:01:30.808 ******** 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:37 +0000 (0:00:00.029) 0:01:30.837 ******** 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:37 +0000 (0:00:00.022) 0:01:30.859 ******** 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:37 +0000 (0:00:00.021) 0:01:30.881 ******** changed: [sut] => (item=/etc/pki/tls/certs/ansible.TnJOUq) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/pki/tls/certs/ansible.TnJOUq", "path": "/etc/pki/tls/certs/ansible.TnJOUq", "state": "absent" } changed: [sut] => (item=/etc/pki/tls/private/ansible.nV_nQH) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/pki/tls/private/ansible.nV_nQH", "path": "/etc/pki/tls/private/ansible.nV_nQH", "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:37 +0000 (0:00:00.279) 0:01:31.161 ******** ok: [sut] => (item=/tmp/ansible.TnJOUq) => { "ansible_loop_var": "item", "changed": false, "checksum": "a928f1d2f0e2f34c0bc4c5de1856dc522e074800", "dest": "/tmp/ansible.TnJOUq", "gid": 0, "group": "root", "item": "/tmp/ansible.TnJOUq", "mode": "0600", "owner": "root", "path": "/tmp/ansible.TnJOUq", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 1103, "state": "file", "uid": 0 } ok: [sut] => (item=/tmp/ansible.nV_nQH) => { "ansible_loop_var": "item", "changed": false, "checksum": "26a60f2588c170a9d539b5b84188e890cb381a47", "dest": "/tmp/ansible.nV_nQH", "gid": 0, "group": "root", "item": "/tmp/ansible.nV_nQH", "mode": "0600", "owner": "root", "path": "/tmp/ansible.nV_nQH", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 1708, "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:38 +0000 (0:00:00.698) 0:01:31.859 ******** ok: [sut] => { "ansible_facts": { "mssql_tls_cert": "/tmp/ansible.TnJOUq", "mssql_tls_private_key": "ansible.nV_nQH" }, "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:38 +0000 (0:00:00.093) 0:01:31.953 ******** 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:38 +0000 (0:00:00.278) 0:01:32.231 ******** 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:38 +0000 (0:00:00.056) 0:01:32.287 ******** 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:38 +0000 (0:00:00.060) 0:01:32.348 ******** 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:38 +0000 (0:00:00.091) 0:01:32.439 ******** 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:38 +0000 (0:00:00.047) 0:01:32.487 ******** 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:38 +0000 (0:00:00.043) 0:01:32.531 ******** 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:38 +0000 (0:00:00.057) 0:01:32.588 ******** 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:38 +0000 (0:00:00.036) 0:01:32.625 ******** 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:38 +0000 (0:00:00.065) 0:01:32.691 ******** 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:39 +0000 (0:00:00.247) 0:01:32.938 ******** 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:39 +0000 (0:00:00.023) 0:01:32.962 ******** 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:39 +0000 (0:00:00.036) 0:01:32.998 ******** 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:39 +0000 (0:00:00.023) 0:01:33.021 ******** 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:39 +0000 (0:00:00.043) 0:01:33.064 ******** 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:39 +0000 (0:00:00.036) 0:01:33.101 ******** 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:39 +0000 (0:00:00.036) 0:01:33.137 ******** 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:39 +0000 (0:00:00.042) 0:01:33.179 ******** 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:39 +0000 (0:00:00.024) 0:01:33.204 ******** 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:39 +0000 (0:00:00.030) 0:01:33.234 ******** 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:40 +0000 (0:00:00.941) 0:01:34.176 ******** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } ok: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Friday 05 January 2024 15:10:40 +0000 (0:00:00.100) 0:01:34.277 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:151 Friday 05 January 2024 15:10:40 +0000 (0:00:00.030) 0:01:34.307 ******** 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:40 +0000 (0:00:00.100) 0:01:34.408 ******** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:173 Friday 05 January 2024 15:10:40 +0000 (0:00:00.049) 0:01:34.458 ******** ok: [sut] => { "attempts": 1, "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:186 Friday 05 January 2024 15:10:41 +0000 (0:00:00.336) 0:01:34.794 ******** 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:41 +0000 (0:00:00.024) 0:01:34.819 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:207 Friday 05 January 2024 15:10:41 +0000 (0:00:00.039) 0:01:34.858 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:215 Friday 05 January 2024 15:10:41 +0000 (0:00:00.024) 0:01:34.883 ******** 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:41 +0000 (0:00:00.029) 0:01:34.913 ******** 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:41 +0000 (0:00:00.038) 0:01:34.951 ******** 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:41 +0000 (0:00:00.030) 0:01:34.982 ******** 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:41 +0000 (0:00:00.037) 0:01:35.019 ******** 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:41 +0000 (0:00:00.069) 0:01:35.088 ******** 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:41 +0000 (0:00:00.038) 0:01:35.126 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-server-15.0.4345.5-2.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:41 +0000 (0:00:00.374) 0:01:35.501 ******** 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:41 +0000 (0:00:00.030) 0:01:35.531 ******** 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.005197", "end": "2024-01-05 15:10:41.863861", "rc": 0, "start": "2024-01-05 15:10:41.858664" } 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:41 +0000 (0:00:00.141) 0:01:35.672 ******** 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:42 +0000 (0:00:00.771) 0:01:36.444 ******** 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:42 +0000 (0:00:00.029) 0:01:36.474 ******** 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:42 +0000 (0:00:00.021) 0:01:36.495 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Ensure 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:42 +0000 (0:00:00.021) 0:01:36.516 ******** 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:42 +0000 (0:00:00.028) 0:01:36.545 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:366 Friday 05 January 2024 15:10:42 +0000 (0:00:00.037) 0:01:36.582 ******** 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:43 +0000 (0:00:00.340) 0:01:36.922 ******** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-01-05 14:39:05 UTC", "ActiveEnterTimestampMonotonic": "21380366", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target dbus.service systemd-journald.socket system.slice basic.target systemd-sysctl.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 14:39:03 UTC", "AssertTimestampMonotonic": "19950014", "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": "19950012", "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": "881", "ExecMainStartTimestamp": "Fri 2024-01-05 14:39:03 UTC", "ExecMainStartTimestampMonotonic": "19951022", "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": "19951142", "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": "881", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice dbus.service 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": "21380194", "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:43 +0000 (0:00:00.248) 0:01:37.171 ******** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.094396", "end": "2024-01-05 15:10:43.605885", "rc": 0, "start": "2024-01-05 15:10:43.511489" } 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:43 +0000 (0:00:00.248) 0:01:37.419 ******** 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:43 +0000 (0:00:00.020) 0:01:37.440 ******** 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:43 +0000 (0:00:00.021) 0:01:37.461 ******** 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:43 +0000 (0:00:00.020) 0:01:37.481 ******** 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:43 +0000 (0:00:00.140) 0:01:37.621 ******** 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:44 +0000 (0:00:00.345) 0:01:37.967 ******** 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:44 +0000 (0:00:00.087) 0:01:38.055 ******** 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:44 +0000 (0:00:00.024) 0:01:38.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 : 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:44 +0000 (0:00:00.033) 0:01:38.112 ******** 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:44 +0000 (0:00:00.021) 0:01:38.134 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : 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:44 +0000 (0:00:00.024) 0:01:38.159 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : 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:44 +0000 (0:00:00.027) 0:01:38.186 ******** 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:44 +0000 (0:00:00.027) 0:01:38.213 ******** 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:44 +0000 (0:00:00.030) 0:01:38.244 ******** 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.005273", "end": "2024-01-05 15:10:44.632551", "rc": 0, "start": "2024-01-05 15:10:44.627278" } 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:44 +0000 (0:00:00.199) 0:01:38.443 ******** 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:44 +0000 (0:00:00.023) 0:01:38.467 ******** 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:45 +0000 (0:00:00.951) 0:01:39.418 ******** 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:45 +0000 (0:00:00.033) 0:01:39.452 ******** 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:45 +0000 (0:00:00.079) 0:01:39.531 ******** 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:45 +0000 (0:00:00.023) 0:01:39.554 ******** 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:45 +0000 (0:00:00.028) 0:01:39.582 ******** 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:45 +0000 (0:00:00.038) 0:01:39.620 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003111", "end": "2024-01-05 15:10:45.967534", "failed_when_result": false, "rc": 1, "start": "2024-01-05 15:10:45.964423" } 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:45 +0000 (0:00:00.157) 0:01:39.778 ******** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.128589", "end": "2024-01-05 15:10:46.237849", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:10:46.109260" } 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:46 +0000 (0:00:00.308) 0:01:40.087 ******** 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:46 +0000 (0:00:00.025) 0:01:40.112 ******** 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:46 +0000 (0:00:00.022) 0:01:40.135 ******** 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:46 +0000 (0:00:00.024) 0:01:40.160 ******** 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:46 +0000 (0:00:00.023) 0:01:40.183 ******** 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:46 +0000 (0:00:00.025) 0:01:40.209 ******** 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:46 +0000 (0:00:00.023) 0:01:40.232 ******** 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:46 +0000 (0:00:00.087) 0:01:40.319 ******** 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:46 +0000 (0:00:00.031) 0:01:40.351 ******** 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:46 +0000 (0:00:00.033) 0:01:40.384 ******** 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:46 +0000 (0:00:00.027) 0:01:40.411 ******** 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:46 +0000 (0:00:00.023) 0:01:40.435 ******** 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:46 +0000 (0:00:00.059) 0:01:40.494 ******** changed: [sut] => (item=/tmp/ansible.TnJOUq) => { "ansible_loop_var": "item", "changed": true, "checksum": "a928f1d2f0e2f34c0bc4c5de1856dc522e074800", "dest": "/etc/pki/tls/certs/ansible.TnJOUq", "gid": 994, "group": "mssql", "item": "/tmp/ansible.TnJOUq", "md5sum": "ddc25e2999722f7998e17337e57a9ac3", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1103, "src": "/tmp/ansible.TnJOUq", "state": "file", "uid": 996 } changed: [sut] => (item=/tmp/ansible.nV_nQH) => { "ansible_loop_var": "item", "changed": true, "checksum": "26a60f2588c170a9d539b5b84188e890cb381a47", "dest": "/etc/pki/tls/private/ansible.nV_nQH", "gid": 994, "group": "mssql", "item": "/tmp/ansible.nV_nQH", "md5sum": "868b9e33a682e1c2d289b38c3c70faa1", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1708, "src": "/tmp/ansible.nV_nQH", "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:47 +0000 (0:00:00.469) 0:01:40.964 ******** 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:47 +0000 (0:00:00.039) 0:01:41.004 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003118", "end": "2024-01-05 15:10:47.334790", "failed_when_result": false, "rc": 1, "start": "2024-01-05 15:10:47.331672" } 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:47 +0000 (0:00:00.156) 0:01:41.160 ******** 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.TnJOUq" ], "delta": "0:00:00.126069", "end": "2024-01-05 15:10:47.622018", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:10:47.495949" } 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:47 +0000 (0:00:00.280) 0:01:41.440 ******** 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:47 +0000 (0:00:00.055) 0:01:41.496 ******** 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:47 +0000 (0:00:00.058) 0:01:41.555 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003133", "end": "2024-01-05 15:10:47.886505", "failed_when_result": false, "rc": 1, "start": "2024-01-05 15:10:47.883372" } 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:47 +0000 (0:00:00.161) 0:01:41.717 ******** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlskey", "/etc/pki/tls/private/ansible.nV_nQH" ], "delta": "0:00:00.126851", "end": "2024-01-05 15:10:48.216880", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:10:48.090029" } 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:48 +0000 (0:00:00.346) 0:01:42.063 ******** 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:48 +0000 (0:00:00.042) 0:01:42.106 ******** 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:48 +0000 (0:00:00.062) 0:01:42.168 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003120", "end": "2024-01-05 15:10:48.543953", "failed_when_result": false, "rc": 1, "start": "2024-01-05 15:10:48.540833" } 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:48 +0000 (0:00:00.242) 0:01:42.411 ******** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlsprotocols", "1.2" ], "delta": "0:00:00.125689", "end": "2024-01-05 15:10:48.876819", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:10:48.751130" } 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:48 +0000 (0:00:00.303) 0:01:42.714 ******** 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:48 +0000 (0:00:00.030) 0:01:42.745 ******** 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:49 +0000 (0:00:00.069) 0:01:42.814 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003075", "end": "2024-01-05 15:10:49.157647", "failed_when_result": false, "rc": 1, "start": "2024-01-05 15:10:49.154572" } 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:49 +0000 (0:00:00.164) 0:01:42.978 ******** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.forceencryption", "1" ], "delta": "0:00:00.127726", "end": "2024-01-05 15:10:49.449220", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:10:49.321494" } 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:49 +0000 (0:00:00.307) 0:01:43.286 ******** 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:49 +0000 (0:00:00.029) 0:01:43.315 ******** 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:49 +0000 (0:00:00.024) 0:01:43.339 ******** 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:49 +0000 (0:00:00.035) 0:01:43.375 ******** 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:49 +0000 (0:00:00.026) 0:01:43.401 ******** 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:49 +0000 (0:00:00.043) 0:01:43.445 ******** 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:49 +0000 (0:00:00.063) 0:01:43.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 : 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:49 +0000 (0:00:00.042) 0:01:43.551 ******** 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:49 +0000 (0:00:00.030) 0:01:43.582 ******** 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:49 +0000 (0:00:00.032) 0:01:43.614 ******** 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:49 +0000 (0:00:00.081) 0:01:43.696 ******** 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:49 +0000 (0:00:00.021) 0:01:43.717 ******** 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:49 +0000 (0:00:00.024) 0:01:43.742 ******** 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:49 +0000 (0:00:00.031) 0:01:43.773 ******** 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:50 +0000 (0:00:00.028) 0:01:43.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 : 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:50 +0000 (0:00:00.027) 0:01:43.830 ******** 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:50 +0000 (0:00:00.035) 0:01:43.865 ******** 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:50 +0000 (0:00:00.023) 0:01:43.889 ******** 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:50 +0000 (0:00:00.025) 0:01:43.914 ******** 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:50 +0000 (0:00:00.023) 0:01:43.938 ******** 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:50 +0000 (0:00:00.025) 0:01:43.963 ******** 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:50 +0000 (0:00:00.024) 0:01:43.987 ******** 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:50 +0000 (0:00:00.023) 0:01:44.011 ******** 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:50 +0000 (0:00:00.043) 0:01:44.054 ******** 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:50 +0000 (0:00:00.036) 0:01:44.091 ******** 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:50 +0000 (0:00:00.023) 0:01:44.114 ******** 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:50 +0000 (0:00:00.021) 0:01:44.136 ******** 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:50 +0000 (0:00:00.029) 0:01:44.165 ******** 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:50 +0000 (0:00:00.025) 0:01:44.191 ******** 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:50 +0000 (0:00:00.075) 0:01:44.266 ******** 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:50 +0000 (0:00:00.024) 0:01:44.291 ******** 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:50 +0000 (0:00:00.031) 0:01:44.322 ******** 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:50 +0000 (0:00:00.021) 0:01:44.344 ******** 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:50 +0000 (0:00:00.020) 0:01:44.365 ******** 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:50 +0000 (0:00:00.031) 0:01:44.397 ******** 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:50 +0000 (0:00:00.028) 0:01:44.426 ******** 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:50 +0000 (0:00:00.023) 0:01:44.449 ******** 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:50 +0000 (0:00:00.035) 0:01:44.485 ******** 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:50 +0000 (0:00:00.026) 0:01:44.511 ******** 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:50 +0000 (0:00:00.022) 0:01:44.534 ******** 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:50 +0000 (0:00:00.021) 0:01:44.556 ******** 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:50 +0000 (0:00:00.026) 0:01:44.582 ******** 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:50 +0000 (0:00:00.022) 0:01:44.605 ******** 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:50 +0000 (0:00:00.034) 0:01:44.639 ******** 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:50 +0000 (0:00:00.033) 0:01:44.672 ******** 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:50 +0000 (0:00:00.034) 0:01:44.707 ******** 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:50 +0000 (0:00:00.067) 0:01:44.775 ******** 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:51 +0000 (0:00:00.056) 0:01:44.831 ******** 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:51 +0000 (0:00:00.155) 0:01:44.987 ******** 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:51 +0000 (0:00:00.024) 0:01:45.011 ******** 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:51 +0000 (0:00:00.044) 0:01:45.056 ******** 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:51 +0000 (0:00:00.048) 0:01:45.105 ******** 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:51 +0000 (0:00:00.176) 0:01:45.282 ******** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-01-05 15:10:31 UTC", "ActiveEnterTimestampMonotonic": "1907372884", "ActiveExitTimestamp": "Fri 2024-01-05 15:10:31 UTC", "ActiveExitTimestampMonotonic": "1907121810", "ActiveState": "active", "After": "network.target systemd-journald.socket -.mount system.slice basic.target auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 15:10:31 UTC", "AssertTimestampMonotonic": "1907372235", "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:31 UTC", "ConditionTimestampMonotonic": "1907372233", "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": "26946", "ExecMainStartTimestamp": "Fri 2024-01-05 15:10:31 UTC", "ExecMainStartTimestampMonotonic": "1907372822", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2024-01-05 15:10:31 UTC] ; stop_time=[n/a] ; pid=26946 ; 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:31 UTC", "InactiveEnterTimestampMonotonic": "1907371176", "InactiveExitTimestamp": "Fri 2024-01-05 15:10:31 UTC", "InactiveExitTimestampMonotonic": "1907372884", "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": "26946", "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": "-.mount basic.target system.slice", "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:31 UTC", "WatchdogTimestampMonotonic": "1907372859", "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:52 +0000 (0:00:01.350) 0:01:46.633 ******** 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:52 +0000 (0:00:00.025) 0:01:46.659 ******** 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:52 +0000 (0:00:00.035) 0:01:46.694 ******** 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:53 +0000 (0:00:00.128) 0:01:46.823 ******** 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:53 +0000 (0:00:00.021) 0:01:46.844 ******** 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:53 +0000 (0:00:00.080) 0:01:46.925 ******** 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:53 +0000 (0:00:00.024) 0:01:46.949 ******** 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:53 +0000 (0:00:00.026) 0:01:46.976 ******** 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:53 +0000 (0:00:00.036) 0:01:47.013 ******** 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:53 +0000 (0:00:00.023) 0:01:47.036 ******** 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:53 +0000 (0:00:00.022) 0:01:47.058 ******** 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:53 +0000 (0:00:00.037) 0:01:47.096 ******** 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:53 +0000 (0:00:00.041) 0:01:47.138 ******** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-01-05 15:10:52 UTC", "ActiveEnterTimestampMonotonic": "1928835336", "ActiveExitTimestamp": "Fri 2024-01-05 15:10:51 UTC", "ActiveExitTimestampMonotonic": "1927749932", "ActiveState": "active", "After": "network.target systemd-journald.socket -.mount system.slice basic.target auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 15:10:52 UTC", "AssertTimestampMonotonic": "1928834611", "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:52 UTC", "ConditionTimestampMonotonic": "1928834609", "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": "27842", "ExecMainStartTimestamp": "Fri 2024-01-05 15:10:52 UTC", "ExecMainStartTimestampMonotonic": "1928835264", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2024-01-05 15:10:52 UTC] ; stop_time=[n/a] ; pid=27842 ; 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:52 UTC", "InactiveEnterTimestampMonotonic": "1928833633", "InactiveExitTimestamp": "Fri 2024-01-05 15:10:52 UTC", "InactiveExitTimestampMonotonic": "1928835336", "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": "27842", "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": "-.mount basic.target system.slice", "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:52 UTC", "WatchdogTimestampMonotonic": "1928835311", "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:53 +0000 (0:00:00.288) 0:01:47.426 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003674", "end": "2024-01-05 15:10:53.786744", "failed_when_result": false, "rc": 1, "start": "2024-01-05 15:10:53.783070" } 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:53 +0000 (0:00:00.168) 0:01:47.595 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003231", "end": "2024-01-05 15:10:53.936522", "failed_when_result": false, "rc": 1, "start": "2024-01-05 15:10:53.933291" } 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:53 +0000 (0:00:00.161) 0:01:47.757 ******** 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:54 +0000 (0:00:00.029) 0:01:47.787 ******** ok: [sut] => { "changed": false, "elapsed": 3, "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": 6995, "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:57 +0000 (0:00:03.206) 0:01:50.993 ******** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.028702", "end": "2024-01-05 15:10:57.357623", "rc": 0, "start": "2024-01-05 15:10:57.328921" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2019 (RTM-CU24) (KB5031908) - 15.0.4345.5 (X64) Dec 4 2023 14:44:16 Copyright (C) 2019 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS 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:57 +0000 (0:00:00.189) 0:01:51.183 ******** 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:57 +0000 (0:00:00.027) 0:01:51.210 ******** 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:57 +0000 (0:00:00.038) 0:01:51.248 ******** 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:57 +0000 (0:00:00.025) 0:01:51.274 ******** 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:57 +0000 (0:00:00.038) 0:01:51.313 ******** 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:57 +0000 (0:00:00.051) 0:01:51.364 ******** 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:57 +0000 (0:00:00.044) 0:01:51.408 ******** 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:57 +0000 (0:00:00.030) 0:01:51.439 ******** 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:57 +0000 (0:00:00.040) 0:01:51.479 ******** 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:57 +0000 (0:00:00.044) 0:01:51.523 ******** ok: [sut] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004272", "end": "2024-01-05 15:10:57.857567", "rc": 0, "start": "2024-01-05 15:10:57.853295" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.TnJOUq 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:57 +0000 (0:00:00.175) 0:01:51.699 ******** 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:57 +0000 (0:00:00.071) 0:01:51.770 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/certs/ansible.TnJOUq] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml:40 Friday 05 January 2024 15:10:58 +0000 (0:00:00.077) 0:01:51.847 ******** 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:58 +0000 (0:00:00.135) 0:01:51.983 ******** 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:58 +0000 (0:00:00.053) 0:01:52.036 ******** ok: [sut] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004438", "end": "2024-01-05 15:10:58.368272", "rc": 0, "start": "2024-01-05 15:10:58.363834" } STDOUT: tlskey = /etc/pki/tls/private/ansible.nV_nQH 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:58 +0000 (0:00:00.165) 0:01:52.202 ******** 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:58 +0000 (0:00:00.067) 0:01:52.269 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/private/ansible.nV_nQH] *************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/mssql_conf_verify.yml:40 Friday 05 January 2024 15:10:58 +0000 (0:00:00.064) 0:01:52.334 ******** 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:58 +0000 (0:00:00.030) 0:01:52.364 ******** 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:58 +0000 (0:00:00.051) 0:01:52.415 ******** ok: [sut] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004486", "end": "2024-01-05 15:10:58.783925", "rc": 0, "start": "2024-01-05 15:10:58.779439" } 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:58 +0000 (0:00:00.234) 0:01:52.650 ******** 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:58 +0000 (0:00:00.074) 0:01:52.724 ******** 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:58 +0000 (0:00:00.050) 0:01:52.774 ******** 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:59 +0000 (0:00:00.076) 0:01:52.851 ******** 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:59 +0000 (0:00:00.070) 0:01:52.921 ******** ok: [sut] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004437", "end": "2024-01-05 15:10:59.267984", "rc": 0, "start": "2024-01-05 15:10:59.263547" } 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:59 +0000 (0:00:00.166) 0:01:53.088 ******** 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:59 +0000 (0:00:00.055) 0:01:53.144 ******** 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:59 +0000 (0:00:00.061) 0:01:53.206 ******** 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:59 +0000 (0:00:00.076) 0:01:53.283 ******** 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:59 +0000 (0:00:00.053) 0:01:53.336 ******** 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:59 +0000 (0:00:00.052) 0:01:53.388 ******** 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:59 +0000 (0:00:00.052) 0:01:53.440 ******** 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:59 +0000 (0:00:00.241) 0:01:53.682 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "Ansible managed\n", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003305", "end": "2024-01-05 15:11:00.076253", "rc": 0, "start": "2024-01-05 15:11:00.072948" } 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.TnJOUq tlskey = /etc/pki/tls/private/ansible.nV_nQH 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:11:00 +0000 (0:00:00.209) 0:01:53.891 ******** 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:00 +0000 (0:00:00.271) 0:01:54.163 ******** 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:00 +0000 (0:00:00.145) 0:01:54.308 ******** 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:00 +0000 (0:00:00.040) 0:01:54.348 ******** 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:00 +0000 (0:00:00.045) 0:01:54.394 ******** 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:00 +0000 (0:00:00.071) 0:01:54.465 ******** 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:00 +0000 (0:00:00.039) 0:01:54.505 ******** 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:00 +0000 (0:00:00.040) 0:01:54.545 ******** 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:00 +0000 (0:00:00.030) 0:01:54.575 ******** 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:00 +0000 (0:00:00.025) 0:01:54.600 ******** 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:00 +0000 (0:00:00.032) 0:01:54.633 ******** 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:00 +0000 (0:00:00.039) 0:01:54.672 ******** 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:00 +0000 (0:00:00.020) 0:01:54.692 ******** 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:00 +0000 (0:00:00.022) 0:01:54.715 ******** 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:00 +0000 (0:00:00.028) 0:01:54.744 ******** 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:00 +0000 (0:00:00.024) 0:01:54.768 ******** 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:01 +0000 (0:00:00.055) 0:01:54.824 ******** 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:01 +0000 (0:00:00.024) 0:01:54.848 ******** 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:01 +0000 (0:00:00.059) 0:01:54.907 ******** 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:01 +0000 (0:00:00.038) 0:01:54.945 ******** 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:02 +0000 (0:00:01.107) 0:01:56.053 ******** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } ok: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Friday 05 January 2024 15:11:02 +0000 (0:00:00.172) 0:01:56.225 ******** 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:02 +0000 (0:00:00.024) 0:01:56.249 ******** 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:02 +0000 (0:00:00.050) 0:01:56.300 ******** 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:02 +0000 (0:00:00.072) 0:01:56.373 ******** ok: [sut] => { "attempts": 1, "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:186 Friday 05 January 2024 15:11:02 +0000 (0:00:00.388) 0:01:56.762 ******** 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:03 +0000 (0:00:00.054) 0:01:56.816 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:207 Friday 05 January 2024 15:11:03 +0000 (0:00:00.045) 0:01:56.861 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:215 Friday 05 January 2024 15:11:03 +0000 (0:00:00.047) 0:01:56.909 ******** 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:03 +0000 (0:00:00.041) 0:01:56.951 ******** 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:03 +0000 (0:00:00.038) 0:01:56.989 ******** 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:03 +0000 (0:00:00.026) 0:01:57.016 ******** 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:03 +0000 (0:00:00.021) 0:01:57.037 ******** 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:03 +0000 (0:00:00.083) 0:01:57.121 ******** 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:03 +0000 (0:00:00.027) 0:01:57.148 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-server-15.0.4345.5-2.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:03 +0000 (0:00:00.346) 0:01:57.495 ******** 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:03 +0000 (0:00:00.022) 0:01:57.517 ******** 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.005226", "end": "2024-01-05 15:11:03.851905", "rc": 0, "start": "2024-01-05 15:11:03.846679" } 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:03 +0000 (0:00:00.148) 0:01:57.665 ******** 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:04 +0000 (0:00:00.729) 0:01:58.395 ******** 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:04 +0000 (0:00:00.044) 0:01:58.439 ******** 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:04 +0000 (0:00:00.044) 0:01:58.484 ******** 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:04 +0000 (0:00:00.022) 0:01:58.507 ******** 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:04 +0000 (0:00:00.032) 0:01:58.539 ******** 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:04 +0000 (0:00:00.027) 0:01:58.566 ******** 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:05 +0000 (0:00:00.334) 0:01:58.901 ******** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-01-05 14:39:05 UTC", "ActiveEnterTimestampMonotonic": "21380366", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target dbus.service systemd-journald.socket system.slice basic.target systemd-sysctl.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 14:39:03 UTC", "AssertTimestampMonotonic": "19950014", "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": "19950012", "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": "881", "ExecMainStartTimestamp": "Fri 2024-01-05 14:39:03 UTC", "ExecMainStartTimestampMonotonic": "19951022", "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": "19951142", "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": "881", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice dbus.service 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": "21380194", "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:05 +0000 (0:00:00.279) 0:01:59.181 ******** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.093050", "end": "2024-01-05 15:11:05.596602", "rc": 0, "start": "2024-01-05 15:11:05.503552" } 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:05 +0000 (0:00:00.227) 0:01:59.409 ******** 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:05 +0000 (0:00:00.035) 0:01:59.444 ******** 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:05 +0000 (0:00:00.023) 0:01:59.468 ******** 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:05 +0000 (0:00:00.022) 0:01:59.490 ******** 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:05 +0000 (0:00:00.141) 0:01:59.632 ******** 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:06 +0000 (0:00:00.333) 0:01:59.966 ******** 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:06 +0000 (0:00:00.022) 0:01:59.988 ******** 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:06 +0000 (0:00:00.022) 0:02:00.011 ******** 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:06 +0000 (0:00:00.023) 0:02:00.034 ******** 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:06 +0000 (0:00:00.022) 0:02:00.057 ******** 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:06 +0000 (0:00:00.022) 0:02:00.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:11:06 +0000 (0:00:00.021) 0:02:00.100 ******** 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:06 +0000 (0:00:00.019) 0:02:00.120 ******** 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:06 +0000 (0:00:00.019) 0:02:00.139 ******** 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.005072", "end": "2024-01-05 15:11:06.468352", "rc": 0, "start": "2024-01-05 15:11:06.463280" } 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:06 +0000 (0:00:00.211) 0:02:00.351 ******** 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:06 +0000 (0:00:00.024) 0:02:00.375 ******** 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:07 +0000 (0:00:00.943) 0:02:01.318 ******** 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:07 +0000 (0:00:00.047) 0:02:01.366 ******** 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:07 +0000 (0:00:00.038) 0:02:01.404 ******** 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:07 +0000 (0:00:00.042) 0:02:01.446 ******** 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:07 +0000 (0:00:00.023) 0:02:01.470 ******** 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:07 +0000 (0:00:00.039) 0:02:01.509 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003500", "end": "2024-01-05 15:11:07.857583", "failed_when_result": false, "rc": 1, "start": "2024-01-05 15:11:07.854083" } 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:07 +0000 (0:00:00.164) 0:02:01.674 ******** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.127471", "end": "2024-01-05 15:11:08.136511", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:11:08.009040" } 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:08 +0000 (0:00:00.277) 0:02:01.952 ******** 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:08 +0000 (0:00:00.081) 0:02:02.034 ******** 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:08 +0000 (0:00:00.021) 0:02:02.055 ******** 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:08 +0000 (0:00:00.027) 0:02:02.082 ******** 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:08 +0000 (0:00:00.023) 0:02:02.106 ******** 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:08 +0000 (0:00:00.021) 0:02:02.127 ******** 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:08 +0000 (0:00:00.021) 0:02:02.148 ******** 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:08 +0000 (0:00:00.020) 0:02:02.169 ******** 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:08 +0000 (0:00:00.025) 0:02:02.194 ******** 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:08 +0000 (0:00:00.026) 0:02:02.221 ******** 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:08 +0000 (0:00:00.022) 0:02:02.244 ******** 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:08 +0000 (0:00:00.024) 0:02:02.269 ******** 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:08 +0000 (0:00:00.023) 0:02:02.293 ******** skipping: [sut] => (item=/tmp/ansible.TnJOUq) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/ansible.TnJOUq", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ansible.nV_nQH) => { "ansible_loop_var": "item", "changed": false, "item": "ansible.nV_nQH", "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:08 +0000 (0:00:00.037) 0:02:02.330 ******** 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:08 +0000 (0:00:00.041) 0:02:02.371 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003141", "end": "2024-01-05 15:11:08.714147", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:11:08.711006" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.TnJOUq 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:08 +0000 (0:00:00.160) 0:02:02.532 ******** 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:08 +0000 (0:00:00.032) 0:02:02.564 ******** 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.127943", "end": "2024-01-05 15:11:09.042303", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:11:08.914360" } 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:09 +0000 (0:00:00.355) 0:02:02.920 ******** 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:09 +0000 (0:00:00.044) 0:02:02.965 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003221", "end": "2024-01-05 15:11:09.296292", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:11:09.293071" } STDOUT: tlskey = /etc/pki/tls/private/ansible.nV_nQH 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:09 +0000 (0:00:00.160) 0:02:03.125 ******** 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:09 +0000 (0:00:00.046) 0:02:03.172 ******** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlskey" ], "delta": "0:00:00.128461", "end": "2024-01-05 15:11:09.651841", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:11:09.523380" } 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:09 +0000 (0:00:00.296) 0:02:03.468 ******** 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:09 +0000 (0:00:00.055) 0:02:03.523 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003163", "end": "2024-01-05 15:11:09.856120", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:11:09.852957" } 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:09 +0000 (0:00:00.143) 0:02:03.667 ******** 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:09 +0000 (0:00:00.027) 0:02:03.694 ******** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlsprotocols" ], "delta": "0:00:00.126119", "end": "2024-01-05 15:11:10.152210", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:11:10.026091" } 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:10 +0000 (0:00:00.282) 0:02:03.976 ******** 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:10 +0000 (0:00:00.043) 0:02:04.020 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003352", "end": "2024-01-05 15:11:10.355309", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:11:10.351957" } 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:10 +0000 (0:00:00.155) 0:02:04.176 ******** 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:10 +0000 (0:00:00.027) 0:02:04.203 ******** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.forceencryption" ], "delta": "0:00:00.127302", "end": "2024-01-05 15:11:10.663635", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:11:10.536333" } 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:10 +0000 (0:00:00.346) 0:02:04.550 ******** 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:10 +0000 (0:00:00.028) 0:02:04.579 ******** 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:10 +0000 (0:00:00.021) 0:02:04.601 ******** 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:10 +0000 (0:00:00.020) 0:02:04.621 ******** 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:10 +0000 (0:00:00.022) 0:02:04.644 ******** 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:10 +0000 (0:00:00.022) 0:02:04.666 ******** 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:10 +0000 (0:00:00.026) 0:02:04.693 ******** 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:10 +0000 (0:00:00.023) 0:02:04.716 ******** 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:10 +0000 (0:00:00.023) 0:02:04.740 ******** 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:10 +0000 (0:00:00.039) 0:02:04.779 ******** 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:11 +0000 (0:00:00.040) 0:02:04.819 ******** 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:11 +0000 (0:00:00.022) 0:02:04.842 ******** 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:11 +0000 (0:00:00.040) 0:02:04.883 ******** 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:11 +0000 (0:00:00.034) 0:02:04.917 ******** 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:11 +0000 (0:00:00.040) 0:02:04.958 ******** 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:11 +0000 (0:00:00.024) 0:02:04.983 ******** 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:11 +0000 (0:00:00.020) 0:02:05.004 ******** 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:11 +0000 (0:00:00.021) 0:02:05.025 ******** 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:11 +0000 (0:00:00.021) 0:02:05.047 ******** 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:11 +0000 (0:00:00.085) 0:02:05.132 ******** 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:11 +0000 (0:00:00.022) 0:02:05.154 ******** 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:11 +0000 (0:00:00.025) 0:02:05.180 ******** 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:11 +0000 (0:00:00.026) 0:02:05.206 ******** 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:11 +0000 (0:00:00.024) 0:02:05.231 ******** 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:11 +0000 (0:00:00.031) 0:02:05.262 ******** 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:11 +0000 (0:00:00.025) 0:02:05.287 ******** 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:11 +0000 (0:00:00.023) 0:02:05.311 ******** 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:11 +0000 (0:00:00.026) 0:02:05.338 ******** 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:11 +0000 (0:00:00.022) 0:02:05.360 ******** 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:11 +0000 (0:00:00.020) 0:02:05.381 ******** 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:11 +0000 (0:00:00.027) 0:02:05.408 ******** 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:11 +0000 (0:00:00.021) 0:02:05.429 ******** 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:11 +0000 (0:00:00.019) 0:02:05.448 ******** 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:11 +0000 (0:00:00.019) 0:02:05.468 ******** 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:11 +0000 (0:00:00.027) 0:02:05.496 ******** 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:11 +0000 (0:00:00.020) 0:02:05.516 ******** 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:11 +0000 (0:00:00.021) 0:02:05.538 ******** 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:11 +0000 (0:00:00.022) 0:02:05.560 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:1217 Friday 05 January 2024 15:11:11 +0000 (0:00:00.066) 0:02:05.626 ******** 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:11 +0000 (0:00:00.020) 0:02:05.647 ******** 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:11 +0000 (0:00:00.020) 0:02:05.668 ******** 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:11 +0000 (0:00:00.021) 0:02:05.689 ******** 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:11 +0000 (0:00:00.027) 0:02:05.716 ******** 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:11 +0000 (0:00:00.022) 0:02:05.739 ******** 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:11 +0000 (0:00:00.039) 0:02:05.778 ******** 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:12 +0000 (0:00:00.021) 0:02:05.800 ******** 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:12 +0000 (0:00:00.021) 0:02:05.822 ******** 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:12 +0000 (0:00:00.023) 0:02:05.846 ******** 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:12 +0000 (0:00:00.019) 0:02:05.866 ******** 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:12 +0000 (0:00:00.022) 0:02:05.888 ******** 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:12 +0000 (0:00:00.023) 0:02:05.912 ******** 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:12 +0000 (0:00:00.160) 0:02:06.072 ******** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-01-05 15:10:52 UTC", "ActiveEnterTimestampMonotonic": "1928835336", "ActiveExitTimestamp": "Fri 2024-01-05 15:10:51 UTC", "ActiveExitTimestampMonotonic": "1927749932", "ActiveState": "active", "After": "network.target systemd-journald.socket -.mount system.slice basic.target auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 15:10:52 UTC", "AssertTimestampMonotonic": "1928834611", "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:52 UTC", "ConditionTimestampMonotonic": "1928834609", "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": "27842", "ExecMainStartTimestamp": "Fri 2024-01-05 15:10:52 UTC", "ExecMainStartTimestampMonotonic": "1928835264", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2024-01-05 15:10:52 UTC] ; stop_time=[n/a] ; pid=27842 ; 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:52 UTC", "InactiveEnterTimestampMonotonic": "1928833633", "InactiveExitTimestamp": "Fri 2024-01-05 15:10:52 UTC", "InactiveExitTimestampMonotonic": "1928835336", "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": "27842", "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": "-.mount basic.target system.slice", "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:52 UTC", "WatchdogTimestampMonotonic": "1928835311", "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:12 +0000 (0:00:00.461) 0:02:06.533 ******** 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:12 +0000 (0:00:00.020) 0:02:06.553 ******** 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:11:12 +0000 (0:00:00.079) 0:02:06.633 ******** 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:13 +0000 (0:00:00.168) 0:02:06.802 ******** 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:13 +0000 (0:00:00.020) 0:02:06.823 ******** 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:13 +0000 (0:00:00.024) 0:02:06.848 ******** 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:13 +0000 (0:00:00.022) 0:02:06.870 ******** 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:13 +0000 (0:00:00.037) 0:02:06.907 ******** 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:13 +0000 (0:00:00.022) 0:02:06.929 ******** 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:13 +0000 (0:00:00.020) 0:02:06.950 ******** 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:13 +0000 (0:00:00.020) 0:02:06.971 ******** 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:13 +0000 (0:00:00.020) 0:02:06.991 ******** 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:13 +0000 (0:00:00.033) 0:02:07.025 ******** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-01-05 15:11:12 UTC", "ActiveEnterTimestampMonotonic": "1948748516", "ActiveExitTimestamp": "Fri 2024-01-05 15:11:12 UTC", "ActiveExitTimestampMonotonic": "1948514698", "ActiveState": "active", "After": "network.target systemd-journald.socket -.mount system.slice basic.target auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 15:11:12 UTC", "AssertTimestampMonotonic": "1948747808", "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:12 UTC", "ConditionTimestampMonotonic": "1948747806", "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": "28534", "ExecMainStartTimestamp": "Fri 2024-01-05 15:11:12 UTC", "ExecMainStartTimestampMonotonic": "1948748447", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2024-01-05 15:11:12 UTC] ; stop_time=[n/a] ; pid=28534 ; 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:12 UTC", "InactiveEnterTimestampMonotonic": "1948747261", "InactiveExitTimestamp": "Fri 2024-01-05 15:11:12 UTC", "InactiveExitTimestampMonotonic": "1948748516", "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": "28534", "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": "-.mount basic.target system.slice", "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:12 UTC", "WatchdogTimestampMonotonic": "1948748490", "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:13 +0000 (0:00:00.282) 0:02:07.308 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003715", "end": "2024-01-05 15:11:13.690822", "failed_when_result": false, "rc": 1, "start": "2024-01-05 15:11:13.687107" } 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:13 +0000 (0:00:00.194) 0:02:07.502 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003918", "end": "2024-01-05 15:11:13.836853", "failed_when_result": false, "rc": 1, "start": "2024-01-05 15:11:13.832935" } 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:13 +0000 (0:00:00.167) 0:02:07.670 ******** 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:13 +0000 (0:00:00.047) 0:02:07.717 ******** ok: [sut] => { "changed": false, "elapsed": 3, "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": 6905, "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:17 +0000 (0:00:03.174) 0:02:10.892 ******** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.037942", "end": "2024-01-05 15:11:17.256445", "rc": 0, "start": "2024-01-05 15:11:17.218503" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2019 (RTM-CU24) (KB5031908) - 15.0.4345.5 (X64) Dec 4 2023 14:44:16 Copyright (C) 2019 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS 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:17 +0000 (0:00:00.179) 0:02:11.071 ******** 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:17 +0000 (0:00:00.026) 0:02:11.098 ******** 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:17 +0000 (0:00:00.080) 0:02:11.178 ******** 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:17 +0000 (0:00:00.038) 0:02:11.217 ******** 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:17 +0000 (0:00:00.023) 0:02:11.241 ******** 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:17 +0000 (0:00:00.021) 0:02:11.262 ******** 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:17 +0000 (0:00:00.022) 0:02:11.285 ******** 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:17 +0000 (0:00:00.070) 0:02:11.356 ******** 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:17 +0000 (0:00:00.021) 0:02:11.377 ******** 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:17 +0000 (0:00:00.034) 0:02:11.412 ******** ok: [sut] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004470", "end": "2024-01-05 15:11:17.741575", "rc": 0, "start": "2024-01-05 15:11:17.737105" } 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:17 +0000 (0:00:00.141) 0:02:11.553 ******** 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:17 +0000 (0:00:00.032) 0:02:11.586 ******** 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:17 +0000 (0:00:00.027) 0:02:11.613 ******** 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:17 +0000 (0:00:00.022) 0:02:11.636 ******** 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:17 +0000 (0:00:00.039) 0:02:11.675 ******** ok: [sut] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004331", "end": "2024-01-05 15:11:18.004243", "rc": 0, "start": "2024-01-05 15:11:17.999912" } 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:18 +0000 (0:00:00.140) 0:02:11.815 ******** 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:18 +0000 (0:00:00.031) 0:02:11.847 ******** 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:18 +0000 (0:00:00.029) 0:02:11.876 ******** 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:18 +0000 (0:00:00.022) 0:02:11.899 ******** 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:18 +0000 (0:00:00.039) 0:02:11.938 ******** ok: [sut] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004474", "end": "2024-01-05 15:11:18.268832", "rc": 0, "start": "2024-01-05 15:11:18.264358" } 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:18 +0000 (0:00:00.140) 0:02:12.079 ******** 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:18 +0000 (0:00:00.093) 0:02:12.172 ******** 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:18 +0000 (0:00:00.024) 0:02:12.196 ******** 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:18 +0000 (0:00:00.023) 0:02:12.220 ******** 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:18 +0000 (0:00:00.041) 0:02:12.261 ******** ok: [sut] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004479", "end": "2024-01-05 15:11:18.590709", "rc": 0, "start": "2024-01-05 15:11:18.586230" } 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:18 +0000 (0:00:00.140) 0:02:12.401 ******** 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:18 +0000 (0:00:00.024) 0:02:12.426 ******** 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:18 +0000 (0:00:00.032) 0:02:12.458 ******** 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:18 +0000 (0:00:00.020) 0:02:12.479 ******** 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:18 +0000 (0:00:00.020) 0:02:12.500 ******** 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:18 +0000 (0:00:00.019) 0:02:12.519 ******** 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:18 +0000 (0:00:00.019) 0:02:12.538 ******** 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:19 +0000 (0:00:00.450) 0:02:12.989 ******** 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:19 +0000 (0:00:00.032) 0:02:13.022 ******** 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:19 +0000 (0:00:00.028) 0:02:13.050 ******** 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:19 +0000 (0:00:00.035) 0:02:13.085 ******** 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:19 +0000 (0:00:00.020) 0:02:13.106 ******** 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:19 +0000 (0:00:00.020) 0:02:13.127 ******** 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:19 +0000 (0:00:00.020) 0:02:13.147 ******** 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:19 +0000 (0:00:00.020) 0:02:13.167 ******** 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:19 +0000 (0:00:00.019) 0:02:13.186 ******** 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:19 +0000 (0:00:00.018) 0:02:13.205 ******** 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:19 +0000 (0:00:00.098) 0:02:13.303 ******** 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:19 +0000 (0:00:00.029) 0:02:13.333 ******** 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:19 +0000 (0:00:00.024) 0:02:13.357 ******** 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:19 +0000 (0:00:00.024) 0:02:13.382 ******** 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:19 +0000 (0:00:00.025) 0:02:13.407 ******** 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:19 +0000 (0:00:00.024) 0:02:13.431 ******** 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:19 +0000 (0:00:00.039) 0:02:13.470 ******** 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:19 +0000 (0:00:00.051) 0:02:13.522 ******** 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:19 +0000 (0:00:00.026) 0:02:13.548 ******** 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:20 +0000 (0:00:00.961) 0:02:14.509 ******** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } ok: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Friday 05 January 2024 15:11:20 +0000 (0:00:00.087) 0:02:14.597 ******** 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:20 +0000 (0:00:00.028) 0:02:14.626 ******** 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:20 +0000 (0:00:00.029) 0:02:14.655 ******** 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:21 +0000 (0:00:00.150) 0:02:14.805 ******** ok: [sut] => { "attempts": 1, "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:186 Friday 05 January 2024 15:11:21 +0000 (0:00:00.337) 0:02:15.143 ******** 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:21 +0000 (0:00:00.026) 0:02:15.169 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:207 Friday 05 January 2024 15:11:21 +0000 (0:00:00.034) 0:02:15.204 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:215 Friday 05 January 2024 15:11:21 +0000 (0:00:00.024) 0:02:15.229 ******** 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:21 +0000 (0:00:00.026) 0:02:15.256 ******** 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:21 +0000 (0:00:00.025) 0:02:15.281 ******** 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:21 +0000 (0:00:00.021) 0:02:15.303 ******** 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:21 +0000 (0:00:00.026) 0:02:15.329 ******** 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:21 +0000 (0:00:00.029) 0:02:15.358 ******** 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:21 +0000 (0:00:00.035) 0:02:15.393 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-server-15.0.4345.5-2.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:21 +0000 (0:00:00.374) 0:02:15.768 ******** 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:22 +0000 (0:00:00.052) 0:02:15.821 ******** 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.005153", "end": "2024-01-05 15:11:22.171419", "rc": 0, "start": "2024-01-05 15:11:22.166266" } 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:22 +0000 (0:00:00.166) 0:02:15.988 ******** 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:22 +0000 (0:00:00.786) 0:02:16.774 ******** 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:23 +0000 (0:00:00.032) 0:02:16.807 ******** 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:23 +0000 (0:00:00.028) 0:02:16.835 ******** 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:23 +0000 (0:00:00.024) 0:02:16.859 ******** 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:23 +0000 (0:00:00.031) 0:02:16.891 ******** 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:23 +0000 (0:00:00.022) 0:02:16.913 ******** 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:23 +0000 (0:00:00.355) 0:02:17.269 ******** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-01-05 14:39:05 UTC", "ActiveEnterTimestampMonotonic": "21380366", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target dbus.service systemd-journald.socket system.slice basic.target systemd-sysctl.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 14:39:03 UTC", "AssertTimestampMonotonic": "19950014", "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": "19950012", "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": "881", "ExecMainStartTimestamp": "Fri 2024-01-05 14:39:03 UTC", "ExecMainStartTimestampMonotonic": "19951022", "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": "19951142", "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": "881", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice dbus.service 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": "21380194", "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:23 +0000 (0:00:00.279) 0:02:17.548 ******** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.091578", "end": "2024-01-05 15:11:23.984746", "rc": 0, "start": "2024-01-05 15:11:23.893168" } 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:24 +0000 (0:00:00.254) 0:02:17.802 ******** 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:24 +0000 (0:00:00.030) 0:02:17.833 ******** 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:24 +0000 (0:00:00.025) 0:02:17.858 ******** 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:24 +0000 (0:00:00.025) 0:02:17.883 ******** 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:24 +0000 (0:00:00.165) 0:02:18.048 ******** 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:24 +0000 (0:00:00.364) 0:02:18.413 ******** 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:24 +0000 (0:00:00.037) 0:02:18.451 ******** 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:24 +0000 (0:00:00.131) 0:02:18.582 ******** 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:24 +0000 (0:00:00.024) 0:02:18.607 ******** 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:24 +0000 (0:00:00.022) 0:02:18.629 ******** 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:24 +0000 (0:00:00.022) 0:02:18.652 ******** 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:24 +0000 (0:00:00.022) 0:02:18.675 ******** 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:24 +0000 (0:00:00.022) 0:02:18.697 ******** 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:24 +0000 (0:00:00.029) 0:02:18.727 ******** 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.005145", "end": "2024-01-05 15:11:25.056663", "rc": 0, "start": "2024-01-05 15:11:25.051518" } 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:25 +0000 (0:00:00.139) 0:02:18.867 ******** 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:25 +0000 (0:00:00.023) 0:02:18.891 ******** 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:26 +0000 (0:00:00.938) 0:02:19.829 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : 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:26 +0000 (0:00:00.024) 0:02:19.853 ******** 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:26 +0000 (0:00:00.098) 0:02:19.951 ******** 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:26 +0000 (0:00:00.023) 0:02:19.974 ******** 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:26 +0000 (0:00:00.023) 0:02:19.997 ******** 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:26 +0000 (0:00:00.036) 0:02:20.034 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003173", "end": "2024-01-05 15:11:26.365962", "failed_when_result": false, "rc": 1, "start": "2024-01-05 15:11:26.362789" } 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:26 +0000 (0:00:00.143) 0:02:20.177 ******** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.131650", "end": "2024-01-05 15:11:26.637318", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:11:26.505668" } 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:26 +0000 (0:00:00.276) 0:02:20.453 ******** 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:26 +0000 (0:00:00.021) 0:02:20.475 ******** 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:26 +0000 (0:00:00.019) 0:02:20.494 ******** 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:26 +0000 (0:00:00.021) 0:02:20.516 ******** 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:26 +0000 (0:00:00.021) 0:02:20.538 ******** 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:26 +0000 (0:00:00.021) 0:02:20.560 ******** 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:26 +0000 (0:00:00.020) 0:02:20.580 ******** 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:26 +0000 (0:00:00.019) 0:02:20.600 ******** 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:26 +0000 (0:00:00.021) 0:02:20.621 ******** 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:26 +0000 (0:00:00.021) 0:02:20.643 ******** 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:26 +0000 (0:00:00.022) 0:02:20.666 ******** 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:27 +0000 (0:00:00.140) 0:02:20.806 ******** 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:27 +0000 (0:00:00.053) 0:02:20.859 ******** 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:27 +0000 (0:00:00.036) 0:02:20.895 ******** 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:27 +0000 (0:00:00.148) 0:02:21.044 ******** 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:27 +0000 (0:00:00.028) 0:02:21.073 ******** 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:27 +0000 (0:00:00.072) 0:02:21.146 ******** 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.8 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:30 +0000 (0:00:03.136) 0:02:24.282 ******** 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.9 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:33 +0000 (0:00:02.983) 0:02:27.265 ******** 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:33 +0000 (0:00:00.212) 0:02:27.477 ******** 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:33 +0000 (0:00:00.178) 0:02:27.656 ******** 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": "dbus.service system.slice basic.target systemd-journald.socket syslog.target network.target", "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:34 +0000 (0:00:00.358) 0:02:28.015 ******** changed: [sut] => (item={'name': 'mssql_2019_cert', 'common_name': '10.31.40.204', 'ca': 'self-sign', 'owner': 'mssql', 'group': 'mssql', 'mode': '0600'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ca": "self-sign", "common_name": "10.31.40.204", "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:35 +0000 (0:00:00.923) 0:02:28.939 ******** skipping: [sut] => (item=['cert', {'name': 'mssql_2019_cert', 'common_name': '10.31.40.204', 'ca': 'self-sign', 'owner': 'mssql', 'group': 'mssql', 'mode': '0600'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "cert", { "ca": "self-sign", "common_name": "10.31.40.204", "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.40.204', 'ca': 'self-sign', 'owner': 'mssql', 'group': 'mssql', 'mode': '0600'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "key", { "ca": "self-sign", "common_name": "10.31.40.204", "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.40.204', 'ca': 'self-sign', 'owner': 'mssql', 'group': 'mssql', 'mode': '0600'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "ca", { "ca": "self-sign", "common_name": "10.31.40.204", "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:35 +0000 (0:00:00.180) 0:02:29.120 ******** 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:35 +0000 (0:00:00.047) 0:02:29.167 ******** 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:35 +0000 (0:00:00.044) 0:02:29.211 ******** 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:35 +0000 (0:00:00.041) 0:02:29.253 ******** 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:35 +0000 (0:00:00.063) 0:02:29.316 ******** 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:35 +0000 (0:00:00.063) 0:02:29.379 ******** 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:35 +0000 (0:00:00.080) 0:02:29.460 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003332", "end": "2024-01-05 15:11:35.803573", "failed_when_result": false, "rc": 1, "start": "2024-01-05 15:11:35.800241" } 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:35 +0000 (0:00:00.161) 0:02:29.622 ******** 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.125845", "end": "2024-01-05 15:11:36.092197", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:11:35.966352" } 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:36 +0000 (0:00:00.310) 0:02:29.932 ******** 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:36 +0000 (0:00:00.062) 0:02:29.995 ******** 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:36 +0000 (0:00:00.068) 0:02:30.064 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003168", "end": "2024-01-05 15:11:36.409415", "failed_when_result": false, "rc": 1, "start": "2024-01-05 15:11:36.406247" } 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:36 +0000 (0:00:00.156) 0:02:30.221 ******** 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.124948", "end": "2024-01-05 15:11:36.703031", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:11:36.578083" } 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:36 +0000 (0:00:00.350) 0:02:30.572 ******** 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:36 +0000 (0:00:00.045) 0:02:30.617 ******** 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:37 +0000 (0:00:00.167) 0:02:30.785 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003059", "end": "2024-01-05 15:11:37.153381", "failed_when_result": false, "rc": 1, "start": "2024-01-05 15:11:37.150322" } 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:37 +0000 (0:00:00.183) 0:02:30.968 ******** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlsprotocols", "1.2" ], "delta": "0:00:00.126692", "end": "2024-01-05 15:11:37.437530", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:11:37.310838" } 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:37 +0000 (0:00:00.296) 0:02:31.265 ******** 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:37 +0000 (0:00:00.028) 0:02:31.293 ******** 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:37 +0000 (0:00:00.061) 0:02:31.355 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003165", "end": "2024-01-05 15:11:37.694410", "failed_when_result": false, "rc": 1, "start": "2024-01-05 15:11:37.691245" } 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:37 +0000 (0:00:00.204) 0:02:31.559 ******** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.forceencryption", "1" ], "delta": "0:00:00.128414", "end": "2024-01-05 15:11:38.048207", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:11:37.919793" } 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:38 +0000 (0:00:00.332) 0:02:31.891 ******** 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:38 +0000 (0:00:00.064) 0:02:31.956 ******** 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:38 +0000 (0:00:00.053) 0:02:32.009 ******** 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:38 +0000 (0:00:00.025) 0:02:32.035 ******** 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:38 +0000 (0:00:00.076) 0:02:32.112 ******** 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:38 +0000 (0:00:00.036) 0:02:32.148 ******** 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:38 +0000 (0:00:00.024) 0:02:32.173 ******** 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:38 +0000 (0:00:00.027) 0:02:32.200 ******** 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:38 +0000 (0:00:00.035) 0:02:32.235 ******** 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:38 +0000 (0:00:00.035) 0:02:32.271 ******** 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:38 +0000 (0:00:00.201) 0:02:32.472 ******** 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:38 +0000 (0:00:00.054) 0:02:32.527 ******** 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:38 +0000 (0:00:00.044) 0:02:32.572 ******** 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:38 +0000 (0:00:00.034) 0:02:32.606 ******** 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:38 +0000 (0:00:00.052) 0:02:32.658 ******** 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:38 +0000 (0:00:00.037) 0:02:32.696 ******** 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:38 +0000 (0:00:00.043) 0:02:32.739 ******** 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:39 +0000 (0:00:00.102) 0:02:32.841 ******** 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:39 +0000 (0:00:00.058) 0:02:32.900 ******** 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:39 +0000 (0:00:00.059) 0:02:32.959 ******** 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:39 +0000 (0:00:00.033) 0:02:32.993 ******** 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:39 +0000 (0:00:00.027) 0:02:33.020 ******** 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:39 +0000 (0:00:00.036) 0:02:33.057 ******** 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:39 +0000 (0:00:00.023) 0:02:33.080 ******** 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:39 +0000 (0:00:00.036) 0:02:33.117 ******** 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:39 +0000 (0:00:00.025) 0:02:33.143 ******** 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:39 +0000 (0:00:00.026) 0:02:33.170 ******** 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:39 +0000 (0:00:00.025) 0:02:33.195 ******** 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:39 +0000 (0:00:00.137) 0:02:33.333 ******** 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:39 +0000 (0:00:00.039) 0:02:33.373 ******** 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:39 +0000 (0:00:00.053) 0:02:33.426 ******** 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:39 +0000 (0:00:00.044) 0:02:33.471 ******** 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:39 +0000 (0:00:00.043) 0:02:33.514 ******** 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:39 +0000 (0:00:00.028) 0:02:33.543 ******** 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:39 +0000 (0:00:00.063) 0:02:33.607 ******** 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:39 +0000 (0:00:00.065) 0:02:33.673 ******** 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:39 +0000 (0:00:00.042) 0:02:33.716 ******** 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:39 +0000 (0:00:00.022) 0:02:33.739 ******** 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:39 +0000 (0:00:00.033) 0:02:33.772 ******** 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:40 +0000 (0:00:00.027) 0:02:33.800 ******** 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:40 +0000 (0:00:00.037) 0:02:33.837 ******** 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:40 +0000 (0:00:00.034) 0:02:33.872 ******** 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:40 +0000 (0:00:00.029) 0:02:33.901 ******** 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:40 +0000 (0:00:00.029) 0:02:33.931 ******** 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:40 +0000 (0:00:00.027) 0:02:33.958 ******** 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:40 +0000 (0:00:00.037) 0:02:33.995 ******** 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:40 +0000 (0:00:00.031) 0:02:34.027 ******** 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:40 +0000 (0:00:00.123) 0:02:34.150 ******** 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:40 +0000 (0:00:00.030) 0:02:34.181 ******** 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:40 +0000 (0:00:00.022) 0:02:34.204 ******** 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:40 +0000 (0:00:00.028) 0:02:34.233 ******** 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:40 +0000 (0:00:00.036) 0:02:34.270 ******** 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:40 +0000 (0:00:00.250) 0:02:34.520 ******** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-01-05 15:11:12 UTC", "ActiveEnterTimestampMonotonic": "1948748516", "ActiveExitTimestamp": "Fri 2024-01-05 15:11:12 UTC", "ActiveExitTimestampMonotonic": "1948514698", "ActiveState": "active", "After": "systemd-journald.socket network.target system.slice auditd.service basic.target -.mount", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 15:11:12 UTC", "AssertTimestampMonotonic": "1948747808", "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:11:12 UTC", "ConditionTimestampMonotonic": "1948747806", "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": "28534", "ExecMainStartTimestamp": "Fri 2024-01-05 15:11:12 UTC", "ExecMainStartTimestampMonotonic": "1948748447", "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:11:12 UTC", "InactiveEnterTimestampMonotonic": "1948747261", "InactiveExitTimestamp": "Fri 2024-01-05 15:11:12 UTC", "InactiveExitTimestampMonotonic": "1948748516", "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": "28534", "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": "-.mount system.slice basic.target", "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:12 UTC", "WatchdogTimestampMonotonic": "1948748490", "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:41 +0000 (0:00:00.521) 0:02:35.042 ******** 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:41 +0000 (0:00:00.045) 0:02:35.087 ******** 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:41 +0000 (0:00:00.025) 0:02:35.113 ******** 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:41 +0000 (0:00:00.286) 0:02:35.400 ******** 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:41 +0000 (0:00:00.140) 0:02:35.540 ******** 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:41 +0000 (0:00:00.032) 0:02:35.573 ******** 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:41 +0000 (0:00:00.046) 0:02:35.619 ******** 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:41 +0000 (0:00:00.055) 0:02:35.675 ******** 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:41 +0000 (0:00:00.027) 0:02:35.702 ******** 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:41 +0000 (0:00:00.030) 0:02:35.732 ******** 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:42 +0000 (0:00:00.061) 0:02:35.794 ******** 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:42 +0000 (0:00:00.074) 0:02:35.868 ******** 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:42 +0000 (0:00:00.078) 0:02:35.946 ******** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-01-05 15:11:41 UTC", "ActiveEnterTimestampMonotonic": "1977235694", "ActiveExitTimestamp": "Fri 2024-01-05 15:11:40 UTC", "ActiveExitTimestampMonotonic": "1976989681", "ActiveState": "active", "After": "systemd-journald.socket network.target system.slice auditd.service basic.target -.mount", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 15:11:41 UTC", "AssertTimestampMonotonic": "1977235031", "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:11:41 UTC", "ConditionTimestampMonotonic": "1977235030", "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": "29406", "ExecMainStartTimestamp": "Fri 2024-01-05 15:11:41 UTC", "ExecMainStartTimestampMonotonic": "1977235629", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2024-01-05 15:11:41 UTC] ; stop_time=[n/a] ; pid=29406 ; 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:41 UTC", "InactiveEnterTimestampMonotonic": "1977234100", "InactiveExitTimestamp": "Fri 2024-01-05 15:11:41 UTC", "InactiveExitTimestampMonotonic": "1977235694", "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": "29406", "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": "-.mount system.slice basic.target", "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:41 UTC", "WatchdogTimestampMonotonic": "1977235665", "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:42 +0000 (0:00:00.303) 0:02:36.249 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003332", "end": "2024-01-05 15:11:42.607533", "failed_when_result": false, "rc": 1, "start": "2024-01-05 15:11:42.604201" } 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:42 +0000 (0:00:00.201) 0:02:36.451 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004322", "end": "2024-01-05 15:11:42.811950", "failed_when_result": false, "rc": 1, "start": "2024-01-05 15:11:42.807628" } 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:42 +0000 (0:00:00.202) 0:02:36.653 ******** 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:42 +0000 (0:00:00.041) 0:02:36.694 ******** 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": 6534, "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:45 +0000 (0:00:02.263) 0:02:38.957 ******** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.030152", "end": "2024-01-05 15:11:45.333730", "rc": 0, "start": "2024-01-05 15:11:45.303578" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2019 (RTM-CU24) (KB5031908) - 15.0.4345.5 (X64) Dec 4 2023 14:44:16 Copyright (C) 2019 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS 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:45 +0000 (0:00:00.206) 0:02:39.164 ******** 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:45 +0000 (0:00:00.037) 0:02:39.201 ******** 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:45 +0000 (0:00:00.165) 0:02:39.367 ******** 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:45 +0000 (0:00:00.039) 0:02:39.406 ******** 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:45 +0000 (0:00:00.022) 0:02:39.429 ******** 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:45 +0000 (0:00:00.053) 0:02:39.482 ******** 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:45 +0000 (0:00:00.022) 0:02:39.505 ******** 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:45 +0000 (0:00:00.041) 0:02:39.546 ******** 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:45 +0000 (0:00:00.077) 0:02:39.624 ******** 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:45 +0000 (0:00:00.097) 0:02:39.721 ******** ok: [sut] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004218", "end": "2024-01-05 15:11:46.061795", "rc": 0, "start": "2024-01-05 15:11:46.057577" } 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:46 +0000 (0:00:00.168) 0:02:39.890 ******** 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:46 +0000 (0:00:00.053) 0:02:39.943 ******** 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:46 +0000 (0:00:00.065) 0:02:40.009 ******** 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:46 +0000 (0:00:00.035) 0:02:40.044 ******** 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:46 +0000 (0:00:00.052) 0:02:40.097 ******** ok: [sut] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004211", "end": "2024-01-05 15:11:46.446519", "rc": 0, "start": "2024-01-05 15:11:46.442308" } 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:46 +0000 (0:00:00.185) 0:02:40.282 ******** 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:46 +0000 (0:00:00.041) 0:02:40.324 ******** 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:46 +0000 (0:00:00.028) 0:02:40.353 ******** 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:46 +0000 (0:00:00.163) 0:02:40.516 ******** 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:46 +0000 (0:00:00.048) 0:02:40.565 ******** ok: [sut] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004432", "end": "2024-01-05 15:11:46.908193", "rc": 0, "start": "2024-01-05 15:11:46.903761" } 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:46 +0000 (0:00:00.158) 0:02:40.723 ******** 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:47 +0000 (0:00:00.066) 0:02:40.790 ******** 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:47 +0000 (0:00:00.033) 0:02:40.824 ******** 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:47 +0000 (0:00:00.023) 0:02:40.848 ******** 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:47 +0000 (0:00:00.081) 0:02:40.930 ******** ok: [sut] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004423", "end": "2024-01-05 15:11:47.298522", "rc": 0, "start": "2024-01-05 15:11:47.294099" } 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:47 +0000 (0:00:00.204) 0:02:41.134 ******** 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:47 +0000 (0:00:00.056) 0:02:41.190 ******** 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:47 +0000 (0:00:00.036) 0:02:41.227 ******** 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:47 +0000 (0:00:00.022) 0:02:41.249 ******** 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:47 +0000 (0:00:00.022) 0:02:41.272 ******** 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:47 +0000 (0:00:00.026) 0:02:41.299 ******** 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:47 +0000 (0:00:00.025) 0:02:41.324 ******** 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:48 +0000 (0:00:00.825) 0:02:42.150 ******** 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:48 +0000 (0:00:00.053) 0:02:42.203 ******** 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:48 +0000 (0:00:00.041) 0:02:42.245 ******** 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:48 +0000 (0:00:00.046) 0:02:42.291 ******** 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:48 +0000 (0:00:00.027) 0:02:42.318 ******** 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:48 +0000 (0:00:00.181) 0:02:42.499 ******** 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:48 +0000 (0:00:00.041) 0:02:42.541 ******** 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:48 +0000 (0:00:00.023) 0:02:42.565 ******** 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:48 +0000 (0:00:00.021) 0:02:42.587 ******** 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:48 +0000 (0:00:00.031) 0:02:42.618 ******** 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:48 +0000 (0:00:00.023) 0:02:42.641 ******** 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:48 +0000 (0:00:00.026) 0:02:42.667 ******** 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:48 +0000 (0:00:00.022) 0:02:42.690 ******** 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:48 +0000 (0:00:00.026) 0:02:42.716 ******** 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:48 +0000 (0:00:00.041) 0:02:42.757 ******** 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:49 +0000 (0:00:00.037) 0:02:42.794 ******** 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:49 +0000 (0:00:00.033) 0:02:42.828 ******** 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:49 +0000 (0:00:00.042) 0:02:42.870 ******** 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:49 +0000 (0:00:00.043) 0:02:42.913 ******** 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:50 +0000 (0:00:00.993) 0:02:43.907 ******** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } ok: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Friday 05 January 2024 15:11:50 +0000 (0:00:00.299) 0:02:44.206 ******** 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:50 +0000 (0:00:00.033) 0:02:44.239 ******** 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:50 +0000 (0:00:00.035) 0:02:44.275 ******** 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:50 +0000 (0:00:00.077) 0:02:44.353 ******** ok: [sut] => { "attempts": 1, "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:186 Friday 05 January 2024 15:11:50 +0000 (0:00:00.343) 0:02:44.696 ******** 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:50 +0000 (0:00:00.022) 0:02:44.718 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:207 Friday 05 January 2024 15:11:50 +0000 (0:00:00.021) 0:02:44.740 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:215 Friday 05 January 2024 15:11:50 +0000 (0:00:00.021) 0:02:44.762 ******** 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:51 +0000 (0:00:00.025) 0:02:44.787 ******** 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:51 +0000 (0:00:00.019) 0:02:44.807 ******** 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:51 +0000 (0:00:00.027) 0:02:44.835 ******** 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:51 +0000 (0:00:00.026) 0:02:44.861 ******** 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:51 +0000 (0:00:00.027) 0:02:44.888 ******** 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:51 +0000 (0:00:00.053) 0:02:44.942 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-server-15.0.4345.5-2.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:51 +0000 (0:00:00.376) 0:02:45.318 ******** 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:51 +0000 (0:00:00.128) 0:02:45.446 ******** 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.005472", "end": "2024-01-05 15:11:51.787378", "rc": 0, "start": "2024-01-05 15:11:51.781906" } 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:51 +0000 (0:00:00.151) 0:02:45.598 ******** 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:52 +0000 (0:00:00.717) 0:02:46.315 ******** 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:52 +0000 (0:00:00.032) 0:02:46.348 ******** 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:52 +0000 (0:00:00.023) 0:02:46.372 ******** 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:52 +0000 (0:00:00.022) 0:02:46.394 ******** 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:52 +0000 (0:00:00.030) 0:02:46.425 ******** 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:52 +0000 (0:00:00.030) 0:02:46.455 ******** 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:53 +0000 (0:00:00.340) 0:02:46.796 ******** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-01-05 14:39:05 UTC", "ActiveEnterTimestampMonotonic": "21380366", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket network.target system.slice systemd-sysctl.service basic.target dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 14:39:03 UTC", "AssertTimestampMonotonic": "19950014", "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": "19950012", "Conflicts": "shutdown.target cpupower.service", "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": "881", "ExecMainStartTimestamp": "Fri 2024-01-05 14:39:03 UTC", "ExecMainStartTimestampMonotonic": "19951022", "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": "19951142", "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": "881", "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": "basic.target system.slice polkit.service dbus.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": "21380194", "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:53 +0000 (0:00:00.207) 0:02:47.004 ******** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.092859", "end": "2024-01-05 15:11:53.417569", "rc": 0, "start": "2024-01-05 15:11:53.324710" } 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:53 +0000 (0:00:00.228) 0:02:47.232 ******** 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:53 +0000 (0:00:00.021) 0:02:47.254 ******** 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:53 +0000 (0:00:00.020) 0:02:47.274 ******** 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:53 +0000 (0:00:00.019) 0:02:47.293 ******** 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:53 +0000 (0:00:00.224) 0:02:47.518 ******** 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:54 +0000 (0:00:00.339) 0:02:47.858 ******** 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:54 +0000 (0:00:00.022) 0:02:47.880 ******** 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:54 +0000 (0:00:00.020) 0:02:47.901 ******** 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:54 +0000 (0:00:00.021) 0:02:47.922 ******** 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:54 +0000 (0:00:00.021) 0:02:47.944 ******** 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:54 +0000 (0:00:00.022) 0:02:47.966 ******** 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:54 +0000 (0:00:00.023) 0:02:47.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:54 +0000 (0:00:00.023) 0:02:48.013 ******** 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:54 +0000 (0:00:00.025) 0:02:48.039 ******** 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.005398", "end": "2024-01-05 15:11:54.379628", "rc": 0, "start": "2024-01-05 15:11:54.374230" } 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:54 +0000 (0:00:00.152) 0:02:48.191 ******** 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:54 +0000 (0:00:00.022) 0:02:48.214 ******** 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:55 +0000 (0:00:01.004) 0:02:49.219 ******** 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:55 +0000 (0:00:00.024) 0:02:49.243 ******** 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:55 +0000 (0:00:00.021) 0:02:49.265 ******** 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:55 +0000 (0:00:00.023) 0:02:49.288 ******** 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:55 +0000 (0:00:00.025) 0:02:49.314 ******** 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:55 +0000 (0:00:00.048) 0:02:49.363 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003125", "end": "2024-01-05 15:11:55.695568", "failed_when_result": false, "rc": 1, "start": "2024-01-05 15:11:55.692443" } 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:55 +0000 (0:00:00.141) 0:02:49.505 ******** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.126234", "end": "2024-01-05 15:11:55.959820", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:11:55.833586" } 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:55 +0000 (0:00:00.270) 0:02:49.775 ******** 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:56 +0000 (0:00:00.020) 0:02:49.795 ******** 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:56 +0000 (0:00:00.020) 0:02:49.816 ******** 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:56 +0000 (0:00:00.021) 0:02:49.837 ******** 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:56 +0000 (0:00:00.020) 0:02:49.858 ******** 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:56 +0000 (0:00:00.019) 0:02:49.877 ******** 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:56 +0000 (0:00:00.019) 0:02:49.896 ******** 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:56 +0000 (0:00:00.019) 0:02:49.916 ******** 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:56 +0000 (0:00:00.019) 0:02:49.935 ******** 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:56 +0000 (0:00:00.098) 0:02:50.034 ******** 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:56 +0000 (0:00:00.021) 0:02:50.055 ******** 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:56 +0000 (0:00:00.021) 0:02:50.077 ******** 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:56 +0000 (0:00:00.023) 0:02:50.100 ******** 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:56 +0000 (0:00:00.028) 0:02:50.129 ******** 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:56 +0000 (0:00:00.039) 0:02:50.168 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003327", "end": "2024-01-05 15:11:56.500703", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:11:56.497376" } 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:56 +0000 (0:00:00.144) 0:02:50.312 ******** 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:56 +0000 (0:00:00.027) 0:02:50.340 ******** 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.128489", "end": "2024-01-05 15:11:56.801059", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:11:56.672570" } 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:56 +0000 (0:00:00.273) 0:02:50.613 ******** 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:56 +0000 (0:00:00.038) 0:02:50.652 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003219", "end": "2024-01-05 15:11:56.980368", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:11:56.977149" } 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:57 +0000 (0:00:00.139) 0:02:50.791 ******** 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:57 +0000 (0:00:00.030) 0:02:50.822 ******** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlskey" ], "delta": "0:00:00.128146", "end": "2024-01-05 15:11:57.279098", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:11:57.150952" } 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:57 +0000 (0:00:00.269) 0:02:51.091 ******** 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:57 +0000 (0:00:00.147) 0:02:51.239 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003231", "end": "2024-01-05 15:11:57.570439", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:11:57.567208" } 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:57 +0000 (0:00:00.143) 0:02:51.382 ******** 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:57 +0000 (0:00:00.026) 0:02:51.408 ******** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlsprotocols" ], "delta": "0:00:00.124954", "end": "2024-01-05 15:11:57.861878", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:11:57.736924" } 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:57 +0000 (0:00:00.266) 0:02:51.674 ******** 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:57 +0000 (0:00:00.041) 0:02:51.716 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003358", "end": "2024-01-05 15:11:58.047798", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:11:58.044440" } 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:58 +0000 (0:00:00.142) 0:02:51.859 ******** 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:58 +0000 (0:00:00.026) 0:02:51.885 ******** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.forceencryption" ], "delta": "0:00:00.126629", "end": "2024-01-05 15:11:58.340129", "failed_when_result": false, "rc": 0, "start": "2024-01-05 15:11:58.213500" } 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:58 +0000 (0:00:00.266) 0:02:52.152 ******** 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:58 +0000 (0:00:00.021) 0:02:52.174 ******** 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:58 +0000 (0:00:00.019) 0:02:52.193 ******** 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:58 +0000 (0:00:00.019) 0:02:52.213 ******** 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:58 +0000 (0:00:00.021) 0:02:52.234 ******** 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:58 +0000 (0:00:00.021) 0:02:52.255 ******** 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:58 +0000 (0:00:00.020) 0:02:52.276 ******** 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:58 +0000 (0:00:00.019) 0:02:52.296 ******** 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:58 +0000 (0:00:00.106) 0:02:52.402 ******** 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:58 +0000 (0:00:00.022) 0:02:52.425 ******** 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:58 +0000 (0:00:00.019) 0:02:52.444 ******** 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:58 +0000 (0:00:00.020) 0:02:52.465 ******** 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:58 +0000 (0:00:00.019) 0:02:52.484 ******** 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:58 +0000 (0:00:00.020) 0:02:52.505 ******** 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:58 +0000 (0:00:00.024) 0:02:52.529 ******** 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:58 +0000 (0:00:00.021) 0:02:52.550 ******** 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:58 +0000 (0:00:00.021) 0:02:52.571 ******** 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:58 +0000 (0:00:00.019) 0:02:52.591 ******** 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:58 +0000 (0:00:00.021) 0:02:52.613 ******** 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:58 +0000 (0:00:00.020) 0:02:52.633 ******** 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:58 +0000 (0:00:00.023) 0:02:52.657 ******** 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:58 +0000 (0:00:00.021) 0:02:52.678 ******** 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:58 +0000 (0:00:00.021) 0:02:52.700 ******** 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:58 +0000 (0:00:00.021) 0:02:52.722 ******** 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:58 +0000 (0:00:00.020) 0:02:52.743 ******** 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:58 +0000 (0:00:00.021) 0:02:52.764 ******** 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:59 +0000 (0:00:00.021) 0:02:52.785 ******** 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:59 +0000 (0:00:00.151) 0:02:52.936 ******** 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:59 +0000 (0:00:00.022) 0:02:52.959 ******** 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:59 +0000 (0:00:00.021) 0:02:52.980 ******** 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:59 +0000 (0:00:00.035) 0:02:53.016 ******** 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:59 +0000 (0:00:00.025) 0:02:53.042 ******** 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:59 +0000 (0:00:00.022) 0:02:53.065 ******** 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:59 +0000 (0:00:00.021) 0:02:53.087 ******** 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:59 +0000 (0:00:00.021) 0:02:53.108 ******** 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:59 +0000 (0:00:00.021) 0:02:53.130 ******** 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:59 +0000 (0:00:00.021) 0:02:53.152 ******** 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:59 +0000 (0:00:00.022) 0:02:53.175 ******** 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:59 +0000 (0:00:00.021) 0:02:53.196 ******** 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:59 +0000 (0:00:00.020) 0:02:53.217 ******** 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:59 +0000 (0:00:00.021) 0:02:53.238 ******** 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:59 +0000 (0:00:00.021) 0:02:53.259 ******** 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:59 +0000 (0:00:00.026) 0:02:53.286 ******** 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:59 +0000 (0:00:00.019) 0:02:53.305 ******** 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:59 +0000 (0:00:00.019) 0:02:53.325 ******** 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:59 +0000 (0:00:00.101) 0:02:53.427 ******** 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:59 +0000 (0:00:00.024) 0:02:53.451 ******** 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:59 +0000 (0:00:00.029) 0:02:53.480 ******** 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:59 +0000 (0:00:00.021) 0:02:53.501 ******** 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:59 +0000 (0:00:00.021) 0:02:53.522 ******** 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:59 +0000 (0:00:00.020) 0:02:53.543 ******** 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:59 +0000 (0:00:00.160) 0:02:53.703 ******** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-01-05 15:11:41 UTC", "ActiveEnterTimestampMonotonic": "1977235694", "ActiveExitTimestamp": "Fri 2024-01-05 15:11:40 UTC", "ActiveExitTimestampMonotonic": "1976989681", "ActiveState": "active", "After": "systemd-journald.socket network.target system.slice auditd.service basic.target -.mount", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 15:11:41 UTC", "AssertTimestampMonotonic": "1977235031", "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:11:41 UTC", "ConditionTimestampMonotonic": "1977235030", "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": "29406", "ExecMainStartTimestamp": "Fri 2024-01-05 15:11:41 UTC", "ExecMainStartTimestampMonotonic": "1977235629", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2024-01-05 15:11:41 UTC] ; stop_time=[n/a] ; pid=29406 ; 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:41 UTC", "InactiveEnterTimestampMonotonic": "1977234100", "InactiveExitTimestamp": "Fri 2024-01-05 15:11:41 UTC", "InactiveExitTimestampMonotonic": "1977235694", "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": "29406", "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": "-.mount system.slice basic.target", "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:41 UTC", "WatchdogTimestampMonotonic": "1977235665", "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:12:00 +0000 (0:00:00.749) 0:02:54.453 ******** 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:12:00 +0000 (0:00:00.022) 0:02:54.475 ******** 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_2019.yml:26 Friday 05 January 2024 15:12:00 +0000 (0:00:00.021) 0:02:54.497 ******** 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:12:00 +0000 (0:00:00.038) 0:02:54.535 ******** 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:12:01 +0000 (0:00:00.944) 0:02:55.480 ******** 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:12:01 +0000 (0:00:00.025) 0:02:55.505 ******** 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:12:01 +0000 (0:00:00.102) 0:02:55.608 ******** 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:12:01 +0000 (0:00:00.057) 0:02:55.665 ******** 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:12:01 +0000 (0:00:00.038) 0:02:55.704 ******** 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:12:01 +0000 (0:00:00.027) 0:02:55.731 ******** 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:12:02 +0000 (0:00:00.206) 0:02:55.937 ******** 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:12:02 +0000 (0:00:00.027) 0:02:55.965 ******** 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:12:02 +0000 (0:00:00.491) 0:02:56.456 ******** 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:12:02 +0000 (0:00:00.021) 0:02:56.477 ******** 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:12:02 +0000 (0:00:00.026) 0:02:56.503 ******** ok: [sut] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Fri 2024-01-05 14:59:20 UTC", "ActiveEnterTimestampMonotonic": "1236876942", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target system.slice polkit.service dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 14:59:20 UTC", "AssertTimestampMonotonic": "1236282819", "Before": "network-pre.target multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-01-05 14:59:20 UTC", "ConditionTimestampMonotonic": "1236282818", "Conflicts": "ebtables.service ip6tables.service iptables.service shutdown.target ipset.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": "11938", "ExecMainStartTimestamp": "Fri 2024-01-05 14:59:20 UTC", "ExecMainStartTimestampMonotonic": "1236285206", "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 14:59:20 UTC", "InactiveExitTimestampMonotonic": "1236285246", "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": "11938", "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 14:59:20 UTC", "WatchdogTimestampMonotonic": "1236876872", "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:12:02 +0000 (0:00:00.236) 0:02:56.740 ******** ok: [sut] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-01-05 14:59:20 UTC", "ActiveEnterTimestampMonotonic": "1236876942", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target system.slice polkit.service dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 14:59:20 UTC", "AssertTimestampMonotonic": "1236282819", "Before": "network-pre.target multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-01-05 14:59:20 UTC", "ConditionTimestampMonotonic": "1236282818", "Conflicts": "ebtables.service ip6tables.service iptables.service shutdown.target ipset.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": "11938", "ExecMainStartTimestamp": "Fri 2024-01-05 14:59:20 UTC", "ExecMainStartTimestampMonotonic": "1236285206", "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 14:59:20 UTC", "InactiveExitTimestampMonotonic": "1236285246", "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": "11938", "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 14:59:20 UTC", "WatchdogTimestampMonotonic": "1236876872", "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:12:03 +0000 (0:00:00.282) 0:02:57.023 ******** 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:12:03 +0000 (0:00:00.025) 0:02:57.048 ******** ok: [sut] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.40.204 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:12:03 +0000 (0:00:00.435) 0:02:57.484 ******** 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:12:03 +0000 (0:00:00.024) 0:02:57.509 ******** 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:12:03 +0000 (0:00:00.021) 0:02:57.530 ******** 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:12:03 +0000 (0:00:00.021) 0:02:57.552 ******** 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:12:03 +0000 (0:00:00.023) 0:02:57.575 ******** 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:12:03 +0000 (0:00:00.021) 0:02:57.596 ******** 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:12:03 +0000 (0:00:00.020) 0:02:57.616 ******** ok: [sut] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.40.204 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:12:04 +0000 (0:00:00.414) 0:02:58.030 ******** 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:12:04 +0000 (0:00:00.027) 0:02:58.058 ******** skipping: [sut] => {} TASK [Leave realm] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/cleanup.yml:27 Friday 05 January 2024 15:12:04 +0000 (0:00:00.022) 0:02:58.080 ******** 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:12:04 +0000 (0:00:00.025) 0:02:58.105 ******** 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:12:04 +0000 (0:00:00.024) 0:02:58.130 ******** 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:12:04 +0000 (0:00:00.264) 0:02:58.394 ******** 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:15.0.4345.5-2 will be erased\n---> Package mssql-tools.x86_64 0:17.10.1.1-1 will be erased\n---> Package unixODBC-devel.x86_64 0:2.3.11-1.rh will be erased\n--> Finished Dependency Resolution\n--> Finding unneeded leftover dependencies\n---> Marking msodbcsql17 to be removed - no longer needed by mssql-tools\n---> Marking unixODBC to be removed - no longer needed by unixODBC-devel\n---> Marking python3 to be removed - no longer needed by mssql-server\n---> Marking cyrus-sasl to be removed - no longer needed by mssql-server\n---> Marking gdb to be removed - no longer needed by mssql-server\n---> Marking lsof to be removed - no longer needed by mssql-server\n---> Marking libsss_nss_idmap to be removed - no longer needed by mssql-server\n---> Marking cyrus-sasl-gssapi to be removed - no longer needed by mssql-server\n---> Marking libatomic to be removed - no longer needed by mssql-server\n---> Marking bzip2 to be removed - no longer needed by mssql-server\n---> Marking libtool-ltdl to be removed - no longer needed by unixODBC\n---> Marking python3-libs to be removed - no longer needed by python3\n---> Marking python3-setuptools to be removed - no longer needed by python3\n---> Marking python3-pip to be removed - no longer needed by python3\nFound and removing 14 unneeded dependencies\n--> Running transaction check\n---> Package bzip2.x86_64 0:1.0.6-13.el7 will be erased\n---> Package cyrus-sasl.x86_64 0:2.1.26-24.el7_9 will be erased\n---> Package cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 will be erased\n---> Package gdb.x86_64 0:7.6.1-120.el7 will be erased\n---> Package libatomic.x86_64 0:4.8.5-44.el7 will be erased\n---> Package libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.15 will be erased\n---> Package libtool-ltdl.x86_64 0:2.4.2-22.el7_3 will be erased\n---> Package lsof.x86_64 0:4.87-6.el7 will be erased\n---> Package msodbcsql17.x86_64 0:17.10.5.1-1 will be erased\n---> Package python3.x86_64 0:3.6.8-21.el7_9 will be erased\n---> Package python3-libs.x86_64 0:3.6.8-21.el7_9 will be erased\n---> Package python3-pip.noarch 0:9.0.3-8.el7 will be erased\n---> Package python3-setuptools.noarch 0:39.2.0-10.el7 will be erased\n---> Package unixODBC.x86_64 0:2.3.11-1.rh will be erased\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nRemoving:\n mssql-server x86_64 15.0.4345.5-2 @packages-microsoft-com-mssql-server-2019\n 1.1 G\n mssql-tools x86_64 17.10.1.1-1 @packages-microsoft-com-prod 714 k\n unixODBC-devel x86_64 2.3.11-1.rh @packages-microsoft-com-prod 223 k\nRemoving for dependencies:\n bzip2 x86_64 1.0.6-13.el7 @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 lsof x86_64 4.87-6.el7 @base 927 k\n msodbcsql17 x86_64 17.10.5.1-1 @packages-microsoft-com-prod 2.2 M\n python3 x86_64 3.6.8-21.el7_9 @updates 39 k\n python3-libs x86_64 3.6.8-21.el7_9 @updates 35 M\n python3-pip noarch 9.0.3-8.el7 @base 9.1 M\n python3-setuptools\n noarch 39.2.0-10.el7 @base 3.6 M\n unixODBC x86_64 2.3.11-1.rh @packages-microsoft-com-prod 648 k\n\nTransaction Summary\n================================================================================\nRemove 3 Packages (+14 Dependent packages)\n\nInstalled size: 1.2 G\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Erasing : mssql-server-15.0.4345.5-2.x86_64 1/17 \n Erasing : unixODBC-devel-2.3.11-1.rh.x86_64 2/17 \n Erasing : mssql-tools-17.10.1.1-1.x86_64 3/17 \n Erasing : python3-libs-3.6.8-21.el7_9.x86_64 4/17 \n Erasing : python3-pip-9.0.3-8.el7.noarch 5/17 \n Erasing : python3-setuptools-39.2.0-10.el7.noarch 6/17 \n Erasing : python3-3.6.8-21.el7_9.x86_64 7/17 \n Erasing : msodbcsql17-17.10.5.1-1.x86_64 8/17 \nODBC Driver 17 for SQL Server has been deleted (if it existed at all) because its usage count became zero\n Erasing : unixODBC-2.3.11-1.rh.x86_64 9/17 \nwarning: /etc/odbcinst.ini saved as /etc/odbcinst.ini.rpmsave\n Erasing : libtool-ltdl-2.4.2-22.el7_3.x86_64 10/17 \n Erasing : libatomic-4.8.5-44.el7.x86_64 11/17 \n Erasing : bzip2-1.0.6-13.el7.x86_64 12/17 \n Erasing : gdb-7.6.1-120.el7.x86_64 13/17 \n Erasing : libsss_nss_idmap-1.16.5-10.el7_9.15.x86_64 14/17 \n Erasing : cyrus-sasl-2.1.26-24.el7_9.x86_64 15/17 \n Erasing : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 16/17 \n Erasing : lsof-4.87-6.el7.x86_64 17/17 \n Verifying : mssql-tools-17.10.1.1-1.x86_64 1/17 \n Verifying : python3-3.6.8-21.el7_9.x86_64 2/17 \n Verifying : python3-setuptools-39.2.0-10.el7.noarch 3/17 \n Verifying : bzip2-1.0.6-13.el7.x86_64 4/17 \n Verifying : mssql-server-15.0.4345.5-2.x86_64 5/17 \n Verifying : libtool-ltdl-2.4.2-22.el7_3.x86_64 6/17 \n Verifying : lsof-4.87-6.el7.x86_64 7/17 \n Verifying : unixODBC-devel-2.3.11-1.rh.x86_64 8/17 \n Verifying : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 9/17 \n Verifying : gdb-7.6.1-120.el7.x86_64 10/17 \n Verifying : unixODBC-2.3.11-1.rh.x86_64 11/17 \n Verifying : python3-libs-3.6.8-21.el7_9.x86_64 12/17 \n Verifying : msodbcsql17-17.10.5.1-1.x86_64 13/17 \n Verifying : python3-pip-9.0.3-8.el7.noarch 14/17 \n Verifying : cyrus-sasl-2.1.26-24.el7_9.x86_64 15/17 \n Verifying : libatomic-4.8.5-44.el7.x86_64 16/17 \n Verifying : libsss_nss_idmap-1.16.5-10.el7_9.15.x86_64 17/17 \n\nRemoved:\n mssql-server.x86_64 0:15.0.4345.5-2 mssql-tools.x86_64 0:17.10.1.1-1 \n unixODBC-devel.x86_64 0:2.3.11-1.rh \n\nDependency Removed:\n bzip2.x86_64 0:1.0.6-13.el7 \n cyrus-sasl.x86_64 0:2.1.26-24.el7_9 \n cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 \n gdb.x86_64 0:7.6.1-120.el7 \n libatomic.x86_64 0:4.8.5-44.el7 \n libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.15 \n libtool-ltdl.x86_64 0:2.4.2-22.el7_3 \n lsof.x86_64 0:4.87-6.el7 \n msodbcsql17.x86_64 0:17.10.5.1-1 \n python3.x86_64 0:3.6.8-21.el7_9 \n python3-libs.x86_64 0:3.6.8-21.el7_9 \n python3-pip.noarch 0:9.0.3-8.el7 \n python3-setuptools.noarch 0:39.2.0-10.el7 \n unixODBC.x86_64 0:2.3.11-1.rh \n\nComplete!\n" ] } TASK [Remove related files] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/cleanup.yml:58 Friday 05 January 2024 15:12:08 +0000 (0:00:03.922) 0:03:02.317 ******** 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.010117", "end": "2024-01-05 15:12:08.651024", "rc": 0, "start": "2024-01-05 15:12:08.640907" } 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 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/96269467-4774-4bdd-a307-9d3ead7fe90c’ 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/Entropy.bin’ removed ‘/var/opt/mssql/data/model.mdf’ removed ‘/var/opt/mssql/data/model_replicatedmaster.ldf’ removed ‘/var/opt/mssql/data/modellog.ldf’ removed ‘/var/opt/mssql/data/model_msdbdata.mdf’ removed ‘/var/opt/mssql/data/model_msdblog.ldf’ removed ‘/var/opt/mssql/data/tempdb3.ndf’ removed ‘/var/opt/mssql/data/tempdb4.ndf’ removed ‘/var/opt/mssql/data/master.mdf’ removed ‘/var/opt/mssql/data/mastlog.ldf’ removed ‘/var/opt/mssql/data/tempdb2.ndf’ removed ‘/var/opt/mssql/data/msdblog.ldf’ removed ‘/var/opt/mssql/data/model_replicatedmaster.mdf’ removed ‘/var/opt/mssql/data/msdbdata.mdf’ removed directory: ‘/var/opt/mssql/data’ removed ‘/var/opt/mssql/log/system_health_0_133489411238470000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133489409957270000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133489410157730000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133489410007210000.xel’ removed ‘/var/opt/mssql/log/sqlagentstartup.log’ removed ‘/var/opt/mssql/log/log_4.trc’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133489410339440000.xel’ removed ‘/var/opt/mssql/log/errorlog.2’ removed ‘/var/opt/mssql/log/system_health_0_133489411042780000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133489409950210000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133489410162280000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133489410554440000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133489410001370000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133489410343570000.xel’ removed ‘/var/opt/mssql/log/errorlog.7’ removed ‘/var/opt/mssql/log/log_5.trc’ removed ‘/var/opt/mssql/log/log_3.trc’ removed ‘/var/opt/mssql/log/system_health_0_133489410758700000.xel’ 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/HkEngineEventFile_0_133489411233610000.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/HkEngineEventFile_0_133489411038230000.xel’ removed ‘/var/opt/mssql/log/mssql-conf/mssql-conf.log’ removed directory: ‘/var/opt/mssql/log/mssql-conf’ removed ‘/var/opt/mssql/log/log_7.trc’ removed ‘/var/opt/mssql/log/system_health_0_133489410558620000.xel’ removed ‘/var/opt/mssql/log/errorlog.4’ removed ‘/var/opt/mssql/log/log_6.trc’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133489410754220000.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-2019.repo’ removed ‘/etc/yum.repos.d/packages-microsoft-com-prod.repo’ removed ‘/etc/systemd/system/multi-user.target.wants/mssql-server.service’ TASK [Stop the mssql-server service] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/cleanup.yml:72 Friday 05 January 2024 15:12:08 +0000 (0:00:00.148) 0:03:02.466 ******** ok: [sut] => { "changed": false, "cmd": "systemctl stop mssql-server || true", "delta": "0:00:06.349756", "end": "2024-01-05 15:12:15.141087", "rc": 0, "start": "2024-01-05 15:12:08.791331" } 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:12:15 +0000 (0:00:06.479) 0:03:08.945 ******** =============================================================================== linux-system-roles.mssql : Ensure the package mssql-server ------------- 38.50s /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:264 Stop the mssql-server service ------------------------------------------- 6.48s /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/cleanup.yml:72 -------- linux-system-roles.mssql : Set up MSSQL --------------------------------- 5.70s /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 --- 5.39s /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:426 Remove related packages ------------------------------------------------- 3.92s /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/cleanup.yml:45 -------- Wait for mssql-server to prepare for client connections ----------------- 3.21s /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:93 Wait for mssql-server to prepare for client connections ----------------- 3.17s /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:93 fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 3.14s /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 ------------------------- 3.04s /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:131 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 2.98s /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 linux-system-roles.mssql : Gather package facts ------------------------- 2.89s /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:546 linux-system-roles.mssql : Configure the setting network forceencryption --- 2.62s /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wait for mssql-server to prepare for client connections ----------------- 2.26s /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:93 Wait for mssql-server to prepare for client connections ----------------- 2.22s /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:93 linux-system-roles.mssql : Gather system services facts ----------------- 2.19s /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.74s /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.39s /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.38s /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/tasks/verify_settings.yml:93 linux-system-roles.mssql : Restart the mssql-server service ------------- 1.35s /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 linux-system-roles.mssql : Deploy the GPG key for Microsoft repositories --- 1.09s /WORKDIR/git-ansible-lint-test-2.16so8j2u1z/tests/roles/linux-system-roles.mssql/tasks/main.yml:173 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---