ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Nov 14 2023, 16:14:06) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] Using /etc/ansible/ansible.cfg as config file [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_idempotency_2017.yml ******************************************* 1 plays in /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_idempotency_2017.yml PLAY [Ensure that the role is idempotent] ************************************** META: ran handlers TASK [Run tests_idempotency with SQL Server 2017] ****************************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_idempotency_2017.yml:15 Wednesday 20 November 2024 05:16:10 -0500 (0:00:00.048) 0:00:00.048 **** included: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_idempotency.yml for managed-node1 TASK [Assert fail on EL 7 with version = 2022 and EL 9 with version != 2022] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_idempotency.yml:2 Wednesday 20 November 2024 05:16:10 -0500 (0:00:00.024) 0:00:00.073 **** included: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/assert_fail_on_unsupported_ver.yml for managed-node1 TASK [Ensure ansible_facts to get ansible_distribution] ************************ task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/assert_fail_on_unsupported_ver.yml:2 Wednesday 20 November 2024 05:16:10 -0500 (0:00:00.088) 0:00:00.162 **** ok: [managed-node1] TASK [Run the role] ************************************************************ task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/assert_fail_on_unsupported_ver.yml:17 Wednesday 20 November 2024 05:16:11 -0500 (0:00:00.758) 0:00:00.920 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unreachable task] ******************************************************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/assert_fail_on_unsupported_ver.yml:24 Wednesday 20 November 2024 05:16:11 -0500 (0:00:00.026) 0:00:00.947 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run on a fresh host and set all parameters] ****************************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_idempotency.yml:5 Wednesday 20 November 2024 05:16:11 -0500 (0:00:00.022) 0:00:00.970 **** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Wednesday 20 November 2024 05:16:11 -0500 (0:00:00.405) 0:00:01.375 **** included: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Wednesday 20 November 2024 05:16:11 -0500 (0:00:00.030) 0:00:01.405 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Wednesday 20 November 2024 05:16:11 -0500 (0:00:00.021) 0:00:01.427 **** ok: [managed-node1] => (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 ], "__mssql_tuned_supported": true }, "ansible_included_var_files": [ "/tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node1] => (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": [ "/tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed-node1] => (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.mssql : Temporary debug] *********************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:6 Wednesday 20 November 2024 05:16:12 -0500 (0:00:00.060) 0:00:01.488 **** ok: [managed-node1] => (item=mssql_tools_versions) => { "ansible_loop_var": "item", "item": "mssql_tools_versions", "mssql_tools_versions": [ 18 ] } ok: [managed-node1] => (item=__sqlcmd_ver) => { "__sqlcmd_ver": "18", "ansible_loop_var": "item", "item": "__sqlcmd_ver" } ok: [managed-node1] => (item=__sqlcmd_cli) => { "__sqlcmd_cli": "/opt/mssql-tools18/bin/sqlcmd", "ansible_loop_var": "item", "item": "__sqlcmd_cli" } ok: [managed-node1] => (item=__mssql_client_packages) => { "__mssql_client_packages": [ "mssql-tools18", "unixODBC-devel" ], "ansible_loop_var": "item", "item": "__mssql_client_packages" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:16 Wednesday 20 November 2024 05:16:12 -0500 (0:00:00.050) 0:00:01.538 **** ok: [managed-node1] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [fedora.linux_system_roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Wednesday 20 November 2024 05:16:12 -0500 (0:00:00.018) 0:00:01.557 **** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:31 Wednesday 20 November 2024 05:16:12 -0500 (0:00:00.018) 0:00:01.576 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the variable is deprecated] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:38 Wednesday 20 November 2024 05:16:12 -0500 (0:00:00.018) 0:00:01.594 **** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:45 Wednesday 20 November 2024 05:16:12 -0500 (0:00:00.019) 0:00:01.613 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:52 Wednesday 20 November 2024 05:16:12 -0500 (0:00:00.017) 0:00:01.631 **** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:59 Wednesday 20 November 2024 05:16:12 -0500 (0:00:00.019) 0:00:01.651 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ha_cluster_run_role variable is deprecated] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:66 Wednesday 20 November 2024 05:16:12 -0500 (0:00:00.017) 0:00:01.669 **** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:73 Wednesday 20 November 2024 05:16:12 -0500 (0:00:00.018) 0:00:01.687 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fail on RHEL or CentOS 10 because it's not supported] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:77 Wednesday 20 November 2024 05:16:12 -0500 (0:00:00.017) 0:00:01.705 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that the user accepts EULA variables] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:84 Wednesday 20 November 2024 05:16:12 -0500 (0:00:00.021) 0:00:01.726 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Wednesday 20 November 2024 05:16:12 -0500 (0:00:00.026) 0:00:01.753 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:104 Wednesday 20 November 2024 05:16:12 -0500 (0:00:00.017) 0:00:01.770 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:113 Wednesday 20 November 2024 05:16:12 -0500 (0:00:00.018) 0:00:01.788 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:122 Wednesday 20 November 2024 05:16:12 -0500 (0:00:00.017) 0:00:01.805 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:132 Wednesday 20 November 2024 05:16:12 -0500 (0:00:00.019) 0:00:01.825 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_manage_selinux is set properly] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:141 Wednesday 20 November 2024 05:16:12 -0500 (0:00:00.019) 0:00:01.844 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:152 Wednesday 20 November 2024 05:16:12 -0500 (0:00:00.019) 0:00:01.863 **** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:156 Wednesday 20 November 2024 05:16:14 -0500 (0:00:01.651) 0:00:03.515 **** skipping: [managed-node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:164 Wednesday 20 November 2024 05:16:14 -0500 (0:00:00.173) 0:00:03.689 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:171 Wednesday 20 November 2024 05:16:14 -0500 (0:00:00.101) 0:00:03.790 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:178 Wednesday 20 November 2024 05:16:14 -0500 (0:00:00.095) 0:00:03.885 **** skipping: [managed-node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:192 Wednesday 20 November 2024 05:16:14 -0500 (0:00:00.149) 0:00:04.035 **** ok: [managed-node1] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version {{ __mssql_current_version }}] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:206 Wednesday 20 November 2024 05:16:15 -0500 (0:00:00.796) 0:00:04.832 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:216 Wednesday 20 November 2024 05:16:15 -0500 (0:00:00.072) 0:00:04.904 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:227 Wednesday 20 November 2024 05:16:15 -0500 (0:00:00.145) 0:00:05.050 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version {{ __mssql_current_version }}] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:241 Wednesday 20 November 2024 05:16:15 -0500 (0:00:00.086) 0:00:05.137 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:250 Wednesday 20 November 2024 05:16:15 -0500 (0:00:00.088) 0:00:05.226 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:262 Wednesday 20 November 2024 05:16:15 -0500 (0:00:00.091) 0:00:05.317 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:269 Wednesday 20 November 2024 05:16:15 -0500 (0:00:00.093) 0:00:05.411 **** changed: [managed-node1] => { "changed": true, "repo": "packages-microsoft-com-mssql-server-2017", "state": "present" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:281 Wednesday 20 November 2024 05:16:16 -0500 (0:00:00.705) 0:00:06.117 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure to run as a confined application with SELinux] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:294 Wednesday 20 November 2024 05:16:16 -0500 (0:00:00.092) 0:00:06.209 **** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-selinux is not installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server] ******* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:299 Wednesday 20 November 2024 05:16:17 -0500 (0:00:00.929) 0:00:07.139 **** changed: [managed-node1] => { "changed": true, "changes": { "installed": [ "mssql-server" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * epel: dl.fedoraproject.org\n * epel-debuginfo: dl.fedoraproject.org\n * epel-source: dl.fedoraproject.org\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-server.x86_64 0:14.0.3465.1-1 will be installed\n--> Processing Dependency: libatomic for package: mssql-server-14.0.3465.1-1.x86_64\n--> Processing Dependency: bzip2 for package: mssql-server-14.0.3465.1-1.x86_64\n--> Processing Dependency: gdb for package: mssql-server-14.0.3465.1-1.x86_64\n--> Processing Dependency: libsss_nss_idmap for package: mssql-server-14.0.3465.1-1.x86_64\n--> Processing Dependency: cyrus-sasl for package: mssql-server-14.0.3465.1-1.x86_64\n--> Processing Dependency: cyrus-sasl-gssapi for package: mssql-server-14.0.3465.1-1.x86_64\n--> Running transaction check\n---> Package bzip2.x86_64 0:1.0.6-13.el7 will be installed\n---> Package cyrus-sasl.x86_64 0:2.1.26-24.el7_9 will be installed\n---> Package cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 will be installed\n---> Package gdb.x86_64 0:7.6.1-120.el7 will be installed\n---> Package libatomic.x86_64 0:4.8.5-44.el7 will be installed\n---> Package libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.16 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n mssql-server x86_64 14.0.3465.1-1 packages-microsoft-com-mssql-server-2017\n 200 M\nInstalling for dependencies:\n bzip2 x86_64 1.0.6-13.el7 base 52 k\n cyrus-sasl x86_64 2.1.26-24.el7_9 updates 88 k\n cyrus-sasl-gssapi x86_64 2.1.26-24.el7_9 updates 41 k\n gdb x86_64 7.6.1-120.el7 base 2.4 M\n libatomic x86_64 4.8.5-44.el7 base 51 k\n libsss_nss_idmap x86_64 1.16.5-10.el7_9.16 updates 170 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package (+6 Dependent packages)\n\nTotal download size: 203 M\nInstalled size: 1.0 G\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 42 MB/s | 203 MB 00:04 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : libatomic-4.8.5-44.el7.x86_64 1/7 \n Installing : cyrus-sasl-2.1.26-24.el7_9.x86_64 2/7 \n Installing : gdb-7.6.1-120.el7.x86_64 3/7 \n Installing : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 4/7 \n Installing : bzip2-1.0.6-13.el7.x86_64 5/7 \n Installing : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 6/7 \n Installing : mssql-server-14.0.3465.1-1.x86_64 7/7 \n\n+--------------------------------------------------------------+\nPlease run 'sudo /opt/mssql/bin/mssql-conf setup'\nto complete the setup of Microsoft SQL Server\n+--------------------------------------------------------------+\n\nSQL Server needs to be restarted in order to apply this setting. Please run\n'systemctl restart mssql-server.service'.\n Verifying : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 1/7 \n Verifying : bzip2-1.0.6-13.el7.x86_64 2/7 \n Verifying : mssql-server-14.0.3465.1-1.x86_64 3/7 \n Verifying : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 4/7 \n Verifying : gdb-7.6.1-120.el7.x86_64 5/7 \n Verifying : cyrus-sasl-2.1.26-24.el7_9.x86_64 6/7 \n Verifying : libatomic-4.8.5-44.el7.x86_64 7/7 \n\nInstalled:\n mssql-server.x86_64 0:14.0.3465.1-1 \n\nDependency Installed:\n bzip2.x86_64 0:1.0.6-13.el7 \n cyrus-sasl.x86_64 0:2.1.26-24.el7_9 \n cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 \n gdb.x86_64 0:7.6.1-120.el7 \n libatomic.x86_64 0:4.8.5-44.el7 \n libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.16 \n\nComplete!\n" ] } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:304 Wednesday 20 November 2024 05:16:57 -0500 (0:00:39.850) 0:00:46.989 **** ok: [managed-node1] => { "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.005161", "end": "2024-11-20 05:16:58.041427", "rc": 0, "start": "2024-11-20 05:16:58.036266" } TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:320 Wednesday 20 November 2024 05:16:58 -0500 (0:00:00.589) 0:00:47.579 **** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set the __mssql_is_setup variable] ***** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:324 Wednesday 20 November 2024 05:16:59 -0500 (0:00:01.110) 0:00:48.690 **** ok: [managed-node1] => { "ansible_facts": { "__mssql_is_setup": false }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:333 Wednesday 20 November 2024 05:16:59 -0500 (0:00:00.125) 0:00:48.815 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:349 Wednesday 20 November 2024 05:16:59 -0500 (0:00:00.109) 0:00:48.925 **** changed: [managed-node1] => { "attempts": 1, "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions for datadir and logdir] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:374 Wednesday 20 November 2024 05:17:04 -0500 (0:00:04.770) 0:00:53.696 **** included: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml for managed-node1 included: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions /tmp/mssql_data] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Wednesday 20 November 2024 05:17:04 -0500 (0:00:00.283) 0:00:53.979 **** changed: [managed-node1] => { "changed": true, "gid": 994, "group": "mssql", "mode": "0755", "owner": "mssql", "path": "/tmp/mssql_data", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 4096, "state": "directory", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Append facts for the selinux role] ***** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:12 Wednesday 20 November 2024 05:17:05 -0500 (0:00:00.652) 0:00:54.632 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the setting defaultdatadir] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:28 Wednesday 20 November 2024 05:17:05 -0500 (0:00:00.103) 0:00:54.736 **** included: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting filelocation defaultdatadir] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 20 November 2024 05:17:05 -0500 (0:00:00.186) 0:00:54.922 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004023", "end": "2024-11-20 05:17:06.037477", "failed_when_result": false, "rc": 1, "start": "2024-11-20 05:17:06.033454" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultdatadir] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 20 November 2024 05:17:06 -0500 (0:00:00.696) 0:00:55.618 **** NOTIFIED HANDLER fedora.linux_system_roles.mssql : Restart the mssql-server service for managed-node1 changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "filelocation.defaultdatadir", "/tmp/mssql_data" ], "delta": "0:00:00.067846", "end": "2024-11-20 05:17:06.713094", "failed_when_result": false, "rc": 0, "start": "2024-11-20 05:17:06.645248" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Unset the setting filelocation defaultdatadir] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 20 November 2024 05:17:06 -0500 (0:00:00.696) 0:00:56.314 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions /tmp/mssql_log] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Wednesday 20 November 2024 05:17:06 -0500 (0:00:00.104) 0:00:56.419 **** changed: [managed-node1] => { "changed": true, "gid": 994, "group": "mssql", "mode": "0755", "owner": "mssql", "path": "/tmp/mssql_log", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 4096, "state": "directory", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Append facts for the selinux role] ***** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:12 Wednesday 20 November 2024 05:17:07 -0500 (0:00:00.787) 0:00:57.207 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the setting defaultlogdir] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:28 Wednesday 20 November 2024 05:17:07 -0500 (0:00:00.117) 0:00:57.324 **** included: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting filelocation defaultlogdir] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 20 November 2024 05:17:08 -0500 (0:00:00.185) 0:00:57.510 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.004199", "end": "2024-11-20 05:17:09.379176", "failed_when_result": false, "rc": 1, "start": "2024-11-20 05:17:08.374977" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultlogdir] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 20 November 2024 05:17:09 -0500 (0:00:01.423) 0:00:58.934 **** changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "filelocation.defaultlogdir", "/tmp/mssql_log" ], "delta": "0:00:00.044342", "end": "2024-11-20 05:17:09.835662", "failed_when_result": false, "rc": 0, "start": "2024-11-20 05:17:09.791320" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Unset the setting filelocation defaultlogdir] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 20 November 2024 05:17:09 -0500 (0:00:00.475) 0:00:59.410 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set selinux role facts for ports] ****** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:389 Wednesday 20 November 2024 05:17:10 -0500 (0:00:00.107) 0:00:59.518 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:403 Wednesday 20 November 2024 05:17:10 -0500 (0:00:00.097) 0:00:59.615 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:414 Wednesday 20 November 2024 05:17:10 -0500 (0:00:00.106) 0:00:59.722 **** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:420 Wednesday 20 November 2024 05:17:10 -0500 (0:00:00.577) 0:01:00.299 **** ok: [managed-node1] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-11-20 04:52:50 EST", "ActiveEnterTimestampMonotonic": "8456723", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target system.slice dbus.service systemd-journald.socket basic.target systemd-sysctl.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-11-20 04:52:49 EST", "AssertTimestampMonotonic": "7668447", "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": "Wed 2024-11-20 04:52:49 EST", "ConditionTimestampMonotonic": "7668446", "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": "851", "ExecMainStartTimestamp": "Wed 2024-11-20 04:52:49 EST", "ExecMainStartTimestampMonotonic": "7668979", "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": "Wed 2024-11-20 04:52:49 EST", "InactiveExitTimestampMonotonic": "7669032", "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": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "851", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "dbus.service basic.target polkit.service system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2024-11-20 04:52:50 EST", "WatchdogTimestampMonotonic": "8456679", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:427 Wednesday 20 November 2024 05:17:11 -0500 (0:00:00.853) 0:01:01.153 **** ok: [managed-node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.083792", "end": "2024-11-20 05:17:12.090952", "rc": 0, "start": "2024-11-20 05:17:12.007160" } STDOUT: Current active profile: virtual-guest mssql TASK [fedora.linux_system_roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:440 Wednesday 20 November 2024 05:17:12 -0500 (0:00:00.477) 0:01:01.630 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:453 Wednesday 20 November 2024 05:17:12 -0500 (0:00:00.071) 0:01:01.702 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:462 Wednesday 20 November 2024 05:17:12 -0500 (0:00:00.068) 0:01:01.771 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:472 Wednesday 20 November 2024 05:17:12 -0500 (0:00:00.065) 0:01:01.837 **** changed: [managed-node1] => { "changed": true, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:480 Wednesday 20 November 2024 05:17:12 -0500 (0:00:00.449) 0:01:02.286 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:489 Wednesday 20 November 2024 05:17:12 -0500 (0:00:00.080) 0:01:02.367 **** changed: [managed-node1] => { "changed": true, "changes": { "installed": [ "mssql-tools18", "unixODBC-devel" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * epel: d2lzkl7pfhq30w.cloudfront.net\n * epel-debuginfo: d2lzkl7pfhq30w.cloudfront.net\n * epel-source: d2lzkl7pfhq30w.cloudfront.net\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-tools18.x86_64 0:18.4.1.1-1 will be installed\n--> Processing Dependency: msodbcsql18 >= 18.0.0.0 for package: mssql-tools18-18.4.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 msodbcsql18.x86_64 0:18.4.1.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-tools18 x86_64 18.4.1.1-1 packages-microsoft-com-prod 293 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 msodbcsql18 x86_64 18.4.1.1-1 packages-microsoft-com-prod 923 k\n unixODBC x86_64 2.3.11-1.rh packages-microsoft-com-prod 274 k\n\nTransaction Summary\n================================================================================\nInstall 2 Packages (+3 Dependent packages)\n\nTotal download size: 1.6 M\nInstalled size: 3.9 M\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 3.9 MB/s | 1.6 MB 00:00 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : libtool-ltdl-2.4.2-22.el7_3.x86_64 1/5 \n Installing : unixODBC-2.3.11-1.rh.x86_64 2/5 \n Installing : msodbcsql18-18.4.1.1-1.x86_64 3/5 \nodbcinst: Driver installed. Usage count increased to 1. \n Target directory is /etc\n Installing : mssql-tools18-18.4.1.1-1.x86_64 4/5 \n Installing : unixODBC-devel-2.3.11-1.rh.x86_64 5/5 \n Verifying : mssql-tools18-18.4.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 : msodbcsql18-18.4.1.1-1.x86_64 5/5 \n\nInstalled:\n mssql-tools18.x86_64 0:18.4.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 msodbcsql18.x86_64 0:18.4.1.1-1 \n unixODBC.x86_64 0:2.3.11-1.rh \n\nComplete!\n" ] } TASK [Create certificates using the certificate role] ************************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:506 Wednesday 20 November 2024 05:17:17 -0500 (0:00:04.523) 0:01:06.890 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:520 Wednesday 20 November 2024 05:17:17 -0500 (0:00:00.096) 0:01:06.987 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Copy certificate and private_key files to the host] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:525 Wednesday 20 November 2024 05:17:17 -0500 (0:00:00.077) 0:01:07.065 **** skipping: [managed-node1] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:543 Wednesday 20 November 2024 05:17:17 -0500 (0:00:00.087) 0:01:07.153 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlskey setting] ********** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:552 Wednesday 20 November 2024 05:17:17 -0500 (0:00:00.068) 0:01:07.221 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlsprotocols setting] **** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:561 Wednesday 20 November 2024 05:17:17 -0500 (0:00:00.061) 0:01:07.282 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the forceencryption setting] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:568 Wednesday 20 November 2024 05:17:17 -0500 (0:00:00.143) 0:01:07.425 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get the setting forceencryption] ******* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:577 Wednesday 20 November 2024 05:17:18 -0500 (0:00:00.100) 0:01:07.526 **** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail; grep '^forceencryption' /var/opt/mssql/mssql.conf | sed 's/forceencryption = //g'", "delta": "0:00:00.004861", "end": "2024-11-20 05:17:18.387080", "failed_when_result": false, "rc": 1, "start": "2024-11-20 05:17:18.382219" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Append -No to sqlcmd when TLS is not configured] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:586 Wednesday 20 November 2024 05:17:18 -0500 (0:00:00.373) 0:01:07.900 **** ok: [managed-node1] => { "ansible_facts": { "__sqlcmd_cli": "/opt/mssql-tools18/bin/sqlcmd -No" }, "changed": false } TASK [fedora.linux_system_roles.mssql : Append -C to sqlcmd when TLS is configured but certs are self-signed] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:593 Wednesday 20 November 2024 05:17:18 -0500 (0:00:00.074) 0:01:07.975 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:606 Wednesday 20 November 2024 05:17:18 -0500 (0:00:00.066) 0:01:08.041 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Wednesday 20 November 2024 05:17:18 -0500 (0:00:00.060) 0:01:08.101 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:616 Wednesday 20 November 2024 05:17:18 -0500 (0:00:00.072) 0:01:08.174 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:631 Wednesday 20 November 2024 05:17:18 -0500 (0:00:00.099) 0:01:08.273 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:638 Wednesday 20 November 2024 05:17:18 -0500 (0:00:00.108) 0:01:08.382 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the password of sa user] ******** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:646 Wednesday 20 November 2024 05:17:19 -0500 (0:00:00.104) 0:01:08.486 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script files to SQL Server] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:667 Wednesday 20 November 2024 05:17:19 -0500 (0:00:00.106) 0:01:08.593 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script contents to SQL Server] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:674 Wednesday 20 November 2024 05:17:19 -0500 (0:00:00.097) 0:01:08.690 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set edition matches the existing edition] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:685 Wednesday 20 November 2024 05:17:19 -0500 (0:00:00.099) 0:01:08.789 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:699 Wednesday 20 November 2024 05:17:19 -0500 (0:00:00.103) 0:01:08.893 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:706 Wednesday 20 November 2024 05:17:19 -0500 (0:00:00.109) 0:01:09.003 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the edition of MSSQL] *********** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:712 Wednesday 20 November 2024 05:17:19 -0500 (0:00:00.099) 0:01:09.102 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the IP address setting] ****** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:731 Wednesday 20 November 2024 05:17:19 -0500 (0:00:00.088) 0:01:09.191 **** included: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting network ipaddress] ***** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 20 November 2024 05:17:19 -0500 (0:00:00.146) 0:01:09.338 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002851", "end": "2024-11-20 05:17:20.166429", "failed_when_result": false, "rc": 1, "start": "2024-11-20 05:17:20.163578" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network ipaddress] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 20 November 2024 05:17:20 -0500 (0:00:00.460) 0:01:09.798 **** changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.ipaddress", "0.0.0.0" ], "delta": "0:00:00.045409", "end": "2024-11-20 05:17:20.713954", "failed_when_result": false, "rc": 0, "start": "2024-11-20 05:17:20.668545" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Unset the setting network ipaddress] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 20 November 2024 05:17:20 -0500 (0:00:00.473) 0:01:10.272 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:738 Wednesday 20 November 2024 05:17:20 -0500 (0:00:00.069) 0:01:10.341 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:745 Wednesday 20 November 2024 05:17:20 -0500 (0:00:00.066) 0:01:10.407 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the TCP port setting to 1433] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:757 Wednesday 20 November 2024 05:17:21 -0500 (0:00:00.065) 0:01:10.473 **** included: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tcpport] ******* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 20 November 2024 05:17:21 -0500 (0:00:00.158) 0:01:10.631 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.004040", "end": "2024-11-20 05:17:22.479165", "failed_when_result": false, "rc": 1, "start": "2024-11-20 05:17:21.475125" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 20 November 2024 05:17:22 -0500 (0:00:01.366) 0:01:11.997 **** ok: [managed-node1] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.044234", "end": "2024-11-20 05:17:22.860326", "failed_when_result": false, "rc": 0, "start": "2024-11-20 05:17:22.816092" } STDOUT: Validation error on setting 'network.tcpport' Port '1433' is already in use. Please use another port TASK [fedora.linux_system_roles.mssql : Unset the setting network tcpport] ***** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 20 November 2024 05:17:22 -0500 (0:00:00.391) 0:01:12.389 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:763 Wednesday 20 November 2024 05:17:23 -0500 (0:00:00.060) 0:01:12.450 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:783 Wednesday 20 November 2024 05:17:23 -0500 (0:00:00.063) 0:01:12.513 **** included: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting sqlagent enabled] ****** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 20 November 2024 05:17:23 -0500 (0:00:00.120) 0:01:12.634 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002937", "end": "2024-11-20 05:17:23.450351", "failed_when_result": false, "rc": 0, "start": "2024-11-20 05:17:23.447414" } STDOUT: enabled = false TASK [fedora.linux_system_roles.mssql : Configure the setting sqlagent enabled] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 20 November 2024 05:17:23 -0500 (0:00:00.443) 0:01:13.078 **** changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "sqlagent.enabled", "True" ], "delta": "0:00:00.044060", "end": "2024-11-20 05:17:23.949238", "failed_when_result": false, "rc": 0, "start": "2024-11-20 05:17:23.905178" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Unset the setting sqlagent enabled] **** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 20 November 2024 05:17:24 -0500 (0:00:00.441) 0:01:13.519 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:790 Wednesday 20 November 2024 05:17:24 -0500 (0:00:00.099) 0:01:13.619 **** changed: [managed-node1] => { "changed": true, "changes": { "installed": [ "mssql-server-fts" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * epel: d2lzkl7pfhq30w.cloudfront.net\n * epel-debuginfo: d2lzkl7pfhq30w.cloudfront.net\n * epel-source: d2lzkl7pfhq30w.cloudfront.net\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-server-fts.x86_64 0:14.0.3465.1-1 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n mssql-server-fts\n x86_64 14.0.3465.1-1 packages-microsoft-com-mssql-server-2017 225 M\n\nTransaction Summary\n================================================================================\nInstall 1 Package\n\nTotal download size: 225 M\nInstalled size: 554 M\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : mssql-server-fts-14.0.3465.1-1.x86_64 1/1 \n\n+-------------------------------------------------------------------------------------+\nPlease restart mssql-server to enable Microsoft SQL Server Full Text Search.\n+-------------------------------------------------------------------------------------+\n\n Verifying : mssql-server-fts-14.0.3465.1-1.x86_64 1/1 \n\nInstalled:\n mssql-server-fts.x86_64 0:14.0.3465.1-1 \n\nComplete!\n" ] } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:797 Wednesday 20 November 2024 05:17:50 -0500 (0:00:25.969) 0:01:39.588 **** changed: [managed-node1] => { "changed": true, "changes": { "installed": [ "powershell" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * epel: d2lzkl7pfhq30w.cloudfront.net\n * epel-debuginfo: d2lzkl7pfhq30w.cloudfront.net\n * epel-source: d2lzkl7pfhq30w.cloudfront.net\nResolving Dependencies\n--> Running transaction check\n---> Package powershell.x86_64 0:7.3.12-1.rh will be installed\n--> Processing Dependency: libicu for package: powershell-7.3.12-1.rh.x86_64\n--> Running transaction check\n---> Package libicu.x86_64 0:50.2-4.el7_7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n powershell x86_64 7.3.12-1.rh packages-microsoft-com-prod 66 M\nInstalling for dependencies:\n libicu x86_64 50.2-4.el7_7 base 6.9 M\n\nTransaction Summary\n================================================================================\nInstall 1 Package (+1 Dependent package)\n\nTotal download size: 72 M\nInstalled size: 192 M\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 53 MB/s | 72 MB 00:01 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : libicu-50.2-4.el7_7.x86_64 1/2 \n Installing : powershell-7.3.12-1.rh.x86_64 2/2 \n Verifying : powershell-7.3.12-1.rh.x86_64 1/2 \n Verifying : libicu-50.2-4.el7_7.x86_64 2/2 \n\nInstalled:\n powershell.x86_64 0:7.3.12-1.rh \n\nDependency Installed:\n libicu.x86_64 0:50.2-4.el7_7 \n\nComplete!\n" ] } TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:806 Wednesday 20 November 2024 05:18:03 -0500 (0:00:13.201) 0:01:52.790 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003037", "end": "2024-11-20 05:18:03.627624", "failed_when_result": false, "rc": 1, "start": "2024-11-20 05:18:03.624587" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:812 Wednesday 20 November 2024 05:18:03 -0500 (0:00:00.347) 0:01:53.138 **** changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "traceflag", "3979", "on" ], "delta": "0:00:00.043624", "end": "2024-11-20 05:18:03.998930", "rc": 0, "start": "2024-11-20 05:18:03.955306" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:819 Wednesday 20 November 2024 05:18:04 -0500 (0:00:00.421) 0:01:53.560 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:827 Wednesday 20 November 2024 05:18:04 -0500 (0:00:00.061) 0:01:53.622 **** included: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting control alternatewritethrough] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 20 November 2024 05:18:04 -0500 (0:00:00.110) 0:01:53.732 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002754", "end": "2024-11-20 05:18:04.551176", "failed_when_result": false, "rc": 1, "start": "2024-11-20 05:18:04.548422" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting control alternatewritethrough] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 20 November 2024 05:18:04 -0500 (0:00:00.332) 0:01:54.064 **** changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "control.alternatewritethrough", "0" ], "delta": "0:00:00.044325", "end": "2024-11-20 05:18:04.926691", "failed_when_result": false, "rc": 0, "start": "2024-11-20 05:18:04.882366" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Unset the setting control alternatewritethrough] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 20 November 2024 05:18:05 -0500 (0:00:00.384) 0:01:54.449 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:833 Wednesday 20 November 2024 05:18:05 -0500 (0:00:00.059) 0:01:54.509 **** included: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting control writethrough] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 20 November 2024 05:18:05 -0500 (0:00:00.113) 0:01:54.622 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003448", "end": "2024-11-20 05:18:05.439888", "failed_when_result": false, "rc": 1, "start": "2024-11-20 05:18:05.436440" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting control writethrough] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 20 November 2024 05:18:05 -0500 (0:00:00.332) 0:01:54.955 **** changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "control.writethrough", "1" ], "delta": "0:00:00.045465", "end": "2024-11-20 05:18:05.821112", "failed_when_result": false, "rc": 0, "start": "2024-11-20 05:18:05.775647" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Unset the setting control writethrough] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 20 November 2024 05:18:05 -0500 (0:00:00.395) 0:01:55.350 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that ad_integration_realm variable is provided] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Wednesday 20 November 2024 05:18:05 -0500 (0:00:00.061) 0:01:55.412 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:851 Wednesday 20 November 2024 05:18:06 -0500 (0:00:00.061) 0:01:55.474 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure adutil and krb5-workstation] **** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:859 Wednesday 20 November 2024 05:18:06 -0500 (0:00:00.058) 0:01:55.533 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print credential caches to check if AD principal exists] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:866 Wednesday 20 November 2024 05:18:06 -0500 (0:00:00.060) 0:01:55.593 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:873 Wednesday 20 November 2024 05:18:06 -0500 (0:00:00.060) 0:01:55.654 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Obtain Kerberos ticket for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:882 Wednesday 20 November 2024 05:18:06 -0500 (0:00:00.113) 0:01:55.767 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Check if AD user exists] *************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:895 Wednesday 20 November 2024 05:18:06 -0500 (0:00:00.059) 0:01:55.826 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : In AD server create user] ************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:904 Wednesday 20 November 2024 05:18:06 -0500 (0:00:00.060) 0:01:55.887 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure proper configuration on user] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:918 Wednesday 20 November 2024 05:18:06 -0500 (0:00:00.059) 0:01:55.947 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get SPNs for the principal] ************ task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:928 Wednesday 20 November 2024 05:18:06 -0500 (0:00:00.062) 0:01:56.009 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register SPNs to the principal] ******** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:933 Wednesday 20 November 2024 05:18:06 -0500 (0:00:00.059) 0:01:56.068 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get kvno of the SPN host] ************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:950 Wednesday 20 November 2024 05:18:06 -0500 (0:00:00.059) 0:01:56.128 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get stats of the keytab file] ********** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:955 Wednesday 20 November 2024 05:18:06 -0500 (0:00:00.058) 0:01:56.187 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:960 Wednesday 20 November 2024 05:18:06 -0500 (0:00:00.060) 0:01:56.248 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:966 Wednesday 20 November 2024 05:18:06 -0500 (0:00:00.059) 0:01:56.307 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Add an entry in the keytab for the principal name and password] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:992 Wednesday 20 November 2024 05:18:06 -0500 (0:00:00.066) 0:01:56.373 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure correct permissions and ownership on the keytab] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1013 Wednesday 20 November 2024 05:18:07 -0500 (0:00:00.059) 0:01:56.433 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch keytab file to host] ************* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1021 Wednesday 20 November 2024 05:18:07 -0500 (0:00:00.061) 0:01:56.495 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1031 Wednesday 20 November 2024 05:18:07 -0500 (0:00:00.058) 0:01:56.553 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1037 Wednesday 20 November 2024 05:18:07 -0500 (0:00:00.061) 0:01:56.615 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with mssql_ha_replica_type=primary is available] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1055 Wednesday 20 November 2024 05:18:07 -0500 (0:00:00.058) 0:01:56.674 **** skipping: [managed-node1] => { "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: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1066 Wednesday 20 November 2024 05:18:07 -0500 (0:00:00.062) 0:01:56.736 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1086 Wednesday 20 November 2024 05:18:07 -0500 (0:00:00.061) 0:01:56.798 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1139 Wednesday 20 November 2024 05:18:07 -0500 (0:00:00.061) 0:01:56.859 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1146 Wednesday 20 November 2024 05:18:07 -0500 (0:00:00.061) 0:01:56.920 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1153 Wednesday 20 November 2024 05:18:07 -0500 (0:00:00.059) 0:01:56.980 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Wednesday 20 November 2024 05:18:07 -0500 (0:00:00.116) 0:01:57.097 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1169 Wednesday 20 November 2024 05:18:07 -0500 (0:00:00.059) 0:01:57.157 **** skipping: [managed-node1] => (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: [managed-node1] => (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 [fedora.linux_system_roles.mssql : Configure SQL entities on the primary replica] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1177 Wednesday 20 November 2024 05:18:07 -0500 (0:00:00.072) 0:01:57.229 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create login for HA on in SQL Server] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1186 Wednesday 20 November 2024 05:18:07 -0500 (0:00:00.058) 0:01:57.288 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch certificate files from the primary to the control node] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1194 Wednesday 20 November 2024 05:18:07 -0500 (0:00:00.064) 0:01:57.353 **** skipping: [managed-node1] => (item={u'key': u'cert', u'value': u'/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: [managed-node1] => (item={u'key': u'key', u'value': u'/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 [fedora.linux_system_roles.mssql : Get the current primary replica in SQL] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1208 Wednesday 20 November 2024 05:18:07 -0500 (0:00:00.074) 0:01:57.427 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set fact with the current primary replica] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1214 Wednesday 20 November 2024 05:18:08 -0500 (0:00:00.060) 0:01:57.487 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that primary instance hosts is available] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1236 Wednesday 20 November 2024 05:18:08 -0500 (0:00:00.058) 0:01:57.546 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1246 Wednesday 20 November 2024 05:18:08 -0500 (0:00:00.059) 0:01:57.605 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1255 Wednesday 20 November 2024 05:18:08 -0500 (0:00:00.059) 0:01:57.664 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1264 Wednesday 20 November 2024 05:18:08 -0500 (0:00:00.060) 0:01:57.724 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1275 Wednesday 20 November 2024 05:18:08 -0500 (0:00:00.058) 0:01:57.783 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with replica_type=primary is available] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1288 Wednesday 20 November 2024 05:18:08 -0500 (0:00:00.059) 0:01:57.843 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1297 Wednesday 20 November 2024 05:18:08 -0500 (0:00:00.059) 0:01:57.902 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1304 Wednesday 20 November 2024 05:18:08 -0500 (0:00:00.059) 0:01:57.962 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1311 Wednesday 20 November 2024 05:18:08 -0500 (0:00:00.057) 0:01:58.020 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1319 Wednesday 20 November 2024 05:18:08 -0500 (0:00:00.060) 0:01:58.081 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1326 Wednesday 20 November 2024 05:18:08 -0500 (0:00:00.058) 0:01:58.139 **** skipping: [managed-node1] => (item={u'key': u'cert', u'value': u'/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: [managed-node1] => (item={u'key': u'key', u'value': u'/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 [fedora.linux_system_roles.mssql : Configure SQL entities on not primary replicas] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1338 Wednesday 20 November 2024 05:18:08 -0500 (0:00:00.074) 0:01:58.214 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1347 Wednesday 20 November 2024 05:18:08 -0500 (0:00:00.058) 0:01:58.273 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Join to availability group] ************ task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1354 Wednesday 20 November 2024 05:18:08 -0500 (0:00:00.059) 0:01:58.333 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1360 Wednesday 20 November 2024 05:18:08 -0500 (0:00:00.063) 0:01:58.396 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key from the control node] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1368 Wednesday 20 November 2024 05:18:09 -0500 (0:00:00.116) 0:01:58.513 **** skipping: [managed-node1] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=key) => { "ansible_loop_var": "item", "changed": false, "item": "key", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Save credentials for the SQL Server login] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1381 Wednesday 20 November 2024 05:18:09 -0500 (0:00:00.069) 0:01:58.583 **** skipping: [managed-node1] => { "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: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1393 Wednesday 20 November 2024 05:18:09 -0500 (0:00:00.060) 0:01:58.643 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for the cluster to finish configuration] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1398 Wednesday 20 November 2024 05:18:09 -0500 (0:00:00.060) 0:01:58.704 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure listener for the availability group] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1406 Wednesday 20 November 2024 05:18:09 -0500 (0:00:00.060) 0:01:58.765 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1415 Wednesday 20 November 2024 05:18:09 -0500 (0:00:00.063) 0:01:58.828 **** changed: [managed-node1] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Wednesday 20 November 2024 05:18:09 -0500 (0:00:00.574) 0:01:59.403 **** changed: [managed-node1] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-11-20 05:17:03 EST", "ActiveEnterTimestampMonotonic": "1462245687", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target system.slice auditd.service systemd-journald.socket basic.target -.mount", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-11-20 05:17:03 EST", "AssertTimestampMonotonic": "1462244926", "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": "Wed 2024-11-20 05:17:03 EST", "ConditionTimestampMonotonic": "1462244925", "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": "28524", "ExecMainStartTimestamp": "Wed 2024-11-20 05:17:03 EST", "ExecMainStartTimestampMonotonic": "1462245632", "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": "Wed 2024-11-20 05:17:03 EST", "InactiveExitTimestampMonotonic": "1462245687", "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": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "28524", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target -.mount 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": "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": "Wed 2024-11-20 05:17:03 EST", "WatchdogTimestampMonotonic": "1462245667", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } META: ran handlers TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1428 Wednesday 20 November 2024 05:18:10 -0500 (0:00:00.725) 0:02:00.128 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1435 Wednesday 20 November 2024 05:18:10 -0500 (0:00:00.060) 0:02:00.189 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Configure the mssql-server service start limit interval and burst] ******* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_idempotency.yml:20 Wednesday 20 November 2024 05:18:10 -0500 (0:00:00.058) 0:02:00.247 **** included: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql-sever-increase-start-limit.yml for managed-node1 TASK [Modify the mssql-server service start limit interval] ******************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql-sever-increase-start-limit.yml:3 Wednesday 20 November 2024 05:18:11 -0500 (0:00:00.197) 0:02:00.445 **** changed: [managed-node1] => { "changed": true } MSG: 1 replacements made TASK [Modify the mssql-server service start limit burst] *********************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql-sever-increase-start-limit.yml:10 Wednesday 20 November 2024 05:18:11 -0500 (0:00:00.629) 0:02:01.075 **** changed: [managed-node1] => { "changed": true } MSG: 1 replacements made TASK [Reload service daemon] *************************************************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql-sever-increase-start-limit.yml:17 Wednesday 20 November 2024 05:18:12 -0500 (0:00:00.522) 0:02:01.597 **** ok: [managed-node1] => { "changed": false, "name": null, "status": {} } TASK [Run again with the same settings - should report not changed] ************ task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_idempotency.yml:23 Wednesday 20 November 2024 05:18:13 -0500 (0:00:00.891) 0:02:02.489 **** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Wednesday 20 November 2024 05:18:13 -0500 (0:00:00.384) 0:02:02.874 **** included: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Wednesday 20 November 2024 05:18:13 -0500 (0:00:00.099) 0:02:02.974 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Wednesday 20 November 2024 05:18:13 -0500 (0:00:00.076) 0:02:03.051 **** ok: [managed-node1] => (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 ], "__mssql_tuned_supported": true }, "ansible_included_var_files": [ "/tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node1] => (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": [ "/tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed-node1] => (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.mssql : Temporary debug] *********************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:6 Wednesday 20 November 2024 05:18:13 -0500 (0:00:00.095) 0:02:03.146 **** ok: [managed-node1] => (item=mssql_tools_versions) => { "ansible_loop_var": "item", "item": "mssql_tools_versions", "mssql_tools_versions": [ 18 ] } ok: [managed-node1] => (item=__sqlcmd_ver) => { "__sqlcmd_ver": "18", "ansible_loop_var": "item", "item": "__sqlcmd_ver" } ok: [managed-node1] => (item=__sqlcmd_cli) => { "__sqlcmd_cli": "/opt/mssql-tools18/bin/sqlcmd -No", "ansible_loop_var": "item", "item": "__sqlcmd_cli" } ok: [managed-node1] => (item=__mssql_client_packages) => { "__mssql_client_packages": [ "mssql-tools18", "unixODBC-devel" ], "ansible_loop_var": "item", "item": "__mssql_client_packages" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:16 Wednesday 20 November 2024 05:18:13 -0500 (0:00:00.086) 0:02:03.233 **** ok: [managed-node1] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [fedora.linux_system_roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Wednesday 20 November 2024 05:18:13 -0500 (0:00:00.124) 0:02:03.357 **** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:31 Wednesday 20 November 2024 05:18:13 -0500 (0:00:00.066) 0:02:03.424 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the variable is deprecated] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:38 Wednesday 20 November 2024 05:18:14 -0500 (0:00:00.063) 0:02:03.487 **** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:45 Wednesday 20 November 2024 05:18:14 -0500 (0:00:00.059) 0:02:03.547 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:52 Wednesday 20 November 2024 05:18:14 -0500 (0:00:00.062) 0:02:03.610 **** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:59 Wednesday 20 November 2024 05:18:14 -0500 (0:00:00.059) 0:02:03.670 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ha_cluster_run_role variable is deprecated] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:66 Wednesday 20 November 2024 05:18:14 -0500 (0:00:00.062) 0:02:03.732 **** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:73 Wednesday 20 November 2024 05:18:14 -0500 (0:00:00.058) 0:02:03.790 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fail on RHEL or CentOS 10 because it's not supported] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:77 Wednesday 20 November 2024 05:18:14 -0500 (0:00:00.061) 0:02:03.852 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that the user accepts EULA variables] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:84 Wednesday 20 November 2024 05:18:14 -0500 (0:00:00.062) 0:02:03.914 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Wednesday 20 November 2024 05:18:14 -0500 (0:00:00.071) 0:02:03.986 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:104 Wednesday 20 November 2024 05:18:14 -0500 (0:00:00.060) 0:02:04.046 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:113 Wednesday 20 November 2024 05:18:14 -0500 (0:00:00.062) 0:02:04.109 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:122 Wednesday 20 November 2024 05:18:14 -0500 (0:00:00.059) 0:02:04.168 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:132 Wednesday 20 November 2024 05:18:14 -0500 (0:00:00.062) 0:02:04.231 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_manage_selinux is set properly] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:141 Wednesday 20 November 2024 05:18:14 -0500 (0:00:00.062) 0:02:04.293 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:152 Wednesday 20 November 2024 05:18:14 -0500 (0:00:00.062) 0:02:04.356 **** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:156 Wednesday 20 November 2024 05:18:16 -0500 (0:00:01.498) 0:02:05.855 **** ok: [managed-node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_facts": { "__mssql_current_version": "2017" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 } } skipping: [managed-node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:164 Wednesday 20 November 2024 05:18:16 -0500 (0:00:00.167) 0:02:06.022 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:171 Wednesday 20 November 2024 05:18:16 -0500 (0:00:00.064) 0:02:06.087 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:178 Wednesday 20 November 2024 05:18:16 -0500 (0:00:00.067) 0:02:06.154 **** skipping: [managed-node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:192 Wednesday 20 November 2024 05:18:16 -0500 (0:00:00.116) 0:02:06.271 **** ok: [managed-node1] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:206 Wednesday 20 November 2024 05:18:17 -0500 (0:00:00.514) 0:02:06.785 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:216 Wednesday 20 November 2024 05:18:17 -0500 (0:00:00.063) 0:02:06.849 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:227 Wednesday 20 November 2024 05:18:17 -0500 (0:00:00.066) 0:02:06.915 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:241 Wednesday 20 November 2024 05:18:17 -0500 (0:00:00.064) 0:02:06.980 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:250 Wednesday 20 November 2024 05:18:17 -0500 (0:00:00.064) 0:02:07.044 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:262 Wednesday 20 November 2024 05:18:17 -0500 (0:00:00.064) 0:02:07.109 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:269 Wednesday 20 November 2024 05:18:17 -0500 (0:00:00.065) 0:02:07.175 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:281 Wednesday 20 November 2024 05:18:17 -0500 (0:00:00.084) 0:02:07.259 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure to run as a confined application with SELinux] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:294 Wednesday 20 November 2024 05:18:17 -0500 (0:00:00.123) 0:02:07.383 **** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-selinux is not installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server] ******* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:299 Wednesday 20 November 2024 05:18:18 -0500 (0:00:00.593) 0:02:07.976 **** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3465.1-1.x86_64 providing mssql-server is already installed" ] } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:304 Wednesday 20 November 2024 05:18:19 -0500 (0:00:00.525) 0:02:08.501 **** ok: [managed-node1] => { "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.004964", "end": "2024-11-20 05:18:19.323612", "rc": 0, "start": "2024-11-20 05:18:19.318648" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:320 Wednesday 20 November 2024 05:18:19 -0500 (0:00:00.338) 0:02:08.840 **** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set the __mssql_is_setup variable] ***** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:324 Wednesday 20 November 2024 05:18:20 -0500 (0:00:00.878) 0:02:09.719 **** ok: [managed-node1] => { "ansible_facts": { "__mssql_is_setup": true }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:333 Wednesday 20 November 2024 05:18:20 -0500 (0:00:00.083) 0:02:09.802 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:349 Wednesday 20 November 2024 05:18:20 -0500 (0:00:00.060) 0:02:09.863 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions for datadir and logdir] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:374 Wednesday 20 November 2024 05:18:20 -0500 (0:00:00.061) 0:02:09.925 **** included: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml for managed-node1 included: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions /tmp/mssql_data] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Wednesday 20 November 2024 05:18:20 -0500 (0:00:00.130) 0:02:10.055 **** ok: [managed-node1] => { "changed": false, "gid": 994, "group": "mssql", "mode": "0755", "owner": "mssql", "path": "/tmp/mssql_data", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 4096, "state": "directory", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Append facts for the selinux role] ***** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:12 Wednesday 20 November 2024 05:18:21 -0500 (0:00:00.402) 0:02:10.457 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the setting defaultdatadir] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:28 Wednesday 20 November 2024 05:18:21 -0500 (0:00:00.069) 0:02:10.527 **** included: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting filelocation defaultdatadir] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 20 November 2024 05:18:21 -0500 (0:00:00.107) 0:02:10.634 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003191", "end": "2024-11-20 05:18:21.449465", "failed_when_result": false, "rc": 0, "start": "2024-11-20 05:18:21.446274" } STDOUT: defaultdatadir = /tmp/mssql_data TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultdatadir] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 20 November 2024 05:18:21 -0500 (0:00:00.336) 0:02:10.970 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting filelocation defaultdatadir] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 20 November 2024 05:18:21 -0500 (0:00:00.070) 0:02:11.041 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions /tmp/mssql_log] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Wednesday 20 November 2024 05:18:21 -0500 (0:00:00.065) 0:02:11.106 **** ok: [managed-node1] => { "changed": false, "gid": 994, "group": "mssql", "mode": "0755", "owner": "mssql", "path": "/tmp/mssql_log", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 4096, "state": "directory", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Append facts for the selinux role] ***** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:12 Wednesday 20 November 2024 05:18:22 -0500 (0:00:00.343) 0:02:11.450 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the setting defaultlogdir] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:28 Wednesday 20 November 2024 05:18:22 -0500 (0:00:00.067) 0:02:11.517 **** included: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting filelocation defaultlogdir] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 20 November 2024 05:18:22 -0500 (0:00:00.106) 0:02:11.624 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003160", "end": "2024-11-20 05:18:22.434089", "failed_when_result": false, "rc": 0, "start": "2024-11-20 05:18:22.430929" } STDOUT: defaultlogdir = /tmp/mssql_log TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultlogdir] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 20 November 2024 05:18:22 -0500 (0:00:00.328) 0:02:11.953 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting filelocation defaultlogdir] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 20 November 2024 05:18:22 -0500 (0:00:00.070) 0:02:12.023 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set selinux role facts for ports] ****** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:389 Wednesday 20 November 2024 05:18:22 -0500 (0:00:00.062) 0:02:12.086 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:403 Wednesday 20 November 2024 05:18:22 -0500 (0:00:00.061) 0:02:12.147 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:414 Wednesday 20 November 2024 05:18:22 -0500 (0:00:00.062) 0:02:12.210 **** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:420 Wednesday 20 November 2024 05:18:23 -0500 (0:00:00.626) 0:02:12.836 **** ok: [managed-node1] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-11-20 04:52:50 EST", "ActiveEnterTimestampMonotonic": "8456723", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-sysctl.service basic.target network.target dbus.service system.slice systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-11-20 04:52:49 EST", "AssertTimestampMonotonic": "7668447", "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": "Wed 2024-11-20 04:52:49 EST", "ConditionTimestampMonotonic": "7668446", "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": "851", "ExecMainStartTimestamp": "Wed 2024-11-20 04:52:49 EST", "ExecMainStartTimestampMonotonic": "7668979", "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": "Wed 2024-11-20 04:52:49 EST", "InactiveExitTimestampMonotonic": "7669032", "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": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "851", "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 polkit.service dbus.service basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2024-11-20 04:52:50 EST", "WatchdogTimestampMonotonic": "8456679", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:427 Wednesday 20 November 2024 05:18:23 -0500 (0:00:00.420) 0:02:13.256 **** ok: [managed-node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.090131", "end": "2024-11-20 05:18:24.149613", "rc": 0, "start": "2024-11-20 05:18:24.059482" } STDOUT: Current active profile: virtual-guest mssql TASK [fedora.linux_system_roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:440 Wednesday 20 November 2024 05:18:24 -0500 (0:00:00.414) 0:02:13.670 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:453 Wednesday 20 November 2024 05:18:24 -0500 (0:00:00.063) 0:02:13.733 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:462 Wednesday 20 November 2024 05:18:24 -0500 (0:00:00.065) 0:02:13.798 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:472 Wednesday 20 November 2024 05:18:24 -0500 (0:00:00.062) 0:02:13.861 **** ok: [managed-node1] => { "changed": false, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:480 Wednesday 20 November 2024 05:18:24 -0500 (0:00:00.332) 0:02:14.193 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:489 Wednesday 20 November 2024 05:18:24 -0500 (0:00:00.060) 0:02:14.253 **** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "mssql-tools18-18.4.1.1-1.x86_64 providing mssql-tools18 is already installed", "unixODBC-devel-2.3.11-1.rh.x86_64 providing unixODBC-devel is already installed" ] } TASK [Create certificates using the certificate role] ************************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:506 Wednesday 20 November 2024 05:18:25 -0500 (0:00:00.529) 0:02:14.783 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:520 Wednesday 20 November 2024 05:18:25 -0500 (0:00:00.060) 0:02:14.843 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Copy certificate and private_key files to the host] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:525 Wednesday 20 November 2024 05:18:25 -0500 (0:00:00.062) 0:02:14.906 **** skipping: [managed-node1] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:543 Wednesday 20 November 2024 05:18:25 -0500 (0:00:00.068) 0:02:14.975 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlskey setting] ********** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:552 Wednesday 20 November 2024 05:18:25 -0500 (0:00:00.113) 0:02:15.089 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlsprotocols setting] **** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:561 Wednesday 20 November 2024 05:18:25 -0500 (0:00:00.062) 0:02:15.151 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the forceencryption setting] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:568 Wednesday 20 November 2024 05:18:25 -0500 (0:00:00.062) 0:02:15.214 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get the setting forceencryption] ******* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:577 Wednesday 20 November 2024 05:18:25 -0500 (0:00:00.061) 0:02:15.275 **** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail; grep '^forceencryption' /var/opt/mssql/mssql.conf | sed 's/forceencryption = //g'", "delta": "0:00:00.004496", "end": "2024-11-20 05:18:26.090029", "failed_when_result": false, "rc": 1, "start": "2024-11-20 05:18:26.085533" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Append -No to sqlcmd when TLS is not configured] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:586 Wednesday 20 November 2024 05:18:26 -0500 (0:00:00.330) 0:02:15.606 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Append -C to sqlcmd when TLS is configured but certs are self-signed] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:593 Wednesday 20 November 2024 05:18:26 -0500 (0:00:00.066) 0:02:15.673 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:606 Wednesday 20 November 2024 05:18:26 -0500 (0:00:00.066) 0:02:15.740 **** included: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Wednesday 20 November 2024 05:18:26 -0500 (0:00:00.114) 0:02:15.854 **** ok: [managed-node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-11-20 05:18:10 EST", "ActiveEnterTimestampMonotonic": "1528886116", "ActiveExitTimestamp": "Wed 2024-11-20 05:18:10 EST", "ActiveExitTimestampMonotonic": "1528656241", "ActiveState": "active", "After": "basic.target network.target auditd.service -.mount system.slice systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-11-20 05:18:10 EST", "AssertTimestampMonotonic": "1528885305", "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": "Wed 2024-11-20 05:18:10 EST", "ConditionTimestampMonotonic": "1528885304", "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": "30300", "ExecMainStartTimestamp": "Wed 2024-11-20 05:18:10 EST", "ExecMainStartTimestampMonotonic": "1528886043", "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": "Wed 2024-11-20 05:18:10 EST", "InactiveEnterTimestampMonotonic": "1528884372", "InactiveExitTimestamp": "Wed 2024-11-20 05:18:10 EST", "InactiveExitTimestampMonotonic": "1528886116", "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": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "30300", "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": "Wed 2024-11-20 05:18:10 EST", "WatchdogTimestampMonotonic": "1528886092", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Wednesday 20 November 2024 05:18:26 -0500 (0:00:00.425) 0:02:16.279 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002753", "end": "2024-11-20 05:18:27.093001", "failed_when_result": false, "rc": 1, "start": "2024-11-20 05:18:27.090248" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Wednesday 20 November 2024 05:18:27 -0500 (0:00:00.329) 0:02:16.609 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002846", "end": "2024-11-20 05:18:27.423797", "failed_when_result": false, "rc": 0, "start": "2024-11-20 05:18:27.420951" } STDOUT: ipaddress = 0.0.0.0 TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Wednesday 20 November 2024 05:18:27 -0500 (0:00:00.329) 0:02:16.938 **** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Wednesday 20 November 2024 05:18:27 -0500 (0:00:00.079) 0:02:17.017 **** ok: [managed-node1] => { "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": 7454, "state": "file", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:616 Wednesday 20 November 2024 05:18:29 -0500 (0:00:01.510) 0:02:18.527 **** ok: [managed-node1] => { "attempts": 1, "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:631 Wednesday 20 November 2024 05:18:29 -0500 (0:00:00.363) 0:02:18.891 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:638 Wednesday 20 November 2024 05:18:29 -0500 (0:00:00.064) 0:02:18.956 **** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the password of sa user] ******** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:646 Wednesday 20 November 2024 05:18:30 -0500 (0:00:01.178) 0:02:20.134 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script files to SQL Server] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:667 Wednesday 20 November 2024 05:18:30 -0500 (0:00:00.070) 0:02:20.204 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script contents to SQL Server] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:674 Wednesday 20 November 2024 05:18:30 -0500 (0:00:00.062) 0:02:20.267 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set edition matches the existing edition] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:685 Wednesday 20 November 2024 05:18:30 -0500 (0:00:00.061) 0:02:20.328 **** ok: [managed-node1] => { "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.004492", "end": "2024-11-20 05:18:31.143967", "rc": 0, "start": "2024-11-20 05:18:31.139475" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:699 Wednesday 20 November 2024 05:18:31 -0500 (0:00:00.354) 0:02:20.682 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:706 Wednesday 20 November 2024 05:18:31 -0500 (0:00:00.067) 0:02:20.750 **** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the edition of MSSQL] *********** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:712 Wednesday 20 November 2024 05:18:32 -0500 (0:00:01.165) 0:02:21.915 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the IP address setting] ****** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:731 Wednesday 20 November 2024 05:18:32 -0500 (0:00:00.068) 0:02:21.983 **** included: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting network ipaddress] ***** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 20 November 2024 05:18:32 -0500 (0:00:00.115) 0:02:22.099 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002915", "end": "2024-11-20 05:18:32.909721", "failed_when_result": false, "rc": 0, "start": "2024-11-20 05:18:32.906806" } STDOUT: ipaddress = 0.0.0.0 TASK [fedora.linux_system_roles.mssql : Configure the setting network ipaddress] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 20 November 2024 05:18:32 -0500 (0:00:00.326) 0:02:22.426 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network ipaddress] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 20 November 2024 05:18:33 -0500 (0:00:00.068) 0:02:22.495 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:738 Wednesday 20 November 2024 05:18:33 -0500 (0:00:00.065) 0:02:22.560 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:745 Wednesday 20 November 2024 05:18:33 -0500 (0:00:00.065) 0:02:22.626 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the TCP port setting to 1433] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:757 Wednesday 20 November 2024 05:18:33 -0500 (0:00:00.117) 0:02:22.744 **** included: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tcpport] ******* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 20 November 2024 05:18:33 -0500 (0:00:00.113) 0:02:22.857 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002977", "end": "2024-11-20 05:18:33.665390", "failed_when_result": false, "rc": 1, "start": "2024-11-20 05:18:33.662413" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 20 November 2024 05:18:33 -0500 (0:00:00.325) 0:02:23.183 **** ok: [managed-node1] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.044546", "end": "2024-11-20 05:18:34.035517", "failed_when_result": false, "rc": 0, "start": "2024-11-20 05:18:33.990971" } STDOUT: Validation error on setting 'network.tcpport' Port '1433' is already in use. Please use another port TASK [fedora.linux_system_roles.mssql : Unset the setting network tcpport] ***** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 20 November 2024 05:18:34 -0500 (0:00:00.377) 0:02:23.560 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:763 Wednesday 20 November 2024 05:18:34 -0500 (0:00:00.065) 0:02:23.626 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:783 Wednesday 20 November 2024 05:18:34 -0500 (0:00:00.062) 0:02:23.688 **** included: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting sqlagent enabled] ****** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 20 November 2024 05:18:34 -0500 (0:00:00.115) 0:02:23.804 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002876", "end": "2024-11-20 05:18:34.624498", "failed_when_result": false, "rc": 0, "start": "2024-11-20 05:18:34.621622" } STDOUT: enabled = True TASK [fedora.linux_system_roles.mssql : Configure the setting sqlagent enabled] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 20 November 2024 05:18:34 -0500 (0:00:00.338) 0:02:24.142 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting sqlagent enabled] **** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 20 November 2024 05:18:34 -0500 (0:00:00.068) 0:02:24.211 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:790 Wednesday 20 November 2024 05:18:34 -0500 (0:00:00.065) 0:02:24.276 **** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-fts-14.0.3465.1-1.x86_64 providing mssql-server-fts is already installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:797 Wednesday 20 November 2024 05:18:35 -0500 (0:00:00.536) 0:02:24.812 **** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "powershell-7.3.12-1.rh.x86_64 providing powershell is already installed" ] } TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:806 Wednesday 20 November 2024 05:18:35 -0500 (0:00:00.579) 0:02:25.392 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003546", "end": "2024-11-20 05:18:36.207014", "failed_when_result": false, "rc": 0, "start": "2024-11-20 05:18:36.203468" } STDOUT: traceflag0 = 3979 TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:812 Wednesday 20 November 2024 05:18:36 -0500 (0:00:00.331) 0:02:25.724 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:819 Wednesday 20 November 2024 05:18:36 -0500 (0:00:00.066) 0:02:25.790 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:827 Wednesday 20 November 2024 05:18:36 -0500 (0:00:00.062) 0:02:25.853 **** included: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting control alternatewritethrough] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 20 November 2024 05:18:36 -0500 (0:00:00.113) 0:02:25.967 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003162", "end": "2024-11-20 05:18:36.787872", "failed_when_result": false, "rc": 0, "start": "2024-11-20 05:18:36.784710" } STDOUT: alternatewritethrough = 0 TASK [fedora.linux_system_roles.mssql : Configure the setting control alternatewritethrough] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 20 November 2024 05:18:36 -0500 (0:00:00.342) 0:02:26.309 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting control alternatewritethrough] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 20 November 2024 05:18:36 -0500 (0:00:00.070) 0:02:26.380 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:833 Wednesday 20 November 2024 05:18:37 -0500 (0:00:00.066) 0:02:26.446 **** included: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting control writethrough] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 20 November 2024 05:18:37 -0500 (0:00:00.116) 0:02:26.563 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002937", "end": "2024-11-20 05:18:37.385573", "failed_when_result": false, "rc": 0, "start": "2024-11-20 05:18:37.382636" } STDOUT: writethrough = 1 TASK [fedora.linux_system_roles.mssql : Configure the setting control writethrough] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 20 November 2024 05:18:37 -0500 (0:00:00.340) 0:02:26.903 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting control writethrough] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 20 November 2024 05:18:37 -0500 (0:00:00.073) 0:02:26.976 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that ad_integration_realm variable is provided] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Wednesday 20 November 2024 05:18:37 -0500 (0:00:00.064) 0:02:27.041 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:851 Wednesday 20 November 2024 05:18:37 -0500 (0:00:00.062) 0:02:27.104 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure adutil and krb5-workstation] **** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:859 Wednesday 20 November 2024 05:18:37 -0500 (0:00:00.126) 0:02:27.231 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print credential caches to check if AD principal exists] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:866 Wednesday 20 November 2024 05:18:37 -0500 (0:00:00.062) 0:02:27.294 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:873 Wednesday 20 November 2024 05:18:37 -0500 (0:00:00.068) 0:02:27.362 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Obtain Kerberos ticket for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:882 Wednesday 20 November 2024 05:18:37 -0500 (0:00:00.065) 0:02:27.428 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Check if AD user exists] *************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:895 Wednesday 20 November 2024 05:18:38 -0500 (0:00:00.065) 0:02:27.493 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : In AD server create user] ************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:904 Wednesday 20 November 2024 05:18:38 -0500 (0:00:00.064) 0:02:27.558 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure proper configuration on user] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:918 Wednesday 20 November 2024 05:18:38 -0500 (0:00:00.069) 0:02:27.627 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get SPNs for the principal] ************ task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:928 Wednesday 20 November 2024 05:18:38 -0500 (0:00:00.063) 0:02:27.691 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register SPNs to the principal] ******** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:933 Wednesday 20 November 2024 05:18:38 -0500 (0:00:00.065) 0:02:27.756 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get kvno of the SPN host] ************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:950 Wednesday 20 November 2024 05:18:38 -0500 (0:00:00.064) 0:02:27.821 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get stats of the keytab file] ********** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:955 Wednesday 20 November 2024 05:18:38 -0500 (0:00:00.061) 0:02:27.883 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:960 Wednesday 20 November 2024 05:18:38 -0500 (0:00:00.064) 0:02:27.947 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:966 Wednesday 20 November 2024 05:18:38 -0500 (0:00:00.061) 0:02:28.009 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Add an entry in the keytab for the principal name and password] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:992 Wednesday 20 November 2024 05:18:38 -0500 (0:00:00.063) 0:02:28.073 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure correct permissions and ownership on the keytab] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1013 Wednesday 20 November 2024 05:18:38 -0500 (0:00:00.060) 0:02:28.134 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch keytab file to host] ************* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1021 Wednesday 20 November 2024 05:18:38 -0500 (0:00:00.063) 0:02:28.197 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1031 Wednesday 20 November 2024 05:18:38 -0500 (0:00:00.061) 0:02:28.258 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1037 Wednesday 20 November 2024 05:18:38 -0500 (0:00:00.061) 0:02:28.320 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with mssql_ha_replica_type=primary is available] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1055 Wednesday 20 November 2024 05:18:38 -0500 (0:00:00.063) 0:02:28.384 **** skipping: [managed-node1] => { "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: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1066 Wednesday 20 November 2024 05:18:39 -0500 (0:00:00.062) 0:02:28.446 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1086 Wednesday 20 November 2024 05:18:39 -0500 (0:00:00.128) 0:02:28.575 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1139 Wednesday 20 November 2024 05:18:39 -0500 (0:00:00.070) 0:02:28.645 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1146 Wednesday 20 November 2024 05:18:39 -0500 (0:00:00.065) 0:02:28.711 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1153 Wednesday 20 November 2024 05:18:39 -0500 (0:00:00.063) 0:02:28.774 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Wednesday 20 November 2024 05:18:39 -0500 (0:00:00.064) 0:02:28.839 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1169 Wednesday 20 November 2024 05:18:39 -0500 (0:00:00.062) 0:02:28.901 **** skipping: [managed-node1] => (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: [managed-node1] => (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 [fedora.linux_system_roles.mssql : Configure SQL entities on the primary replica] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1177 Wednesday 20 November 2024 05:18:39 -0500 (0:00:00.075) 0:02:28.977 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create login for HA on in SQL Server] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1186 Wednesday 20 November 2024 05:18:39 -0500 (0:00:00.061) 0:02:29.038 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch certificate files from the primary to the control node] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1194 Wednesday 20 November 2024 05:18:39 -0500 (0:00:00.064) 0:02:29.102 **** skipping: [managed-node1] => (item={u'key': u'cert', u'value': u'/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: [managed-node1] => (item={u'key': u'key', u'value': u'/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 [fedora.linux_system_roles.mssql : Get the current primary replica in SQL] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1208 Wednesday 20 November 2024 05:18:39 -0500 (0:00:00.078) 0:02:29.181 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set fact with the current primary replica] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1214 Wednesday 20 November 2024 05:18:39 -0500 (0:00:00.062) 0:02:29.243 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that primary instance hosts is available] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1236 Wednesday 20 November 2024 05:18:39 -0500 (0:00:00.064) 0:02:29.308 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1246 Wednesday 20 November 2024 05:18:39 -0500 (0:00:00.062) 0:02:29.371 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1255 Wednesday 20 November 2024 05:18:40 -0500 (0:00:00.064) 0:02:29.435 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1264 Wednesday 20 November 2024 05:18:40 -0500 (0:00:00.061) 0:02:29.497 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1275 Wednesday 20 November 2024 05:18:40 -0500 (0:00:00.064) 0:02:29.562 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with replica_type=primary is available] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1288 Wednesday 20 November 2024 05:18:40 -0500 (0:00:00.064) 0:02:29.626 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1297 Wednesday 20 November 2024 05:18:40 -0500 (0:00:00.065) 0:02:29.692 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1304 Wednesday 20 November 2024 05:18:40 -0500 (0:00:00.062) 0:02:29.755 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1311 Wednesday 20 November 2024 05:18:40 -0500 (0:00:00.061) 0:02:29.816 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1319 Wednesday 20 November 2024 05:18:40 -0500 (0:00:00.130) 0:02:29.946 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1326 Wednesday 20 November 2024 05:18:40 -0500 (0:00:00.063) 0:02:30.010 **** skipping: [managed-node1] => (item={u'key': u'cert', u'value': u'/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: [managed-node1] => (item={u'key': u'key', u'value': u'/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 [fedora.linux_system_roles.mssql : Configure SQL entities on not primary replicas] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1338 Wednesday 20 November 2024 05:18:40 -0500 (0:00:00.080) 0:02:30.090 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1347 Wednesday 20 November 2024 05:18:40 -0500 (0:00:00.062) 0:02:30.152 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Join to availability group] ************ task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1354 Wednesday 20 November 2024 05:18:40 -0500 (0:00:00.063) 0:02:30.216 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1360 Wednesday 20 November 2024 05:18:40 -0500 (0:00:00.064) 0:02:30.281 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key from the control node] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1368 Wednesday 20 November 2024 05:18:40 -0500 (0:00:00.064) 0:02:30.345 **** skipping: [managed-node1] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=key) => { "ansible_loop_var": "item", "changed": false, "item": "key", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Save credentials for the SQL Server login] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1381 Wednesday 20 November 2024 05:18:40 -0500 (0:00:00.074) 0:02:30.420 **** skipping: [managed-node1] => { "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: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1393 Wednesday 20 November 2024 05:18:41 -0500 (0:00:00.062) 0:02:30.482 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for the cluster to finish configuration] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1398 Wednesday 20 November 2024 05:18:41 -0500 (0:00:00.064) 0:02:30.546 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure listener for the availability group] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1406 Wednesday 20 November 2024 05:18:41 -0500 (0:00:00.065) 0:02:30.612 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1415 Wednesday 20 November 2024 05:18:41 -0500 (0:00:00.068) 0:02:30.680 **** ok: [managed-node1] => { "changed": false } META: ran handlers TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1428 Wednesday 20 November 2024 05:18:41 -0500 (0:00:00.464) 0:02:31.145 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1435 Wednesday 20 November 2024 05:18:41 -0500 (0:00:00.060) 0:02:31.206 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify settings] ********************************************************* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_idempotency.yml:38 Wednesday 20 November 2024 05:18:41 -0500 (0:00:00.063) 0:02:31.270 **** included: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml for managed-node1 TASK [Check if the errorlog file exists and its location] ********************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:8 Wednesday 20 November 2024 05:18:42 -0500 (0:00:00.395) 0:02:31.665 **** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\nerrorlog=\"$(grep '^errorlogfile' /var/opt/mssql/mssql.conf \\\n2>&1 | sed 's\\errorlogfile : \\\\')\" || :\nif [ -f \"${errorlog}\" ]; then\n echo \"${errorlog}\"\nelif [ -f /var/opt/mssql/log/errorlog ]; then\n echo \"/var/opt/mssql/log/errorlog\"\nelse\n echo \"\"\nfi\n", "delta": "0:00:00.005055", "end": "2024-11-20 05:18:42.483914", "rc": 0, "start": "2024-11-20 05:18:42.478859" } STDOUT: /var/opt/mssql/log/errorlog TASK [Check if the set edition matches the existing edition] ******************* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:23 Wednesday 20 November 2024 05:18:42 -0500 (0:00:00.334) 0:02:32.000 **** ok: [managed-node1] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Evaluation edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n echo false\nelse\n echo true\nfi\n", "delta": "0:00:00.004778", "end": "2024-11-20 05:18:42.814074", "rc": 0, "start": "2024-11-20 05:18:42.809296" } STDOUT: true TASK [Verify if the edition matches] ******************************************* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:35 Wednesday 20 November 2024 05:18:42 -0500 (0:00:00.330) 0:02:32.330 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting {{ item.key }}] *************************************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:39 Wednesday 20 November 2024 05:18:42 -0500 (0:00:00.073) 0:02:32.403 **** included: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node1 included: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node1 included: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node1 included: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node1 included: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node1 TASK [Get the value of the setting ipaddress] ********************************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Wednesday 20 November 2024 05:18:43 -0500 (0:00:00.163) 0:02:32.567 **** ok: [managed-node1] => { "changed": false, "cmd": "grep '^ipaddress' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004230", "end": "2024-11-20 05:18:43.386512", "rc": 0, "start": "2024-11-20 05:18:43.382282" } STDOUT: ipaddress = 0.0.0.0 TASK [Verify the setting when it is type str ipaddress] ************************ task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Wednesday 20 November 2024 05:18:43 -0500 (0:00:00.339) 0:02:32.906 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool ipaddress] *********************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Wednesday 20 November 2024 05:18:43 -0500 (0:00:00.080) 0:02:32.987 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 0.0.0.0] ******************************************* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Wednesday 20 November 2024 05:18:43 -0500 (0:00:00.064) 0:02:33.051 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting defaultdatadir] ***************************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Wednesday 20 November 2024 05:18:43 -0500 (0:00:00.066) 0:02:33.117 **** ok: [managed-node1] => { "changed": false, "cmd": "grep '^defaultdatadir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004477", "end": "2024-11-20 05:18:43.933079", "rc": 0, "start": "2024-11-20 05:18:43.928602" } STDOUT: defaultdatadir = /tmp/mssql_data TASK [Verify the setting when it is type str defaultdatadir] ******************* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Wednesday 20 November 2024 05:18:44 -0500 (0:00:00.335) 0:02:33.453 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultdatadir] ****************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Wednesday 20 November 2024 05:18:44 -0500 (0:00:00.082) 0:02:33.536 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /tmp/mssql_data] *********************************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Wednesday 20 November 2024 05:18:44 -0500 (0:00:00.065) 0:02:33.601 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting enabled] ************************************ task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Wednesday 20 November 2024 05:18:44 -0500 (0:00:00.145) 0:02:33.747 **** ok: [managed-node1] => { "changed": false, "cmd": "grep '^enabled' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.003854", "end": "2024-11-20 05:18:44.569496", "rc": 0, "start": "2024-11-20 05:18:44.565642" } STDOUT: enabled = True TASK [Verify the setting when it is type str enabled] ************************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Wednesday 20 November 2024 05:18:44 -0500 (0:00:00.342) 0:02:34.090 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool enabled] ************************* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Wednesday 20 November 2024 05:18:44 -0500 (0:00:00.067) 0:02:34.157 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Wednesday 20 November 2024 05:18:44 -0500 (0:00:00.089) 0:02:34.247 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting defaultlogdir] ****************************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Wednesday 20 November 2024 05:18:44 -0500 (0:00:00.068) 0:02:34.315 **** ok: [managed-node1] => { "changed": false, "cmd": "grep '^defaultlogdir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004279", "end": "2024-11-20 05:18:45.140598", "rc": 0, "start": "2024-11-20 05:18:45.136319" } STDOUT: defaultlogdir = /tmp/mssql_log TASK [Verify the setting when it is type str defaultlogdir] ******************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Wednesday 20 November 2024 05:18:45 -0500 (0:00:00.351) 0:02:34.666 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultlogdir] ******************* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Wednesday 20 November 2024 05:18:45 -0500 (0:00:00.085) 0:02:34.752 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /tmp/mssql_log] ************************************ task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Wednesday 20 November 2024 05:18:45 -0500 (0:00:00.067) 0:02:34.819 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting tcpport] ************************************ task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Wednesday 20 November 2024 05:18:45 -0500 (0:00:00.067) 0:02:34.887 **** ok: [managed-node1] => { "changed": false, "cmd": "grep '^tcpport' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004261", "end": "2024-11-20 05:18:45.708101", "rc": 0, "start": "2024-11-20 05:18:45.703840" } TASK [Verify the setting when it is type str tcpport] ************************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Wednesday 20 November 2024 05:18:45 -0500 (0:00:00.338) 0:02:35.226 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool tcpport] ************************* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Wednesday 20 November 2024 05:18:45 -0500 (0:00:00.067) 0:02:35.293 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1433] ********************************************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Wednesday 20 November 2024 05:18:45 -0500 (0:00:00.065) 0:02:35.359 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get stat of mssql_datadir] *********************************************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:55 Wednesday 20 November 2024 05:18:46 -0500 (0:00:00.073) 0:02:35.432 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_datadir has proper permissions and ownership] ********** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:60 Wednesday 20 November 2024 05:18:46 -0500 (0:00:00.062) 0:02:35.495 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:70 Wednesday 20 November 2024 05:18:46 -0500 (0:00:00.062) 0:02:35.558 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_logdir has proper permissions and ownership] *********** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:75 Wednesday 20 November 2024 05:18:46 -0500 (0:00:00.061) 0:02:35.619 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:85 Wednesday 20 November 2024 05:18:46 -0500 (0:00:00.138) 0:02:35.757 **** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Wednesday 20 November 2024 05:18:46 -0500 (0:00:00.122) 0:02:35.880 **** ok: [managed-node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-11-20 05:18:10 EST", "ActiveEnterTimestampMonotonic": "1528886116", "ActiveExitTimestamp": "Wed 2024-11-20 05:18:10 EST", "ActiveExitTimestampMonotonic": "1528656241", "ActiveState": "active", "After": "basic.target network.target auditd.service -.mount system.slice systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-11-20 05:18:10 EST", "AssertTimestampMonotonic": "1528885305", "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": "Wed 2024-11-20 05:18:10 EST", "ConditionTimestampMonotonic": "1528885304", "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": "30300", "ExecMainStartTimestamp": "Wed 2024-11-20 05:18:10 EST", "ExecMainStartTimestampMonotonic": "1528886043", "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": "Wed 2024-11-20 05:18:10 EST", "InactiveEnterTimestampMonotonic": "1528884372", "InactiveExitTimestamp": "Wed 2024-11-20 05:18:10 EST", "InactiveExitTimestampMonotonic": "1528886116", "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": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "30300", "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": "Wed 2024-11-20 05:18:10 EST", "WatchdogTimestampMonotonic": "1528886092", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Wednesday 20 November 2024 05:18:46 -0500 (0:00:00.427) 0:02:36.307 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003286", "end": "2024-11-20 05:18:47.125448", "failed_when_result": false, "rc": 1, "start": "2024-11-20 05:18:47.122162" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Wednesday 20 November 2024 05:18:47 -0500 (0:00:00.333) 0:02:36.641 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002864", "end": "2024-11-20 05:18:47.453515", "failed_when_result": false, "rc": 0, "start": "2024-11-20 05:18:47.450651" } STDOUT: ipaddress = 0.0.0.0 TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Wednesday 20 November 2024 05:18:47 -0500 (0:00:00.327) 0:02:36.969 **** ok: [managed-node1] => { "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: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Wednesday 20 November 2024 05:18:47 -0500 (0:00:00.080) 0:02:37.049 **** ok: [managed-node1] => { "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": 7454, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:99 Wednesday 20 November 2024 05:18:48 -0500 (0:00:01.327) 0:02:38.377 **** ok: [managed-node1] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools18/bin/sqlcmd", "-No", "-S", "0.0.0.0", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.019700", "end": "2024-11-20 05:18:49.236175", "rc": 0, "start": "2024-11-20 05:18:49.216475" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2017 (RTM-CU31-GDR) (KB5029376) - 14.0.3465.1 (X64) Jul 30 2023 15:31:58 Copyright (C) 2017 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:118 Wednesday 20 November 2024 05:18:49 -0500 (0:00:00.387) 0:02:38.764 **** ok: [managed-node1] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:122 Wednesday 20 November 2024 05:18:49 -0500 (0:00:00.067) 0:02:38.832 **** included: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml for managed-node1 TASK [Gather package facts] **************************************************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml:7 Wednesday 20 November 2024 05:18:49 -0500 (0:00:00.175) 0:02:39.008 **** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Verify if the package is installed mssql-server-fts] ********************* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml:12 Wednesday 20 November 2024 05:18:50 -0500 (0:00:01.184) 0:02:40.192 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify if the package is not installed mssql-server-fts] ***************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml:17 Wednesday 20 November 2024 05:18:50 -0500 (0:00:00.096) 0:02:40.288 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:129 Wednesday 20 November 2024 05:18:50 -0500 (0:00:00.063) 0:02:40.352 **** included: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml for managed-node1 TASK [Gather package facts] **************************************************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml:7 Wednesday 20 November 2024 05:18:51 -0500 (0:00:00.113) 0:02:40.465 **** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Verify if the package is installed powershell] *************************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml:12 Wednesday 20 November 2024 05:18:52 -0500 (0:00:01.335) 0:02:41.801 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify if the package is not installed powershell] *********************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml:17 Wednesday 20 November 2024 05:18:52 -0500 (0:00:00.094) 0:02:41.896 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:140 Wednesday 20 November 2024 05:18:52 -0500 (0:00:00.066) 0:02:41.963 **** ok: [managed-node1] => { "changed": false, "cmd": "grep '^traceflag' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004533", "end": "2024-11-20 05:18:52.779814", "rc": 0, "start": "2024-11-20 05:18:52.775281" } STDOUT: traceflag0 = 3979 TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:145 Wednesday 20 November 2024 05:18:52 -0500 (0:00:00.333) 0:02:42.297 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:150 Wednesday 20 November 2024 05:18:52 -0500 (0:00:00.072) 0:02:42.369 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:156 Wednesday 20 November 2024 05:18:53 -0500 (0:00:00.064) 0:02:42.433 **** included: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node1 TASK [Get the value of the setting alternatewritethrough] ********************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Wednesday 20 November 2024 05:18:53 -0500 (0:00:00.114) 0:02:42.547 **** ok: [managed-node1] => { "changed": false, "cmd": "grep '^alternatewritethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004070", "end": "2024-11-20 05:18:53.363297", "rc": 0, "start": "2024-11-20 05:18:53.359227" } STDOUT: alternatewritethrough = 0 TASK [Verify the setting when it is type str alternatewritethrough] ************ task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Wednesday 20 November 2024 05:18:53 -0500 (0:00:00.335) 0:02:42.883 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool alternatewritethrough] *********** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Wednesday 20 November 2024 05:18:53 -0500 (0:00:00.065) 0:02:42.949 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Wednesday 20 November 2024 05:18:53 -0500 (0:00:00.079) 0:02:43.028 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:162 Wednesday 20 November 2024 05:18:53 -0500 (0:00:00.063) 0:02:43.091 **** included: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node1 TASK [Get the value of the setting writethrough] ******************************* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Wednesday 20 November 2024 05:18:53 -0500 (0:00:00.116) 0:02:43.208 **** ok: [managed-node1] => { "changed": false, "cmd": "grep '^writethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004261", "end": "2024-11-20 05:18:54.020421", "rc": 0, "start": "2024-11-20 05:18:54.016160" } STDOUT: writethrough = 1 TASK [Verify the setting when it is type str writethrough] ********************* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Wednesday 20 November 2024 05:18:54 -0500 (0:00:00.329) 0:02:43.538 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool writethrough] ******************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Wednesday 20 November 2024 05:18:54 -0500 (0:00:00.137) 0:02:43.675 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Wednesday 20 November 2024 05:18:54 -0500 (0:00:00.086) 0:02:43.762 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:172 Wednesday 20 November 2024 05:18:54 -0500 (0:00:00.068) 0:02:43.830 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:183 Wednesday 20 November 2024 05:18:54 -0500 (0:00:00.065) 0:02:43.896 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:195 Wednesday 20 November 2024 05:18:54 -0500 (0:00:00.063) 0:02:43.960 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:203 Wednesday 20 November 2024 05:18:54 -0500 (0:00:00.064) 0:02:44.024 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:210 Wednesday 20 November 2024 05:18:54 -0500 (0:00:00.062) 0:02:44.086 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run to edit settings] **************************************************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_idempotency.yml:52 Wednesday 20 November 2024 05:18:54 -0500 (0:00:00.064) 0:02:44.151 **** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Wednesday 20 November 2024 05:18:55 -0500 (0:00:00.840) 0:02:44.991 **** included: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Wednesday 20 November 2024 05:18:55 -0500 (0:00:00.108) 0:02:45.100 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Wednesday 20 November 2024 05:18:55 -0500 (0:00:00.087) 0:02:45.187 **** ok: [managed-node1] => (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 ], "__mssql_tuned_supported": true }, "ansible_included_var_files": [ "/tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node1] => (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": [ "/tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed-node1] => (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.mssql : Temporary debug] *********************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:6 Wednesday 20 November 2024 05:18:55 -0500 (0:00:00.110) 0:02:45.297 **** ok: [managed-node1] => (item=mssql_tools_versions) => { "ansible_loop_var": "item", "item": "mssql_tools_versions", "mssql_tools_versions": [ 18 ] } ok: [managed-node1] => (item=__sqlcmd_ver) => { "__sqlcmd_ver": "18", "ansible_loop_var": "item", "item": "__sqlcmd_ver" } ok: [managed-node1] => (item=__sqlcmd_cli) => { "__sqlcmd_cli": "/opt/mssql-tools18/bin/sqlcmd -No", "ansible_loop_var": "item", "item": "__sqlcmd_cli" } ok: [managed-node1] => (item=__mssql_client_packages) => { "__mssql_client_packages": [ "mssql-tools18", "unixODBC-devel" ], "ansible_loop_var": "item", "item": "__mssql_client_packages" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:16 Wednesday 20 November 2024 05:18:55 -0500 (0:00:00.097) 0:02:45.395 **** ok: [managed-node1] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [fedora.linux_system_roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Wednesday 20 November 2024 05:18:56 -0500 (0:00:00.064) 0:02:45.460 **** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:31 Wednesday 20 November 2024 05:18:56 -0500 (0:00:00.066) 0:02:45.526 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the variable is deprecated] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:38 Wednesday 20 November 2024 05:18:56 -0500 (0:00:00.063) 0:02:45.589 **** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:45 Wednesday 20 November 2024 05:18:56 -0500 (0:00:00.064) 0:02:45.653 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:52 Wednesday 20 November 2024 05:18:56 -0500 (0:00:00.065) 0:02:45.718 **** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:59 Wednesday 20 November 2024 05:18:56 -0500 (0:00:00.061) 0:02:45.780 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ha_cluster_run_role variable is deprecated] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:66 Wednesday 20 November 2024 05:18:56 -0500 (0:00:00.066) 0:02:45.847 **** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:73 Wednesday 20 November 2024 05:18:56 -0500 (0:00:00.063) 0:02:45.911 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fail on RHEL or CentOS 10 because it's not supported] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:77 Wednesday 20 November 2024 05:18:56 -0500 (0:00:00.064) 0:02:45.976 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that the user accepts EULA variables] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:84 Wednesday 20 November 2024 05:18:56 -0500 (0:00:00.067) 0:02:46.043 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Wednesday 20 November 2024 05:18:56 -0500 (0:00:00.073) 0:02:46.117 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:104 Wednesday 20 November 2024 05:18:56 -0500 (0:00:00.063) 0:02:46.180 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:113 Wednesday 20 November 2024 05:18:56 -0500 (0:00:00.064) 0:02:46.245 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:122 Wednesday 20 November 2024 05:18:56 -0500 (0:00:00.158) 0:02:46.403 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:132 Wednesday 20 November 2024 05:18:57 -0500 (0:00:00.064) 0:02:46.468 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_manage_selinux is set properly] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:141 Wednesday 20 November 2024 05:18:57 -0500 (0:00:00.069) 0:02:46.538 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:152 Wednesday 20 November 2024 05:18:57 -0500 (0:00:00.064) 0:02:46.602 **** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:156 Wednesday 20 November 2024 05:18:58 -0500 (0:00:01.186) 0:02:47.788 **** ok: [managed-node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_facts": { "__mssql_current_version": "2017" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 } } skipping: [managed-node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:164 Wednesday 20 November 2024 05:18:58 -0500 (0:00:00.182) 0:02:47.971 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:171 Wednesday 20 November 2024 05:18:58 -0500 (0:00:00.068) 0:02:48.040 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:178 Wednesday 20 November 2024 05:18:58 -0500 (0:00:00.068) 0:02:48.109 **** skipping: [managed-node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:192 Wednesday 20 November 2024 05:18:58 -0500 (0:00:00.124) 0:02:48.233 **** ok: [managed-node1] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:206 Wednesday 20 November 2024 05:18:59 -0500 (0:00:00.549) 0:02:48.782 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:216 Wednesday 20 November 2024 05:18:59 -0500 (0:00:00.147) 0:02:48.929 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:227 Wednesday 20 November 2024 05:18:59 -0500 (0:00:00.072) 0:02:49.002 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:241 Wednesday 20 November 2024 05:18:59 -0500 (0:00:00.068) 0:02:49.070 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:250 Wednesday 20 November 2024 05:18:59 -0500 (0:00:00.068) 0:02:49.139 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:262 Wednesday 20 November 2024 05:18:59 -0500 (0:00:00.069) 0:02:49.209 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:269 Wednesday 20 November 2024 05:18:59 -0500 (0:00:00.070) 0:02:49.279 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:281 Wednesday 20 November 2024 05:18:59 -0500 (0:00:00.092) 0:02:49.372 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure to run as a confined application with SELinux] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:294 Wednesday 20 November 2024 05:19:00 -0500 (0:00:00.067) 0:02:49.439 **** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-selinux is not installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server] ******* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:299 Wednesday 20 November 2024 05:19:00 -0500 (0:00:00.593) 0:02:50.033 **** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3465.1-1.x86_64 providing mssql-server is already installed" ] } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:304 Wednesday 20 November 2024 05:19:01 -0500 (0:00:00.530) 0:02:50.564 **** ok: [managed-node1] => { "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.004805", "end": "2024-11-20 05:19:01.378977", "rc": 0, "start": "2024-11-20 05:19:01.374172" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:320 Wednesday 20 November 2024 05:19:01 -0500 (0:00:00.331) 0:02:50.895 **** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set the __mssql_is_setup variable] ***** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:324 Wednesday 20 November 2024 05:19:02 -0500 (0:00:00.946) 0:02:51.841 **** ok: [managed-node1] => { "ansible_facts": { "__mssql_is_setup": true }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:333 Wednesday 20 November 2024 05:19:02 -0500 (0:00:00.098) 0:02:51.940 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:349 Wednesday 20 November 2024 05:19:02 -0500 (0:00:00.064) 0:02:52.005 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions for datadir and logdir] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:374 Wednesday 20 November 2024 05:19:02 -0500 (0:00:00.068) 0:02:52.073 **** included: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml for managed-node1 included: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions /var/opt/mssql/data] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Wednesday 20 November 2024 05:19:02 -0500 (0:00:00.138) 0:02:52.211 **** ok: [managed-node1] => { "changed": false, "gid": 994, "group": "mssql", "mode": "0755", "owner": "mssql", "path": "/var/opt/mssql/data", "secontext": "unconfined_u:object_r:var_t:s0", "size": 4096, "state": "directory", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Append facts for the selinux role] ***** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:12 Wednesday 20 November 2024 05:19:03 -0500 (0:00:00.352) 0:02:52.564 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the setting defaultdatadir] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:28 Wednesday 20 November 2024 05:19:03 -0500 (0:00:00.066) 0:02:52.631 **** included: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting filelocation defaultdatadir] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 20 November 2024 05:19:03 -0500 (0:00:00.113) 0:02:52.744 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003048", "end": "2024-11-20 05:19:03.569784", "failed_when_result": false, "rc": 0, "start": "2024-11-20 05:19:03.566736" } STDOUT: defaultdatadir = /tmp/mssql_data TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultdatadir] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 20 November 2024 05:19:03 -0500 (0:00:00.347) 0:02:53.092 **** NOTIFIED HANDLER fedora.linux_system_roles.mssql : Restart the mssql-server service for managed-node1 changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "filelocation.defaultdatadir", "/var/opt/mssql/data" ], "delta": "0:00:00.044690", "end": "2024-11-20 05:19:03.963335", "failed_when_result": false, "rc": 0, "start": "2024-11-20 05:19:03.918645" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Unset the setting filelocation defaultdatadir] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 20 November 2024 05:19:04 -0500 (0:00:00.400) 0:02:53.492 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions /var/opt/mssql/log] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Wednesday 20 November 2024 05:19:04 -0500 (0:00:00.069) 0:02:53.562 **** ok: [managed-node1] => { "changed": false, "gid": 994, "group": "mssql", "mode": "0755", "owner": "mssql", "path": "/var/opt/mssql/log", "secontext": "unconfined_u:object_r:var_t:s0", "size": 4096, "state": "directory", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Append facts for the selinux role] ***** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:12 Wednesday 20 November 2024 05:19:04 -0500 (0:00:00.351) 0:02:53.913 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the setting defaultlogdir] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:28 Wednesday 20 November 2024 05:19:04 -0500 (0:00:00.065) 0:02:53.978 **** included: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting filelocation defaultlogdir] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 20 November 2024 05:19:04 -0500 (0:00:00.197) 0:02:54.176 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002950", "end": "2024-11-20 05:19:05.002099", "failed_when_result": false, "rc": 0, "start": "2024-11-20 05:19:04.999149" } STDOUT: defaultlogdir = /tmp/mssql_log TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultlogdir] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 20 November 2024 05:19:05 -0500 (0:00:00.348) 0:02:54.525 **** changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "filelocation.defaultlogdir", "/var/opt/mssql/log" ], "delta": "0:00:00.045001", "end": "2024-11-20 05:19:05.396641", "failed_when_result": false, "rc": 0, "start": "2024-11-20 05:19:05.351640" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Unset the setting filelocation defaultlogdir] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 20 November 2024 05:19:05 -0500 (0:00:00.408) 0:02:54.934 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set selinux role facts for ports] ****** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:389 Wednesday 20 November 2024 05:19:05 -0500 (0:00:00.066) 0:02:55.001 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:403 Wednesday 20 November 2024 05:19:05 -0500 (0:00:00.068) 0:02:55.069 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:414 Wednesday 20 November 2024 05:19:05 -0500 (0:00:00.067) 0:02:55.136 **** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:420 Wednesday 20 November 2024 05:19:06 -0500 (0:00:00.546) 0:02:55.682 **** ok: [managed-node1] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-11-20 04:52:50 EST", "ActiveEnterTimestampMonotonic": "8456723", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-sysctl.service basic.target network.target dbus.service system.slice systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-11-20 04:52:49 EST", "AssertTimestampMonotonic": "7668447", "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": "Wed 2024-11-20 04:52:49 EST", "ConditionTimestampMonotonic": "7668446", "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": "851", "ExecMainStartTimestamp": "Wed 2024-11-20 04:52:49 EST", "ExecMainStartTimestampMonotonic": "7668979", "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": "Wed 2024-11-20 04:52:49 EST", "InactiveExitTimestampMonotonic": "7669032", "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": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "851", "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 polkit.service dbus.service basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2024-11-20 04:52:50 EST", "WatchdogTimestampMonotonic": "8456679", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:427 Wednesday 20 November 2024 05:19:06 -0500 (0:00:00.437) 0:02:56.119 **** ok: [managed-node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.084993", "end": "2024-11-20 05:19:07.018188", "rc": 0, "start": "2024-11-20 05:19:06.933195" } STDOUT: Current active profile: virtual-guest mssql TASK [fedora.linux_system_roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:440 Wednesday 20 November 2024 05:19:07 -0500 (0:00:00.419) 0:02:56.539 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:453 Wednesday 20 November 2024 05:19:07 -0500 (0:00:00.064) 0:02:56.604 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:462 Wednesday 20 November 2024 05:19:07 -0500 (0:00:00.066) 0:02:56.670 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:472 Wednesday 20 November 2024 05:19:07 -0500 (0:00:00.068) 0:02:56.739 **** ok: [managed-node1] => { "changed": false, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:480 Wednesday 20 November 2024 05:19:07 -0500 (0:00:00.354) 0:02:57.094 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:489 Wednesday 20 November 2024 05:19:07 -0500 (0:00:00.065) 0:02:57.159 **** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "mssql-tools18-18.4.1.1-1.x86_64 providing mssql-tools18 is already installed", "unixODBC-devel-2.3.11-1.rh.x86_64 providing unixODBC-devel is already installed" ] } TASK [Create certificates using the certificate role] ************************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:506 Wednesday 20 November 2024 05:19:08 -0500 (0:00:00.547) 0:02:57.706 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:520 Wednesday 20 November 2024 05:19:08 -0500 (0:00:00.064) 0:02:57.770 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Copy certificate and private_key files to the host] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:525 Wednesday 20 November 2024 05:19:08 -0500 (0:00:00.066) 0:02:57.837 **** skipping: [managed-node1] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:543 Wednesday 20 November 2024 05:19:08 -0500 (0:00:00.077) 0:02:57.915 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlskey setting] ********** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:552 Wednesday 20 November 2024 05:19:08 -0500 (0:00:00.067) 0:02:57.982 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlsprotocols setting] **** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:561 Wednesday 20 November 2024 05:19:08 -0500 (0:00:00.063) 0:02:58.046 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the forceencryption setting] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:568 Wednesday 20 November 2024 05:19:08 -0500 (0:00:00.067) 0:02:58.113 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get the setting forceencryption] ******* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:577 Wednesday 20 November 2024 05:19:08 -0500 (0:00:00.063) 0:02:58.177 **** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail; grep '^forceencryption' /var/opt/mssql/mssql.conf | sed 's/forceencryption = //g'", "delta": "0:00:00.004292", "end": "2024-11-20 05:19:09.000976", "failed_when_result": false, "rc": 1, "start": "2024-11-20 05:19:08.996684" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Append -No to sqlcmd when TLS is not configured] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:586 Wednesday 20 November 2024 05:19:09 -0500 (0:00:00.342) 0:02:58.520 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Append -C to sqlcmd when TLS is configured but certs are self-signed] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:593 Wednesday 20 November 2024 05:19:09 -0500 (0:00:00.070) 0:02:58.590 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:606 Wednesday 20 November 2024 05:19:09 -0500 (0:00:00.071) 0:02:58.662 **** included: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Wednesday 20 November 2024 05:19:09 -0500 (0:00:00.118) 0:02:58.780 **** ok: [managed-node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-11-20 05:18:10 EST", "ActiveEnterTimestampMonotonic": "1528886116", "ActiveExitTimestamp": "Wed 2024-11-20 05:18:10 EST", "ActiveExitTimestampMonotonic": "1528656241", "ActiveState": "active", "After": "basic.target network.target auditd.service -.mount system.slice systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-11-20 05:18:10 EST", "AssertTimestampMonotonic": "1528885305", "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": "Wed 2024-11-20 05:18:10 EST", "ConditionTimestampMonotonic": "1528885304", "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": "30300", "ExecMainStartTimestamp": "Wed 2024-11-20 05:18:10 EST", "ExecMainStartTimestampMonotonic": "1528886043", "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": "Wed 2024-11-20 05:18:10 EST", "InactiveEnterTimestampMonotonic": "1528884372", "InactiveExitTimestamp": "Wed 2024-11-20 05:18:10 EST", "InactiveExitTimestampMonotonic": "1528886116", "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": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "30300", "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": "Wed 2024-11-20 05:18:10 EST", "WatchdogTimestampMonotonic": "1528886092", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Wednesday 20 November 2024 05:19:09 -0500 (0:00:00.519) 0:02:59.299 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003413", "end": "2024-11-20 05:19:10.119837", "failed_when_result": false, "rc": 1, "start": "2024-11-20 05:19:10.116424" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Wednesday 20 November 2024 05:19:10 -0500 (0:00:00.336) 0:02:59.636 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002913", "end": "2024-11-20 05:19:10.448672", "failed_when_result": false, "rc": 0, "start": "2024-11-20 05:19:10.445759" } STDOUT: ipaddress = 0.0.0.0 TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Wednesday 20 November 2024 05:19:10 -0500 (0:00:00.334) 0:02:59.971 **** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Wednesday 20 November 2024 05:19:10 -0500 (0:00:00.085) 0:03:00.056 **** ok: [managed-node1] => { "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": 7454, "state": "file", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:616 Wednesday 20 November 2024 05:19:11 -0500 (0:00:01.333) 0:03:01.390 **** fatal: [managed-node1]: FAILED! => { "attempts": 1, "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ...ignoring TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:631 Wednesday 20 November 2024 05:19:12 -0500 (0:00:00.361) 0:03:01.752 **** changed: [managed-node1] => { "changed": true, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Wed 2024-11-20 05:18:10 EST", "ActiveEnterTimestampMonotonic": "1528886116", "ActiveExitTimestamp": "Wed 2024-11-20 05:18:10 EST", "ActiveExitTimestampMonotonic": "1528656241", "ActiveState": "active", "After": "basic.target network.target auditd.service -.mount system.slice systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-11-20 05:18:10 EST", "AssertTimestampMonotonic": "1528885305", "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": "Wed 2024-11-20 05:18:10 EST", "ConditionTimestampMonotonic": "1528885304", "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": "30300", "ExecMainStartTimestamp": "Wed 2024-11-20 05:18:10 EST", "ExecMainStartTimestampMonotonic": "1528886043", "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": "Wed 2024-11-20 05:18:10 EST", "InactiveEnterTimestampMonotonic": "1528884372", "InactiveExitTimestamp": "Wed 2024-11-20 05:18:10 EST", "InactiveExitTimestampMonotonic": "1528886116", "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": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "30300", "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": "Wed 2024-11-20 05:18:10 EST", "WatchdogTimestampMonotonic": "1528886092", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:638 Wednesday 20 November 2024 05:19:12 -0500 (0:00:00.668) 0:03:02.420 **** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the password of sa user] ******** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:646 Wednesday 20 November 2024 05:19:14 -0500 (0:00:01.263) 0:03:03.684 **** changed: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script files to SQL Server] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:667 Wednesday 20 November 2024 05:19:20 -0500 (0:00:05.988) 0:03:09.673 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script contents to SQL Server] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:674 Wednesday 20 November 2024 05:19:20 -0500 (0:00:00.065) 0:03:09.738 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set edition matches the existing edition] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:685 Wednesday 20 November 2024 05:19:20 -0500 (0:00:00.062) 0:03:09.801 **** ok: [managed-node1] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Standard edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n edition_matches=false\nelse\n edition_matches=true\nfi\necho \"${edition_matches}\"\n", "delta": "0:00:00.004823", "end": "2024-11-20 05:19:20.621230", "rc": 0, "start": "2024-11-20 05:19:20.616407" } STDOUT: false TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:699 Wednesday 20 November 2024 05:19:20 -0500 (0:00:00.339) 0:03:10.140 **** ok: [managed-node1] => { "changed": false, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Wed 2024-11-20 05:18:10 EST", "ActiveEnterTimestampMonotonic": "1528886116", "ActiveExitTimestamp": "Wed 2024-11-20 05:19:12 EST", "ActiveExitTimestampMonotonic": "1590972128", "ActiveState": "inactive", "After": "basic.target network.target auditd.service -.mount system.slice systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-11-20 05:18:10 EST", "AssertTimestampMonotonic": "1528885305", "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": "Wed 2024-11-20 05:18:10 EST", "ConditionTimestampMonotonic": "1528885304", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "1", "ExecMainExitTimestamp": "Wed 2024-11-20 05:19:12 EST", "ExecMainExitTimestampMonotonic": "1591182140", "ExecMainPID": "30300", "ExecMainStartTimestamp": "Wed 2024-11-20 05:18:10 EST", "ExecMainStartTimestampMonotonic": "1528886043", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2024-11-20 05:18:10 EST] ; stop_time=[Wed 2024-11-20 05:19:12 EST] ; pid=30300 ; code=exited ; status=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": "Wed 2024-11-20 05:19:12 EST", "InactiveEnterTimestampMonotonic": "1591182252", "InactiveExitTimestamp": "Wed 2024-11-20 05:18:10 EST", "InactiveExitTimestampMonotonic": "1528886116", "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": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "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": "dead", "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", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:706 Wednesday 20 November 2024 05:19:21 -0500 (0:00:00.443) 0:03:10.583 **** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the edition of MSSQL] *********** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:712 Wednesday 20 November 2024 05:19:22 -0500 (0:00:01.283) 0:03:11.867 **** changed: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [fedora.linux_system_roles.mssql : Configure the IP address setting] ****** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:731 Wednesday 20 November 2024 05:19:28 -0500 (0:00:06.185) 0:03:18.053 **** included: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting network ipaddress] ***** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 20 November 2024 05:19:28 -0500 (0:00:00.128) 0:03:18.181 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003377", "end": "2024-11-20 05:19:29.005886", "failed_when_result": false, "rc": 0, "start": "2024-11-20 05:19:29.002509" } STDOUT: ipaddress = 0.0.0.0 TASK [fedora.linux_system_roles.mssql : Configure the setting network ipaddress] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 20 November 2024 05:19:29 -0500 (0:00:00.345) 0:03:18.526 **** changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.ipaddress", "127.0.0.1" ], "delta": "0:00:00.044825", "end": "2024-11-20 05:19:29.394850", "failed_when_result": false, "rc": 0, "start": "2024-11-20 05:19:29.350025" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Unset the setting network ipaddress] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 20 November 2024 05:19:29 -0500 (0:00:00.395) 0:03:18.922 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:738 Wednesday 20 November 2024 05:19:29 -0500 (0:00:00.067) 0:03:18.990 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1435] ************************************************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:745 Wednesday 20 November 2024 05:19:29 -0500 (0:00:00.064) 0:03:19.055 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the TCP port setting to 1435] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:757 Wednesday 20 November 2024 05:19:29 -0500 (0:00:00.072) 0:03:19.127 **** included: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tcpport] ******* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 20 November 2024 05:19:29 -0500 (0:00:00.115) 0:03:19.243 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002783", "end": "2024-11-20 05:19:30.063351", "failed_when_result": false, "rc": 1, "start": "2024-11-20 05:19:30.060568" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 20 November 2024 05:19:30 -0500 (0:00:00.338) 0:03:19.581 **** changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1435" ], "delta": "0:00:00.045226", "end": "2024-11-20 05:19:30.448368", "failed_when_result": false, "rc": 0, "start": "2024-11-20 05:19:30.403142" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Unset the setting network tcpport] ***** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 20 November 2024 05:19:30 -0500 (0:00:00.394) 0:03:19.976 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:763 Wednesday 20 November 2024 05:19:30 -0500 (0:00:00.063) 0:03:20.039 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:783 Wednesday 20 November 2024 05:19:30 -0500 (0:00:00.071) 0:03:20.111 **** included: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting sqlagent enabled] ****** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 20 November 2024 05:19:30 -0500 (0:00:00.211) 0:03:20.322 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002836", "end": "2024-11-20 05:19:31.144631", "failed_when_result": false, "rc": 0, "start": "2024-11-20 05:19:31.141795" } STDOUT: enabled = True TASK [fedora.linux_system_roles.mssql : Configure the setting sqlagent enabled] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 20 November 2024 05:19:31 -0500 (0:00:00.343) 0:03:20.666 **** changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "sqlagent.enabled", "False" ], "delta": "0:00:00.044198", "end": "2024-11-20 05:19:31.536372", "failed_when_result": false, "rc": 0, "start": "2024-11-20 05:19:31.492174" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Unset the setting sqlagent enabled] **** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 20 November 2024 05:19:31 -0500 (0:00:00.398) 0:03:21.064 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:790 Wednesday 20 November 2024 05:19:31 -0500 (0:00:00.073) 0:03:21.138 **** changed: [managed-node1] => { "changed": true, "changes": { "removed": [ "mssql-server-fts" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-server-fts.x86_64 0:14.0.3465.1-1 will be erased\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nRemoving:\n mssql-server-fts\n x86_64 14.0.3465.1-1 @packages-microsoft-com-mssql-server-2017 554 M\n\nTransaction Summary\n================================================================================\nRemove 1 Package\n\nInstalled size: 554 M\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Erasing : mssql-server-fts-14.0.3465.1-1.x86_64 1/1 \n Verifying : mssql-server-fts-14.0.3465.1-1.x86_64 1/1 \n\nRemoved:\n mssql-server-fts.x86_64 0:14.0.3465.1-1 \n\nComplete!\n" ] } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:797 Wednesday 20 November 2024 05:19:33 -0500 (0:00:01.435) 0:03:22.573 **** changed: [managed-node1] => { "changed": true, "changes": { "removed": [ "powershell" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nResolving Dependencies\n--> Running transaction check\n---> Package powershell.x86_64 0:7.3.12-1.rh will be erased\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nRemoving:\n powershell x86_64 7.3.12-1.rh @packages-microsoft-com-prod 168 M\n\nTransaction Summary\n================================================================================\nRemove 1 Package\n\nInstalled size: 168 M\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Erasing : powershell-7.3.12-1.rh.x86_64 1/1 \n Verifying : powershell-7.3.12-1.rh.x86_64 1/1 \n\nRemoved:\n powershell.x86_64 0:7.3.12-1.rh \n\nComplete!\n" ] } TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:806 Wednesday 20 November 2024 05:19:34 -0500 (0:00:01.346) 0:03:23.920 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003126", "end": "2024-11-20 05:19:34.737683", "failed_when_result": false, "rc": 0, "start": "2024-11-20 05:19:34.734557" } STDOUT: traceflag0 = 3979 TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:812 Wednesday 20 November 2024 05:19:34 -0500 (0:00:00.338) 0:03:24.259 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:819 Wednesday 20 November 2024 05:19:34 -0500 (0:00:00.066) 0:03:24.325 **** changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "traceflag", "3979", "off" ], "delta": "0:00:00.043897", "end": "2024-11-20 05:19:35.188976", "rc": 0, "start": "2024-11-20 05:19:35.145079" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:827 Wednesday 20 November 2024 05:19:35 -0500 (0:00:00.381) 0:03:24.706 **** included: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting control alternatewritethrough] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 20 November 2024 05:19:35 -0500 (0:00:00.200) 0:03:24.907 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003149", "end": "2024-11-20 05:19:35.730030", "failed_when_result": false, "rc": 0, "start": "2024-11-20 05:19:35.726881" } STDOUT: alternatewritethrough = 0 TASK [fedora.linux_system_roles.mssql : Configure the setting control alternatewritethrough] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 20 November 2024 05:19:35 -0500 (0:00:00.346) 0:03:25.253 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting control alternatewritethrough] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 20 November 2024 05:19:35 -0500 (0:00:00.075) 0:03:25.328 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:833 Wednesday 20 November 2024 05:19:35 -0500 (0:00:00.071) 0:03:25.400 **** included: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting control writethrough] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 20 November 2024 05:19:36 -0500 (0:00:00.121) 0:03:25.521 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003292", "end": "2024-11-20 05:19:36.348947", "failed_when_result": false, "rc": 0, "start": "2024-11-20 05:19:36.345655" } STDOUT: writethrough = 1 TASK [fedora.linux_system_roles.mssql : Configure the setting control writethrough] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 20 November 2024 05:19:36 -0500 (0:00:00.351) 0:03:25.872 **** changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "control.writethrough", "0" ], "delta": "0:00:00.045537", "end": "2024-11-20 05:19:36.750140", "failed_when_result": false, "rc": 0, "start": "2024-11-20 05:19:36.704603" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Unset the setting control writethrough] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 20 November 2024 05:19:36 -0500 (0:00:00.413) 0:03:26.286 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that ad_integration_realm variable is provided] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Wednesday 20 November 2024 05:19:36 -0500 (0:00:00.069) 0:03:26.356 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:851 Wednesday 20 November 2024 05:19:36 -0500 (0:00:00.068) 0:03:26.425 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure adutil and krb5-workstation] **** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:859 Wednesday 20 November 2024 05:19:37 -0500 (0:00:00.064) 0:03:26.489 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print credential caches to check if AD principal exists] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:866 Wednesday 20 November 2024 05:19:37 -0500 (0:00:00.067) 0:03:26.556 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:873 Wednesday 20 November 2024 05:19:37 -0500 (0:00:00.068) 0:03:26.624 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Obtain Kerberos ticket for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:882 Wednesday 20 November 2024 05:19:37 -0500 (0:00:00.068) 0:03:26.693 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Check if AD user exists] *************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:895 Wednesday 20 November 2024 05:19:37 -0500 (0:00:00.067) 0:03:26.761 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : In AD server create user] ************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:904 Wednesday 20 November 2024 05:19:37 -0500 (0:00:00.064) 0:03:26.825 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure proper configuration on user] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:918 Wednesday 20 November 2024 05:19:37 -0500 (0:00:00.154) 0:03:26.980 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get SPNs for the principal] ************ task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:928 Wednesday 20 November 2024 05:19:37 -0500 (0:00:00.066) 0:03:27.046 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register SPNs to the principal] ******** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:933 Wednesday 20 November 2024 05:19:37 -0500 (0:00:00.069) 0:03:27.116 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get kvno of the SPN host] ************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:950 Wednesday 20 November 2024 05:19:37 -0500 (0:00:00.069) 0:03:27.186 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get stats of the keytab file] ********** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:955 Wednesday 20 November 2024 05:19:37 -0500 (0:00:00.068) 0:03:27.254 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:960 Wednesday 20 November 2024 05:19:37 -0500 (0:00:00.066) 0:03:27.321 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:966 Wednesday 20 November 2024 05:19:37 -0500 (0:00:00.067) 0:03:27.388 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Add an entry in the keytab for the principal name and password] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:992 Wednesday 20 November 2024 05:19:38 -0500 (0:00:00.066) 0:03:27.455 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure correct permissions and ownership on the keytab] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1013 Wednesday 20 November 2024 05:19:38 -0500 (0:00:00.067) 0:03:27.522 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch keytab file to host] ************* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1021 Wednesday 20 November 2024 05:19:38 -0500 (0:00:00.069) 0:03:27.592 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1031 Wednesday 20 November 2024 05:19:38 -0500 (0:00:00.063) 0:03:27.655 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1037 Wednesday 20 November 2024 05:19:38 -0500 (0:00:00.066) 0:03:27.722 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with mssql_ha_replica_type=primary is available] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1055 Wednesday 20 November 2024 05:19:38 -0500 (0:00:00.064) 0:03:27.786 **** skipping: [managed-node1] => { "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: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1066 Wednesday 20 November 2024 05:19:38 -0500 (0:00:00.066) 0:03:27.853 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1086 Wednesday 20 November 2024 05:19:38 -0500 (0:00:00.064) 0:03:27.918 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1139 Wednesday 20 November 2024 05:19:38 -0500 (0:00:00.069) 0:03:27.987 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1146 Wednesday 20 November 2024 05:19:38 -0500 (0:00:00.063) 0:03:28.051 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1153 Wednesday 20 November 2024 05:19:38 -0500 (0:00:00.065) 0:03:28.117 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Wednesday 20 November 2024 05:19:38 -0500 (0:00:00.070) 0:03:28.188 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1169 Wednesday 20 November 2024 05:19:38 -0500 (0:00:00.063) 0:03:28.252 **** skipping: [managed-node1] => (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: [managed-node1] => (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 [fedora.linux_system_roles.mssql : Configure SQL entities on the primary replica] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1177 Wednesday 20 November 2024 05:19:38 -0500 (0:00:00.166) 0:03:28.418 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create login for HA on in SQL Server] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1186 Wednesday 20 November 2024 05:19:39 -0500 (0:00:00.065) 0:03:28.483 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch certificate files from the primary to the control node] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1194 Wednesday 20 November 2024 05:19:39 -0500 (0:00:00.066) 0:03:28.550 **** skipping: [managed-node1] => (item={u'key': u'cert', u'value': u'/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: [managed-node1] => (item={u'key': u'key', u'value': u'/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 [fedora.linux_system_roles.mssql : Get the current primary replica in SQL] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1208 Wednesday 20 November 2024 05:19:39 -0500 (0:00:00.081) 0:03:28.631 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set fact with the current primary replica] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1214 Wednesday 20 November 2024 05:19:39 -0500 (0:00:00.066) 0:03:28.698 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that primary instance hosts is available] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1236 Wednesday 20 November 2024 05:19:39 -0500 (0:00:00.063) 0:03:28.762 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1246 Wednesday 20 November 2024 05:19:39 -0500 (0:00:00.067) 0:03:28.830 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1255 Wednesday 20 November 2024 05:19:39 -0500 (0:00:00.067) 0:03:28.897 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1264 Wednesday 20 November 2024 05:19:39 -0500 (0:00:00.063) 0:03:28.961 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1275 Wednesday 20 November 2024 05:19:39 -0500 (0:00:00.067) 0:03:29.029 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with replica_type=primary is available] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1288 Wednesday 20 November 2024 05:19:39 -0500 (0:00:00.065) 0:03:29.094 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1297 Wednesday 20 November 2024 05:19:39 -0500 (0:00:00.066) 0:03:29.161 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1304 Wednesday 20 November 2024 05:19:39 -0500 (0:00:00.067) 0:03:29.228 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1311 Wednesday 20 November 2024 05:19:39 -0500 (0:00:00.065) 0:03:29.294 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1319 Wednesday 20 November 2024 05:19:39 -0500 (0:00:00.065) 0:03:29.360 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1326 Wednesday 20 November 2024 05:19:39 -0500 (0:00:00.067) 0:03:29.427 **** skipping: [managed-node1] => (item={u'key': u'cert', u'value': u'/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: [managed-node1] => (item={u'key': u'key', u'value': u'/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 [fedora.linux_system_roles.mssql : Configure SQL entities on not primary replicas] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1338 Wednesday 20 November 2024 05:19:40 -0500 (0:00:00.082) 0:03:29.510 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1347 Wednesday 20 November 2024 05:19:40 -0500 (0:00:00.063) 0:03:29.573 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Join to availability group] ************ task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1354 Wednesday 20 November 2024 05:19:40 -0500 (0:00:00.064) 0:03:29.638 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1360 Wednesday 20 November 2024 05:19:40 -0500 (0:00:00.062) 0:03:29.700 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key from the control node] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1368 Wednesday 20 November 2024 05:19:40 -0500 (0:00:00.154) 0:03:29.854 **** skipping: [managed-node1] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=key) => { "ansible_loop_var": "item", "changed": false, "item": "key", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Save credentials for the SQL Server login] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1381 Wednesday 20 November 2024 05:19:40 -0500 (0:00:00.076) 0:03:29.931 **** skipping: [managed-node1] => { "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: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1393 Wednesday 20 November 2024 05:19:40 -0500 (0:00:00.066) 0:03:29.998 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for the cluster to finish configuration] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1398 Wednesday 20 November 2024 05:19:40 -0500 (0:00:00.065) 0:03:30.063 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure listener for the availability group] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1406 Wednesday 20 November 2024 05:19:40 -0500 (0:00:00.068) 0:03:30.132 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1415 Wednesday 20 November 2024 05:19:40 -0500 (0:00:00.073) 0:03:30.206 **** changed: [managed-node1] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Wednesday 20 November 2024 05:19:41 -0500 (0:00:00.424) 0:03:30.631 **** changed: [managed-node1] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-11-20 05:18:10 EST", "ActiveEnterTimestampMonotonic": "1528886116", "ActiveExitTimestamp": "Wed 2024-11-20 05:19:12 EST", "ActiveExitTimestampMonotonic": "1590972128", "ActiveState": "inactive", "After": "basic.target network.target auditd.service -.mount system.slice systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-11-20 05:18:10 EST", "AssertTimestampMonotonic": "1528885305", "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": "Wed 2024-11-20 05:18:10 EST", "ConditionTimestampMonotonic": "1528885304", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "1", "ExecMainExitTimestamp": "Wed 2024-11-20 05:19:12 EST", "ExecMainExitTimestampMonotonic": "1591182140", "ExecMainPID": "30300", "ExecMainStartTimestamp": "Wed 2024-11-20 05:18:10 EST", "ExecMainStartTimestampMonotonic": "1528886043", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2024-11-20 05:18:10 EST] ; stop_time=[Wed 2024-11-20 05:19:12 EST] ; pid=30300 ; code=exited ; status=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": "Wed 2024-11-20 05:19:12 EST", "InactiveEnterTimestampMonotonic": "1591182252", "InactiveExitTimestamp": "Wed 2024-11-20 05:18:10 EST", "InactiveExitTimestampMonotonic": "1528886116", "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": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "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": "dead", "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", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } META: ran handlers TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1428 Wednesday 20 November 2024 05:19:41 -0500 (0:00:00.513) 0:03:31.145 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1435 Wednesday 20 November 2024 05:19:41 -0500 (0:00:00.069) 0:03:31.214 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run with the edited settings again - should report not changed] ********** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_idempotency.yml:69 Wednesday 20 November 2024 05:19:41 -0500 (0:00:00.063) 0:03:31.277 **** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Wednesday 20 November 2024 05:19:42 -0500 (0:00:01.021) 0:03:32.299 **** included: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Wednesday 20 November 2024 05:19:42 -0500 (0:00:00.107) 0:03:32.407 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Wednesday 20 November 2024 05:19:43 -0500 (0:00:00.088) 0:03:32.495 **** ok: [managed-node1] => (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 ], "__mssql_tuned_supported": true }, "ansible_included_var_files": [ "/tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node1] => (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": [ "/tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed-node1] => (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.mssql : Temporary debug] *********************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:6 Wednesday 20 November 2024 05:19:43 -0500 (0:00:00.107) 0:03:32.602 **** ok: [managed-node1] => (item=mssql_tools_versions) => { "ansible_loop_var": "item", "item": "mssql_tools_versions", "mssql_tools_versions": [ 18 ] } ok: [managed-node1] => (item=__sqlcmd_ver) => { "__sqlcmd_ver": "18", "ansible_loop_var": "item", "item": "__sqlcmd_ver" } ok: [managed-node1] => (item=__sqlcmd_cli) => { "__sqlcmd_cli": "/opt/mssql-tools18/bin/sqlcmd -No", "ansible_loop_var": "item", "item": "__sqlcmd_cli" } ok: [managed-node1] => (item=__mssql_client_packages) => { "__mssql_client_packages": [ "mssql-tools18", "unixODBC-devel" ], "ansible_loop_var": "item", "item": "__mssql_client_packages" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:16 Wednesday 20 November 2024 05:19:43 -0500 (0:00:00.097) 0:03:32.700 **** ok: [managed-node1] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [fedora.linux_system_roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Wednesday 20 November 2024 05:19:43 -0500 (0:00:00.064) 0:03:32.764 **** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:31 Wednesday 20 November 2024 05:19:43 -0500 (0:00:00.064) 0:03:32.828 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the variable is deprecated] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:38 Wednesday 20 November 2024 05:19:43 -0500 (0:00:00.063) 0:03:32.892 **** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:45 Wednesday 20 November 2024 05:19:43 -0500 (0:00:00.064) 0:03:32.957 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:52 Wednesday 20 November 2024 05:19:43 -0500 (0:00:00.065) 0:03:33.022 **** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:59 Wednesday 20 November 2024 05:19:43 -0500 (0:00:00.064) 0:03:33.087 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ha_cluster_run_role variable is deprecated] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:66 Wednesday 20 November 2024 05:19:43 -0500 (0:00:00.178) 0:03:33.265 **** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:73 Wednesday 20 November 2024 05:19:43 -0500 (0:00:00.064) 0:03:33.330 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fail on RHEL or CentOS 10 because it's not supported] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:77 Wednesday 20 November 2024 05:19:43 -0500 (0:00:00.067) 0:03:33.398 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that the user accepts EULA variables] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:84 Wednesday 20 November 2024 05:19:44 -0500 (0:00:00.068) 0:03:33.467 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Wednesday 20 November 2024 05:19:44 -0500 (0:00:00.076) 0:03:33.543 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:104 Wednesday 20 November 2024 05:19:44 -0500 (0:00:00.064) 0:03:33.607 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:113 Wednesday 20 November 2024 05:19:44 -0500 (0:00:00.068) 0:03:33.676 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:122 Wednesday 20 November 2024 05:19:44 -0500 (0:00:00.068) 0:03:33.744 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:132 Wednesday 20 November 2024 05:19:44 -0500 (0:00:00.063) 0:03:33.807 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_manage_selinux is set properly] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:141 Wednesday 20 November 2024 05:19:44 -0500 (0:00:00.068) 0:03:33.875 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:152 Wednesday 20 November 2024 05:19:44 -0500 (0:00:00.063) 0:03:33.939 **** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:156 Wednesday 20 November 2024 05:19:46 -0500 (0:00:01.522) 0:03:35.462 **** ok: [managed-node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_facts": { "__mssql_current_version": "2017" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 } } skipping: [managed-node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:164 Wednesday 20 November 2024 05:19:46 -0500 (0:00:00.174) 0:03:35.637 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:171 Wednesday 20 November 2024 05:19:46 -0500 (0:00:00.065) 0:03:35.702 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:178 Wednesday 20 November 2024 05:19:46 -0500 (0:00:00.072) 0:03:35.775 **** skipping: [managed-node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:192 Wednesday 20 November 2024 05:19:46 -0500 (0:00:00.124) 0:03:35.900 **** ok: [managed-node1] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:206 Wednesday 20 November 2024 05:19:47 -0500 (0:00:00.558) 0:03:36.459 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:216 Wednesday 20 November 2024 05:19:47 -0500 (0:00:00.065) 0:03:36.525 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:227 Wednesday 20 November 2024 05:19:47 -0500 (0:00:00.070) 0:03:36.595 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:241 Wednesday 20 November 2024 05:19:47 -0500 (0:00:00.068) 0:03:36.664 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:250 Wednesday 20 November 2024 05:19:47 -0500 (0:00:00.063) 0:03:36.727 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:262 Wednesday 20 November 2024 05:19:47 -0500 (0:00:00.068) 0:03:36.795 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:269 Wednesday 20 November 2024 05:19:47 -0500 (0:00:00.067) 0:03:36.863 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:281 Wednesday 20 November 2024 05:19:47 -0500 (0:00:00.087) 0:03:36.951 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure to run as a confined application with SELinux] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:294 Wednesday 20 November 2024 05:19:47 -0500 (0:00:00.062) 0:03:37.013 **** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-selinux is not installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server] ******* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:299 Wednesday 20 November 2024 05:19:48 -0500 (0:00:00.579) 0:03:37.593 **** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3465.1-1.x86_64 providing mssql-server is already installed" ] } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:304 Wednesday 20 November 2024 05:19:48 -0500 (0:00:00.536) 0:03:38.129 **** ok: [managed-node1] => { "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.005146", "end": "2024-11-20 05:19:48.947416", "rc": 0, "start": "2024-11-20 05:19:48.942270" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:320 Wednesday 20 November 2024 05:19:49 -0500 (0:00:00.336) 0:03:38.466 **** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set the __mssql_is_setup variable] ***** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:324 Wednesday 20 November 2024 05:19:49 -0500 (0:00:00.876) 0:03:39.342 **** ok: [managed-node1] => { "ansible_facts": { "__mssql_is_setup": true }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:333 Wednesday 20 November 2024 05:19:50 -0500 (0:00:00.089) 0:03:39.432 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:349 Wednesday 20 November 2024 05:19:50 -0500 (0:00:00.063) 0:03:39.496 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions for datadir and logdir] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:374 Wednesday 20 November 2024 05:19:50 -0500 (0:00:00.065) 0:03:39.561 **** included: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml for managed-node1 included: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions /var/opt/mssql/data] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Wednesday 20 November 2024 05:19:50 -0500 (0:00:00.134) 0:03:39.696 **** ok: [managed-node1] => { "changed": false, "gid": 994, "group": "mssql", "mode": "0755", "owner": "mssql", "path": "/var/opt/mssql/data", "secontext": "unconfined_u:object_r:var_t:s0", "size": 4096, "state": "directory", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Append facts for the selinux role] ***** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:12 Wednesday 20 November 2024 05:19:50 -0500 (0:00:00.350) 0:03:40.046 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the setting defaultdatadir] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:28 Wednesday 20 November 2024 05:19:50 -0500 (0:00:00.067) 0:03:40.113 **** included: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting filelocation defaultdatadir] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 20 November 2024 05:19:50 -0500 (0:00:00.110) 0:03:40.223 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003488", "end": "2024-11-20 05:19:51.057883", "failed_when_result": false, "rc": 0, "start": "2024-11-20 05:19:51.054395" } STDOUT: defaultdatadir = /var/opt/mssql/data TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultdatadir] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 20 November 2024 05:19:51 -0500 (0:00:00.446) 0:03:40.670 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting filelocation defaultdatadir] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 20 November 2024 05:19:51 -0500 (0:00:00.077) 0:03:40.748 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions /var/opt/mssql/log] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Wednesday 20 November 2024 05:19:51 -0500 (0:00:00.069) 0:03:40.817 **** ok: [managed-node1] => { "changed": false, "gid": 994, "group": "mssql", "mode": "0755", "owner": "mssql", "path": "/var/opt/mssql/log", "secontext": "unconfined_u:object_r:var_t:s0", "size": 4096, "state": "directory", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Append facts for the selinux role] ***** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:12 Wednesday 20 November 2024 05:19:51 -0500 (0:00:00.349) 0:03:41.166 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the setting defaultlogdir] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:28 Wednesday 20 November 2024 05:19:51 -0500 (0:00:00.067) 0:03:41.234 **** included: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting filelocation defaultlogdir] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 20 November 2024 05:19:51 -0500 (0:00:00.117) 0:03:41.351 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003261", "end": "2024-11-20 05:19:52.174579", "failed_when_result": false, "rc": 0, "start": "2024-11-20 05:19:52.171318" } STDOUT: defaultlogdir = /var/opt/mssql/log TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultlogdir] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 20 November 2024 05:19:52 -0500 (0:00:00.343) 0:03:41.695 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting filelocation defaultlogdir] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 20 November 2024 05:19:52 -0500 (0:00:00.072) 0:03:41.768 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set selinux role facts for ports] ****** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:389 Wednesday 20 November 2024 05:19:52 -0500 (0:00:00.063) 0:03:41.832 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:403 Wednesday 20 November 2024 05:19:52 -0500 (0:00:00.063) 0:03:41.895 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:414 Wednesday 20 November 2024 05:19:52 -0500 (0:00:00.065) 0:03:41.960 **** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:420 Wednesday 20 November 2024 05:19:53 -0500 (0:00:00.530) 0:03:42.490 **** ok: [managed-node1] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-11-20 04:52:50 EST", "ActiveEnterTimestampMonotonic": "8456723", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-sysctl.service basic.target network.target dbus.service system.slice systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-11-20 04:52:49 EST", "AssertTimestampMonotonic": "7668447", "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": "Wed 2024-11-20 04:52:49 EST", "ConditionTimestampMonotonic": "7668446", "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": "851", "ExecMainStartTimestamp": "Wed 2024-11-20 04:52:49 EST", "ExecMainStartTimestampMonotonic": "7668979", "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": "Wed 2024-11-20 04:52:49 EST", "InactiveExitTimestampMonotonic": "7669032", "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": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "851", "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 polkit.service dbus.service basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2024-11-20 04:52:50 EST", "WatchdogTimestampMonotonic": "8456679", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:427 Wednesday 20 November 2024 05:19:53 -0500 (0:00:00.535) 0:03:43.026 **** ok: [managed-node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.082481", "end": "2024-11-20 05:19:53.923700", "rc": 0, "start": "2024-11-20 05:19:53.841219" } STDOUT: Current active profile: virtual-guest mssql TASK [fedora.linux_system_roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:440 Wednesday 20 November 2024 05:19:54 -0500 (0:00:00.419) 0:03:43.446 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:453 Wednesday 20 November 2024 05:19:54 -0500 (0:00:00.066) 0:03:43.512 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:462 Wednesday 20 November 2024 05:19:54 -0500 (0:00:00.070) 0:03:43.583 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:472 Wednesday 20 November 2024 05:19:54 -0500 (0:00:00.071) 0:03:43.654 **** ok: [managed-node1] => { "changed": false, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:480 Wednesday 20 November 2024 05:19:54 -0500 (0:00:00.350) 0:03:44.005 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:489 Wednesday 20 November 2024 05:19:54 -0500 (0:00:00.062) 0:03:44.068 **** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "mssql-tools18-18.4.1.1-1.x86_64 providing mssql-tools18 is already installed", "unixODBC-devel-2.3.11-1.rh.x86_64 providing unixODBC-devel is already installed" ] } TASK [Create certificates using the certificate role] ************************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:506 Wednesday 20 November 2024 05:19:55 -0500 (0:00:00.534) 0:03:44.603 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:520 Wednesday 20 November 2024 05:19:55 -0500 (0:00:00.063) 0:03:44.666 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Copy certificate and private_key files to the host] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:525 Wednesday 20 November 2024 05:19:55 -0500 (0:00:00.064) 0:03:44.731 **** skipping: [managed-node1] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:543 Wednesday 20 November 2024 05:19:55 -0500 (0:00:00.074) 0:03:44.805 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlskey setting] ********** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:552 Wednesday 20 November 2024 05:19:55 -0500 (0:00:00.062) 0:03:44.867 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlsprotocols setting] **** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:561 Wednesday 20 November 2024 05:19:55 -0500 (0:00:00.066) 0:03:44.934 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the forceencryption setting] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:568 Wednesday 20 November 2024 05:19:55 -0500 (0:00:00.062) 0:03:44.997 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get the setting forceencryption] ******* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:577 Wednesday 20 November 2024 05:19:55 -0500 (0:00:00.063) 0:03:45.061 **** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail; grep '^forceencryption' /var/opt/mssql/mssql.conf | sed 's/forceencryption = //g'", "delta": "0:00:00.004868", "end": "2024-11-20 05:19:55.879363", "failed_when_result": false, "rc": 1, "start": "2024-11-20 05:19:55.874495" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Append -No to sqlcmd when TLS is not configured] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:586 Wednesday 20 November 2024 05:19:56 -0500 (0:00:00.440) 0:03:45.501 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Append -C to sqlcmd when TLS is configured but certs are self-signed] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:593 Wednesday 20 November 2024 05:19:56 -0500 (0:00:00.071) 0:03:45.572 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:606 Wednesday 20 November 2024 05:19:56 -0500 (0:00:00.069) 0:03:45.642 **** included: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Wednesday 20 November 2024 05:19:56 -0500 (0:00:00.118) 0:03:45.761 **** ok: [managed-node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-11-20 05:19:41 EST", "ActiveEnterTimestampMonotonic": "1619900435", "ActiveExitTimestamp": "Wed 2024-11-20 05:19:12 EST", "ActiveExitTimestampMonotonic": "1590972128", "ActiveState": "active", "After": "basic.target network.target auditd.service -.mount system.slice systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-11-20 05:19:41 EST", "AssertTimestampMonotonic": "1619899689", "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": "Wed 2024-11-20 05:19:41 EST", "ConditionTimestampMonotonic": "1619899688", "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": "3777", "ExecMainStartTimestamp": "Wed 2024-11-20 05:19:41 EST", "ExecMainStartTimestampMonotonic": "1619900379", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2024-11-20 05:19:41 EST] ; stop_time=[n/a] ; pid=3777 ; 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": "Wed 2024-11-20 05:19:12 EST", "InactiveEnterTimestampMonotonic": "1591182252", "InactiveExitTimestamp": "Wed 2024-11-20 05:19:41 EST", "InactiveExitTimestampMonotonic": "1619900435", "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": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "3777", "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": "Wed 2024-11-20 05:19:41 EST", "WatchdogTimestampMonotonic": "1619900414", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Wednesday 20 November 2024 05:19:56 -0500 (0:00:00.425) 0:03:46.186 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002714", "end": "2024-11-20 05:19:57.005788", "failed_when_result": false, "rc": 0, "start": "2024-11-20 05:19:57.003074" } STDOUT: tcpport = 1435 TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Wednesday 20 November 2024 05:19:57 -0500 (0:00:00.337) 0:03:46.524 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002787", "end": "2024-11-20 05:19:57.334557", "failed_when_result": false, "rc": 0, "start": "2024-11-20 05:19:57.331770" } STDOUT: ipaddress = 127.0.0.1 TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Wednesday 20 November 2024 05:19:57 -0500 (0:00:00.325) 0:03:46.850 **** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Wednesday 20 November 2024 05:19:57 -0500 (0:00:00.080) 0:03:46.930 **** ok: [managed-node1] => { "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": 6573, "state": "file", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:616 Wednesday 20 November 2024 05:19:58 -0500 (0:00:01.338) 0:03:48.269 **** ok: [managed-node1] => { "attempts": 1, "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:631 Wednesday 20 November 2024 05:19:59 -0500 (0:00:00.472) 0:03:48.742 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:638 Wednesday 20 November 2024 05:19:59 -0500 (0:00:00.071) 0:03:48.813 **** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the password of sa user] ******** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:646 Wednesday 20 November 2024 05:20:00 -0500 (0:00:01.178) 0:03:49.992 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script files to SQL Server] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:667 Wednesday 20 November 2024 05:20:00 -0500 (0:00:00.077) 0:03:50.069 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script contents to SQL Server] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:674 Wednesday 20 November 2024 05:20:00 -0500 (0:00:00.068) 0:03:50.138 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set edition matches the existing edition] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:685 Wednesday 20 November 2024 05:20:00 -0500 (0:00:00.064) 0:03:50.202 **** ok: [managed-node1] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Standard edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n edition_matches=false\nelse\n edition_matches=true\nfi\necho \"${edition_matches}\"\n", "delta": "0:00:00.004475", "end": "2024-11-20 05:20:01.028372", "rc": 0, "start": "2024-11-20 05:20:01.023897" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:699 Wednesday 20 November 2024 05:20:01 -0500 (0:00:00.343) 0:03:50.546 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:706 Wednesday 20 November 2024 05:20:01 -0500 (0:00:00.069) 0:03:50.615 **** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the edition of MSSQL] *********** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:712 Wednesday 20 November 2024 05:20:02 -0500 (0:00:01.307) 0:03:51.923 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the IP address setting] ****** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:731 Wednesday 20 November 2024 05:20:02 -0500 (0:00:00.176) 0:03:52.100 **** included: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting network ipaddress] ***** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 20 November 2024 05:20:02 -0500 (0:00:00.122) 0:03:52.223 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003529", "end": "2024-11-20 05:20:03.047972", "failed_when_result": false, "rc": 0, "start": "2024-11-20 05:20:03.044443" } STDOUT: ipaddress = 127.0.0.1 TASK [fedora.linux_system_roles.mssql : Configure the setting network ipaddress] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 20 November 2024 05:20:03 -0500 (0:00:00.349) 0:03:52.572 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network ipaddress] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 20 November 2024 05:20:03 -0500 (0:00:00.076) 0:03:52.649 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:738 Wednesday 20 November 2024 05:20:03 -0500 (0:00:00.065) 0:03:52.715 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1435] ************************************************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:745 Wednesday 20 November 2024 05:20:03 -0500 (0:00:00.070) 0:03:52.785 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the TCP port setting to 1435] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:757 Wednesday 20 November 2024 05:20:03 -0500 (0:00:00.067) 0:03:52.853 **** included: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tcpport] ******* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 20 November 2024 05:20:03 -0500 (0:00:00.119) 0:03:52.972 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002801", "end": "2024-11-20 05:20:03.795400", "failed_when_result": false, "rc": 0, "start": "2024-11-20 05:20:03.792599" } STDOUT: tcpport = 1435 TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 20 November 2024 05:20:03 -0500 (0:00:00.344) 0:03:53.317 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network tcpport] ***** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 20 November 2024 05:20:03 -0500 (0:00:00.071) 0:03:53.388 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:763 Wednesday 20 November 2024 05:20:04 -0500 (0:00:00.070) 0:03:53.459 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:783 Wednesday 20 November 2024 05:20:04 -0500 (0:00:00.063) 0:03:53.522 **** included: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting sqlagent enabled] ****** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 20 November 2024 05:20:04 -0500 (0:00:00.123) 0:03:53.646 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003393", "end": "2024-11-20 05:20:04.466802", "failed_when_result": false, "rc": 0, "start": "2024-11-20 05:20:04.463409" } STDOUT: enabled = False TASK [fedora.linux_system_roles.mssql : Configure the setting sqlagent enabled] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 20 November 2024 05:20:04 -0500 (0:00:00.448) 0:03:54.094 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting sqlagent enabled] **** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 20 November 2024 05:20:04 -0500 (0:00:00.073) 0:03:54.168 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:790 Wednesday 20 November 2024 05:20:04 -0500 (0:00:00.071) 0:03:54.240 **** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-fts is not installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:797 Wednesday 20 November 2024 05:20:05 -0500 (0:00:00.592) 0:03:54.833 **** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "powershell is not installed" ] } TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:806 Wednesday 20 November 2024 05:20:05 -0500 (0:00:00.506) 0:03:55.339 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002960", "end": "2024-11-20 05:20:06.167644", "failed_when_result": false, "rc": 1, "start": "2024-11-20 05:20:06.164684" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:812 Wednesday 20 November 2024 05:20:06 -0500 (0:00:00.348) 0:03:55.688 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:819 Wednesday 20 November 2024 05:20:06 -0500 (0:00:00.067) 0:03:55.756 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:827 Wednesday 20 November 2024 05:20:06 -0500 (0:00:00.068) 0:03:55.824 **** included: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting control alternatewritethrough] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 20 November 2024 05:20:06 -0500 (0:00:00.114) 0:03:55.938 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003684", "end": "2024-11-20 05:20:06.761068", "failed_when_result": false, "rc": 0, "start": "2024-11-20 05:20:06.757384" } STDOUT: alternatewritethrough = 0 TASK [fedora.linux_system_roles.mssql : Configure the setting control alternatewritethrough] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 20 November 2024 05:20:06 -0500 (0:00:00.341) 0:03:56.280 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting control alternatewritethrough] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 20 November 2024 05:20:06 -0500 (0:00:00.073) 0:03:56.353 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:833 Wednesday 20 November 2024 05:20:06 -0500 (0:00:00.067) 0:03:56.421 **** included: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting control writethrough] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 20 November 2024 05:20:07 -0500 (0:00:00.225) 0:03:56.647 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003004", "end": "2024-11-20 05:20:07.468299", "failed_when_result": false, "rc": 0, "start": "2024-11-20 05:20:07.465295" } STDOUT: writethrough = 0 TASK [fedora.linux_system_roles.mssql : Configure the setting control writethrough] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 20 November 2024 05:20:07 -0500 (0:00:00.345) 0:03:56.992 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting control writethrough] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 20 November 2024 05:20:07 -0500 (0:00:00.075) 0:03:57.068 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that ad_integration_realm variable is provided] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Wednesday 20 November 2024 05:20:07 -0500 (0:00:00.072) 0:03:57.141 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:851 Wednesday 20 November 2024 05:20:07 -0500 (0:00:00.067) 0:03:57.208 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure adutil and krb5-workstation] **** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:859 Wednesday 20 November 2024 05:20:07 -0500 (0:00:00.065) 0:03:57.274 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print credential caches to check if AD principal exists] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:866 Wednesday 20 November 2024 05:20:07 -0500 (0:00:00.067) 0:03:57.341 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:873 Wednesday 20 November 2024 05:20:07 -0500 (0:00:00.068) 0:03:57.409 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Obtain Kerberos ticket for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:882 Wednesday 20 November 2024 05:20:08 -0500 (0:00:00.073) 0:03:57.483 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Check if AD user exists] *************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:895 Wednesday 20 November 2024 05:20:08 -0500 (0:00:00.064) 0:03:57.548 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : In AD server create user] ************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:904 Wednesday 20 November 2024 05:20:08 -0500 (0:00:00.066) 0:03:57.615 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure proper configuration on user] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:918 Wednesday 20 November 2024 05:20:08 -0500 (0:00:00.066) 0:03:57.682 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get SPNs for the principal] ************ task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:928 Wednesday 20 November 2024 05:20:08 -0500 (0:00:00.064) 0:03:57.746 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register SPNs to the principal] ******** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:933 Wednesday 20 November 2024 05:20:08 -0500 (0:00:00.068) 0:03:57.814 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get kvno of the SPN host] ************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:950 Wednesday 20 November 2024 05:20:08 -0500 (0:00:00.063) 0:03:57.878 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get stats of the keytab file] ********** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:955 Wednesday 20 November 2024 05:20:08 -0500 (0:00:00.065) 0:03:57.944 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:960 Wednesday 20 November 2024 05:20:08 -0500 (0:00:00.061) 0:03:58.006 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:966 Wednesday 20 November 2024 05:20:08 -0500 (0:00:00.064) 0:03:58.071 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Add an entry in the keytab for the principal name and password] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:992 Wednesday 20 November 2024 05:20:08 -0500 (0:00:00.063) 0:03:58.134 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure correct permissions and ownership on the keytab] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1013 Wednesday 20 November 2024 05:20:08 -0500 (0:00:00.167) 0:03:58.301 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch keytab file to host] ************* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1021 Wednesday 20 November 2024 05:20:08 -0500 (0:00:00.065) 0:03:58.367 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1031 Wednesday 20 November 2024 05:20:09 -0500 (0:00:00.067) 0:03:58.435 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1037 Wednesday 20 November 2024 05:20:09 -0500 (0:00:00.072) 0:03:58.507 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with mssql_ha_replica_type=primary is available] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1055 Wednesday 20 November 2024 05:20:09 -0500 (0:00:00.064) 0:03:58.572 **** skipping: [managed-node1] => { "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: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1066 Wednesday 20 November 2024 05:20:09 -0500 (0:00:00.068) 0:03:58.640 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1086 Wednesday 20 November 2024 05:20:09 -0500 (0:00:00.064) 0:03:58.705 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1139 Wednesday 20 November 2024 05:20:09 -0500 (0:00:00.067) 0:03:58.772 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1146 Wednesday 20 November 2024 05:20:09 -0500 (0:00:00.062) 0:03:58.835 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1153 Wednesday 20 November 2024 05:20:09 -0500 (0:00:00.066) 0:03:58.901 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Wednesday 20 November 2024 05:20:09 -0500 (0:00:00.063) 0:03:58.965 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1169 Wednesday 20 November 2024 05:20:09 -0500 (0:00:00.067) 0:03:59.033 **** skipping: [managed-node1] => (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: [managed-node1] => (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 [fedora.linux_system_roles.mssql : Configure SQL entities on the primary replica] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1177 Wednesday 20 November 2024 05:20:09 -0500 (0:00:00.079) 0:03:59.112 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create login for HA on in SQL Server] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1186 Wednesday 20 November 2024 05:20:09 -0500 (0:00:00.063) 0:03:59.175 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch certificate files from the primary to the control node] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1194 Wednesday 20 November 2024 05:20:09 -0500 (0:00:00.066) 0:03:59.242 **** skipping: [managed-node1] => (item={u'key': u'cert', u'value': u'/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: [managed-node1] => (item={u'key': u'key', u'value': u'/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 [fedora.linux_system_roles.mssql : Get the current primary replica in SQL] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1208 Wednesday 20 November 2024 05:20:09 -0500 (0:00:00.081) 0:03:59.323 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set fact with the current primary replica] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1214 Wednesday 20 November 2024 05:20:09 -0500 (0:00:00.066) 0:03:59.390 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that primary instance hosts is available] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1236 Wednesday 20 November 2024 05:20:10 -0500 (0:00:00.063) 0:03:59.453 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1246 Wednesday 20 November 2024 05:20:10 -0500 (0:00:00.070) 0:03:59.523 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1255 Wednesday 20 November 2024 05:20:10 -0500 (0:00:00.064) 0:03:59.588 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1264 Wednesday 20 November 2024 05:20:10 -0500 (0:00:00.172) 0:03:59.760 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1275 Wednesday 20 November 2024 05:20:10 -0500 (0:00:00.065) 0:03:59.826 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with replica_type=primary is available] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1288 Wednesday 20 November 2024 05:20:10 -0500 (0:00:00.068) 0:03:59.894 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1297 Wednesday 20 November 2024 05:20:10 -0500 (0:00:00.069) 0:03:59.963 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1304 Wednesday 20 November 2024 05:20:10 -0500 (0:00:00.064) 0:04:00.028 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1311 Wednesday 20 November 2024 05:20:10 -0500 (0:00:00.067) 0:04:00.095 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1319 Wednesday 20 November 2024 05:20:10 -0500 (0:00:00.064) 0:04:00.160 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1326 Wednesday 20 November 2024 05:20:10 -0500 (0:00:00.067) 0:04:00.228 **** skipping: [managed-node1] => (item={u'key': u'cert', u'value': u'/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: [managed-node1] => (item={u'key': u'key', u'value': u'/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 [fedora.linux_system_roles.mssql : Configure SQL entities on not primary replicas] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1338 Wednesday 20 November 2024 05:20:10 -0500 (0:00:00.080) 0:04:00.308 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1347 Wednesday 20 November 2024 05:20:10 -0500 (0:00:00.066) 0:04:00.375 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Join to availability group] ************ task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1354 Wednesday 20 November 2024 05:20:11 -0500 (0:00:00.067) 0:04:00.442 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1360 Wednesday 20 November 2024 05:20:11 -0500 (0:00:00.068) 0:04:00.510 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key from the control node] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1368 Wednesday 20 November 2024 05:20:11 -0500 (0:00:00.068) 0:04:00.578 **** skipping: [managed-node1] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=key) => { "ansible_loop_var": "item", "changed": false, "item": "key", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Save credentials for the SQL Server login] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1381 Wednesday 20 November 2024 05:20:11 -0500 (0:00:00.074) 0:04:00.653 **** skipping: [managed-node1] => { "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: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1393 Wednesday 20 November 2024 05:20:11 -0500 (0:00:00.065) 0:04:00.718 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for the cluster to finish configuration] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1398 Wednesday 20 November 2024 05:20:11 -0500 (0:00:00.064) 0:04:00.782 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure listener for the availability group] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1406 Wednesday 20 November 2024 05:20:11 -0500 (0:00:00.066) 0:04:00.849 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1415 Wednesday 20 November 2024 05:20:11 -0500 (0:00:00.064) 0:04:00.913 **** ok: [managed-node1] => { "changed": false } META: ran handlers TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1428 Wednesday 20 November 2024 05:20:12 -0500 (0:00:00.733) 0:04:01.647 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1435 Wednesday 20 November 2024 05:20:12 -0500 (0:00:00.068) 0:04:01.716 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify disabled settings] ************************************************ task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_idempotency.yml:84 Wednesday 20 November 2024 05:20:12 -0500 (0:00:00.065) 0:04:01.782 **** included: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml for managed-node1 TASK [Check if the errorlog file exists and its location] ********************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:8 Wednesday 20 November 2024 05:20:12 -0500 (0:00:00.570) 0:04:02.352 **** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\nerrorlog=\"$(grep '^errorlogfile' /var/opt/mssql/mssql.conf \\\n2>&1 | sed 's\\errorlogfile : \\\\')\" || :\nif [ -f \"${errorlog}\" ]; then\n echo \"${errorlog}\"\nelif [ -f /var/opt/mssql/log/errorlog ]; then\n echo \"/var/opt/mssql/log/errorlog\"\nelse\n echo \"\"\nfi\n", "delta": "0:00:00.005377", "end": "2024-11-20 05:20:13.180632", "rc": 0, "start": "2024-11-20 05:20:13.175255" } STDOUT: /var/opt/mssql/log/errorlog TASK [Check if the set edition matches the existing edition] ******************* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:23 Wednesday 20 November 2024 05:20:13 -0500 (0:00:00.344) 0:04:02.697 **** ok: [managed-node1] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Standard edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n echo false\nelse\n echo true\nfi\n", "delta": "0:00:00.004350", "end": "2024-11-20 05:20:13.518033", "rc": 0, "start": "2024-11-20 05:20:13.513683" } STDOUT: true TASK [Verify if the edition matches] ******************************************* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:35 Wednesday 20 November 2024 05:20:13 -0500 (0:00:00.338) 0:04:03.035 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting {{ item.key }}] *************************************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:39 Wednesday 20 November 2024 05:20:13 -0500 (0:00:00.072) 0:04:03.108 **** included: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node1 included: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node1 included: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node1 included: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node1 included: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node1 TASK [Get the value of the setting ipaddress] ********************************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Wednesday 20 November 2024 05:20:13 -0500 (0:00:00.165) 0:04:03.274 **** ok: [managed-node1] => { "changed": false, "cmd": "grep '^ipaddress' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004309", "end": "2024-11-20 05:20:14.090148", "rc": 0, "start": "2024-11-20 05:20:14.085839" } STDOUT: ipaddress = 127.0.0.1 TASK [Verify the setting when it is type str ipaddress] ************************ task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Wednesday 20 November 2024 05:20:14 -0500 (0:00:00.351) 0:04:03.626 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool ipaddress] *********************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Wednesday 20 November 2024 05:20:14 -0500 (0:00:00.084) 0:04:03.711 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 127.0.0.1] ***************************************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Wednesday 20 November 2024 05:20:14 -0500 (0:00:00.067) 0:04:03.778 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting defaultdatadir] ***************************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Wednesday 20 November 2024 05:20:14 -0500 (0:00:00.069) 0:04:03.847 **** ok: [managed-node1] => { "changed": false, "cmd": "grep '^defaultdatadir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.003942", "end": "2024-11-20 05:20:14.718020", "rc": 0, "start": "2024-11-20 05:20:14.714078" } STDOUT: defaultdatadir = /var/opt/mssql/data TASK [Verify the setting when it is type str defaultdatadir] ******************* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Wednesday 20 November 2024 05:20:14 -0500 (0:00:00.393) 0:04:04.241 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultdatadir] ****************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Wednesday 20 November 2024 05:20:14 -0500 (0:00:00.083) 0:04:04.325 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /var/opt/mssql/data] ******************************* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Wednesday 20 November 2024 05:20:14 -0500 (0:00:00.067) 0:04:04.392 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting enabled] ************************************ task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Wednesday 20 November 2024 05:20:15 -0500 (0:00:00.069) 0:04:04.462 **** ok: [managed-node1] => { "changed": false, "cmd": "grep '^enabled' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004513", "end": "2024-11-20 05:20:15.288190", "rc": 0, "start": "2024-11-20 05:20:15.283677" } STDOUT: enabled = False TASK [Verify the setting when it is type str enabled] ************************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Wednesday 20 November 2024 05:20:15 -0500 (0:00:00.347) 0:04:04.810 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool enabled] ************************* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Wednesday 20 November 2024 05:20:15 -0500 (0:00:00.069) 0:04:04.879 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Wednesday 20 November 2024 05:20:15 -0500 (0:00:00.090) 0:04:04.970 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting defaultlogdir] ****************************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Wednesday 20 November 2024 05:20:15 -0500 (0:00:00.071) 0:04:05.041 **** ok: [managed-node1] => { "changed": false, "cmd": "grep '^defaultlogdir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.003772", "end": "2024-11-20 05:20:15.865506", "rc": 0, "start": "2024-11-20 05:20:15.861734" } STDOUT: defaultlogdir = /var/opt/mssql/log TASK [Verify the setting when it is type str defaultlogdir] ******************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Wednesday 20 November 2024 05:20:15 -0500 (0:00:00.345) 0:04:05.387 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultlogdir] ******************* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Wednesday 20 November 2024 05:20:16 -0500 (0:00:00.080) 0:04:05.468 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /var/opt/mssql/log] ******************************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Wednesday 20 November 2024 05:20:16 -0500 (0:00:00.073) 0:04:05.542 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting tcpport] ************************************ task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Wednesday 20 November 2024 05:20:16 -0500 (0:00:00.068) 0:04:05.610 **** ok: [managed-node1] => { "changed": false, "cmd": "grep '^tcpport' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004262", "end": "2024-11-20 05:20:16.465857", "rc": 0, "start": "2024-11-20 05:20:16.461595" } STDOUT: tcpport = 1435 TASK [Verify the setting when it is type str tcpport] ************************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Wednesday 20 November 2024 05:20:16 -0500 (0:00:00.373) 0:04:05.983 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool tcpport] ************************* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Wednesday 20 November 2024 05:20:16 -0500 (0:00:00.074) 0:04:06.058 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1435] ********************************************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Wednesday 20 November 2024 05:20:16 -0500 (0:00:00.070) 0:04:06.129 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get stat of mssql_datadir] *********************************************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:55 Wednesday 20 November 2024 05:20:16 -0500 (0:00:00.076) 0:04:06.205 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732097823.6172473, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1732097823.5632472, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 994, "gr_name": "mssql", "inode": 524350, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1732097823.5632472, "nlink": 2, "path": "/var/opt/mssql/data", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 996, "version": "380240323", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that mssql_datadir has proper permissions and ownership] ********** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:60 Wednesday 20 November 2024 05:20:17 -0500 (0:00:00.445) 0:04:06.651 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get stat of mssql_logdir] ************************************************ task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:70 Wednesday 20 November 2024 05:20:17 -0500 (0:00:00.077) 0:04:06.729 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732097984.1365454, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1732097984.1455455, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 994, "gr_name": "mssql", "inode": 524351, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1732097984.1455455, "nlink": 2, "path": "/var/opt/mssql/log", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 996, "version": "380240324", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that mssql_logdir has proper permissions and ownership] *********** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:75 Wednesday 20 November 2024 05:20:17 -0500 (0:00:00.343) 0:04:07.072 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:85 Wednesday 20 November 2024 05:20:17 -0500 (0:00:00.079) 0:04:07.152 **** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Wednesday 20 November 2024 05:20:17 -0500 (0:00:00.113) 0:04:07.265 **** ok: [managed-node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-11-20 05:19:41 EST", "ActiveEnterTimestampMonotonic": "1619900435", "ActiveExitTimestamp": "Wed 2024-11-20 05:19:12 EST", "ActiveExitTimestampMonotonic": "1590972128", "ActiveState": "active", "After": "basic.target network.target auditd.service -.mount system.slice systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-11-20 05:19:41 EST", "AssertTimestampMonotonic": "1619899689", "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": "Wed 2024-11-20 05:19:41 EST", "ConditionTimestampMonotonic": "1619899688", "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": "3777", "ExecMainStartTimestamp": "Wed 2024-11-20 05:19:41 EST", "ExecMainStartTimestampMonotonic": "1619900379", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2024-11-20 05:19:41 EST] ; stop_time=[n/a] ; pid=3777 ; 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": "Wed 2024-11-20 05:19:12 EST", "InactiveEnterTimestampMonotonic": "1591182252", "InactiveExitTimestamp": "Wed 2024-11-20 05:19:41 EST", "InactiveExitTimestampMonotonic": "1619900435", "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": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "3777", "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": "Wed 2024-11-20 05:19:41 EST", "WatchdogTimestampMonotonic": "1619900414", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Wednesday 20 November 2024 05:20:18 -0500 (0:00:00.429) 0:04:07.694 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002789", "end": "2024-11-20 05:20:18.516740", "failed_when_result": false, "rc": 0, "start": "2024-11-20 05:20:18.513951" } STDOUT: tcpport = 1435 TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Wednesday 20 November 2024 05:20:18 -0500 (0:00:00.339) 0:04:08.034 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002735", "end": "2024-11-20 05:20:18.854722", "failed_when_result": false, "rc": 0, "start": "2024-11-20 05:20:18.851987" } STDOUT: ipaddress = 127.0.0.1 TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Wednesday 20 November 2024 05:20:18 -0500 (0:00:00.338) 0:04:08.372 **** ok: [managed-node1] => { "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: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Wednesday 20 November 2024 05:20:19 -0500 (0:00:00.079) 0:04:08.452 **** ok: [managed-node1] => { "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": 6573, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:99 Wednesday 20 November 2024 05:20:20 -0500 (0:00:01.350) 0:04:09.803 **** ok: [managed-node1] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools18/bin/sqlcmd", "-No", "-S", "127.0.0.1,1435", "-U", "sa", "-P", "p@55w0rD1", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.020494", "end": "2024-11-20 05:20:20.646199", "rc": 0, "start": "2024-11-20 05:20:20.625705" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2017 (RTM-CU31-GDR) (KB5029376) - 14.0.3465.1 (X64) Jul 30 2023 15:31:58 Copyright (C) 2017 Microsoft Corporation Standard Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:118 Wednesday 20 November 2024 05:20:20 -0500 (0:00:00.370) 0:04:10.173 **** ok: [managed-node1] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:122 Wednesday 20 November 2024 05:20:20 -0500 (0:00:00.072) 0:04:10.245 **** included: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml for managed-node1 TASK [Gather package facts] **************************************************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml:7 Wednesday 20 November 2024 05:20:20 -0500 (0:00:00.112) 0:04:10.358 **** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Verify if the package is installed mssql-server-fts] ********************* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml:12 Wednesday 20 November 2024 05:20:22 -0500 (0:00:01.174) 0:04:11.532 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the package is not installed mssql-server-fts] ***************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml:17 Wednesday 20 November 2024 05:20:22 -0500 (0:00:00.075) 0:04:11.607 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the package powershell] ******************************************* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:129 Wednesday 20 November 2024 05:20:22 -0500 (0:00:00.097) 0:04:11.704 **** included: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml for managed-node1 TASK [Gather package facts] **************************************************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml:7 Wednesday 20 November 2024 05:20:22 -0500 (0:00:00.116) 0:04:11.821 **** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Verify if the package is installed powershell] *************************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml:12 Wednesday 20 November 2024 05:20:23 -0500 (0:00:01.433) 0:04:13.254 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the package is not installed powershell] *********************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml:17 Wednesday 20 November 2024 05:20:23 -0500 (0:00:00.069) 0:04:13.324 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:140 Wednesday 20 November 2024 05:20:23 -0500 (0:00:00.101) 0:04:13.426 **** ok: [managed-node1] => { "changed": false, "cmd": "grep '^traceflag' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.003705", "end": "2024-11-20 05:20:24.252104", "rc": 0, "start": "2024-11-20 05:20:24.248399" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:145 Wednesday 20 November 2024 05:20:24 -0500 (0:00:00.345) 0:04:13.772 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:150 Wednesday 20 November 2024 05:20:24 -0500 (0:00:00.068) 0:04:13.840 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:156 Wednesday 20 November 2024 05:20:24 -0500 (0:00:00.074) 0:04:13.915 **** included: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node1 TASK [Get the value of the setting alternatewritethrough] ********************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Wednesday 20 November 2024 05:20:24 -0500 (0:00:00.119) 0:04:14.034 **** ok: [managed-node1] => { "changed": false, "cmd": "grep '^alternatewritethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004305", "end": "2024-11-20 05:20:24.858330", "rc": 0, "start": "2024-11-20 05:20:24.854025" } STDOUT: alternatewritethrough = 0 TASK [Verify the setting when it is type str alternatewritethrough] ************ task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Wednesday 20 November 2024 05:20:24 -0500 (0:00:00.346) 0:04:14.381 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool alternatewritethrough] *********** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Wednesday 20 November 2024 05:20:25 -0500 (0:00:00.069) 0:04:14.451 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Wednesday 20 November 2024 05:20:25 -0500 (0:00:00.084) 0:04:14.535 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:162 Wednesday 20 November 2024 05:20:25 -0500 (0:00:00.068) 0:04:14.603 **** included: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node1 TASK [Get the value of the setting writethrough] ******************************* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Wednesday 20 November 2024 05:20:25 -0500 (0:00:00.239) 0:04:14.843 **** ok: [managed-node1] => { "changed": false, "cmd": "grep '^writethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004728", "end": "2024-11-20 05:20:25.675686", "rc": 0, "start": "2024-11-20 05:20:25.670958" } STDOUT: writethrough = 0 TASK [Verify the setting when it is type str writethrough] ********************* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Wednesday 20 November 2024 05:20:25 -0500 (0:00:00.360) 0:04:15.203 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool writethrough] ******************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Wednesday 20 November 2024 05:20:25 -0500 (0:00:00.072) 0:04:15.275 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Wednesday 20 November 2024 05:20:25 -0500 (0:00:00.090) 0:04:15.365 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:172 Wednesday 20 November 2024 05:20:26 -0500 (0:00:00.067) 0:04:15.432 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:183 Wednesday 20 November 2024 05:20:26 -0500 (0:00:00.067) 0:04:15.500 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:195 Wednesday 20 November 2024 05:20:26 -0500 (0:00:00.066) 0:04:15.567 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:203 Wednesday 20 November 2024 05:20:26 -0500 (0:00:00.068) 0:04:15.636 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:210 Wednesday 20 November 2024 05:20:26 -0500 (0:00:00.067) 0:04:15.703 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the ansible_managed header in the configuration file] ************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_idempotency.yml:101 Wednesday 20 November 2024 05:20:26 -0500 (0:00:00.065) 0:04:15.768 **** included: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/check_header.yml for managed-node1 TASK [Grep the ansible_managed header in /var/opt/mssql/mssql.conf] ************ task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/check_header.yml:4 Wednesday 20 November 2024 05:20:26 -0500 (0:00:00.585) 0:04:16.354 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "Ansible managed\n", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002701", "end": "2024-11-20 05:20:27.495723", "rc": 0, "start": "2024-11-20 05:20:27.493022" } STDOUT: # BEGIN ANSIBLE MANAGED BLOCK # # Ansible managed # # system_role:mssql # END ANSIBLE MANAGED BLOCK [sqlagent] enabled = False [EULA] accepteula = Y [filelocation] defaultdatadir = /var/opt/mssql/data defaultlogdir = /var/opt/mssql/log [network] ipaddress = 127.0.0.1 tcpport = 1435 [traceflag] [control] alternatewritethrough = 0 writethrough = 0 TASK [Clean up after the role invocation] ************************************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_idempotency_2017.yml:18 Wednesday 20 November 2024 05:20:27 -0500 (0:00:00.658) 0:04:17.012 **** included: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml for managed-node1 TASK [Gather package facts] **************************************************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:2 Wednesday 20 November 2024 05:20:27 -0500 (0:00:00.117) 0:04:17.130 **** ok: [managed-node1] => { "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: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:6 Wednesday 20 November 2024 05:20:28 -0500 (0:00:01.169) 0:04:18.300 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Debug ansible_python_version] ******************************************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:14 Wednesday 20 November 2024 05:20:28 -0500 (0:00:00.092) 0:04:18.392 **** ok: [managed-node1] => { "ansible_python_version": "2.7.5" } TASK [Purge firewall configuration] ******************************************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:18 Wednesday 20 November 2024 05:20:29 -0500 (0:00:00.071) 0:04:18.464 **** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Wednesday 20 November 2024 05:20:29 -0500 (0:00:00.171) 0:04:18.636 **** included: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for managed-node1 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Wednesday 20 November 2024 05:20:29 -0500 (0:00:00.126) 0:04:18.762 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Wednesday 20 November 2024 05:20:29 -0500 (0:00:00.093) 0:04:18.856 **** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Wednesday 20 November 2024 05:20:29 -0500 (0:00:00.332) 0:04:19.189 **** ok: [managed-node1] => { "ansible_facts": { "__firewall_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Wednesday 20 November 2024 05:20:29 -0500 (0:00:00.208) 0:04:19.398 **** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Wednesday 20 November 2024 05:20:30 -0500 (0:00:00.348) 0:04:19.746 **** ok: [managed-node1] => { "ansible_facts": { "__firewall_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Wednesday 20 November 2024 05:20:30 -0500 (0:00:00.072) 0:04:19.818 **** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [fedora.linux_system_roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Wednesday 20 November 2024 05:20:30 -0500 (0:00:00.544) 0:04:20.363 **** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Wednesday 20 November 2024 05:20:31 -0500 (0:00:00.071) 0:04:20.435 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Fail if reboot is needed and not set] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Wednesday 20 November 2024 05:20:31 -0500 (0:00:00.067) 0:04:20.502 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Wednesday 20 November 2024 05:20:31 -0500 (0:00:00.068) 0:04:20.570 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Wednesday 20 November 2024 05:20:31 -0500 (0:00:00.064) 0:04:20.635 **** skipping: [managed-node1] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (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: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Wednesday 20 November 2024 05:20:31 -0500 (0:00:00.087) 0:04:20.722 **** ok: [managed-node1] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Wed 2024-11-20 04:58:17 EST", "ActiveEnterTimestampMonotonic": "335960584", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice polkit.service dbus.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-11-20 04:58:17 EST", "AssertTimestampMonotonic": "335707983", "Before": "shutdown.target multi-user.target network-pre.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": "Wed 2024-11-20 04:58:17 EST", "ConditionTimestampMonotonic": "335707981", "Conflicts": "ebtables.service iptables.service ip6tables.service ipset.service shutdown.target", "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": "9674", "ExecMainStartTimestamp": "Wed 2024-11-20 04:58:17 EST", "ExecMainStartTimestampMonotonic": "335709557", "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": "Wed 2024-11-20 04:58:17 EST", "InactiveExitTimestampMonotonic": "335709855", "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": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "9674", "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": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "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": "Wed 2024-11-20 04:58:17 EST", "WatchdogTimestampMonotonic": "335960112", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Wednesday 20 November 2024 05:20:31 -0500 (0:00:00.446) 0:04:21.168 **** ok: [managed-node1] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-11-20 04:58:17 EST", "ActiveEnterTimestampMonotonic": "335960584", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice polkit.service dbus.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-11-20 04:58:17 EST", "AssertTimestampMonotonic": "335707983", "Before": "shutdown.target multi-user.target network-pre.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": "Wed 2024-11-20 04:58:17 EST", "ConditionTimestampMonotonic": "335707981", "Conflicts": "ebtables.service iptables.service ip6tables.service ipset.service shutdown.target", "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": "9674", "ExecMainStartTimestamp": "Wed 2024-11-20 04:58:17 EST", "ExecMainStartTimestampMonotonic": "335709557", "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": "Wed 2024-11-20 04:58:17 EST", "InactiveExitTimestampMonotonic": "335709855", "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": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "9674", "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": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "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": "Wed 2024-11-20 04:58:17 EST", "WatchdogTimestampMonotonic": "335960112", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Wednesday 20 November 2024 05:20:32 -0500 (0:00:00.441) 0:04:21.610 **** ok: [managed-node1] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/bin/python", "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Wednesday 20 November 2024 05:20:32 -0500 (0:00:00.077) 0:04:21.687 **** ok: [managed-node1] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.15.103 closed. TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Wednesday 20 November 2024 05:20:32 -0500 (0:00:00.336) 0:04:22.024 **** ok: [managed-node1] => { "ansible_facts": { "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Wednesday 20 November 2024 05:20:32 -0500 (0:00:00.172) 0:04:22.197 **** TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Wednesday 20 November 2024 05:20:32 -0500 (0:00:00.068) 0:04:22.265 **** TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Wednesday 20 November 2024 05:20:32 -0500 (0:00:00.069) 0:04:22.335 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Wednesday 20 November 2024 05:20:32 -0500 (0:00:00.074) 0:04:22.409 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Wednesday 20 November 2024 05:20:33 -0500 (0:00:00.070) 0:04:22.480 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Wednesday 20 November 2024 05:20:33 -0500 (0:00:00.070) 0:04:22.550 **** ok: [managed-node1] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.15.103 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Wednesday 20 November 2024 05:20:33 -0500 (0:00:00.358) 0:04:22.909 **** ok: [managed-node1] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Wednesday 20 November 2024 05:20:33 -0500 (0:00:00.077) 0:04:22.986 **** skipping: [managed-node1] => {} TASK [Purge selinux configuration] ********************************************* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:26 Wednesday 20 November 2024 05:20:33 -0500 (0:00:00.072) 0:04:23.058 **** TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Wednesday 20 November 2024 05:20:33 -0500 (0:00:00.160) 0:04:23.218 **** included: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml for managed-node1 TASK [fedora.linux_system_roles.selinux : Ensure ansible_facts used by role] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2 Wednesday 20 November 2024 05:20:33 -0500 (0:00:00.116) 0:04:23.335 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Ensure SELinux packages] ************* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7 Wednesday 20 November 2024 05:20:33 -0500 (0:00:00.088) 0:04:23.423 **** included: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml for managed-node1 TASK [fedora.linux_system_roles.selinux : Check if system is ostree] *********** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:5 Wednesday 20 November 2024 05:20:34 -0500 (0:00:00.122) 0:04:23.545 **** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.selinux : Set flag to indicate system is ostree] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:10 Wednesday 20 November 2024 05:20:34 -0500 (0:00:00.340) 0:04:23.885 **** ok: [managed-node1] => { "ansible_facts": { "__selinux_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:17 Wednesday 20 November 2024 05:20:34 -0500 (0:00:00.174) 0:04:24.060 **** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.selinux : Set flag if transactional-update exists] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:22 Wednesday 20 November 2024 05:20:34 -0500 (0:00:00.341) 0:04:24.402 **** ok: [managed-node1] => { "ansible_facts": { "__selinux_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Install SELinux python2 tools] ******* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:26 Wednesday 20 November 2024 05:20:35 -0500 (0:00:00.075) 0:04:24.478 **** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "libselinux-python-2.5-15.el7.x86_64 providing libselinux-python is already installed", "policycoreutils-python-2.5-34.el7.x86_64 providing policycoreutils-python is already installed" ] } TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:35 Wednesday 20 November 2024 05:20:35 -0500 (0:00:00.554) 0:04:25.032 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:46 Wednesday 20 November 2024 05:20:35 -0500 (0:00:00.066) 0:04:25.099 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux tool semanage] ******* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:58 Wednesday 20 November 2024 05:20:35 -0500 (0:00:00.068) 0:04:25.167 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:72 Wednesday 20 November 2024 05:20:35 -0500 (0:00:00.067) 0:04:25.234 **** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.selinux : Reboot transactional update systems] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:77 Wednesday 20 November 2024 05:20:35 -0500 (0:00:00.067) 0:04:25.302 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Fail if reboot is needed and not set] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:82 Wednesday 20 November 2024 05:20:35 -0500 (0:00:00.066) 0:04:25.368 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Refresh facts] *********************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:89 Wednesday 20 November 2024 05:20:36 -0500 (0:00:00.068) 0:04:25.437 **** ok: [managed-node1] TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Wednesday 20 November 2024 05:20:36 -0500 (0:00:00.559) 0:04:25.997 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if disabled] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:13 Wednesday 20 November 2024 05:20:36 -0500 (0:00:00.067) 0:04:26.064 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set selinux_reboot_required] ********* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:21 Wednesday 20 November 2024 05:20:36 -0500 (0:00:00.064) 0:04:26.129 **** ok: [managed-node1] => { "ansible_facts": { "selinux_reboot_required": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Fail if reboot is required] ********** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:25 Wednesday 20 November 2024 05:20:36 -0500 (0:00:00.070) 0:04:26.199 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Warn if SELinux is disabled] ********* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:30 Wednesday 20 November 2024 05:20:36 -0500 (0:00:00.060) 0:04:26.260 **** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:35 Wednesday 20 November 2024 05:20:36 -0500 (0:00:00.170) 0:04:26.430 **** NOTIFIED HANDLER fedora.linux_system_roles.selinux : Reload SELinux policy for managed-node1 changed: [managed-node1] => { "changed": true, "cmd": [ "/usr/sbin/semanage", "-i", "-" ], "delta": "0:00:00.346692", "end": "2024-11-20 05:20:37.600166", "rc": 0, "start": "2024-11-20 05:20:37.253474" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux boolean local modifications] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:43 Wednesday 20 November 2024 05:20:37 -0500 (0:00:00.692) 0:04:27.123 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux file context local modifications] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Wednesday 20 November 2024 05:20:37 -0500 (0:00:00.065) 0:04:27.189 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux port local modifications] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:53 Wednesday 20 November 2024 05:20:37 -0500 (0:00:00.068) 0:04:27.257 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux login local modifications] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:58 Wednesday 20 November 2024 05:20:37 -0500 (0:00:00.067) 0:04:27.325 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set SELinux booleans] **************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Wednesday 20 November 2024 05:20:37 -0500 (0:00:00.065) 0:04:27.391 **** TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:74 Wednesday 20 November 2024 05:20:38 -0500 (0:00:00.068) 0:04:27.459 **** TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:87 Wednesday 20 November 2024 05:20:38 -0500 (0:00:00.066) 0:04:27.525 **** TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:99 Wednesday 20 November 2024 05:20:38 -0500 (0:00:00.067) 0:04:27.593 **** TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 Wednesday 20 November 2024 05:20:38 -0500 (0:00:00.064) 0:04:27.658 **** ok: [managed-node1] => { "ansible_facts": { "selinux_checksums": false, "selinux_installed_modules": { "abrt": { "100": { "checksum": "", "enabled": 1 } }, "accountsd": { "100": { "checksum": "", "enabled": 1 } }, "acct": { "100": { "checksum": "", "enabled": 1 } }, "afs": { "100": { "checksum": "", "enabled": 1 } }, "aiccu": { "100": { "checksum": "", "enabled": 1 } }, "aide": { "100": { "checksum": "", "enabled": 1 } }, "ajaxterm": { "100": { "checksum": "", "enabled": 1 } }, "alsa": { "100": { "checksum": "", "enabled": 1 } }, "amanda": { "100": { "checksum": "", "enabled": 1 } }, "amtu": { "100": { "checksum": "", "enabled": 1 } }, "anaconda": { "100": { "checksum": "", "enabled": 1 } }, "antivirus": { "100": { "checksum": "", "enabled": 1 } }, "apache": { "100": { "checksum": "", "enabled": 1 } }, "apcupsd": { "100": { "checksum": "", "enabled": 1 } }, "apm": { "100": { "checksum": "", "enabled": 1 } }, "application": { "100": { "checksum": "", "enabled": 1 } }, "arpwatch": { "100": { "checksum": "", "enabled": 1 } }, "asterisk": { "100": { "checksum": "", "enabled": 1 } }, "auditadm": { "100": { "checksum": "", "enabled": 1 } }, "authconfig": { "100": { "checksum": "", "enabled": 1 } }, "authlogin": { "100": { "checksum": "", "enabled": 1 } }, "automount": { "100": { "checksum": "", "enabled": 1 } }, "avahi": { "100": { "checksum": "", "enabled": 1 } }, "awstats": { "100": { "checksum": "", "enabled": 1 } }, "bacula": { "100": { "checksum": "", "enabled": 1 } }, "base": { "100": { "checksum": "", "enabled": 1 } }, "bcfg2": { "100": { "checksum": "", "enabled": 1 } }, "bind": { "100": { "checksum": "", "enabled": 1 } }, "bitlbee": { "100": { "checksum": "", "enabled": 1 } }, "blkmapd": { "100": { "checksum": "", "enabled": 1 } }, "blueman": { "100": { "checksum": "", "enabled": 1 } }, "bluetooth": { "100": { "checksum": "", "enabled": 1 } }, "boinc": { "100": { "checksum": "", "enabled": 1 } }, "boltd": { "100": { "checksum": "", "enabled": 1 } }, "bootloader": { "100": { "checksum": "", "enabled": 1 } }, "brctl": { "100": { "checksum": "", "enabled": 1 } }, "brltty": { "100": { "checksum": "", "enabled": 1 } }, "bugzilla": { "100": { "checksum": "", "enabled": 1 } }, "bumblebee": { "100": { "checksum": "", "enabled": 1 } }, "cachefilesd": { "100": { "checksum": "", "enabled": 1 } }, "calamaris": { "100": { "checksum": "", "enabled": 1 } }, "callweaver": { "100": { "checksum": "", "enabled": 1 } }, "canna": { "100": { "checksum": "", "enabled": 1 } }, "ccs": { "100": { "checksum": "", "enabled": 1 } }, "cdrecord": { "100": { "checksum": "", "enabled": 1 } }, "certmaster": { "100": { "checksum": "", "enabled": 1 } }, "certmonger": { "100": { "checksum": "", "enabled": 1 } }, "certwatch": { "100": { "checksum": "", "enabled": 1 } }, "cfengine": { "100": { "checksum": "", "enabled": 1 } }, "cgdcbxd": { "100": { "checksum": "", "enabled": 1 } }, "cgroup": { "100": { "checksum": "", "enabled": 1 } }, "chrome": { "100": { "checksum": "", "enabled": 1 } }, "chronyd": { "100": { "checksum": "", "enabled": 1 } }, "cinder": { "100": { "checksum": "", "enabled": 1 } }, "cipe": { "100": { "checksum": "", "enabled": 1 } }, "clock": { "100": { "checksum": "", "enabled": 1 } }, "clogd": { "100": { "checksum": "", "enabled": 1 } }, "cloudform": { "100": { "checksum": "", "enabled": 1 } }, "cmirrord": { "100": { "checksum": "", "enabled": 1 } }, "cobbler": { "100": { "checksum": "", "enabled": 1 } }, "cockpit": { "100": { "checksum": "", "enabled": 1 } }, "collectd": { "100": { "checksum": "", "enabled": 1 } }, "colord": { "100": { "checksum": "", "enabled": 1 } }, "comsat": { "100": { "checksum": "", "enabled": 1 } }, "condor": { "100": { "checksum": "", "enabled": 1 } }, "conman": { "100": { "checksum": "", "enabled": 1 } }, "consolekit": { "100": { "checksum": "", "enabled": 1 } }, "container": { "100": { "checksum": "", "enabled": 1 } }, "couchdb": { "100": { "checksum": "", "enabled": 1 } }, "courier": { "100": { "checksum": "", "enabled": 1 } }, "cpucontrol": { "100": { "checksum": "", "enabled": 1 } }, "cpufreqselector": { "100": { "checksum": "", "enabled": 1 } }, "cpuplug": { "100": { "checksum": "", "enabled": 1 } }, "cron": { "100": { "checksum": "", "enabled": 1 } }, "ctdb": { "100": { "checksum": "", "enabled": 1 } }, "cups": { "100": { "checksum": "", "enabled": 1 } }, "cvs": { "100": { "checksum": "", "enabled": 1 } }, "cyphesis": { "100": { "checksum": "", "enabled": 1 } }, "cyrus": { "100": { "checksum": "", "enabled": 1 } }, "daemontools": { "100": { "checksum": "", "enabled": 1 } }, "dbadm": { "100": { "checksum": "", "enabled": 1 } }, "dbskk": { "100": { "checksum": "", "enabled": 1 } }, "dbus": { "100": { "checksum": "", "enabled": 1 } }, "dcc": { "100": { "checksum": "", "enabled": 1 } }, "ddclient": { "100": { "checksum": "", "enabled": 1 } }, "denyhosts": { "100": { "checksum": "", "enabled": 1 } }, "devicekit": { "100": { "checksum": "", "enabled": 1 } }, "dhcp": { "100": { "checksum": "", "enabled": 1 } }, "dictd": { "100": { "checksum": "", "enabled": 1 } }, "dirsrv": { "100": { "checksum": "", "enabled": 1 } }, "dirsrv-admin": { "100": { "checksum": "", "enabled": 1 } }, "dmesg": { "100": { "checksum": "", "enabled": 1 } }, "dmidecode": { "100": { "checksum": "", "enabled": 1 } }, "dnsmasq": { "100": { "checksum": "", "enabled": 1 } }, "dnssec": { "100": { "checksum": "", "enabled": 1 } }, "dovecot": { "100": { "checksum": "", "enabled": 1 } }, "drbd": { "100": { "checksum": "", "enabled": 1 } }, "dspam": { "100": { "checksum": "", "enabled": 1 } }, "entropyd": { "100": { "checksum": "", "enabled": 1 } }, "exim": { "100": { "checksum": "", "enabled": 1 } }, "fail2ban": { "100": { "checksum": "", "enabled": 1 } }, "fcoe": { "100": { "checksum": "", "enabled": 1 } }, "fetchmail": { "100": { "checksum": "", "enabled": 1 } }, "finger": { "100": { "checksum": "", "enabled": 1 } }, "firewalld": { "100": { "checksum": "", "enabled": 1 } }, "firewallgui": { "100": { "checksum": "", "enabled": 1 } }, "firstboot": { "100": { "checksum": "", "enabled": 1 } }, "fprintd": { "100": { "checksum": "", "enabled": 1 } }, "freeipmi": { "100": { "checksum": "", "enabled": 1 } }, "freqset": { "100": { "checksum": "", "enabled": 1 } }, "fstools": { "100": { "checksum": "", "enabled": 1 } }, "ftp": { "100": { "checksum": "", "enabled": 1 } }, "games": { "100": { "checksum": "", "enabled": 1 } }, "ganesha": { "100": { "checksum": "", "enabled": 1 } }, "gdomap": { "100": { "checksum": "", "enabled": 1 } }, "geoclue": { "100": { "checksum": "", "enabled": 1 } }, "getty": { "100": { "checksum": "", "enabled": 1 } }, "git": { "100": { "checksum": "", "enabled": 1 } }, "gitosis": { "100": { "checksum": "", "enabled": 1 } }, "glance": { "100": { "checksum": "", "enabled": 1 } }, "glusterd": { "100": { "checksum": "", "enabled": 1 } }, "gnome": { "100": { "checksum": "", "enabled": 1 } }, "gpg": { "100": { "checksum": "", "enabled": 1 } }, "gpm": { "100": { "checksum": "", "enabled": 1 } }, "gpsd": { "100": { "checksum": "", "enabled": 1 } }, "gssproxy": { "100": { "checksum": "", "enabled": 1 } }, "guest": { "100": { "checksum": "", "enabled": 1 } }, "hddtemp": { "100": { "checksum": "", "enabled": 1 } }, "hostname": { "100": { "checksum": "", "enabled": 1 } }, "hsqldb": { "100": { "checksum": "", "enabled": 1 } }, "hwloc": { "100": { "checksum": "", "enabled": 1 } }, "hypervkvp": { "100": { "checksum": "", "enabled": 1 } }, "icecast": { "100": { "checksum": "", "enabled": 1 } }, "inetd": { "100": { "checksum": "", "enabled": 1 } }, "init": { "100": { "checksum": "", "enabled": 1 } }, "inn": { "100": { "checksum": "", "enabled": 1 } }, "iodine": { "100": { "checksum": "", "enabled": 1 } }, "iotop": { "100": { "checksum": "", "enabled": 1 } }, "ipa": { "100": { "checksum": "", "enabled": 1 } }, "ipmievd": { "100": { "checksum": "", "enabled": 1 } }, "ipsec": { "100": { "checksum": "", "enabled": 1 } }, "iptables": { "100": { "checksum": "", "enabled": 1 } }, "irc": { "100": { "checksum": "", "enabled": 1 } }, "irqbalance": { "100": { "checksum": "", "enabled": 1 } }, "iscsi": { "100": { "checksum": "", "enabled": 1 } }, "isns": { "100": { "checksum": "", "enabled": 1 } }, "jabber": { "100": { "checksum": "", "enabled": 1 } }, "jetty": { "100": { "checksum": "", "enabled": 1 } }, "jockey": { "100": { "checksum": "", "enabled": 1 } }, "journalctl": { "100": { "checksum": "", "enabled": 1 } }, "kdump": { "100": { "checksum": "", "enabled": 1 } }, "kdumpgui": { "100": { "checksum": "", "enabled": 1 } }, "keepalived": { "100": { "checksum": "", "enabled": 1 } }, "kerberos": { "100": { "checksum": "", "enabled": 1 } }, "keyboardd": { "100": { "checksum": "", "enabled": 1 } }, "keystone": { "100": { "checksum": "", "enabled": 1 } }, "kismet": { "100": { "checksum": "", "enabled": 1 } }, "kmscon": { "100": { "checksum": "", "enabled": 1 } }, "kpatch": { "100": { "checksum": "", "enabled": 1 } }, "ksmtuned": { "100": { "checksum": "", "enabled": 1 } }, "ktalk": { "100": { "checksum": "", "enabled": 1 } }, "l2tp": { "100": { "checksum": "", "enabled": 1 } }, "ldap": { "100": { "checksum": "", "enabled": 1 } }, "libraries": { "100": { "checksum": "", "enabled": 1 } }, "likewise": { "100": { "checksum": "", "enabled": 1 } }, "linuxptp": { "100": { "checksum": "", "enabled": 1 } }, "lircd": { "100": { "checksum": "", "enabled": 1 } }, "livecd": { "100": { "checksum": "", "enabled": 1 } }, "lldpad": { "100": { "checksum": "", "enabled": 1 } }, "loadkeys": { "100": { "checksum": "", "enabled": 1 } }, "locallogin": { "100": { "checksum": "", "enabled": 1 } }, "lockdev": { "100": { "checksum": "", "enabled": 1 } }, "logadm": { "100": { "checksum": "", "enabled": 1 } }, "logging": { "100": { "checksum": "", "enabled": 1 } }, "logrotate": { "100": { "checksum": "", "enabled": 1 } }, "logwatch": { "100": { "checksum": "", "enabled": 1 } }, "lpd": { "100": { "checksum": "", "enabled": 1 } }, "lsm": { "100": { "checksum": "", "enabled": 1 } }, "lttng-tools": { "100": { "checksum": "", "enabled": 1 } }, "lvm": { "100": { "checksum": "", "enabled": 1 } }, "mailman": { "100": { "checksum": "", "enabled": 1 } }, "mailscanner": { "100": { "checksum": "", "enabled": 1 } }, "man2html": { "100": { "checksum": "", "enabled": 1 } }, "mandb": { "100": { "checksum": "", "enabled": 1 } }, "mcelog": { "100": { "checksum": "", "enabled": 1 } }, "mediawiki": { "100": { "checksum": "", "enabled": 1 } }, "memcached": { "100": { "checksum": "", "enabled": 1 } }, "milter": { "100": { "checksum": "", "enabled": 1 } }, "minidlna": { "100": { "checksum": "", "enabled": 1 } }, "minissdpd": { "100": { "checksum": "", "enabled": 1 } }, "mip6d": { "100": { "checksum": "", "enabled": 1 } }, "mirrormanager": { "100": { "checksum": "", "enabled": 1 } }, "miscfiles": { "100": { "checksum": "", "enabled": 1 } }, "mock": { "100": { "checksum": "", "enabled": 1 } }, "modemmanager": { "100": { "checksum": "", "enabled": 1 } }, "modutils": { "100": { "checksum": "", "enabled": 1 } }, "mojomojo": { "100": { "checksum": "", "enabled": 1 } }, "mon_statd": { "100": { "checksum": "", "enabled": 1 } }, "mongodb": { "100": { "checksum": "", "enabled": 1 } }, "motion": { "100": { "checksum": "", "enabled": 1 } }, "mount": { "100": { "checksum": "", "enabled": 1 } }, "mozilla": { "100": { "checksum": "", "enabled": 1 } }, "mpd": { "100": { "checksum": "", "enabled": 1 } }, "mplayer": { "100": { "checksum": "", "enabled": 1 } }, "mrtg": { "100": { "checksum": "", "enabled": 1 } }, "mta": { "100": { "checksum": "", "enabled": 1 } }, "munin": { "100": { "checksum": "", "enabled": 1 } }, "mysql": { "100": { "checksum": "", "enabled": 1 } }, "mythtv": { "100": { "checksum": "", "enabled": 1 } }, "nagios": { "100": { "checksum": "", "enabled": 1 } }, "namespace": { "100": { "checksum": "", "enabled": 1 } }, "ncftool": { "100": { "checksum": "", "enabled": 1 } }, "netlabel": { "100": { "checksum": "", "enabled": 1 } }, "netutils": { "100": { "checksum": "", "enabled": 1 } }, "networkmanager": { "100": { "checksum": "", "enabled": 1 } }, "ninfod": { "100": { "checksum": "", "enabled": 1 } }, "nis": { "100": { "checksum": "", "enabled": 1 } }, "nova": { "100": { "checksum": "", "enabled": 1 } }, "nscd": { "100": { "checksum": "", "enabled": 1 } }, "nsd": { "100": { "checksum": "", "enabled": 1 } }, "nslcd": { "100": { "checksum": "", "enabled": 1 } }, "ntop": { "100": { "checksum": "", "enabled": 1 } }, "ntp": { "100": { "checksum": "", "enabled": 1 } }, "numad": { "100": { "checksum": "", "enabled": 1 } }, "nut": { "100": { "checksum": "", "enabled": 1 } }, "nx": { "100": { "checksum": "", "enabled": 1 } }, "obex": { "100": { "checksum": "", "enabled": 1 } }, "oddjob": { "100": { "checksum": "", "enabled": 1 } }, "openct": { "100": { "checksum": "", "enabled": 1 } }, "opendnssec": { "100": { "checksum": "", "enabled": 1 } }, "openhpid": { "100": { "checksum": "", "enabled": 1 } }, "openshift": { "100": { "checksum": "", "enabled": 1 } }, "openshift-origin": { "100": { "checksum": "", "enabled": 1 } }, "opensm": { "100": { "checksum": "", "enabled": 1 } }, "openvpn": { "100": { "checksum": "", "enabled": 1 } }, "openvswitch": { "100": { "checksum": "", "enabled": 1 } }, "openwsman": { "100": { "checksum": "", "enabled": 1 } }, "oracleasm": { "100": { "checksum": "", "enabled": 1 } }, "osad": { "100": { "checksum": "", "enabled": 1 } }, "pads": { "100": { "checksum": "", "enabled": 1 } }, "passenger": { "100": { "checksum": "", "enabled": 1 } }, "pcmcia": { "100": { "checksum": "", "enabled": 1 } }, "pcp": { "100": { "checksum": "", "enabled": 1 } }, "pcscd": { "100": { "checksum": "", "enabled": 1 } }, "pegasus": { "100": { "checksum": "", "enabled": 1 } }, "permissivedomains": { "100": { "checksum": "", "enabled": 1 } }, "pesign": { "100": { "checksum": "", "enabled": 1 } }, "pingd": { "100": { "checksum": "", "enabled": 1 } }, "piranha": { "100": { "checksum": "", "enabled": 1 } }, "pkcs": { "100": { "checksum": "", "enabled": 1 } }, "pki": { "100": { "checksum": "", "enabled": 1 } }, "plymouthd": { "100": { "checksum": "", "enabled": 1 } }, "podsleuth": { "100": { "checksum": "", "enabled": 1 } }, "policykit": { "100": { "checksum": "", "enabled": 1 } }, "polipo": { "100": { "checksum": "", "enabled": 1 } }, "portmap": { "100": { "checksum": "", "enabled": 1 } }, "portreserve": { "100": { "checksum": "", "enabled": 1 } }, "postfix": { "100": { "checksum": "", "enabled": 1 } }, "postgresql": { "100": { "checksum": "", "enabled": 1 } }, "postgrey": { "100": { "checksum": "", "enabled": 1 } }, "ppp": { "100": { "checksum": "", "enabled": 1 } }, "prelink": { "100": { "checksum": "", "enabled": 1 } }, "prelude": { "100": { "checksum": "", "enabled": 1 } }, "privoxy": { "100": { "checksum": "", "enabled": 1 } }, "procmail": { "100": { "checksum": "", "enabled": 1 } }, "prosody": { "100": { "checksum": "", "enabled": 1 } }, "psad": { "100": { "checksum": "", "enabled": 1 } }, "ptchown": { "100": { "checksum": "", "enabled": 1 } }, "publicfile": { "100": { "checksum": "", "enabled": 1 } }, "pulseaudio": { "100": { "checksum": "", "enabled": 1 } }, "puppet": { "100": { "checksum": "", "enabled": 1 } }, "pwauth": { "100": { "checksum": "", "enabled": 1 } }, "qmail": { "100": { "checksum": "", "enabled": 1 } }, "qpid": { "100": { "checksum": "", "enabled": 1 } }, "quantum": { "100": { "checksum": "", "enabled": 1 } }, "quota": { "100": { "checksum": "", "enabled": 1 } }, "rabbitmq": { "100": { "checksum": "", "enabled": 1 } }, "radius": { "100": { "checksum": "", "enabled": 1 } }, "radvd": { "100": { "checksum": "", "enabled": 1 } }, "raid": { "100": { "checksum": "", "enabled": 1 } }, "rasdaemon": { "100": { "checksum": "", "enabled": 1 } }, "rdisc": { "100": { "checksum": "", "enabled": 1 } }, "readahead": { "100": { "checksum": "", "enabled": 1 } }, "realmd": { "100": { "checksum": "", "enabled": 1 } }, "redis": { "100": { "checksum": "", "enabled": 1 } }, "remotelogin": { "100": { "checksum": "", "enabled": 1 } }, "restraint": { "400": { "checksum": "", "enabled": 1 } }, "rhcs": { "100": { "checksum": "", "enabled": 1 } }, "rhev": { "100": { "checksum": "", "enabled": 1 } }, "rhgb": { "100": { "checksum": "", "enabled": 1 } }, "rhnsd": { "100": { "checksum": "", "enabled": 1 } }, "rhsmcertd": { "100": { "checksum": "", "enabled": 1 } }, "rhts": { "400": { "checksum": "", "enabled": 1 } }, "ricci": { "100": { "checksum": "", "enabled": 1 } }, "rkhunter": { "100": { "checksum": "", "enabled": 1 } }, "rlogin": { "100": { "checksum": "", "enabled": 1 } }, "rngd": { "100": { "checksum": "", "enabled": 1 } }, "roundup": { "100": { "checksum": "", "enabled": 1 } }, "rpc": { "100": { "checksum": "", "enabled": 1 } }, "rpcbind": { "100": { "checksum": "", "enabled": 1 } }, "rpm": { "100": { "checksum": "", "enabled": 1 } }, "rshd": { "100": { "checksum": "", "enabled": 1 } }, "rssh": { "100": { "checksum": "", "enabled": 1 } }, "rsync": { "100": { "checksum": "", "enabled": 1 } }, "rtas": { "100": { "checksum": "", "enabled": 1 } }, "rtkit": { "100": { "checksum": "", "enabled": 1 } }, "rwho": { "100": { "checksum": "", "enabled": 1 } }, "samba": { "100": { "checksum": "", "enabled": 1 } }, "sambagui": { "100": { "checksum": "", "enabled": 1 } }, "sandboxX": { "100": { "checksum": "", "enabled": 1 } }, "sanlock": { "100": { "checksum": "", "enabled": 1 } }, "sasl": { "100": { "checksum": "", "enabled": 1 } }, "sbd": { "100": { "checksum": "", "enabled": 1 } }, "sblim": { "100": { "checksum": "", "enabled": 1 } }, "screen": { "100": { "checksum": "", "enabled": 1 } }, "secadm": { "100": { "checksum": "", "enabled": 1 } }, "sectoolm": { "100": { "checksum": "", "enabled": 1 } }, "selinuxutil": { "100": { "checksum": "", "enabled": 1 } }, "sendmail": { "100": { "checksum": "", "enabled": 1 } }, "sensord": { "100": { "checksum": "", "enabled": 1 } }, "setrans": { "100": { "checksum": "", "enabled": 1 } }, "setroubleshoot": { "100": { "checksum": "", "enabled": 1 } }, "seunshare": { "100": { "checksum": "", "enabled": 1 } }, "sge": { "100": { "checksum": "", "enabled": 1 } }, "shorewall": { "100": { "checksum": "", "enabled": 1 } }, "slocate": { "100": { "checksum": "", "enabled": 1 } }, "slpd": { "100": { "checksum": "", "enabled": 1 } }, "smartmon": { "100": { "checksum": "", "enabled": 1 } }, "smokeping": { "100": { "checksum": "", "enabled": 1 } }, "smoltclient": { "100": { "checksum": "", "enabled": 1 } }, "smsd": { "100": { "checksum": "", "enabled": 1 } }, "snapper": { "100": { "checksum": "", "enabled": 1 } }, "snmp": { "100": { "checksum": "", "enabled": 1 } }, "snort": { "100": { "checksum": "", "enabled": 1 } }, "sosreport": { "100": { "checksum": "", "enabled": 1 } }, "soundserver": { "100": { "checksum": "", "enabled": 1 } }, "spamassassin": { "100": { "checksum": "", "enabled": 1 } }, "speech-dispatcher": { "100": { "checksum": "", "enabled": 1 } }, "squid": { "100": { "checksum": "", "enabled": 1 } }, "ssh": { "100": { "checksum": "", "enabled": 1 } }, "sssd": { "100": { "checksum": "", "enabled": 1 } }, "staff": { "100": { "checksum": "", "enabled": 1 } }, "stapserver": { "100": { "checksum": "", "enabled": 1 } }, "stunnel": { "100": { "checksum": "", "enabled": 1 } }, "su": { "100": { "checksum": "", "enabled": 1 } }, "sudo": { "100": { "checksum": "", "enabled": 1 } }, "svnserve": { "100": { "checksum": "", "enabled": 1 } }, "swift": { "100": { "checksum": "", "enabled": 1 } }, "sysadm": { "100": { "checksum": "", "enabled": 1 } }, "sysadm_secadm": { "100": { "checksum": "", "enabled": 1 } }, "sysnetwork": { "100": { "checksum": "", "enabled": 1 } }, "sysstat": { "100": { "checksum": "", "enabled": 1 } }, "systemd": { "100": { "checksum": "", "enabled": 1 } }, "tangd": { "100": { "checksum": "", "enabled": 1 } }, "targetd": { "100": { "checksum": "", "enabled": 1 } }, "tcpd": { "100": { "checksum": "", "enabled": 1 } }, "tcsd": { "100": { "checksum": "", "enabled": 1 } }, "telepathy": { "100": { "checksum": "", "enabled": 1 } }, "telnet": { "100": { "checksum": "", "enabled": 1 } }, "tftp": { "100": { "checksum": "", "enabled": 1 } }, "tgtd": { "100": { "checksum": "", "enabled": 1 } }, "thin": { "100": { "checksum": "", "enabled": 1 } }, "thumb": { "100": { "checksum": "", "enabled": 1 } }, "tlp": { "100": { "checksum": "", "enabled": 1 } }, "tmpreaper": { "100": { "checksum": "", "enabled": 1 } }, "tomcat": { "100": { "checksum": "", "enabled": 1 } }, "tor": { "100": { "checksum": "", "enabled": 1 } }, "tuned": { "100": { "checksum": "", "enabled": 1 } }, "tvtime": { "100": { "checksum": "", "enabled": 1 } }, "udev": { "100": { "checksum": "", "enabled": 1 } }, "ulogd": { "100": { "checksum": "", "enabled": 1 } }, "uml": { "100": { "checksum": "", "enabled": 1 } }, "unconfined": { "100": { "checksum": "", "enabled": 1 } }, "unconfineduser": { "100": { "checksum": "", "enabled": 1 } }, "unlabelednet": { "100": { "checksum": "", "enabled": 1 } }, "unprivuser": { "100": { "checksum": "", "enabled": 1 } }, "updfstab": { "100": { "checksum": "", "enabled": 1 } }, "usbmodules": { "100": { "checksum": "", "enabled": 1 } }, "usbmuxd": { "100": { "checksum": "", "enabled": 1 } }, "userdomain": { "100": { "checksum": "", "enabled": 1 } }, "userhelper": { "100": { "checksum": "", "enabled": 1 } }, "usermanage": { "100": { "checksum": "", "enabled": 1 } }, "usernetctl": { "100": { "checksum": "", "enabled": 1 } }, "uucp": { "100": { "checksum": "", "enabled": 1 } }, "uuidd": { "100": { "checksum": "", "enabled": 1 } }, "varnishd": { "100": { "checksum": "", "enabled": 1 } }, "vdagent": { "100": { "checksum": "", "enabled": 1 } }, "vhostmd": { "100": { "checksum": "", "enabled": 1 } }, "virt": { "100": { "checksum": "", "enabled": 1 } }, "vlock": { "100": { "checksum": "", "enabled": 1 } }, "vmtools": { "100": { "checksum": "", "enabled": 1 } }, "vmware": { "100": { "checksum": "", "enabled": 1 } }, "vnstatd": { "100": { "checksum": "", "enabled": 1 } }, "vpn": { "100": { "checksum": "", "enabled": 1 } }, "w3c": { "100": { "checksum": "", "enabled": 1 } }, "watchdog": { "100": { "checksum": "", "enabled": 1 } }, "wdmd": { "100": { "checksum": "", "enabled": 1 } }, "webadm": { "100": { "checksum": "", "enabled": 1 } }, "webalizer": { "100": { "checksum": "", "enabled": 1 } }, "wine": { "100": { "checksum": "", "enabled": 1 } }, "wireshark": { "100": { "checksum": "", "enabled": 1 } }, "xen": { "100": { "checksum": "", "enabled": 1 } }, "xguest": { "100": { "checksum": "", "enabled": 1 } }, "xserver": { "100": { "checksum": "", "enabled": 1 } }, "zabbix": { "100": { "checksum": "", "enabled": 1 } }, "zarafa": { "100": { "checksum": "", "enabled": 1 } }, "zebra": { "100": { "checksum": "", "enabled": 1 } }, "zoneminder": { "100": { "checksum": "", "enabled": 1 } }, "zosremote": { "100": { "checksum": "", "enabled": 1 } } }, "selinux_priorities": true }, "changed": false } TASK [fedora.linux_system_roles.selinux : Load SELinux modules] **************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:115 Wednesday 20 November 2024 05:20:41 -0500 (0:00:02.880) 0:04:30.538 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:128 Wednesday 20 November 2024 05:20:41 -0500 (0:00:00.192) 0:04:30.730 **** TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:136 Wednesday 20 November 2024 05:20:41 -0500 (0:00:00.093) 0:04:30.824 **** TASK [Leave realm] ************************************************************* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:32 Wednesday 20 November 2024 05:20:41 -0500 (0:00:00.090) 0:04:30.914 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Destroy Kerberos tickets] ************************************************ task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:40 Wednesday 20 November 2024 05:20:41 -0500 (0:00:00.121) 0:04:31.035 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove related packages] ************************************************* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:44 Wednesday 20 November 2024 05:20:41 -0500 (0:00:00.118) 0:04:31.154 **** changed: [managed-node1] => { "changed": true, "changes": { "removed": [ "mssql-server", "mssql-tools*", "unixODBC-devel" ] }, "rc": 0, "results": [ "adutil is not installed", "mssql-server-fts is not installed", "mssql-server-ha is not installed", "powershell is not installed", "Loaded plugins: fastestmirror\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-server.x86_64 0:14.0.3465.1-1 will be erased\n---> Package mssql-tools18.x86_64 0:18.4.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 msodbcsql18 to be removed - no longer needed by mssql-tools18\n---> Marking unixODBC to be removed - no longer needed by unixODBC-devel\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 libatomic 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 bzip2 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 libtool-ltdl to be removed - no longer needed by unixODBC\nFound and removing 9 unneeded dependencies\n--> Running transaction check\n---> Package bzip2.x86_64 0:1.0.6-13.el7 will be erased\n---> Package cyrus-sasl.x86_64 0:2.1.26-24.el7_9 will be erased\n---> Package cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 will be erased\n---> Package gdb.x86_64 0:7.6.1-120.el7 will be erased\n---> Package libatomic.x86_64 0:4.8.5-44.el7 will be erased\n---> Package libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.16 will be erased\n---> Package libtool-ltdl.x86_64 0:2.4.2-22.el7_3 will be erased\n---> Package msodbcsql18.x86_64 0:18.4.1.1-1 will be erased\n---> Package unixODBC.x86_64 0:2.3.11-1.rh will be erased\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nRemoving:\n mssql-server x86_64 14.0.3465.1-1 @packages-microsoft-com-mssql-server-2017\n 1.0 G\n mssql-tools18 x86_64 18.4.1.1-1 @packages-microsoft-com-prod 718 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.16 @updates 82 k\n libtool-ltdl x86_64 2.4.2-22.el7_3 @base 66 k\n msodbcsql18 x86_64 18.4.1.1-1 @packages-microsoft-com-prod 2.3 M\n unixODBC x86_64 2.3.11-1.rh @packages-microsoft-com-prod 648 k\n\nTransaction Summary\n================================================================================\nRemove 3 Packages (+9 Dependent packages)\n\nInstalled size: 1.0 G\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Erasing : mssql-server-14.0.3465.1-1.x86_64 1/12 \n Erasing : mssql-tools18-18.4.1.1-1.x86_64 2/12 \n Erasing : msodbcsql18-18.4.1.1-1.x86_64 3/12 \nODBC Driver 18 for SQL Server has been deleted (if it existed at all) because its usage count became zero\n Erasing : unixODBC-devel-2.3.11-1.rh.x86_64 4/12 \n Erasing : unixODBC-2.3.11-1.rh.x86_64 5/12 \nwarning: /etc/odbcinst.ini saved as /etc/odbcinst.ini.rpmsave\n Erasing : libtool-ltdl-2.4.2-22.el7_3.x86_64 6/12 \n Erasing : libatomic-4.8.5-44.el7.x86_64 7/12 \n Erasing : bzip2-1.0.6-13.el7.x86_64 8/12 \n Erasing : gdb-7.6.1-120.el7.x86_64 9/12 \n Erasing : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 10/12 \n Erasing : cyrus-sasl-2.1.26-24.el7_9.x86_64 11/12 \n Erasing : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 12/12 \n Verifying : msodbcsql18-18.4.1.1-1.x86_64 1/12 \n Verifying : libatomic-4.8.5-44.el7.x86_64 2/12 \n Verifying : bzip2-1.0.6-13.el7.x86_64 3/12 \n Verifying : libtool-ltdl-2.4.2-22.el7_3.x86_64 4/12 \n Verifying : mssql-server-14.0.3465.1-1.x86_64 5/12 \n Verifying : unixODBC-devel-2.3.11-1.rh.x86_64 6/12 \n Verifying : cyrus-sasl-2.1.26-24.el7_9.x86_64 7/12 \n Verifying : gdb-7.6.1-120.el7.x86_64 8/12 \n Verifying : unixODBC-2.3.11-1.rh.x86_64 9/12 \n Verifying : mssql-tools18-18.4.1.1-1.x86_64 10/12 \n Verifying : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 11/12 \n Verifying : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 12/12 \n\nRemoved:\n mssql-server.x86_64 0:14.0.3465.1-1 mssql-tools18.x86_64 0:18.4.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.16 \n libtool-ltdl.x86_64 0:2.4.2-22.el7_3 \n msodbcsql18.x86_64 0:18.4.1.1-1 \n unixODBC.x86_64 0:2.3.11-1.rh \n\nComplete!\n" ] } TASK [Remove related files] **************************************************** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:57 Wednesday 20 November 2024 05:20:44 -0500 (0:00:02.930) 0:04:34.084 **** [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. changed: [managed-node1] => { "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.007021", "end": "2024-11-20 05:20:44.912655", "rc": 0, "start": "2024-11-20 05:20:44.905634" } STDOUT: removed ‘/var/opt/mssql/FTData/tsheb.xml’ removed ‘/var/opt/mssql/FTData/tsplk.xml’ removed ‘/var/opt/mssql/FTData/tsptg.xml’ removed ‘/var/opt/mssql/FTData/tsmal.xml’ removed ‘/var/opt/mssql/FTData/tsfra.xml’ removed directory: ‘/var/opt/mssql/FTData/FilterData’ removed ‘/var/opt/mssql/FTData/tsrus.xml’ removed ‘/var/opt/mssql/FTData/tsguj.xml’ removed ‘/var/opt/mssql/FTData/tsnor.xml’ removed ‘/var/opt/mssql/FTData/tsenu.xml’ removed ‘/var/opt/mssql/FTData/tstam.xml’ removed ‘/var/opt/mssql/FTData/tssky.xml’ removed ‘/var/opt/mssql/FTData/tseng.xml’ removed ‘/var/opt/mssql/FTData/tsita.xml’ removed ‘/var/opt/mssql/FTData/tsmar.xml’ removed ‘/var/opt/mssql/FTData/tskan.xml’ removed ‘/var/opt/mssql/FTData/tsglobal.xml’ removed ‘/var/opt/mssql/FTData/tsara.xml’ removed ‘/var/opt/mssql/FTData/tsben.xml’ removed ‘/var/opt/mssql/FTData/tsesn.xml’ removed ‘/var/opt/mssql/FTData/tsnld.xml’ removed ‘/var/opt/mssql/FTData/tsisl.xml’ removed ‘/var/opt/mssql/FTData/tskor.xml’ removed ‘/var/opt/mssql/FTData/tstel.xml’ removed ‘/var/opt/mssql/FTData/tsukr.xml’ removed ‘/var/opt/mssql/FTData/tstrk.xml’ removed ‘/var/opt/mssql/FTData/tshin.xml’ removed ‘/var/opt/mssql/FTData/tscht.xml’ removed ‘/var/opt/mssql/FTData/tstha.xml’ removed ‘/var/opt/mssql/FTData/tslvi.xml’ removed ‘/var/opt/mssql/FTData/tsdan.xml’ removed ‘/var/opt/mssql/FTData/tsvit.xml’ removed ‘/var/opt/mssql/FTData/tsrom.xml’ removed ‘/var/opt/mssql/FTData/tshrv.xml’ removed ‘/var/opt/mssql/FTData/tsmsl.xml’ removed ‘/var/opt/mssql/FTData/tsdeu.xml’ removed ‘/var/opt/mssql/FTData/tschs.xml’ removed ‘/var/opt/mssql/FTData/tsurd.xml’ removed ‘/var/opt/mssql/FTData/tsgrk.xml’ removed ‘/var/opt/mssql/FTData/tssve.xml’ removed ‘/var/opt/mssql/FTData/tsslv.xml’ removed ‘/var/opt/mssql/FTData/tsbgr.xml’ removed ‘/var/opt/mssql/FTData/tssrb.xml’ removed ‘/var/opt/mssql/FTData/tsptb.xml’ removed ‘/var/opt/mssql/FTData/tsjpn.xml’ removed ‘/var/opt/mssql/FTData/tsind.xml’ removed ‘/var/opt/mssql/FTData/tslth.xml’ removed ‘/var/opt/mssql/FTData/tssrl.xml’ removed ‘/var/opt/mssql/FTData/tspan.xml’ removed ‘/var/opt/mssql/FTData/tscat.xml’ removed ‘/var/opt/mssql/FTData/tscze.xml’ removed directory: ‘/var/opt/mssql/FTData’ removed ‘/var/opt/mssql/mssql.conf’ removed ‘/var/opt/mssql/data/model.mdf’ removed ‘/var/opt/mssql/data/templog.ldf’ removed ‘/var/opt/mssql/data/tempdb.mdf’ removed ‘/var/opt/mssql/data/msdbdata.mdf’ removed ‘/var/opt/mssql/data/modellog.ldf’ removed ‘/var/opt/mssql/data/msdblog.ldf’ removed ‘/var/opt/mssql/data/mastlog.ldf’ removed ‘/var/opt/mssql/data/master.mdf’ removed directory: ‘/var/opt/mssql/data’ removed ‘/var/opt/mssql/secrets/machine-key’ removed directory: ‘/var/opt/mssql/secrets’ removed ‘/var/opt/mssql/.system/system/lsa.hiv’ removed directory: ‘/var/opt/mssql/.system/system/Temp’ removed ‘/var/opt/mssql/.system/system/licensing.hiv’ removed ‘/var/opt/mssql/.system/system/lsasetup.log’ removed ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User/cafa05a3-66ca-4547-90b5-d5796a0d2358’ removed ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User/Preferred’ removed directory: ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User’ removed directory: ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18’ removed directory: ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect’ removed directory: ‘/var/opt/mssql/.system/system/system32/Microsoft’ removed directory: ‘/var/opt/mssql/.system/system/system32/LogFiles/Scm’ removed directory: ‘/var/opt/mssql/.system/system/system32/LogFiles’ removed directory: ‘/var/opt/mssql/.system/system/system32’ removed ‘/var/opt/mssql/.system/system/security.hiv’ removed ‘/var/opt/mssql/.system/system/debug/PASSWD.LOG’ removed directory: ‘/var/opt/mssql/.system/system/debug’ removed directory: ‘/var/opt/mssql/.system/system’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/Temp’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/LocalLow’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows/Temporary Internet Files’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local’ removed ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Crypto/RSA/S-1-5-21-2058428597-3016178504-1716162116-500/42e7704ae40b0d75de00736cc66b813a_f254f7b5-9da4-45e2-ad3f-0584f753662a’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Crypto/RSA/S-1-5-21-2058428597-3016178504-1716162116-500’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Crypto/RSA’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Crypto’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/CRLs’ removed ‘/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/Certificates’ 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 ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/S-1-5-21-2058428597-3016178504-1716162116-500/Preferred’ removed ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/S-1-5-21-2058428597-3016178504-1716162116-500/e45145fc-eb27-48f9-b97d-1141601cddc5’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/S-1-5-21-2058428597-3016178504-1716162116-500’ removed ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/CREDHIST’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect’ removed 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/instance_id’ 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’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133765714263550000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133765714268520000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133765715841270000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133765715571240000.xel’ removed ‘/var/opt/mssql/log/errorlog.6’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133765715650080000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133765714224300000.xel’ removed ‘/var/opt/mssql/log/log_4.trc’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133765715837830000.xel’ removed ‘/var/opt/mssql/log/log_3.trc’ removed ‘/var/opt/mssql/log/errorlog’ removed ‘/var/opt/mssql/log/log_2.trc’ removed ‘/var/opt/mssql/log/errorlog.5’ removed ‘/var/opt/mssql/log/errorlog.3’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133765714933440000.xel’ removed ‘/var/opt/mssql/log/sqlagent.1’ removed ‘/var/opt/mssql/log/sqlagentstartup.log’ removed ‘/var/opt/mssql/log/log_5.trc’ removed ‘/var/opt/mssql/log/system_health_0_133765714937100000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133765714230630000.xel’ removed ‘/var/opt/mssql/log/sqlagent.2’ removed ‘/var/opt/mssql/log/errorlog.4’ removed ‘/var/opt/mssql/log/errorlog.2’ removed ‘/var/opt/mssql/log/FDLAUNCHERRORLOG’ removed ‘/var/opt/mssql/log/sqlagent.out’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133765715568260000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133765715653240000.xel’ removed ‘/var/opt/mssql/log/log_1.trc’ removed ‘/var/opt/mssql/log/errorlog.1’ removed directory: ‘/var/opt/mssql/log’ removed directory: ‘/var/opt/mssql’ removed directory: ‘/opt/mssql/misc’ removed directory: ‘/opt/mssql’ removed directory: ‘/opt/mssql-tools18’ removed ‘/etc/yum.repos.d/packages-microsoft-com-mssql-server-2017.repo’ removed ‘/etc/yum.repos.d/packages-microsoft-com-prod.repo’ removed directory: ‘/tmp/mssql_data’ removed directory: ‘/tmp/mssql_log’ removed ‘/etc/systemd/system/multi-user.target.wants/mssql-server.service’ TASK [Stop the mssql-server service] ******************************************* task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:71 Wednesday 20 November 2024 05:20:45 -0500 (0:00:00.486) 0:04:34.571 **** ok: [managed-node1] => { "changed": false, "cmd": "systemctl stop mssql-server || true", "delta": "0:00:00.347927", "end": "2024-11-20 05:20:45.734664", "rc": 0, "start": "2024-11-20 05:20:45.386737" } RUNNING HANDLER [fedora.linux_system_roles.selinux : Reload SELinux policy] **** task path: /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:2 Wednesday 20 November 2024 05:20:45 -0500 (0:00:00.638) 0:04:35.209 **** changed: [managed-node1] => { "changed": true, "cmd": [ "semodule", "-R" ], "delta": "0:00:01.844306", "end": "2024-11-20 05:20:47.943152", "rc": 0, "start": "2024-11-20 05:20:46.098846" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node1 : ok=347 changed=38 unreachable=0 failed=0 skipped=570 rescued=0 ignored=1 Wednesday 20 November 2024 05:20:47 -0500 (0:00:02.219) 0:04:37.428 **** =============================================================================== fedora.linux_system_roles.mssql : Change the edition of MSSQL ----------- 6.19s /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:712 fedora.linux_system_roles.mssql : Change the password of sa user -------- 5.99s /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:646 Remove related packages ------------------------------------------------- 2.93s /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:44 fedora.linux_system_roles.selinux : Get SELinux modules facts ----------- 2.88s /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 fedora.linux_system_roles.selinux : Reload SELinux policy --------------- 2.22s /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:2 fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.52s /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:152 fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections --- 1.51s /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.50s /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:152 fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts --- 1.44s /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:790 Gather package facts ---------------------------------------------------- 1.43s /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml:7 fedora.linux_system_roles.mssql : Get the setting filelocation defaultlogdir --- 1.42s /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 fedora.linux_system_roles.mssql : Get the setting network tcpport ------- 1.37s /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wait for mssql-server to prepare for client connections ----------------- 1.35s /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 fedora.linux_system_roles.mssql : Ensure the package powershell --------- 1.35s /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:797 fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections --- 1.34s /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Gather package facts ---------------------------------------------------- 1.34s /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml:7 fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections --- 1.33s /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Wait for mssql-server to prepare for client connections ----------------- 1.33s /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.31s /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:706 fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.28s /tmp/collections-QJ0/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:706