Using /etc/ansible/ansible.cfg as config file [WARNING]: running playbook inside collection fedora.linux_system_roles PLAY [Ensure that the role can input sql files to MSSQL] *********************** TASK [Gathering Facts] ********************************************************* Thursday 25 July 2024 07:12:00 -0400 (0:00:00.024) 0:00:00.024 ********* ok: [managed_node1] TASK [Run tests_input_sql_file with SQL Server 2019] *************************** Thursday 25 July 2024 07:12:01 -0400 (0:00:00.934) 0:00:00.958 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_input_sql_file.yml for managed_node1 TASK [Assert fail on EL 7 with version = 2022 and EL 9 with version != 2022] *** Thursday 25 July 2024 07:12:01 -0400 (0:00:00.035) 0:00:00.994 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/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] ************************ Thursday 25 July 2024 07:12:01 -0400 (0:00:00.089) 0:00:01.083 ********* ok: [managed_node1] TASK [Run the role] ************************************************************ Thursday 25 July 2024 07:12:02 -0400 (0:00:00.467) 0:00:01.551 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unreachable task] ******************************************************** Thursday 25 July 2024 07:12:02 -0400 (0:00:00.061) 0:00:01.612 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set up MSSQL and input sql files with pre_input] ************************* Thursday 25 July 2024 07:12:02 -0400 (0:00:00.021) 0:00:01.634 ********* TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** Thursday 25 July 2024 07:12:02 -0400 (0:00:00.301) 0:00:01.936 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/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] ***** Thursday 25 July 2024 07:12:02 -0400 (0:00:00.027) 0:00:01.963 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** Thursday 25 July 2024 07:12:02 -0400 (0:00:00.023) 0:00:01.987 ********* 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": [ "/var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/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": [ "/var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/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 : Unset the __mssql_sqlcmd_login_cmd fact] *** Thursday 25 July 2024 07:12:02 -0400 (0:00:00.053) 0:00:02.040 ********* 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] *** Thursday 25 July 2024 07:12:02 -0400 (0:00:00.018) 0:00:02.059 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** Thursday 25 July 2024 07:12:02 -0400 (0:00:00.019) 0:00:02.078 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the variable is deprecated] *** Thursday 25 July 2024 07:12:02 -0400 (0:00:00.020) 0:00:02.099 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** Thursday 25 July 2024 07:12:02 -0400 (0:00:00.017) 0:00:02.117 ********* 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] *** Thursday 25 July 2024 07:12:02 -0400 (0:00:00.019) 0:00:02.136 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** Thursday 25 July 2024 07:12:02 -0400 (0:00:00.021) 0:00:02.157 ********* 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] *** Thursday 25 July 2024 07:12:02 -0400 (0:00:00.017) 0:00:02.175 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** Thursday 25 July 2024 07:12:02 -0400 (0:00:00.019) 0:00:02.194 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that the user accepts EULA variables] *** Thursday 25 July 2024 07:12:02 -0400 (0:00:00.019) 0:00:02.214 ********* 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] *** Thursday 25 July 2024 07:12:02 -0400 (0:00:00.025) 0:00:02.239 ********* 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] *** Thursday 25 July 2024 07:12:02 -0400 (0:00:00.019) 0:00:02.258 ********* 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] *** Thursday 25 July 2024 07:12:02 -0400 (0:00:00.021) 0:00:02.280 ********* 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] *** Thursday 25 July 2024 07:12:02 -0400 (0:00:00.018) 0:00:02.298 ********* 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] *** Thursday 25 July 2024 07:12:02 -0400 (0:00:00.023) 0:00:02.321 ********* 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] *** Thursday 25 July 2024 07:12:02 -0400 (0:00:00.022) 0:00:02.344 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** Thursday 25 July 2024 07:12:02 -0400 (0:00:00.018) 0:00:02.362 ********* 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] *** Thursday 25 July 2024 07:12:04 -0400 (0:00:01.412) 0:00:03.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 : Set mssql_version variable if user does not define it] *** Thursday 25 July 2024 07:12:04 -0400 (0:00:00.134) 0:00:03.910 ********* 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] *** Thursday 25 July 2024 07:12:04 -0400 (0:00:00.056) 0:00:03.966 ********* 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] *** Thursday 25 July 2024 07:12:04 -0400 (0:00:00.059) 0:00:04.026 ********* 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] *** Thursday 25 July 2024 07:12:04 -0400 (0:00:00.084) 0:00:04.111 ********* changed: [managed_node1] => { "attempts": 1, "changed": true } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version {{ __mssql_current_version }}] *** Thursday 25 July 2024 07:12:05 -0400 (0:00:01.086) 0:00:05.198 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** Thursday 25 July 2024 07:12:05 -0400 (0:00:00.053) 0:00:05.251 ********* 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 2019] *** Thursday 25 July 2024 07:12:05 -0400 (0:00:00.055) 0:00:05.307 ********* 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 }}] *** Thursday 25 July 2024 07:12:05 -0400 (0:00:00.055) 0:00:05.363 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** Thursday 25 July 2024 07:12:05 -0400 (0:00:00.055) 0:00:05.418 ********* 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 2019] *** Thursday 25 July 2024 07:12:05 -0400 (0:00:00.055) 0:00:05.473 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** Thursday 25 July 2024 07:12:05 -0400 (0:00:00.054) 0:00:05.528 ********* changed: [managed_node1] => { "changed": true, "repo": "packages-microsoft-com-mssql-server-2019", "state": "present" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** Thursday 25 July 2024 07:12:06 -0400 (0:00:00.494) 0:00:06.022 ********* 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] *** Thursday 25 July 2024 07:12:06 -0400 (0:00:00.052) 0:00:06.075 ********* 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] ******* Thursday 25 July 2024 07:12:07 -0400 (0:00:00.818) 0:00:06.893 ********* changed: [managed_node1] => { "changed": true, "changes": { "installed": [ "mssql-server" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-server.x86_64 0:15.0.4375.4-1 will be installed\n--> Processing Dependency: libatomic for package: mssql-server-15.0.4375.4-1.x86_64\n--> Processing Dependency: bzip2 for package: mssql-server-15.0.4375.4-1.x86_64\n--> Processing Dependency: gdb for package: mssql-server-15.0.4375.4-1.x86_64\n--> Processing Dependency: python3 for package: mssql-server-15.0.4375.4-1.x86_64\n--> Processing Dependency: libsss_nss_idmap for package: mssql-server-15.0.4375.4-1.x86_64\n--> Processing Dependency: cyrus-sasl for package: mssql-server-15.0.4375.4-1.x86_64\n--> Processing Dependency: cyrus-sasl-gssapi for package: mssql-server-15.0.4375.4-1.x86_64\n--> Processing Dependency: lsof for package: mssql-server-15.0.4375.4-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---> Package lsof.x86_64 0:4.87-6.el7 will be installed\n---> Package python3.x86_64 0:3.6.8-21.el7_9 will be installed\n--> Processing Dependency: python3-libs(x86-64) = 3.6.8-21.el7_9 for package: python3-3.6.8-21.el7_9.x86_64\n--> Processing Dependency: python3-setuptools for package: python3-3.6.8-21.el7_9.x86_64\n--> Processing Dependency: python3-pip for package: python3-3.6.8-21.el7_9.x86_64\n--> Processing Dependency: libpython3.6m.so.1.0()(64bit) for package: python3-3.6.8-21.el7_9.x86_64\n--> Running transaction check\n---> Package python3-libs.x86_64 0:3.6.8-21.el7_9 will be installed\n---> Package python3-pip.noarch 0:9.0.3-8.el7 will be installed\n---> Package python3-setuptools.noarch 0:39.2.0-10.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n mssql-server x86_64 15.0.4375.4-1 packages-microsoft-com-mssql-server-2019\n 229 M\nInstalling for dependencies:\n bzip2 x86_64 1.0.6-13.el7 base 52 k\n cyrus-sasl x86_64 2.1.26-24.el7_9 updates 88 k\n cyrus-sasl-gssapi x86_64 2.1.26-24.el7_9 updates 41 k\n gdb x86_64 7.6.1-120.el7 base 2.4 M\n libatomic x86_64 4.8.5-44.el7 base 51 k\n libsss_nss_idmap x86_64 1.16.5-10.el7_9.16 updates 170 k\n lsof x86_64 4.87-6.el7 base 331 k\n python3 x86_64 3.6.8-21.el7_9 updates 71 k\n python3-libs x86_64 3.6.8-21.el7_9 updates 7.0 M\n python3-pip noarch 9.0.3-8.el7 base 1.6 M\n python3-setuptools noarch 39.2.0-10.el7 base 629 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package (+11 Dependent packages)\n\nTotal download size: 241 M\nInstalled size: 1.2 G\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 14 MB/s | 241 MB 00:17 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : python3-libs-3.6.8-21.el7_9.x86_64 1/12 \n Installing : python3-setuptools-39.2.0-10.el7.noarch 2/12 \n Installing : python3-pip-9.0.3-8.el7.noarch 3/12 \n Installing : python3-3.6.8-21.el7_9.x86_64 4/12 \n Installing : libatomic-4.8.5-44.el7.x86_64 5/12 \n Installing : cyrus-sasl-2.1.26-24.el7_9.x86_64 6/12 \n Installing : gdb-7.6.1-120.el7.x86_64 7/12 \n Installing : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 8/12 \n Installing : lsof-4.87-6.el7.x86_64 9/12 \n Installing : bzip2-1.0.6-13.el7.x86_64 10/12 \n Installing : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 11/12 \n Installing : mssql-server-15.0.4375.4-1.x86_64 12/12 \n\n+--------------------------------------------------------------+\nPlease run 'sudo /opt/mssql/bin/mssql-conf setup'\nto complete the setup of Microsoft SQL Server\n+--------------------------------------------------------------+\n\n Verifying : python3-3.6.8-21.el7_9.x86_64 1/12 \n Verifying : mssql-server-15.0.4375.4-1.x86_64 2/12 \n Verifying : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 3/12 \n Verifying : bzip2-1.0.6-13.el7.x86_64 4/12 \n Verifying : lsof-4.87-6.el7.x86_64 5/12 \n Verifying : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 6/12 \n Verifying : gdb-7.6.1-120.el7.x86_64 7/12 \n Verifying : python3-libs-3.6.8-21.el7_9.x86_64 8/12 \n Verifying : python3-setuptools-39.2.0-10.el7.noarch 9/12 \n Verifying : python3-pip-9.0.3-8.el7.noarch 10/12 \n Verifying : cyrus-sasl-2.1.26-24.el7_9.x86_64 11/12 \n Verifying : libatomic-4.8.5-44.el7.x86_64 12/12 \n\nInstalled:\n mssql-server.x86_64 0:15.0.4375.4-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 lsof.x86_64 0:4.87-6.el7 \n python3.x86_64 0:3.6.8-21.el7_9 \n python3-libs.x86_64 0:3.6.8-21.el7_9 \n python3-pip.noarch 0:9.0.3-8.el7 \n python3-setuptools.noarch 0:39.2.0-10.el7 \n\nComplete!\n" ] } lsrpackages: mssql-server TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** Thursday 25 July 2024 07:13:23 -0400 (0:01:16.624) 0:01:23.518 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** Thursday 25 July 2024 07:13:24 -0400 (0:00:00.052) 0:01:23.571 ********* 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.005750", "end": "2024-07-25 07:13:24.444137", "rc": 0, "start": "2024-07-25 07:13:24.438387" } TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** Thursday 25 July 2024 07:13:24 -0400 (0:00:00.491) 0:01:24.062 ********* 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] ***** Thursday 25 July 2024 07:13:25 -0400 (0:00:01.246) 0:01:25.309 ********* 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] *** Thursday 25 July 2024 07:13:25 -0400 (0:00:00.115) 0:01:25.424 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** Thursday 25 July 2024 07:13:25 -0400 (0:00:00.068) 0:01:25.493 ********* 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] *** Thursday 25 July 2024 07:13:34 -0400 (0:00:08.561) 0:01:34.055 ********* skipping: [managed_node1] => (item={u'path': None, u'setting': u'defaultdatadir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'path': None, u'setting': u'defaultlogdir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set selinux role facts for ports] ****** Thursday 25 July 2024 07:13:34 -0400 (0:00:00.070) 0:01:34.125 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** Thursday 25 July 2024 07:13:34 -0400 (0:00:00.061) 0:01:34.186 ********* 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] *** Thursday 25 July 2024 07:13:34 -0400 (0:00:00.057) 0:01:34.244 ********* changed: [managed_node1] => { "changed": true, "changes": { "installed": [ "tuned-profiles-mssql" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\nResolving Dependencies\n--> Running transaction check\n---> Package tuned-profiles-mssql.noarch 0:2.11.0-12.el7_9 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n tuned-profiles-mssql noarch 2.11.0-12.el7_9 updates 30 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package\n\nTotal download size: 30 k\nInstalled size: 1.1 k\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : tuned-profiles-mssql-2.11.0-12.el7_9.noarch 1/1 \n Verifying : tuned-profiles-mssql-2.11.0-12.el7_9.noarch 1/1 \n\nInstalled:\n tuned-profiles-mssql.noarch 0:2.11.0-12.el7_9 \n\nComplete!\n" ] } lsrpackages: tuned-profiles-mssql TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** Thursday 25 July 2024 07:13:38 -0400 (0:00:03.599) 0:01:37.844 ********* ok: [managed_node1] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-07-25 07:07:59 EDT", "ActiveEnterTimestampMonotonic": "28047343", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice dbus.service network.target systemd-sysctl.service basic.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 07:07:57 EDT", "AssertTimestampMonotonic": "26119412", "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": "Thu 2024-07-25 07:07:57 EDT", "ConditionTimestampMonotonic": "26119411", "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": "850", "ExecMainStartTimestamp": "Thu 2024-07-25 07:07:57 EDT", "ExecMainStartTimestampMonotonic": "26120028", "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": "Thu 2024-07-25 07:07:57 EDT", "InactiveExitTimestampMonotonic": "26120069", "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": "850", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "dbus.service polkit.service basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2024-07-25 07:07:59 EDT", "WatchdogTimestampMonotonic": "28047298", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* Thursday 25 July 2024 07:13:39 -0400 (0:00:00.992) 0:01:38.836 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.097048", "end": "2024-07-25 07:13:39.721101", "rc": 0, "start": "2024-07-25 07:13:39.624053" } STDOUT: Current active profile: virtual-guest TASK [fedora.linux_system_roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** Thursday 25 July 2024 07:13:39 -0400 (0:00:00.515) 0:01:39.352 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "tuned-adm", "profile", "virtual-guest", "mssql" ], "delta": "0:00:01.021876", "end": "2024-07-25 07:13:41.095614", "failed_when_result": false, "rc": 1, "start": "2024-07-25 07:13:40.073738" } STDERR: Cannot load profile(s) 'virtual-guest mssql': Cannot find profile 'throughput-performance' in '['/etc/tuned', '/usr/lib/tuned']'. MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Remove troublemaking include from the mssql profile] *** Thursday 25 July 2024 07:13:41 -0400 (0:00:01.372) 0:01:40.724 ********* changed: [managed_node1] => { "backup": "", "changed": true, "found": 1 } MSG: 1 line(s) removed TASK [fedora.linux_system_roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** Thursday 25 July 2024 07:13:41 -0400 (0:00:00.472) 0:01:41.197 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest", "mssql" ], "delta": "0:00:01.196187", "end": "2024-07-25 07:13:43.122818", "rc": 0, "start": "2024-07-25 07:13:41.926631" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** Thursday 25 July 2024 07:13:43 -0400 (0:00:01.551) 0:01:42.748 ********* 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] *** Thursday 25 July 2024 07:13:43 -0400 (0:00:00.332) 0:01:43.080 ********* 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] *** Thursday 25 July 2024 07:13:43 -0400 (0:00:00.101) 0:01:43.181 ********* changed: [managed_node1] => { "changed": true, "changes": { "installed": [ "mssql-tools", "unixODBC-devel" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-tools.x86_64 0:17.10.1.1-1 will be installed\n--> Processing Dependency: msodbcsql17 >= 17.3.0.0 for package: mssql-tools-17.10.1.1-1.x86_64\n---> Package unixODBC-devel.x86_64 0:2.3.11-1.rh will be installed\n--> Processing Dependency: unixODBC = 2.3.11 for package: unixODBC-devel-2.3.11-1.rh.x86_64\n--> Running transaction check\n---> Package msodbcsql17.x86_64 0:17.10.6.1-1 will be installed\n---> Package unixODBC.x86_64 0:2.3.11-1.rh will be installed\n--> Processing Dependency: libltdl.so.7()(64bit) for package: unixODBC-2.3.11-1.rh.x86_64\n--> Running transaction check\n---> Package libtool-ltdl.x86_64 0:2.4.2-22.el7_3 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n mssql-tools x86_64 17.10.1.1-1 packages-microsoft-com-prod 291 k\n unixODBC-devel x86_64 2.3.11-1.rh packages-microsoft-com-prod 53 k\nInstalling for dependencies:\n libtool-ltdl x86_64 2.4.2-22.el7_3 base 49 k\n msodbcsql17 x86_64 17.10.6.1-1 packages-microsoft-com-prod 911 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.5 M\nInstalled size: 3.8 M\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 2.5 MB/s | 1.5 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 : msodbcsql17-17.10.6.1-1.x86_64 3/5 \nodbcinst: Driver installed. Usage count increased to 1. \n Target directory is /etc\n Installing : mssql-tools-17.10.1.1-1.x86_64 4/5 \n Installing : unixODBC-devel-2.3.11-1.rh.x86_64 5/5 \n Verifying : mssql-tools-17.10.1.1-1.x86_64 1/5 \n Verifying : unixODBC-devel-2.3.11-1.rh.x86_64 2/5 \n Verifying : libtool-ltdl-2.4.2-22.el7_3.x86_64 3/5 \n Verifying : unixODBC-2.3.11-1.rh.x86_64 4/5 \n Verifying : msodbcsql17-17.10.6.1-1.x86_64 5/5 \n\nInstalled:\n mssql-tools.x86_64 0:17.10.1.1-1 unixODBC-devel.x86_64 0:2.3.11-1.rh \n\nDependency Installed:\n libtool-ltdl.x86_64 0:2.4.2-22.el7_3 msodbcsql17.x86_64 0:17.10.6.1-1 \n unixODBC.x86_64 0:2.3.11-1.rh \n\nComplete!\n" ] } lsrpackages: mssql-tools unixODBC-devel TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** Thursday 25 July 2024 07:13:49 -0400 (0:00:06.015) 0:01:49.197 ********* 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] *** Thursday 25 July 2024 07:13:49 -0400 (0:00:00.060) 0:01:49.257 ********* 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] *** Thursday 25 July 2024 07:13:49 -0400 (0:00:00.058) 0:01:49.316 ********* 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] *** Thursday 25 July 2024 07:13:49 -0400 (0:00:00.060) 0:01:49.377 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** Thursday 25 July 2024 07:13:49 -0400 (0:00:00.059) 0:01:49.436 ********* 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] ******** Thursday 25 July 2024 07:13:49 -0400 (0:00:00.060) 0:01:49.497 ********* 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] *** Thursday 25 July 2024 07:13:50 -0400 (0:00:00.058) 0:01:49.555 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_input variable] *** Thursday 25 July 2024 07:13:50 -0400 (0:00:00.146) 0:01:49.702 ********* ok: [managed_node1] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the mssql_password variable is defined] *** Thursday 25 July 2024 07:13:50 -0400 (0:00:00.059) 0:01:49.762 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** Thursday 25 July 2024 07:13:50 -0400 (0:00:00.063) 0:01:49.825 ********* ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-07-25 07:13:34 EDT", "ActiveEnterTimestampMonotonic": "362626029", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice network.target -.mount auditd.service basic.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 07:13:34 EDT", "AssertTimestampMonotonic": "362625377", "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": "Thu 2024-07-25 07:13:34 EDT", "ConditionTimestampMonotonic": "362625376", "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": "11378", "ExecMainStartTimestamp": "Thu 2024-07-25 07:13:34 EDT", "ExecMainStartTimestampMonotonic": "362625961", "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": "Thu 2024-07-25 07:13:34 EDT", "InactiveExitTimestampMonotonic": "362626029", "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": "11378", "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": "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": "Thu 2024-07-25 07:13:34 EDT", "WatchdogTimestampMonotonic": "362625995", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** Thursday 25 July 2024 07:13:50 -0400 (0:00:00.567) 0:01:50.393 ********* 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": 8059, "state": "file", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** Thursday 25 July 2024 07:13:52 -0400 (0:00:01.410) 0:01:51.804 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/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] *** Thursday 25 July 2024 07:13:52 -0400 (0:00:00.111) 0:01:51.916 ********* ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-07-25 07:13:34 EDT", "ActiveEnterTimestampMonotonic": "362626029", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice network.target -.mount auditd.service basic.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 07:13:34 EDT", "AssertTimestampMonotonic": "362625377", "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": "Thu 2024-07-25 07:13:34 EDT", "ConditionTimestampMonotonic": "362625376", "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": "11378", "ExecMainStartTimestamp": "Thu 2024-07-25 07:13:34 EDT", "ExecMainStartTimestampMonotonic": "362625961", "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": "Thu 2024-07-25 07:13:34 EDT", "InactiveExitTimestampMonotonic": "362626029", "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": "11378", "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": "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": "Thu 2024-07-25 07:13:34 EDT", "WatchdogTimestampMonotonic": "362625995", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** Thursday 25 July 2024 07:13:52 -0400 (0:00:00.422) 0:01:52.339 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003193", "end": "2024-07-25 07:13:53.047626", "failed_when_result": false, "rc": 1, "start": "2024-07-25 07:13:53.044433" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** Thursday 25 July 2024 07:13:53 -0400 (0:00:00.332) 0:01:52.671 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003193", "end": "2024-07-25 07:13:53.390425", "failed_when_result": false, "rc": 1, "start": "2024-07-25 07:13:53.387232" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* Thursday 25 July 2024 07:13:53 -0400 (0:00:00.340) 0:01:53.011 ********* 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 : Input SQL script files to MSSQL] ******* Thursday 25 July 2024 07:13:53 -0400 (0:00:00.070) 0:01:53.082 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml for managed_node1 included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Create a tempfile on the host for create_example_db.j2] *** Thursday 25 July 2024 07:13:53 -0400 (0:00:00.140) 0:01:53.222 ********* ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/create_example_db.j2_Y5FEBz.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Copy the file to the host create_example_db.j2] *** Thursday 25 July 2024 07:13:54 -0400 (0:00:00.480) 0:01:53.703 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Generate the template on the host for create_example_db.j2] *** Thursday 25 July 2024 07:13:54 -0400 (0:00:00.059) 0:01:53.762 ********* ok: [managed_node1] => { "changed": false, "checksum": "01e12e2023db8e40fe4ae7ef2965811c47e20292", "dest": "/tmp/create_example_db.j2_Y5FEBz.sql", "gid": 0, "group": "root", "md5sum": "7c0c7d727a2dd24b642249e3f26f11cb", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 891, "src": "/root/.ansible/tmp/ansible-tmp-1721906034.27-11245-30022540499939/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Input with the sqlcmd command create_example_db.j2] *** Thursday 25 July 2024 07:13:55 -0400 (0:00:00.827) 0:01:54.589 ********* 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 : Print file location and output from inputting create_example_db.j2] *** Thursday 25 July 2024 07:13:56 -0400 (0:00:01.874) 0:01:56.464 ********* ok: [managed_node1] => (item=/tmp/create_example_db.j2_Y5FEBz.sql) => { "__mssql_sqlcmd_loop": "/tmp/create_example_db.j2_Y5FEBz.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [managed_node1] => (item=[u'Creating the ExampleDB1 database', u'The ExampleDB1 database created successfully', u"Changed database context to 'ExampleDB1'.", u'Adding the Inventory table to the ExampleDB1 database', u'', u'(1 rows affected)', u'', u'(1 rows affected)', u'', u'(1 rows affected)', u'', u'(1 rows affected)', u'The Inventory table created successfully']) => { "__mssql_sqlcmd_loop": [ "Creating the ExampleDB1 database", "The ExampleDB1 database created successfully", "Changed database context to 'ExampleDB1'.", "Adding the Inventory table to the ExampleDB1 database", "", "(1 rows affected)", "", "(1 rows affected)", "", "(1 rows affected)", "", "(1 rows affected)", "The Inventory table created successfully" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [managed_node1] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop" } TASK [fedora.linux_system_roles.mssql : Remove the tempfile create_example_db.j2] *** Thursday 25 July 2024 07:13:57 -0400 (0:00:00.094) 0:01:56.559 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create a tempfile on the host for create_example_db.j2] *** Thursday 25 July 2024 07:13:57 -0400 (0:00:00.060) 0:01:56.619 ********* ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/create_example_db.j2_jdDE0r.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Copy the file to the host create_example_db.j2] *** Thursday 25 July 2024 07:13:57 -0400 (0:00:00.325) 0:01:56.945 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Generate the template on the host for create_example_db.j2] *** Thursday 25 July 2024 07:13:57 -0400 (0:00:00.060) 0:01:57.005 ********* ok: [managed_node1] => { "changed": false, "checksum": "01e12e2023db8e40fe4ae7ef2965811c47e20292", "dest": "/tmp/create_example_db.j2_jdDE0r.sql", "gid": 0, "group": "root", "md5sum": "7c0c7d727a2dd24b642249e3f26f11cb", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 891, "src": "/root/.ansible/tmp/ansible-tmp-1721906037.51-11285-129329908441495/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Input with the sqlcmd command create_example_db.j2] *** Thursday 25 July 2024 07:13:58 -0400 (0:00:00.581) 0:01:57.587 ********* 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 : Print file location and output from inputting create_example_db.j2] *** Thursday 25 July 2024 07:13:58 -0400 (0:00:00.363) 0:01:57.950 ********* ok: [managed_node1] => (item=/tmp/create_example_db.j2_jdDE0r.sql) => { "__mssql_sqlcmd_loop": "/tmp/create_example_db.j2_jdDE0r.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [managed_node1] => (item=[u'The ExampleDB1 database already exists, skipping', u"Changed database context to 'ExampleDB1'.", u'The Inventory table already exists, skipping']) => { "__mssql_sqlcmd_loop": [ "The ExampleDB1 database already exists, skipping", "Changed database context to 'ExampleDB1'.", "The Inventory table already exists, skipping" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [managed_node1] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop" } TASK [fedora.linux_system_roles.mssql : Remove the tempfile create_example_db.j2] *** Thursday 25 July 2024 07:13:58 -0400 (0:00:00.095) 0:01:58.045 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script contents to MSSQL] **** Thursday 25 July 2024 07:13:58 -0400 (0:00:00.063) 0:01:58.109 ********* 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] *** Thursday 25 July 2024 07:13:58 -0400 (0:00:00.062) 0:01:58.171 ********* 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] *** Thursday 25 July 2024 07:13:58 -0400 (0:00:00.059) 0:01:58.231 ********* 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] *** Thursday 25 July 2024 07:13:58 -0400 (0:00:00.061) 0:01:58.292 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** Thursday 25 July 2024 07:13:58 -0400 (0:00:00.059) 0:01:58.352 ********* 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] *********** Thursday 25 July 2024 07:13:58 -0400 (0:00:00.063) 0:01:58.415 ********* 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] ****** Thursday 25 July 2024 07:13:58 -0400 (0:00:00.059) 0:01:58.475 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** Thursday 25 July 2024 07:13:59 -0400 (0:00:00.116) 0:01:58.592 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** Thursday 25 July 2024 07:13:59 -0400 (0:00:00.060) 0:01:58.653 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the TCP port setting to 1433] *** Thursday 25 July 2024 07:13:59 -0400 (0:00:00.061) 0:01:58.714 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/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] ******* Thursday 25 July 2024 07:13:59 -0400 (0:00:00.107) 0:01:58.822 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003141", "end": "2024-07-25 07:13:59.528196", "failed_when_result": false, "rc": 1, "start": "2024-07-25 07:13:59.525055" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** Thursday 25 July 2024 07:13:59 -0400 (0:00:00.326) 0:01:59.149 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.121459", "end": "2024-07-25 07:14:00.034149", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:13:59.912690" } 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] ***** Thursday 25 July 2024 07:14:00 -0400 (0:00:00.514) 0:01:59.664 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** Thursday 25 July 2024 07:14:00 -0400 (0:00:00.059) 0:01:59.724 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** Thursday 25 July 2024 07:14:00 -0400 (0:00:00.058) 0:01:59.782 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts] *** Thursday 25 July 2024 07:14:00 -0400 (0:00:00.062) 0:01:59.844 ********* changed: [managed_node1] => { "changed": true, "changes": { "installed": [ "mssql-server-fts" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-server-fts.x86_64 0:15.0.4375.4-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 15.0.4375.4-1 packages-microsoft-com-mssql-server-2019 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-15.0.4375.4-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-15.0.4375.4-1.x86_64 1/1 \n\nInstalled:\n mssql-server-fts.x86_64 0:15.0.4375.4-1 \n\nComplete!\n" ] } lsrpackages: mssql-server-fts TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* Thursday 25 July 2024 07:14:38 -0400 (0:00:38.449) 0:02:38.294 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** Thursday 25 July 2024 07:14:38 -0400 (0:00:00.059) 0:02:38.354 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** Thursday 25 July 2024 07:14:38 -0400 (0:00:00.062) 0:02:38.417 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** Thursday 25 July 2024 07:14:38 -0400 (0:00:00.059) 0:02:38.476 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** Thursday 25 July 2024 07:14:39 -0400 (0:00:00.063) 0:02:38.540 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** Thursday 25 July 2024 07:14:39 -0400 (0:00:00.059) 0:02:38.599 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** Thursday 25 July 2024 07:14:39 -0400 (0:00:00.102) 0:02:38.702 ********* 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] *** Thursday 25 July 2024 07:14:39 -0400 (0:00:00.061) 0:02:38.764 ********* 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] *** Thursday 25 July 2024 07:14:39 -0400 (0:00:00.061) 0:02:38.825 ********* 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] ********* Thursday 25 July 2024 07:14:39 -0400 (0:00:00.071) 0:02:38.896 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlskey setting] ********** Thursday 25 July 2024 07:14:39 -0400 (0:00:00.061) 0:02:38.958 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlsprotocols setting] **** Thursday 25 July 2024 07:14:39 -0400 (0:00:00.060) 0:02:39.019 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the forceencryption setting] *** Thursday 25 July 2024 07:14:39 -0400 (0:00:00.060) 0:02:39.079 ********* 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] *** Thursday 25 July 2024 07:14:39 -0400 (0:00:00.060) 0:02:39.140 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** Thursday 25 July 2024 07:14:39 -0400 (0:00:00.062) 0:02:39.202 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure adutil and krb5-workstation] **** Thursday 25 July 2024 07:14:39 -0400 (0:00:00.063) 0:02:39.265 ********* 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] *** Thursday 25 July 2024 07:14:39 -0400 (0:00:00.060) 0:02:39.326 ********* 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 }}] *** Thursday 25 July 2024 07:14:39 -0400 (0:00:00.066) 0:02:39.393 ********* 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 }}] *** Thursday 25 July 2024 07:14:39 -0400 (0:00:00.064) 0:02:39.457 ********* 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] *************** Thursday 25 July 2024 07:14:39 -0400 (0:00:00.062) 0:02:39.520 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : In AD server create user] ************** Thursday 25 July 2024 07:14:40 -0400 (0:00:00.061) 0:02:39.581 ********* 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 : Get SPNs for the principal] ************ Thursday 25 July 2024 07:14:40 -0400 (0:00:00.060) 0:02:39.642 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register SPNs to the principal] ******** Thursday 25 July 2024 07:14:40 -0400 (0:00:00.062) 0:02:39.704 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get kvno of the SPN host] ************** Thursday 25 July 2024 07:14:40 -0400 (0:00:00.061) 0:02:39.765 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get stats of the keytab file] ********** Thursday 25 July 2024 07:14:40 -0400 (0:00:00.060) 0:02:39.826 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** Thursday 25 July 2024 07:14:40 -0400 (0:00:00.114) 0:02:39.940 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* Thursday 25 July 2024 07:14:40 -0400 (0:00:00.060) 0:02:40.001 ********* 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] *** Thursday 25 July 2024 07:14:40 -0400 (0:00:00.061) 0:02:40.063 ********* 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] *** Thursday 25 July 2024 07:14:40 -0400 (0:00:00.061) 0:02:40.124 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch keytab file to host] ************* Thursday 25 July 2024 07:14:40 -0400 (0:00:00.063) 0:02:40.187 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** Thursday 25 July 2024 07:14:40 -0400 (0:00:00.063) 0:02:40.250 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** Thursday 25 July 2024 07:14:40 -0400 (0:00:00.062) 0:02:40.313 ********* 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] *** Thursday 25 July 2024 07:14:40 -0400 (0:00:00.059) 0:02:40.372 ********* 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] *** Thursday 25 July 2024 07:14:40 -0400 (0:00:00.065) 0:02:40.438 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** Thursday 25 July 2024 07:14:40 -0400 (0:00:00.061) 0:02:40.500 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** Thursday 25 July 2024 07:14:41 -0400 (0:00:00.061) 0:02:40.561 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** Thursday 25 July 2024 07:14:41 -0400 (0:00:00.062) 0:02:40.623 ********* 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] *** Thursday 25 July 2024 07:14:41 -0400 (0:00:00.059) 0:02:40.683 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** Thursday 25 July 2024 07:14:41 -0400 (0:00:00.062) 0:02:40.746 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** Thursday 25 July 2024 07:14:41 -0400 (0:00:00.061) 0:02:40.807 ********* 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] *** Thursday 25 July 2024 07:14:41 -0400 (0:00:00.072) 0:02:40.880 ********* 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] *** Thursday 25 July 2024 07:14:41 -0400 (0:00:00.062) 0:02:40.943 ********* 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] *** Thursday 25 July 2024 07:14:41 -0400 (0:00:00.060) 0:02:41.004 ********* 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] *** Thursday 25 July 2024 07:14:41 -0400 (0:00:00.076) 0:02:41.081 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set fact with the current primary replica] *** Thursday 25 July 2024 07:14:41 -0400 (0:00:00.061) 0:02:41.143 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** Thursday 25 July 2024 07:14:41 -0400 (0:00:00.120) 0:02:41.263 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* Thursday 25 July 2024 07:14:41 -0400 (0:00:00.062) 0:02:41.325 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* Thursday 25 July 2024 07:14:41 -0400 (0:00:00.062) 0:02:41.387 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* Thursday 25 July 2024 07:14:41 -0400 (0:00:00.064) 0:02:41.452 ********* 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] *** Thursday 25 July 2024 07:14:41 -0400 (0:00:00.059) 0:02:41.511 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** Thursday 25 July 2024 07:14:42 -0400 (0:00:00.063) 0:02:41.575 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** Thursday 25 July 2024 07:14:42 -0400 (0:00:00.061) 0:02:41.636 ********* 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] *** Thursday 25 July 2024 07:14:42 -0400 (0:00:00.062) 0:02:41.698 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** Thursday 25 July 2024 07:14:42 -0400 (0:00:00.062) 0:02:41.761 ********* 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] *** Thursday 25 July 2024 07:14:42 -0400 (0:00:00.062) 0:02:41.823 ********* 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] *** Thursday 25 July 2024 07:14:42 -0400 (0:00:00.075) 0:02:41.899 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** Thursday 25 July 2024 07:14:42 -0400 (0:00:00.062) 0:02:41.962 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Join to availability group] ************ Thursday 25 July 2024 07:14:42 -0400 (0:00:00.062) 0:02:42.024 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* Thursday 25 July 2024 07:14:42 -0400 (0:00:00.059) 0:02:42.084 ********* 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] *** Thursday 25 July 2024 07:14:42 -0400 (0:00:00.065) 0:02:42.150 ********* 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] *** Thursday 25 July 2024 07:14:42 -0400 (0:00:00.072) 0:02:42.222 ********* 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] *********************************** Thursday 25 July 2024 07:14:42 -0400 (0:00:00.062) 0:02:42.285 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for the cluster to finish configuration] *** Thursday 25 July 2024 07:14:42 -0400 (0:00:00.061) 0:02:42.346 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure listener for the availability group] *** Thursday 25 July 2024 07:14:42 -0400 (0:00:00.065) 0:02:42.412 ********* 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] *** Thursday 25 July 2024 07:14:42 -0400 (0:00:00.062) 0:02:42.475 ********* changed: [managed_node1] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** Thursday 25 July 2024 07:14:43 -0400 (0:00:00.792) 0:02:43.268 ********* changed: [managed_node1] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-07-25 07:13:34 EDT", "ActiveEnterTimestampMonotonic": "362626029", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice network.target -.mount auditd.service basic.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 07:13:34 EDT", "AssertTimestampMonotonic": "362625377", "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": "Thu 2024-07-25 07:13:34 EDT", "ConditionTimestampMonotonic": "362625376", "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": "11378", "ExecMainStartTimestamp": "Thu 2024-07-25 07:13:34 EDT", "ExecMainStartTimestampMonotonic": "362625961", "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": "Thu 2024-07-25 07:13:34 EDT", "InactiveExitTimestampMonotonic": "362626029", "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": "11378", "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": "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": "Thu 2024-07-25 07:13:34 EDT", "WatchdogTimestampMonotonic": "362625995", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** Thursday 25 July 2024 07:14:44 -0400 (0:00:01.033) 0:02:44.301 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** Thursday 25 July 2024 07:14:44 -0400 (0:00:00.061) 0:02:44.362 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert the latest script invocation resulted in no changes] ************** Thursday 25 July 2024 07:14:44 -0400 (0:00:00.060) 0:02:44.423 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Input sql files with post_input into custom storage directory] *********** Thursday 25 July 2024 07:14:44 -0400 (0:00:00.069) 0:02:44.492 ********* TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** Thursday 25 July 2024 07:14:45 -0400 (0:00:00.445) 0:02:44.938 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/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] ***** Thursday 25 July 2024 07:14:45 -0400 (0:00:00.159) 0:02:45.097 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** Thursday 25 July 2024 07:14:45 -0400 (0:00:00.080) 0:02:45.178 ********* 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": [ "/var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/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": [ "/var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/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 : Unset the __mssql_sqlcmd_login_cmd fact] *** Thursday 25 July 2024 07:14:45 -0400 (0:00:00.099) 0:02:45.278 ********* 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] *** Thursday 25 July 2024 07:14:45 -0400 (0:00:00.063) 0:02:45.341 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** Thursday 25 July 2024 07:14:45 -0400 (0:00:00.061) 0:02:45.402 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the variable is deprecated] *** Thursday 25 July 2024 07:14:45 -0400 (0:00:00.063) 0:02:45.466 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** Thursday 25 July 2024 07:14:45 -0400 (0:00:00.059) 0:02:45.525 ********* 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] *** Thursday 25 July 2024 07:14:46 -0400 (0:00:00.060) 0:02:45.586 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** Thursday 25 July 2024 07:14:46 -0400 (0:00:00.059) 0:02:45.645 ********* 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] *** Thursday 25 July 2024 07:14:46 -0400 (0:00:00.060) 0:02:45.706 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** Thursday 25 July 2024 07:14:46 -0400 (0:00:00.058) 0:02:45.765 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that the user accepts EULA variables] *** Thursday 25 July 2024 07:14:46 -0400 (0:00:00.060) 0:02:45.825 ********* 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] *** Thursday 25 July 2024 07:14:46 -0400 (0:00:00.068) 0:02:45.893 ********* 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] *** Thursday 25 July 2024 07:14:46 -0400 (0:00:00.063) 0:02:45.957 ********* 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] *** Thursday 25 July 2024 07:14:46 -0400 (0:00:00.062) 0:02:46.020 ********* 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] *** Thursday 25 July 2024 07:14:46 -0400 (0:00:00.061) 0:02:46.082 ********* 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] *** Thursday 25 July 2024 07:14:46 -0400 (0:00:00.064) 0:02:46.146 ********* 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] *** Thursday 25 July 2024 07:14:46 -0400 (0:00:00.062) 0:02:46.208 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** Thursday 25 July 2024 07:14:46 -0400 (0:00:00.126) 0:02:46.335 ********* 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] *** Thursday 25 July 2024 07:14:49 -0400 (0:00:02.260) 0:02:48.595 ********* 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" } ok: [managed_node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } 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] *** Thursday 25 July 2024 07:14:49 -0400 (0:00:00.169) 0:02:48.764 ********* 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] *** Thursday 25 July 2024 07:14:49 -0400 (0:00:00.066) 0:02:48.831 ********* 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] *** Thursday 25 July 2024 07:14:49 -0400 (0:00:00.067) 0:02:48.899 ********* 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] *** Thursday 25 July 2024 07:14:49 -0400 (0:00:00.117) 0:02:49.016 ********* ok: [managed_node1] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** Thursday 25 July 2024 07:14:50 -0400 (0:00:00.921) 0:02:49.938 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** Thursday 25 July 2024 07:14:50 -0400 (0:00:00.066) 0:02:50.005 ********* 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 2019] *** Thursday 25 July 2024 07:14:50 -0400 (0:00:00.064) 0:02:50.070 ********* 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 2019] *** Thursday 25 July 2024 07:14:50 -0400 (0:00:00.068) 0:02:50.138 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** Thursday 25 July 2024 07:14:50 -0400 (0:00:00.067) 0:02:50.205 ********* 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 2019] *** Thursday 25 July 2024 07:14:50 -0400 (0:00:00.065) 0:02:50.271 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** Thursday 25 July 2024 07:14:50 -0400 (0:00:00.067) 0:02:50.339 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** Thursday 25 July 2024 07:14:50 -0400 (0:00:00.085) 0:02:50.425 ********* 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] *** Thursday 25 July 2024 07:14:50 -0400 (0:00:00.061) 0:02:50.487 ********* 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] ******* Thursday 25 July 2024 07:14:51 -0400 (0:00:00.650) 0:02:51.137 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-15.0.4375.4-1.x86_64 providing mssql-server is already installed" ] } lsrpackages: mssql-server TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** Thursday 25 July 2024 07:14:52 -0400 (0:00:00.537) 0:02:51.674 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** Thursday 25 July 2024 07:14:52 -0400 (0:00:00.064) 0:02:51.739 ********* 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.005266", "end": "2024-07-25 07:14:52.585452", "rc": 0, "start": "2024-07-25 07:14:52.580186" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** Thursday 25 July 2024 07:14:52 -0400 (0:00:00.476) 0:02:52.215 ********* 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] ***** Thursday 25 July 2024 07:14:53 -0400 (0:00:01.032) 0:02:53.248 ********* 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] *** Thursday 25 July 2024 07:14:53 -0400 (0:00:00.091) 0:02:53.339 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** Thursday 25 July 2024 07:14:53 -0400 (0:00:00.066) 0:02:53.406 ********* 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] *** Thursday 25 July 2024 07:14:53 -0400 (0:00:00.062) 0:02:53.468 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml for managed_node1 included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/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] *** Thursday 25 July 2024 07:14:54 -0400 (0:00:00.139) 0:02:53.608 ********* changed: [managed_node1] => { "changed": true, "gid": 994, "group": "mssql", "mode": "0700", "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] ***** Thursday 25 July 2024 07:14:54 -0400 (0:00:00.541) 0:02:54.150 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the setting defaultdatadir] *** Thursday 25 July 2024 07:14:54 -0400 (0:00:00.068) 0:02:54.219 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/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] *** Thursday 25 July 2024 07:14:54 -0400 (0:00:00.112) 0:02:54.331 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003339", "end": "2024-07-25 07:14:55.046478", "failed_when_result": false, "rc": 1, "start": "2024-07-25 07:14:55.043139" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultdatadir] *** Thursday 25 July 2024 07:14:55 -0400 (0:00:00.402) 0:02:54.733 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "filelocation.defaultdatadir", "/tmp/mssql_data" ], "delta": "0:00:00.120631", "end": "2024-07-25 07:14:55.574573", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:14:55.453942" } 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] *** Thursday 25 July 2024 07:14:55 -0400 (0:00:00.477) 0:02:55.211 ********* 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] *** Thursday 25 July 2024 07:14:55 -0400 (0:00:00.069) 0:02:55.281 ********* changed: [managed_node1] => { "changed": true, "gid": 994, "group": "mssql", "mode": "0700", "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] ***** Thursday 25 July 2024 07:14:56 -0400 (0:00:00.357) 0:02:55.639 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the setting defaultlogdir] *** Thursday 25 July 2024 07:14:56 -0400 (0:00:00.068) 0:02:55.707 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/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] *** Thursday 25 July 2024 07:14:56 -0400 (0:00:00.114) 0:02:55.821 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003190", "end": "2024-07-25 07:14:56.538434", "failed_when_result": false, "rc": 1, "start": "2024-07-25 07:14:56.535244" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultlogdir] *** Thursday 25 July 2024 07:14:56 -0400 (0:00:00.345) 0:02:56.167 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "filelocation.defaultlogdir", "/tmp/mssql_log" ], "delta": "0:00:00.118731", "end": "2024-07-25 07:14:56.999183", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:14:56.880452" } 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] *** Thursday 25 July 2024 07:14:57 -0400 (0:00:00.467) 0:02:56.634 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set selinux role facts for ports] ****** Thursday 25 July 2024 07:14:57 -0400 (0:00:00.062) 0:02:56.697 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** Thursday 25 July 2024 07:14:57 -0400 (0:00:00.064) 0:02:56.761 ********* 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] *** Thursday 25 July 2024 07:14:57 -0400 (0:00:00.060) 0:02:56.821 ********* 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" ] } lsrpackages: tuned-profiles-mssql TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** Thursday 25 July 2024 07:14:57 -0400 (0:00:00.598) 0:02:57.420 ********* ok: [managed_node1] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-07-25 07:07:59 EDT", "ActiveEnterTimestampMonotonic": "28047343", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice dbus.service network.target systemd-sysctl.service basic.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 07:07:57 EDT", "AssertTimestampMonotonic": "26119412", "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": "Thu 2024-07-25 07:07:57 EDT", "ConditionTimestampMonotonic": "26119411", "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": "850", "ExecMainStartTimestamp": "Thu 2024-07-25 07:07:57 EDT", "ExecMainStartTimestampMonotonic": "26120028", "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": "Thu 2024-07-25 07:07:57 EDT", "InactiveExitTimestampMonotonic": "26120069", "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": "850", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "dbus.service polkit.service basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2024-07-25 07:07:59 EDT", "WatchdogTimestampMonotonic": "28047298", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* Thursday 25 July 2024 07:14:58 -0400 (0:00:00.429) 0:02:57.849 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.135352", "end": "2024-07-25 07:14:58.698128", "rc": 0, "start": "2024-07-25 07:14:58.562776" } STDOUT: Current active profile: virtual-guest mssql TASK [fedora.linux_system_roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** Thursday 25 July 2024 07:14:58 -0400 (0:00:00.477) 0:02:58.327 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove troublemaking include from the mssql profile] *** Thursday 25 July 2024 07:14:58 -0400 (0:00:00.068) 0:02:58.395 ********* 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] *** Thursday 25 July 2024 07:14:58 -0400 (0:00:00.070) 0:02:58.465 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** Thursday 25 July 2024 07:14:58 -0400 (0:00:00.068) 0:02:58.533 ********* 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] *** Thursday 25 July 2024 07:14:59 -0400 (0:00:00.453) 0:02:58.987 ********* 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] *** Thursday 25 July 2024 07:14:59 -0400 (0:00:00.067) 0:02:59.054 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "mssql-tools-17.10.1.1-1.x86_64 providing mssql-tools is already installed", "unixODBC-devel-2.3.11-1.rh.x86_64 providing unixODBC-devel is already installed" ] } lsrpackages: mssql-tools unixODBC-devel TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** Thursday 25 July 2024 07:15:00 -0400 (0:00:00.608) 0:02:59.663 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/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] *** Thursday 25 July 2024 07:15:00 -0400 (0:00:00.120) 0:02:59.783 ********* ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-07-25 07:14:44 EDT", "ActiveEnterTimestampMonotonic": "433010110", "ActiveExitTimestamp": "Thu 2024-07-25 07:14:44 EDT", "ActiveExitTimestampMonotonic": "432496068", "ActiveState": "active", "After": "system.slice network.target -.mount auditd.service basic.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 07:14:44 EDT", "AssertTimestampMonotonic": "433009509", "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": "Thu 2024-07-25 07:14:44 EDT", "ConditionTimestampMonotonic": "433009508", "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": "12928", "ExecMainStartTimestamp": "Thu 2024-07-25 07:14:44 EDT", "ExecMainStartTimestampMonotonic": "433010058", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2024-07-25 07:14:44 EDT] ; stop_time=[n/a] ; pid=12928 ; 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": "Thu 2024-07-25 07:14:44 EDT", "InactiveEnterTimestampMonotonic": "433007754", "InactiveExitTimestamp": "Thu 2024-07-25 07:14:44 EDT", "InactiveExitTimestampMonotonic": "433010110", "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": "12928", "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": "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": "Thu 2024-07-25 07:14:44 EDT", "WatchdogTimestampMonotonic": "433010093", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** Thursday 25 July 2024 07:15:00 -0400 (0:00:00.499) 0:03:00.283 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003223", "end": "2024-07-25 07:15:01.004045", "failed_when_result": false, "rc": 1, "start": "2024-07-25 07:15:01.000822" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** Thursday 25 July 2024 07:15:01 -0400 (0:00:00.349) 0:03:00.632 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003179", "end": "2024-07-25 07:15:01.366928", "failed_when_result": false, "rc": 1, "start": "2024-07-25 07:15:01.363749" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* Thursday 25 July 2024 07:15:01 -0400 (0:00:00.361) 0:03:00.994 ********* 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] *** Thursday 25 July 2024 07:15:01 -0400 (0:00:00.084) 0:03:01.078 ********* 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": 7785, "state": "file", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** Thursday 25 July 2024 07:15:02 -0400 (0:00:01.422) 0:03:02.501 ********* 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] *** Thursday 25 July 2024 07:15:03 -0400 (0:00:00.392) 0:03:02.893 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** Thursday 25 July 2024 07:15:03 -0400 (0:00:00.068) 0:03:02.962 ********* 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] ******** Thursday 25 July 2024 07:15:04 -0400 (0:00:01.341) 0:03:04.303 ********* 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] *** Thursday 25 July 2024 07:15:04 -0400 (0:00:00.078) 0:03:04.382 ********* 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] *** Thursday 25 July 2024 07:15:04 -0400 (0:00:00.068) 0:03:04.451 ********* 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] *** Thursday 25 July 2024 07:15:04 -0400 (0:00:00.065) 0:03:04.516 ********* 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] *** Thursday 25 July 2024 07:15:05 -0400 (0:00:00.069) 0:03:04.586 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** Thursday 25 July 2024 07:15:05 -0400 (0:00:00.067) 0:03:04.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 [fedora.linux_system_roles.mssql : Change the edition of MSSQL] *********** Thursday 25 July 2024 07:15:05 -0400 (0:00:00.069) 0:03:04.723 ********* 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] ****** Thursday 25 July 2024 07:15:05 -0400 (0:00:00.068) 0:03:04.791 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** Thursday 25 July 2024 07:15:05 -0400 (0:00:00.066) 0:03:04.857 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** Thursday 25 July 2024 07:15:05 -0400 (0:00:00.068) 0:03:04.926 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the TCP port setting to 1433] *** Thursday 25 July 2024 07:15:05 -0400 (0:00:00.066) 0:03:04.992 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/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] ******* Thursday 25 July 2024 07:15:05 -0400 (0:00:00.118) 0:03:05.110 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003270", "end": "2024-07-25 07:15:05.835162", "failed_when_result": false, "rc": 1, "start": "2024-07-25 07:15:05.831892" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** Thursday 25 July 2024 07:15:05 -0400 (0:00:00.354) 0:03:05.465 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.151608", "end": "2024-07-25 07:15:06.334770", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:15:06.183162" } 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] ***** Thursday 25 July 2024 07:15:06 -0400 (0:00:00.571) 0:03:06.037 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** Thursday 25 July 2024 07:15:06 -0400 (0:00:00.066) 0:03:06.104 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** Thursday 25 July 2024 07:15:06 -0400 (0:00:00.066) 0:03:06.171 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts] *** Thursday 25 July 2024 07:15:06 -0400 (0:00:00.068) 0:03:06.239 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* Thursday 25 July 2024 07:15:06 -0400 (0:00:00.064) 0:03:06.304 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** Thursday 25 July 2024 07:15:06 -0400 (0:00:00.065) 0:03:06.369 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** Thursday 25 July 2024 07:15:06 -0400 (0:00:00.068) 0:03:06.438 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** Thursday 25 July 2024 07:15:06 -0400 (0:00:00.063) 0:03:06.501 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** Thursday 25 July 2024 07:15:07 -0400 (0:00:00.065) 0:03:06.567 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** Thursday 25 July 2024 07:15:07 -0400 (0:00:00.064) 0:03:06.632 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** Thursday 25 July 2024 07:15:07 -0400 (0:00:00.064) 0:03:06.696 ********* 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] *** Thursday 25 July 2024 07:15:07 -0400 (0:00:00.066) 0:03:06.763 ********* 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] *** Thursday 25 July 2024 07:15:07 -0400 (0:00:00.062) 0:03:06.825 ********* 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] ********* Thursday 25 July 2024 07:15:07 -0400 (0:00:00.076) 0:03:06.902 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlskey setting] ********** Thursday 25 July 2024 07:15:07 -0400 (0:00:00.065) 0:03:06.967 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlsprotocols setting] **** Thursday 25 July 2024 07:15:07 -0400 (0:00:00.066) 0:03:07.033 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the forceencryption setting] *** Thursday 25 July 2024 07:15:07 -0400 (0:00:00.064) 0:03:07.098 ********* 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] *** Thursday 25 July 2024 07:15:07 -0400 (0:00:00.065) 0:03:07.164 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** Thursday 25 July 2024 07:15:07 -0400 (0:00:00.134) 0:03:07.298 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure adutil and krb5-workstation] **** Thursday 25 July 2024 07:15:07 -0400 (0:00:00.066) 0:03:07.364 ********* 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] *** Thursday 25 July 2024 07:15:07 -0400 (0:00:00.069) 0:03:07.434 ********* 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 }}] *** Thursday 25 July 2024 07:15:07 -0400 (0:00:00.068) 0:03:07.503 ********* 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 }}] *** Thursday 25 July 2024 07:15:08 -0400 (0:00:00.068) 0:03:07.571 ********* 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] *************** Thursday 25 July 2024 07:15:08 -0400 (0:00:00.065) 0:03:07.637 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : In AD server create user] ************** Thursday 25 July 2024 07:15:08 -0400 (0:00:00.066) 0:03:07.704 ********* 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 : Get SPNs for the principal] ************ Thursday 25 July 2024 07:15:08 -0400 (0:00:00.067) 0:03:07.771 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register SPNs to the principal] ******** Thursday 25 July 2024 07:15:08 -0400 (0:00:00.065) 0:03:07.837 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get kvno of the SPN host] ************** Thursday 25 July 2024 07:15:08 -0400 (0:00:00.068) 0:03:07.905 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get stats of the keytab file] ********** Thursday 25 July 2024 07:15:08 -0400 (0:00:00.064) 0:03:07.970 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** Thursday 25 July 2024 07:15:08 -0400 (0:00:00.066) 0:03:08.036 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* Thursday 25 July 2024 07:15:08 -0400 (0:00:00.066) 0:03:08.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 : Add an entry in the keytab for the principal name and password] *** Thursday 25 July 2024 07:15:08 -0400 (0:00:00.062) 0:03:08.165 ********* 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] *** Thursday 25 July 2024 07:15:08 -0400 (0:00:00.065) 0:03:08.231 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch keytab file to host] ************* Thursday 25 July 2024 07:15:08 -0400 (0:00:00.064) 0:03:08.295 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** Thursday 25 July 2024 07:15:08 -0400 (0:00:00.064) 0:03:08.360 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** Thursday 25 July 2024 07:15:08 -0400 (0:00:00.063) 0:03:08.423 ********* 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] *** Thursday 25 July 2024 07:15:08 -0400 (0:00:00.063) 0:03:08.487 ********* 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] *** Thursday 25 July 2024 07:15:09 -0400 (0:00:00.131) 0:03:08.618 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** Thursday 25 July 2024 07:15:09 -0400 (0:00:00.065) 0:03:08.684 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** Thursday 25 July 2024 07:15:09 -0400 (0:00:00.068) 0:03:08.753 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** Thursday 25 July 2024 07:15:09 -0400 (0:00:00.065) 0:03:08.818 ********* 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] *** Thursday 25 July 2024 07:15:09 -0400 (0:00:00.066) 0:03:08.885 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** Thursday 25 July 2024 07:15:09 -0400 (0:00:00.062) 0:03:08.948 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** Thursday 25 July 2024 07:15:09 -0400 (0:00:00.066) 0:03:09.015 ********* 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] *** Thursday 25 July 2024 07:15:09 -0400 (0:00:00.079) 0:03:09.094 ********* 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] *** Thursday 25 July 2024 07:15:09 -0400 (0:00:00.062) 0:03:09.157 ********* 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] *** Thursday 25 July 2024 07:15:09 -0400 (0:00:00.065) 0:03:09.222 ********* 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] *** Thursday 25 July 2024 07:15:09 -0400 (0:00:00.080) 0:03:09.303 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set fact with the current primary replica] *** Thursday 25 July 2024 07:15:09 -0400 (0:00:00.066) 0:03:09.369 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** Thursday 25 July 2024 07:15:09 -0400 (0:00:00.065) 0:03:09.435 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* Thursday 25 July 2024 07:15:09 -0400 (0:00:00.065) 0:03:09.500 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* Thursday 25 July 2024 07:15:10 -0400 (0:00:00.064) 0:03:09.565 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* Thursday 25 July 2024 07:15:10 -0400 (0:00:00.062) 0:03:09.627 ********* 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] *** Thursday 25 July 2024 07:15:10 -0400 (0:00:00.065) 0:03:09.693 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** Thursday 25 July 2024 07:15:10 -0400 (0:00:00.065) 0:03:09.758 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** Thursday 25 July 2024 07:15:10 -0400 (0:00:00.063) 0:03:09.821 ********* 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] *** Thursday 25 July 2024 07:15:10 -0400 (0:00:00.133) 0:03:09.955 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** Thursday 25 July 2024 07:15:10 -0400 (0:00:00.066) 0:03:10.021 ********* 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] *** Thursday 25 July 2024 07:15:10 -0400 (0:00:00.068) 0:03:10.090 ********* 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] *** Thursday 25 July 2024 07:15:10 -0400 (0:00:00.078) 0:03:10.168 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** Thursday 25 July 2024 07:15:10 -0400 (0:00:00.067) 0:03:10.236 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Join to availability group] ************ Thursday 25 July 2024 07:15:10 -0400 (0:00:00.063) 0:03:10.300 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* Thursday 25 July 2024 07:15:10 -0400 (0:00:00.065) 0:03:10.366 ********* 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] *** Thursday 25 July 2024 07:15:10 -0400 (0:00:00.069) 0:03:10.436 ********* 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] *** Thursday 25 July 2024 07:15:10 -0400 (0:00:00.074) 0:03:10.510 ********* 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] *********************************** Thursday 25 July 2024 07:15:11 -0400 (0:00:00.065) 0:03:10.576 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for the cluster to finish configuration] *** Thursday 25 July 2024 07:15:11 -0400 (0:00:00.065) 0:03:10.641 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure listener for the availability group] *** Thursday 25 July 2024 07:15:11 -0400 (0:00:00.066) 0:03:10.708 ********* 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] *** Thursday 25 July 2024 07:15:11 -0400 (0:00:00.067) 0:03:10.776 ********* changed: [managed_node1] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** Thursday 25 July 2024 07:15:11 -0400 (0:00:00.507) 0:03:11.284 ********* changed: [managed_node1] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-07-25 07:14:44 EDT", "ActiveEnterTimestampMonotonic": "433010110", "ActiveExitTimestamp": "Thu 2024-07-25 07:14:44 EDT", "ActiveExitTimestampMonotonic": "432496068", "ActiveState": "active", "After": "system.slice network.target -.mount auditd.service basic.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 07:14:44 EDT", "AssertTimestampMonotonic": "433009509", "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": "Thu 2024-07-25 07:14:44 EDT", "ConditionTimestampMonotonic": "433009508", "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": "12928", "ExecMainStartTimestamp": "Thu 2024-07-25 07:14:44 EDT", "ExecMainStartTimestampMonotonic": "433010058", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2024-07-25 07:14:44 EDT] ; stop_time=[n/a] ; pid=12928 ; 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": "Thu 2024-07-25 07:14:44 EDT", "InactiveEnterTimestampMonotonic": "433007754", "InactiveExitTimestamp": "Thu 2024-07-25 07:14:44 EDT", "InactiveExitTimestampMonotonic": "433010110", "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": "12928", "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": "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": "Thu 2024-07-25 07:14:44 EDT", "WatchdogTimestampMonotonic": "433010093", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** Thursday 25 July 2024 07:15:12 -0400 (0:00:01.166) 0:03:12.450 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_input variable] *** Thursday 25 July 2024 07:15:13 -0400 (0:00:00.121) 0:03:12.572 ********* ok: [managed_node1] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the mssql_password variable is defined] *** Thursday 25 July 2024 07:15:13 -0400 (0:00:00.067) 0:03:12.639 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** Thursday 25 July 2024 07:15:13 -0400 (0:00:00.072) 0:03:12.711 ********* ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-07-25 07:15:12 EDT", "ActiveEnterTimestampMonotonic": "461094608", "ActiveExitTimestamp": "Thu 2024-07-25 07:15:12 EDT", "ActiveExitTimestampMonotonic": "460488241", "ActiveState": "active", "After": "system.slice network.target -.mount auditd.service basic.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 07:15:12 EDT", "AssertTimestampMonotonic": "461093249", "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": "Thu 2024-07-25 07:15:12 EDT", "ConditionTimestampMonotonic": "461093248", "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": "14609", "ExecMainStartTimestamp": "Thu 2024-07-25 07:15:12 EDT", "ExecMainStartTimestampMonotonic": "461093894", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2024-07-25 07:15:12 EDT] ; stop_time=[n/a] ; pid=14609 ; 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": "Thu 2024-07-25 07:15:12 EDT", "InactiveEnterTimestampMonotonic": "461091888", "InactiveExitTimestamp": "Thu 2024-07-25 07:15:12 EDT", "InactiveExitTimestampMonotonic": "461094608", "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": "14609", "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": "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": "Thu 2024-07-25 07:15:12 EDT", "WatchdogTimestampMonotonic": "461094578", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** Thursday 25 July 2024 07:15:13 -0400 (0:00:00.541) 0:03:13.252 ********* 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": 8493, "state": "file", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** Thursday 25 July 2024 07:15:15 -0400 (0:00:01.452) 0:03:14.705 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script files to MSSQL] ******* Thursday 25 July 2024 07:15:15 -0400 (0:00:00.069) 0:03:14.774 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml for managed_node1 included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Create a tempfile on the host for sql_script.sql] *** Thursday 25 July 2024 07:15:15 -0400 (0:00:00.149) 0:03:14.923 ********* ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/sql_script.sql_nGb8xs.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Copy the file to the host sql_script.sql] *** Thursday 25 July 2024 07:15:16 -0400 (0:00:00.660) 0:03:15.584 ********* ok: [managed_node1] => { "changed": false, "checksum": "67de8f18f6fcaa09e738d8c66f024167f8a33041", "dest": "/tmp/sql_script.sql_nGb8xs.sql", "gid": 0, "group": "root", "md5sum": "1b9811caa61ae40c1e20f7b8b059f23c", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 1481, "src": "/root/.ansible/tmp/ansible-tmp-1721906116.11-12061-1286124751209/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Generate the template on the host for sql_script.sql] *** Thursday 25 July 2024 07:15:17 -0400 (0:00:01.169) 0:03:16.754 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input with the sqlcmd command sql_script.sql] *** Thursday 25 July 2024 07:15:17 -0400 (0:00:00.068) 0:03:16.822 ********* 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 : Print file location and output from inputting sql_script.sql] *** Thursday 25 July 2024 07:15:19 -0400 (0:00:02.097) 0:03:18.920 ********* ok: [managed_node1] => (item=/tmp/sql_script.sql_nGb8xs.sql) => { "__mssql_sqlcmd_loop": "/tmp/sql_script.sql_nGb8xs.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [managed_node1] => (item=[u'Creating the MyLogin login', u'The MyLogin login created successfully', u'Creating the MyUser user', u'The MyUser user created successfully', u'Creating the ExampleDB database', u'The ExampleDB database created successfully', u"Changed database context to 'ExampleDB'.", u'Adding the Inventory table to the ExampleDB database', u'', u'(1 rows affected)', u'', u'(1 rows affected)', u'', u'(1 rows affected)', u'', u'(1 rows affected)', u'The Inventory table created successfully']) => { "__mssql_sqlcmd_loop": [ "Creating the MyLogin login", "The MyLogin login created successfully", "Creating the MyUser user", "The MyUser user created successfully", "Creating the ExampleDB database", "The ExampleDB database created successfully", "Changed database context to 'ExampleDB'.", "Adding the Inventory table to the ExampleDB database", "", "(1 rows affected)", "", "(1 rows affected)", "", "(1 rows affected)", "", "(1 rows affected)", "The Inventory table created successfully" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [managed_node1] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop" } TASK [fedora.linux_system_roles.mssql : Remove the tempfile sql_script.sql] **** Thursday 25 July 2024 07:15:19 -0400 (0:00:00.105) 0:03:19.025 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create a tempfile on the host for sql_script.sql] *** Thursday 25 July 2024 07:15:19 -0400 (0:00:00.069) 0:03:19.094 ********* ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/sql_script.sql_7u27pN.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Copy the file to the host sql_script.sql] *** Thursday 25 July 2024 07:15:19 -0400 (0:00:00.328) 0:03:19.423 ********* ok: [managed_node1] => { "changed": false, "checksum": "67de8f18f6fcaa09e738d8c66f024167f8a33041", "dest": "/tmp/sql_script.sql_7u27pN.sql", "gid": 0, "group": "root", "md5sum": "1b9811caa61ae40c1e20f7b8b059f23c", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 1481, "src": "/root/.ansible/tmp/ansible-tmp-1721906119.94-12101-138612993574026/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Generate the template on the host for sql_script.sql] *** Thursday 25 July 2024 07:15:20 -0400 (0:00:00.590) 0:03:20.013 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input with the sqlcmd command sql_script.sql] *** Thursday 25 July 2024 07:15:20 -0400 (0:00:00.123) 0:03:20.137 ********* 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 : Print file location and output from inputting sql_script.sql] *** Thursday 25 July 2024 07:15:21 -0400 (0:00:00.400) 0:03:20.537 ********* ok: [managed_node1] => (item=/tmp/sql_script.sql_7u27pN.sql) => { "__mssql_sqlcmd_loop": "/tmp/sql_script.sql_7u27pN.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [managed_node1] => (item=[u'The MyLogin login already exists, skipping', u'The MyUser user already exists, skipping', u'The ExampleDB database already exists, skipping', u"Changed database context to 'ExampleDB'.", u'The Inventory table already exists, skipping']) => { "__mssql_sqlcmd_loop": [ "The MyLogin login already exists, skipping", "The MyUser user already exists, skipping", "The ExampleDB database already exists, skipping", "Changed database context to 'ExampleDB'.", "The Inventory table already exists, skipping" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [managed_node1] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop" } TASK [fedora.linux_system_roles.mssql : Remove the tempfile sql_script.sql] **** Thursday 25 July 2024 07:15:21 -0400 (0:00:00.108) 0:03:20.645 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script contents to MSSQL] **** Thursday 25 July 2024 07:15:21 -0400 (0:00:00.068) 0:03:20.714 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** Thursday 25 July 2024 07:15:21 -0400 (0:00:00.064) 0:03:20.779 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert the latest script invocation resulted in no changes] ************** Thursday 25 July 2024 07:15:21 -0400 (0:00:00.065) 0:03:20.845 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify custom storage] *************************************************** Thursday 25 July 2024 07:15:21 -0400 (0:00:00.070) 0:03:20.916 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/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] ********************** Thursday 25 July 2024 07:15:21 -0400 (0:00:00.327) 0:03:21.244 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if the set edition matches the existing edition] ******************* Thursday 25 July 2024 07:15:21 -0400 (0:00:00.063) 0:03:21.307 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* Thursday 25 July 2024 07:15:21 -0400 (0:00:00.063) 0:03:21.371 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** Thursday 25 July 2024 07:15:21 -0400 (0:00:00.064) 0:03:21.436 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** Thursday 25 July 2024 07:15:21 -0400 (0:00:00.064) 0:03:21.500 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1721906118.7575326, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1721906118.5015328, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 994, "gr_name": "mssql", "inode": 393288, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1721906118.5015328, "nlink": 2, "path": "/tmp/mssql_data", "pw_name": "mssql", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 4096, "uid": 996, "version": "1506342317", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": true } } TASK [Assert that mssql_datadir has proper permissions and ownership] ********** Thursday 25 July 2024 07:15:22 -0400 (0:00:00.410) 0:03:21.911 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get stat of mssql_logdir] ************************************************ Thursday 25 July 2024 07:15:22 -0400 (0:00:00.080) 0:03:21.992 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1721906118.7685325, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1721906118.5355327, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 994, "gr_name": "mssql", "inode": 393289, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1721906118.5355327, "nlink": 2, "path": "/tmp/mssql_log", "pw_name": "mssql", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 4096, "uid": 996, "version": "1506342334", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": true } } TASK [Assert that mssql_logdir has proper permissions and ownership] *********** Thursday 25 July 2024 07:15:22 -0400 (0:00:00.355) 0:03:22.347 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Prepare MSSQL and facts for logging in] ********************************** Thursday 25 July 2024 07:15:22 -0400 (0:00:00.077) 0:03:22.425 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Wait for mssql-server to prepare for client connections] ***************** Thursday 25 July 2024 07:15:22 -0400 (0:00:00.071) 0:03:22.496 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if the set password matches the existing password] ***************** Thursday 25 July 2024 07:15:23 -0400 (0:00:00.067) 0:03:22.564 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set the mssql_password variable to default null] ************************* Thursday 25 July 2024 07:15:23 -0400 (0:00:00.067) 0:03:22.631 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package {{ __mssql_server_fts_packages }}] ******************** Thursday 25 July 2024 07:15:23 -0400 (0:00:00.069) 0:03:22.701 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package {{ __mssql_powershell_packages }}] ******************** Thursday 25 July 2024 07:15:23 -0400 (0:00:00.068) 0:03:22.770 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** Thursday 25 July 2024 07:15:23 -0400 (0:00:00.067) 0:03:22.837 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is set to 3979] ************************ Thursday 25 July 2024 07:15:23 -0400 (0:00:00.065) 0:03:22.903 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is not set to 3979] ******************** Thursday 25 July 2024 07:15:23 -0400 (0:00:00.068) 0:03:22.972 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** Thursday 25 July 2024 07:15:23 -0400 (0:00:00.068) 0:03:23.040 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** Thursday 25 July 2024 07:15:23 -0400 (0:00:00.066) 0:03:23.106 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** Thursday 25 July 2024 07:15:23 -0400 (0:00:00.069) 0:03:23.176 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** Thursday 25 July 2024 07:15:23 -0400 (0:00:00.067) 0:03:23.244 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** Thursday 25 July 2024 07:15:23 -0400 (0:00:00.067) 0:03:23.311 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** Thursday 25 July 2024 07:15:23 -0400 (0:00:00.067) 0:03:23.378 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** Thursday 25 July 2024 07:15:23 -0400 (0:00:00.148) 0:03:23.527 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set up MSSQL and input sql content with pre_input] *********************** Thursday 25 July 2024 07:15:24 -0400 (0:00:00.069) 0:03:23.597 ********* TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** Thursday 25 July 2024 07:15:24 -0400 (0:00:00.734) 0:03:24.331 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/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] ***** Thursday 25 July 2024 07:15:24 -0400 (0:00:00.109) 0:03:24.441 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** Thursday 25 July 2024 07:15:24 -0400 (0:00:00.085) 0:03:24.527 ********* 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": [ "/var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/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": [ "/var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/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 : Unset the __mssql_sqlcmd_login_cmd fact] *** Thursday 25 July 2024 07:15:25 -0400 (0:00:00.102) 0:03:24.630 ********* 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] *** Thursday 25 July 2024 07:15:25 -0400 (0:00:00.062) 0:03:24.692 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** Thursday 25 July 2024 07:15:25 -0400 (0:00:00.159) 0:03:24.852 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the variable is deprecated] *** Thursday 25 July 2024 07:15:25 -0400 (0:00:00.067) 0:03:24.919 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** Thursday 25 July 2024 07:15:25 -0400 (0:00:00.067) 0:03:24.986 ********* 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] *** Thursday 25 July 2024 07:15:25 -0400 (0:00:00.069) 0:03:25.055 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** Thursday 25 July 2024 07:15:25 -0400 (0:00:00.067) 0:03:25.123 ********* 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] *** Thursday 25 July 2024 07:15:25 -0400 (0:00:00.071) 0:03:25.195 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** Thursday 25 July 2024 07:15:25 -0400 (0:00:00.065) 0:03:25.260 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that the user accepts EULA variables] *** Thursday 25 July 2024 07:15:25 -0400 (0:00:00.068) 0:03:25.329 ********* 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] *** Thursday 25 July 2024 07:15:25 -0400 (0:00:00.074) 0:03:25.403 ********* 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] *** Thursday 25 July 2024 07:15:25 -0400 (0:00:00.067) 0:03:25.470 ********* 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] *** Thursday 25 July 2024 07:15:26 -0400 (0:00:00.067) 0:03:25.538 ********* 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] *** Thursday 25 July 2024 07:15:26 -0400 (0:00:00.065) 0:03:25.604 ********* 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] *** Thursday 25 July 2024 07:15:26 -0400 (0:00:00.068) 0:03:25.672 ********* 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] *** Thursday 25 July 2024 07:15:26 -0400 (0:00:00.068) 0:03:25.741 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** Thursday 25 July 2024 07:15:26 -0400 (0:00:00.067) 0:03:25.808 ********* 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] *** Thursday 25 July 2024 07:15:27 -0400 (0:00:01.381) 0:03:27.190 ********* 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" } ok: [managed_node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } 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] *** Thursday 25 July 2024 07:15:27 -0400 (0:00:00.190) 0:03:27.381 ********* 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] *** Thursday 25 July 2024 07:15:27 -0400 (0:00:00.070) 0:03:27.451 ********* 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] *** Thursday 25 July 2024 07:15:27 -0400 (0:00:00.072) 0:03:27.523 ********* 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] *** Thursday 25 July 2024 07:15:28 -0400 (0:00:00.131) 0:03:27.654 ********* ok: [managed_node1] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** Thursday 25 July 2024 07:15:28 -0400 (0:00:00.591) 0:03:28.246 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** Thursday 25 July 2024 07:15:28 -0400 (0:00:00.070) 0:03:28.317 ********* 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 2019] *** Thursday 25 July 2024 07:15:28 -0400 (0:00:00.073) 0:03:28.391 ********* 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 2019] *** Thursday 25 July 2024 07:15:28 -0400 (0:00:00.068) 0:03:28.460 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** Thursday 25 July 2024 07:15:28 -0400 (0:00:00.071) 0:03:28.531 ********* 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 2019] *** Thursday 25 July 2024 07:15:29 -0400 (0:00:00.071) 0:03:28.602 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** Thursday 25 July 2024 07:15:29 -0400 (0:00:00.070) 0:03:28.673 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** Thursday 25 July 2024 07:15:29 -0400 (0:00:00.174) 0:03:28.847 ********* 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] *** Thursday 25 July 2024 07:15:29 -0400 (0:00:00.071) 0:03:28.919 ********* 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] ******* Thursday 25 July 2024 07:15:29 -0400 (0:00:00.597) 0:03:29.516 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-15.0.4375.4-1.x86_64 providing mssql-server is already installed" ] } lsrpackages: mssql-server TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** Thursday 25 July 2024 07:15:30 -0400 (0:00:00.655) 0:03:30.171 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** Thursday 25 July 2024 07:15:30 -0400 (0:00:00.067) 0:03:30.239 ********* 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.005134", "end": "2024-07-25 07:15:30.960349", "rc": 0, "start": "2024-07-25 07:15:30.955215" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** Thursday 25 July 2024 07:15:31 -0400 (0:00:00.349) 0:03:30.588 ********* 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] ***** Thursday 25 July 2024 07:15:31 -0400 (0:00:00.896) 0:03:31.484 ********* 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] *** Thursday 25 July 2024 07:15:32 -0400 (0:00:00.092) 0:03:31.577 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** Thursday 25 July 2024 07:15:32 -0400 (0:00:00.067) 0:03:31.645 ********* 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] *** Thursday 25 July 2024 07:15:32 -0400 (0:00:00.065) 0:03:31.711 ********* skipping: [managed_node1] => (item={u'path': None, u'setting': u'defaultdatadir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'path': None, u'setting': u'defaultlogdir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set selinux role facts for ports] ****** Thursday 25 July 2024 07:15:32 -0400 (0:00:00.154) 0:03:31.866 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** Thursday 25 July 2024 07:15:32 -0400 (0:00:00.067) 0:03:31.933 ********* 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] *** Thursday 25 July 2024 07:15:32 -0400 (0:00:00.069) 0:03:32.002 ********* 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" ] } lsrpackages: tuned-profiles-mssql TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** Thursday 25 July 2024 07:15:33 -0400 (0:00:00.555) 0:03:32.558 ********* ok: [managed_node1] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-07-25 07:07:59 EDT", "ActiveEnterTimestampMonotonic": "28047343", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice dbus.service network.target systemd-sysctl.service basic.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 07:07:57 EDT", "AssertTimestampMonotonic": "26119412", "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": "Thu 2024-07-25 07:07:57 EDT", "ConditionTimestampMonotonic": "26119411", "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": "850", "ExecMainStartTimestamp": "Thu 2024-07-25 07:07:57 EDT", "ExecMainStartTimestampMonotonic": "26120028", "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": "Thu 2024-07-25 07:07:57 EDT", "InactiveExitTimestampMonotonic": "26120069", "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": "850", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "dbus.service polkit.service basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2024-07-25 07:07:59 EDT", "WatchdogTimestampMonotonic": "28047298", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* Thursday 25 July 2024 07:15:33 -0400 (0:00:00.442) 0:03:33.000 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.087907", "end": "2024-07-25 07:15:33.791602", "rc": 0, "start": "2024-07-25 07:15:33.703695" } STDOUT: Current active profile: virtual-guest mssql TASK [fedora.linux_system_roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** Thursday 25 July 2024 07:15:33 -0400 (0:00:00.420) 0:03:33.421 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove troublemaking include from the mssql profile] *** Thursday 25 July 2024 07:15:33 -0400 (0:00:00.070) 0:03:33.491 ********* 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] *** Thursday 25 July 2024 07:15:34 -0400 (0:00:00.066) 0:03:33.558 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** Thursday 25 July 2024 07:15:34 -0400 (0:00:00.069) 0:03:33.627 ********* 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] *** Thursday 25 July 2024 07:15:34 -0400 (0:00:00.415) 0:03:34.043 ********* 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] *** Thursday 25 July 2024 07:15:34 -0400 (0:00:00.065) 0:03:34.108 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "mssql-tools-17.10.1.1-1.x86_64 providing mssql-tools is already installed", "unixODBC-devel-2.3.11-1.rh.x86_64 providing unixODBC-devel is already installed" ] } lsrpackages: mssql-tools unixODBC-devel TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** Thursday 25 July 2024 07:15:35 -0400 (0:00:00.544) 0:03:34.652 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/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] *** Thursday 25 July 2024 07:15:35 -0400 (0:00:00.195) 0:03:34.848 ********* ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-07-25 07:15:12 EDT", "ActiveEnterTimestampMonotonic": "461094608", "ActiveExitTimestamp": "Thu 2024-07-25 07:15:12 EDT", "ActiveExitTimestampMonotonic": "460488241", "ActiveState": "active", "After": "system.slice network.target -.mount auditd.service basic.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 07:15:12 EDT", "AssertTimestampMonotonic": "461093249", "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": "Thu 2024-07-25 07:15:12 EDT", "ConditionTimestampMonotonic": "461093248", "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": "14609", "ExecMainStartTimestamp": "Thu 2024-07-25 07:15:12 EDT", "ExecMainStartTimestampMonotonic": "461093894", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2024-07-25 07:15:12 EDT] ; stop_time=[n/a] ; pid=14609 ; 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": "Thu 2024-07-25 07:15:12 EDT", "InactiveEnterTimestampMonotonic": "461091888", "InactiveExitTimestamp": "Thu 2024-07-25 07:15:12 EDT", "InactiveExitTimestampMonotonic": "461094608", "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": "14609", "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": "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": "Thu 2024-07-25 07:15:12 EDT", "WatchdogTimestampMonotonic": "461094578", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** Thursday 25 July 2024 07:15:35 -0400 (0:00:00.453) 0:03:35.301 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.005443", "end": "2024-07-25 07:15:36.021129", "failed_when_result": false, "rc": 1, "start": "2024-07-25 07:15:36.015686" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** Thursday 25 July 2024 07:15:36 -0400 (0:00:00.354) 0:03:35.655 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003191", "end": "2024-07-25 07:15:36.366313", "failed_when_result": false, "rc": 1, "start": "2024-07-25 07:15:36.363122" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* Thursday 25 July 2024 07:15:36 -0400 (0:00:00.339) 0:03:35.995 ********* 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] *** Thursday 25 July 2024 07:15:36 -0400 (0:00:00.083) 0:03:36.079 ********* 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": 8179, "state": "file", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** Thursday 25 July 2024 07:15:37 -0400 (0:00:01.341) 0:03:37.420 ********* 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] *** Thursday 25 July 2024 07:15:38 -0400 (0:00:00.396) 0:03:37.817 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** Thursday 25 July 2024 07:15:38 -0400 (0:00:00.070) 0:03:37.888 ********* 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] ******** Thursday 25 July 2024 07:15:39 -0400 (0:00:01.366) 0:03:39.254 ********* 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] *** Thursday 25 July 2024 07:15:39 -0400 (0:00:00.078) 0:03:39.333 ********* 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] *** Thursday 25 July 2024 07:15:39 -0400 (0:00:00.067) 0:03:39.400 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_input variable] *** Thursday 25 July 2024 07:15:40 -0400 (0:00:00.383) 0:03:39.783 ********* ok: [managed_node1] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the mssql_password variable is defined] *** Thursday 25 July 2024 07:15:40 -0400 (0:00:00.069) 0:03:39.853 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** Thursday 25 July 2024 07:15:40 -0400 (0:00:00.069) 0:03:39.923 ********* ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-07-25 07:15:12 EDT", "ActiveEnterTimestampMonotonic": "461094608", "ActiveExitTimestamp": "Thu 2024-07-25 07:15:12 EDT", "ActiveExitTimestampMonotonic": "460488241", "ActiveState": "active", "After": "system.slice network.target -.mount auditd.service basic.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 07:15:12 EDT", "AssertTimestampMonotonic": "461093249", "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": "Thu 2024-07-25 07:15:12 EDT", "ConditionTimestampMonotonic": "461093248", "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": "14609", "ExecMainStartTimestamp": "Thu 2024-07-25 07:15:12 EDT", "ExecMainStartTimestampMonotonic": "461093894", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2024-07-25 07:15:12 EDT] ; stop_time=[n/a] ; pid=14609 ; 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": "Thu 2024-07-25 07:15:12 EDT", "InactiveEnterTimestampMonotonic": "461091888", "InactiveExitTimestamp": "Thu 2024-07-25 07:15:12 EDT", "InactiveExitTimestampMonotonic": "461094608", "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": "14609", "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": "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": "Thu 2024-07-25 07:15:12 EDT", "WatchdogTimestampMonotonic": "461094578", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** Thursday 25 July 2024 07:15:40 -0400 (0:00:00.443) 0:03:40.367 ********* 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": 8179, "state": "file", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** Thursday 25 July 2024 07:15:42 -0400 (0:00:01.329) 0:03:41.696 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script files to MSSQL] ******* Thursday 25 July 2024 07:15:42 -0400 (0:00:00.067) 0:03:41.764 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script contents to MSSQL] **** Thursday 25 July 2024 07:15:42 -0400 (0:00:00.143) 0:03:41.908 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_content.yml for managed_node1 included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_content.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Input script content] ****************** Thursday 25 July 2024 07:15:43 -0400 (0:00:00.967) 0:03:42.875 ********* 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 : Print results and clean up after inputting script content] *** Thursday 25 July 2024 07:15:44 -0400 (0:00:00.846) 0:03:43.721 ********* ok: [managed_node1] => (item=[u'Creating the ExampleDB2 database', u'The ExampleDB2 database created successfully', u"Changed database context to 'ExampleDB2'.", u'Adding the Inventory table to the ExampleDB2 database', u'', u'(1 rows affected)', u'', u'(1 rows affected)', u'', u'(1 rows affected)', u'', u'(1 rows affected)', u'The Inventory table created successfully']) => { "__mssql_sqlcmd_loop": [ "Creating the ExampleDB2 database", "The ExampleDB2 database created successfully", "Changed database context to 'ExampleDB2'.", "Adding the Inventory table to the ExampleDB2 database", "", "(1 rows affected)", "", "(1 rows affected)", "", "(1 rows affected)", "", "(1 rows affected)", "The Inventory table created successfully" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [managed_node1] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop" } TASK [fedora.linux_system_roles.mssql : Input script content] ****************** Thursday 25 July 2024 07:15:44 -0400 (0:00:00.097) 0:03:43.819 ********* 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 : Print results and clean up after inputting script content] *** Thursday 25 July 2024 07:15:44 -0400 (0:00:00.370) 0:03:44.190 ********* ok: [managed_node1] => (item=[u'The ExampleDB2 database already exists, skipping', u"Changed database context to 'ExampleDB2'.", u'The Inventory table already exists, skipping']) => { "__mssql_sqlcmd_loop": [ "The ExampleDB2 database already exists, skipping", "Changed database context to 'ExampleDB2'.", "The Inventory table already exists, skipping" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [managed_node1] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop" } TASK [fedora.linux_system_roles.mssql : Check if the set edition matches the existing edition] *** Thursday 25 July 2024 07:15:44 -0400 (0:00:00.093) 0:03:44.283 ********* 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.005076", "end": "2024-07-25 07:15:45.000525", "rc": 0, "start": "2024-07-25 07:15:44.995449" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** Thursday 25 July 2024 07:15:45 -0400 (0:00:00.344) 0:03:44.627 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** Thursday 25 July 2024 07:15:45 -0400 (0:00:00.072) 0:03:44.700 ********* 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] *********** Thursday 25 July 2024 07:15:46 -0400 (0:00:01.298) 0:03:45.999 ********* 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] ****** Thursday 25 July 2024 07:15:46 -0400 (0:00:00.079) 0:03:46.079 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** Thursday 25 July 2024 07:15:46 -0400 (0:00:00.072) 0:03:46.151 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** Thursday 25 July 2024 07:15:46 -0400 (0:00:00.072) 0:03:46.223 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the TCP port setting to 1433] *** Thursday 25 July 2024 07:15:46 -0400 (0:00:00.073) 0:03:46.297 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/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] ******* Thursday 25 July 2024 07:15:46 -0400 (0:00:00.124) 0:03:46.421 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003095", "end": "2024-07-25 07:15:47.143748", "failed_when_result": false, "rc": 1, "start": "2024-07-25 07:15:47.140653" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** Thursday 25 July 2024 07:15:47 -0400 (0:00:00.353) 0:03:46.775 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.120425", "end": "2024-07-25 07:15:47.618793", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:15:47.498368" } 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] ***** Thursday 25 July 2024 07:15:47 -0400 (0:00:00.483) 0:03:47.259 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** Thursday 25 July 2024 07:15:47 -0400 (0:00:00.066) 0:03:47.326 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** Thursday 25 July 2024 07:15:47 -0400 (0:00:00.150) 0:03:47.476 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts] *** Thursday 25 July 2024 07:15:48 -0400 (0:00:00.071) 0:03:47.547 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* Thursday 25 July 2024 07:15:48 -0400 (0:00:00.069) 0:03:47.617 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** Thursday 25 July 2024 07:15:48 -0400 (0:00:00.069) 0:03:47.687 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** Thursday 25 July 2024 07:15:48 -0400 (0:00:00.070) 0:03:47.758 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** Thursday 25 July 2024 07:15:48 -0400 (0:00:00.070) 0:03:47.828 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** Thursday 25 July 2024 07:15:48 -0400 (0:00:00.066) 0:03:47.895 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** Thursday 25 July 2024 07:15:48 -0400 (0:00:00.068) 0:03:47.964 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** Thursday 25 July 2024 07:15:48 -0400 (0:00:00.067) 0:03:48.032 ********* 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] *** Thursday 25 July 2024 07:15:48 -0400 (0:00:00.069) 0:03:48.102 ********* 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] *** Thursday 25 July 2024 07:15:48 -0400 (0:00:00.071) 0:03:48.173 ********* 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] ********* Thursday 25 July 2024 07:15:48 -0400 (0:00:00.074) 0:03:48.248 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlskey setting] ********** Thursday 25 July 2024 07:15:48 -0400 (0:00:00.069) 0:03:48.318 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlsprotocols setting] **** Thursday 25 July 2024 07:15:48 -0400 (0:00:00.066) 0:03:48.385 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the forceencryption setting] *** Thursday 25 July 2024 07:15:48 -0400 (0:00:00.069) 0:03:48.455 ********* 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] *** Thursday 25 July 2024 07:15:48 -0400 (0:00:00.068) 0:03:48.523 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** Thursday 25 July 2024 07:15:49 -0400 (0:00:00.069) 0:03:48.592 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure adutil and krb5-workstation] **** Thursday 25 July 2024 07:15:49 -0400 (0:00:00.067) 0:03:48.660 ********* 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] *** Thursday 25 July 2024 07:15:49 -0400 (0:00:00.066) 0:03:48.726 ********* 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 }}] *** Thursday 25 July 2024 07:15:49 -0400 (0:00:00.156) 0:03:48.883 ********* 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 }}] *** Thursday 25 July 2024 07:15:49 -0400 (0:00:00.072) 0:03:48.956 ********* 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] *************** Thursday 25 July 2024 07:15:49 -0400 (0:00:00.072) 0:03:49.028 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : In AD server create user] ************** Thursday 25 July 2024 07:15:49 -0400 (0:00:00.070) 0:03:49.098 ********* 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 : Get SPNs for the principal] ************ Thursday 25 July 2024 07:15:49 -0400 (0:00:00.066) 0:03:49.165 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register SPNs to the principal] ******** Thursday 25 July 2024 07:15:49 -0400 (0:00:00.070) 0:03:49.236 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get kvno of the SPN host] ************** Thursday 25 July 2024 07:15:49 -0400 (0:00:00.064) 0:03:49.301 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get stats of the keytab file] ********** Thursday 25 July 2024 07:15:49 -0400 (0:00:00.066) 0:03:49.367 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** Thursday 25 July 2024 07:15:49 -0400 (0:00:00.066) 0:03:49.434 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* Thursday 25 July 2024 07:15:49 -0400 (0:00:00.066) 0:03:49.501 ********* 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] *** Thursday 25 July 2024 07:15:50 -0400 (0:00:00.066) 0:03:49.567 ********* 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] *** Thursday 25 July 2024 07:15:50 -0400 (0:00:00.065) 0:03:49.633 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch keytab file to host] ************* Thursday 25 July 2024 07:15:50 -0400 (0:00:00.065) 0:03:49.699 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** Thursday 25 July 2024 07:15:50 -0400 (0:00:00.064) 0:03:49.763 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** Thursday 25 July 2024 07:15:50 -0400 (0:00:00.066) 0:03:49.830 ********* 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] *** Thursday 25 July 2024 07:15:50 -0400 (0:00:00.066) 0:03:49.896 ********* 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] *** Thursday 25 July 2024 07:15:50 -0400 (0:00:00.065) 0:03:49.962 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** Thursday 25 July 2024 07:15:50 -0400 (0:00:00.068) 0:03:50.030 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** Thursday 25 July 2024 07:15:50 -0400 (0:00:00.066) 0:03:50.096 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** Thursday 25 July 2024 07:15:50 -0400 (0:00:00.153) 0:03:50.250 ********* 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] *** Thursday 25 July 2024 07:15:50 -0400 (0:00:00.068) 0:03:50.318 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** Thursday 25 July 2024 07:15:50 -0400 (0:00:00.072) 0:03:50.391 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** Thursday 25 July 2024 07:15:50 -0400 (0:00:00.070) 0:03:50.462 ********* 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] *** Thursday 25 July 2024 07:15:51 -0400 (0:00:00.081) 0:03:50.543 ********* 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] *** Thursday 25 July 2024 07:15:51 -0400 (0:00:00.071) 0:03:50.615 ********* 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] *** Thursday 25 July 2024 07:15:51 -0400 (0:00:00.068) 0:03:50.683 ********* 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] *** Thursday 25 July 2024 07:15:51 -0400 (0:00:00.088) 0:03:50.772 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set fact with the current primary replica] *** Thursday 25 July 2024 07:15:51 -0400 (0:00:00.069) 0:03:50.842 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** Thursday 25 July 2024 07:15:51 -0400 (0:00:00.068) 0:03:50.910 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* Thursday 25 July 2024 07:15:51 -0400 (0:00:00.068) 0:03:50.978 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* Thursday 25 July 2024 07:15:51 -0400 (0:00:00.066) 0:03:51.045 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* Thursday 25 July 2024 07:15:51 -0400 (0:00:00.069) 0:03:51.115 ********* 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] *** Thursday 25 July 2024 07:15:51 -0400 (0:00:00.066) 0:03:51.182 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** Thursday 25 July 2024 07:15:51 -0400 (0:00:00.068) 0:03:51.251 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** Thursday 25 July 2024 07:15:51 -0400 (0:00:00.067) 0:03:51.318 ********* 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] *** Thursday 25 July 2024 07:15:51 -0400 (0:00:00.064) 0:03:51.382 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** Thursday 25 July 2024 07:15:51 -0400 (0:00:00.067) 0:03:51.450 ********* 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] *** Thursday 25 July 2024 07:15:51 -0400 (0:00:00.065) 0:03:51.515 ********* 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] *** Thursday 25 July 2024 07:15:52 -0400 (0:00:00.161) 0:03:51.677 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** Thursday 25 July 2024 07:15:52 -0400 (0:00:00.065) 0:03:51.743 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Join to availability group] ************ Thursday 25 July 2024 07:15:52 -0400 (0:00:00.069) 0:03:51.812 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* Thursday 25 July 2024 07:15:52 -0400 (0:00:00.069) 0:03:51.882 ********* 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] *** Thursday 25 July 2024 07:15:52 -0400 (0:00:00.071) 0:03:51.953 ********* 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] *** Thursday 25 July 2024 07:15:52 -0400 (0:00:00.079) 0:03:52.033 ********* 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] *********************************** Thursday 25 July 2024 07:15:52 -0400 (0:00:00.064) 0:03:52.097 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for the cluster to finish configuration] *** Thursday 25 July 2024 07:15:52 -0400 (0:00:00.067) 0:03:52.164 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure listener for the availability group] *** Thursday 25 July 2024 07:15:52 -0400 (0:00:00.070) 0:03:52.235 ********* 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] *** Thursday 25 July 2024 07:15:52 -0400 (0:00:00.067) 0:03:52.303 ********* ok: [managed_node1] => { "changed": false } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** Thursday 25 July 2024 07:15:53 -0400 (0:00:00.501) 0:03:52.804 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** Thursday 25 July 2024 07:15:53 -0400 (0:00:00.063) 0:03:52.868 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert the latest script invocation resulted in no changes] ************** Thursday 25 July 2024 07:15:53 -0400 (0:00:00.066) 0:03:52.934 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Set up MSSQL and input sql content with post_input] ********************** Thursday 25 July 2024 07:15:53 -0400 (0:00:00.068) 0:03:53.002 ********* TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** Thursday 25 July 2024 07:15:54 -0400 (0:00:00.966) 0:03:53.968 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/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] ***** Thursday 25 July 2024 07:15:54 -0400 (0:00:00.113) 0:03:54.082 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** Thursday 25 July 2024 07:15:54 -0400 (0:00:00.086) 0:03:54.169 ********* 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": [ "/var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/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": [ "/var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/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 : Unset the __mssql_sqlcmd_login_cmd fact] *** Thursday 25 July 2024 07:15:54 -0400 (0:00:00.103) 0:03:54.272 ********* 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] *** Thursday 25 July 2024 07:15:54 -0400 (0:00:00.067) 0:03:54.339 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** Thursday 25 July 2024 07:15:54 -0400 (0:00:00.066) 0:03:54.406 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the variable is deprecated] *** Thursday 25 July 2024 07:15:54 -0400 (0:00:00.069) 0:03:54.476 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** Thursday 25 July 2024 07:15:55 -0400 (0:00:00.068) 0:03:54.544 ********* 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] *** Thursday 25 July 2024 07:15:55 -0400 (0:00:00.173) 0:03:54.718 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** Thursday 25 July 2024 07:15:55 -0400 (0:00:00.069) 0:03:54.787 ********* 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] *** Thursday 25 July 2024 07:15:55 -0400 (0:00:00.070) 0:03:54.857 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** Thursday 25 July 2024 07:15:55 -0400 (0:00:00.070) 0:03:54.928 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that the user accepts EULA variables] *** Thursday 25 July 2024 07:15:55 -0400 (0:00:00.067) 0:03:54.995 ********* 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] *** Thursday 25 July 2024 07:15:55 -0400 (0:00:00.080) 0:03:55.075 ********* 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] *** Thursday 25 July 2024 07:15:55 -0400 (0:00:00.066) 0:03:55.142 ********* 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] *** Thursday 25 July 2024 07:15:55 -0400 (0:00:00.068) 0:03:55.210 ********* 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] *** Thursday 25 July 2024 07:15:55 -0400 (0:00:00.065) 0:03:55.275 ********* 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] *** Thursday 25 July 2024 07:15:55 -0400 (0:00:00.067) 0:03:55.343 ********* 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] *** Thursday 25 July 2024 07:15:55 -0400 (0:00:00.070) 0:03:55.414 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** Thursday 25 July 2024 07:15:55 -0400 (0:00:00.066) 0:03:55.480 ********* 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] *** Thursday 25 July 2024 07:15:57 -0400 (0:00:01.304) 0:03:56.785 ********* 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" } ok: [managed_node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } 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] *** Thursday 25 July 2024 07:15:57 -0400 (0:00:00.181) 0:03:56.966 ********* 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] *** Thursday 25 July 2024 07:15:57 -0400 (0:00:00.065) 0:03:57.032 ********* 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] *** Thursday 25 July 2024 07:15:57 -0400 (0:00:00.071) 0:03:57.103 ********* 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] *** Thursday 25 July 2024 07:15:57 -0400 (0:00:00.122) 0:03:57.226 ********* ok: [managed_node1] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** Thursday 25 July 2024 07:15:58 -0400 (0:00:00.504) 0:03:57.730 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** Thursday 25 July 2024 07:15:58 -0400 (0:00:00.065) 0:03:57.796 ********* 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 2019] *** Thursday 25 July 2024 07:15:58 -0400 (0:00:00.070) 0:03:57.867 ********* 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 2019] *** Thursday 25 July 2024 07:15:58 -0400 (0:00:00.067) 0:03:57.934 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** Thursday 25 July 2024 07:15:58 -0400 (0:00:00.069) 0:03:58.004 ********* 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 2019] *** Thursday 25 July 2024 07:15:58 -0400 (0:00:00.070) 0:03:58.074 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** Thursday 25 July 2024 07:15:58 -0400 (0:00:00.070) 0:03:58.144 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** Thursday 25 July 2024 07:15:58 -0400 (0:00:00.091) 0:03:58.236 ********* 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] *** Thursday 25 July 2024 07:15:58 -0400 (0:00:00.062) 0:03:58.298 ********* 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] ******* Thursday 25 July 2024 07:15:59 -0400 (0:00:00.704) 0:03:59.003 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-15.0.4375.4-1.x86_64 providing mssql-server is already installed" ] } lsrpackages: mssql-server TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** Thursday 25 July 2024 07:16:00 -0400 (0:00:00.580) 0:03:59.583 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** Thursday 25 July 2024 07:16:00 -0400 (0:00:00.065) 0:03:59.648 ********* 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.005204", "end": "2024-07-25 07:16:00.376563", "rc": 0, "start": "2024-07-25 07:16:00.371359" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** Thursday 25 July 2024 07:16:00 -0400 (0:00:00.359) 0:04:00.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 [fedora.linux_system_roles.mssql : Set the __mssql_is_setup variable] ***** Thursday 25 July 2024 07:16:01 -0400 (0:00:00.878) 0:04:00.886 ********* 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] *** Thursday 25 July 2024 07:16:01 -0400 (0:00:00.096) 0:04:00.982 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** Thursday 25 July 2024 07:16:01 -0400 (0:00:00.067) 0:04:01.050 ********* 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] *** Thursday 25 July 2024 07:16:01 -0400 (0:00:00.068) 0:04:01.119 ********* skipping: [managed_node1] => (item={u'path': None, u'setting': u'defaultdatadir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'path': None, u'setting': u'defaultlogdir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set selinux role facts for ports] ****** Thursday 25 July 2024 07:16:01 -0400 (0:00:00.084) 0:04:01.203 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** Thursday 25 July 2024 07:16:01 -0400 (0:00:00.069) 0:04:01.272 ********* 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] *** Thursday 25 July 2024 07:16:01 -0400 (0:00:00.071) 0:04:01.344 ********* 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" ] } lsrpackages: tuned-profiles-mssql TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** Thursday 25 July 2024 07:16:02 -0400 (0:00:00.632) 0:04:01.976 ********* ok: [managed_node1] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-07-25 07:07:59 EDT", "ActiveEnterTimestampMonotonic": "28047343", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice dbus.service network.target systemd-sysctl.service basic.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 07:07:57 EDT", "AssertTimestampMonotonic": "26119412", "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": "Thu 2024-07-25 07:07:57 EDT", "ConditionTimestampMonotonic": "26119411", "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": "850", "ExecMainStartTimestamp": "Thu 2024-07-25 07:07:57 EDT", "ExecMainStartTimestampMonotonic": "26120028", "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": "Thu 2024-07-25 07:07:57 EDT", "InactiveExitTimestampMonotonic": "26120069", "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": "850", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "dbus.service polkit.service basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2024-07-25 07:07:59 EDT", "WatchdogTimestampMonotonic": "28047298", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* Thursday 25 July 2024 07:16:02 -0400 (0:00:00.451) 0:04:02.428 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.085415", "end": "2024-07-25 07:16:03.223598", "rc": 0, "start": "2024-07-25 07:16:03.138183" } STDOUT: Current active profile: virtual-guest mssql TASK [fedora.linux_system_roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** Thursday 25 July 2024 07:16:03 -0400 (0:00:00.424) 0:04:02.853 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove troublemaking include from the mssql profile] *** Thursday 25 July 2024 07:16:03 -0400 (0:00:00.066) 0:04:02.920 ********* 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] *** Thursday 25 July 2024 07:16:03 -0400 (0:00:00.067) 0:04:02.987 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** Thursday 25 July 2024 07:16:03 -0400 (0:00:00.069) 0:04:03.057 ********* 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] *** Thursday 25 July 2024 07:16:03 -0400 (0:00:00.341) 0:04:03.399 ********* 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] *** Thursday 25 July 2024 07:16:03 -0400 (0:00:00.063) 0:04:03.462 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "mssql-tools-17.10.1.1-1.x86_64 providing mssql-tools is already installed", "unixODBC-devel-2.3.11-1.rh.x86_64 providing unixODBC-devel is already installed" ] } lsrpackages: mssql-tools unixODBC-devel TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** Thursday 25 July 2024 07:16:04 -0400 (0:00:00.542) 0:04:04.005 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/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] *** Thursday 25 July 2024 07:16:04 -0400 (0:00:00.123) 0:04:04.128 ********* ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-07-25 07:15:12 EDT", "ActiveEnterTimestampMonotonic": "461094608", "ActiveExitTimestamp": "Thu 2024-07-25 07:15:12 EDT", "ActiveExitTimestampMonotonic": "460488241", "ActiveState": "active", "After": "system.slice network.target -.mount auditd.service basic.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 07:15:12 EDT", "AssertTimestampMonotonic": "461093249", "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": "Thu 2024-07-25 07:15:12 EDT", "ConditionTimestampMonotonic": "461093248", "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": "14609", "ExecMainStartTimestamp": "Thu 2024-07-25 07:15:12 EDT", "ExecMainStartTimestampMonotonic": "461093894", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2024-07-25 07:15:12 EDT] ; stop_time=[n/a] ; pid=14609 ; 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": "Thu 2024-07-25 07:15:12 EDT", "InactiveEnterTimestampMonotonic": "461091888", "InactiveExitTimestamp": "Thu 2024-07-25 07:15:12 EDT", "InactiveExitTimestampMonotonic": "461094608", "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": "14609", "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": "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": "Thu 2024-07-25 07:15:12 EDT", "WatchdogTimestampMonotonic": "461094578", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** Thursday 25 July 2024 07:16:05 -0400 (0:00:00.433) 0:04:04.562 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003175", "end": "2024-07-25 07:16:05.304624", "failed_when_result": false, "rc": 1, "start": "2024-07-25 07:16:05.301449" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** Thursday 25 July 2024 07:16:05 -0400 (0:00:00.369) 0:04:04.932 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003140", "end": "2024-07-25 07:16:05.651671", "failed_when_result": false, "rc": 1, "start": "2024-07-25 07:16:05.648531" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* Thursday 25 July 2024 07:16:05 -0400 (0:00:00.351) 0:04:05.283 ********* 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] *** Thursday 25 July 2024 07:16:05 -0400 (0:00:00.082) 0:04:05.366 ********* 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": 8576, "state": "file", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** Thursday 25 July 2024 07:16:07 -0400 (0:00:01.355) 0:04:06.722 ********* 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] *** Thursday 25 July 2024 07:16:07 -0400 (0:00:00.383) 0:04:07.105 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** Thursday 25 July 2024 07:16:07 -0400 (0:00:00.070) 0:04:07.176 ********* 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] ******** Thursday 25 July 2024 07:16:08 -0400 (0:00:01.325) 0:04:08.501 ********* 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] *** Thursday 25 July 2024 07:16:09 -0400 (0:00:00.078) 0:04:08.580 ********* 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] *** Thursday 25 July 2024 07:16:09 -0400 (0:00:00.068) 0:04:08.649 ********* 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] *** Thursday 25 July 2024 07:16:09 -0400 (0:00:00.066) 0:04:08.715 ********* 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] *** Thursday 25 July 2024 07:16:09 -0400 (0:00:00.160) 0:04:08.876 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** Thursday 25 July 2024 07:16:09 -0400 (0:00:00.073) 0:04:08.949 ********* 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] *********** Thursday 25 July 2024 07:16:09 -0400 (0:00:00.071) 0:04:09.021 ********* 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] ****** Thursday 25 July 2024 07:16:09 -0400 (0:00:00.071) 0:04:09.093 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** Thursday 25 July 2024 07:16:09 -0400 (0:00:00.066) 0:04:09.159 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** Thursday 25 July 2024 07:16:09 -0400 (0:00:00.072) 0:04:09.232 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the TCP port setting to 1433] *** Thursday 25 July 2024 07:16:09 -0400 (0:00:00.067) 0:04:09.299 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/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] ******* Thursday 25 July 2024 07:16:09 -0400 (0:00:00.120) 0:04:09.420 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003081", "end": "2024-07-25 07:16:10.134104", "failed_when_result": false, "rc": 1, "start": "2024-07-25 07:16:10.131023" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** Thursday 25 July 2024 07:16:10 -0400 (0:00:00.343) 0:04:09.764 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.120548", "end": "2024-07-25 07:16:10.599925", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:16:10.479377" } 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] ***** Thursday 25 July 2024 07:16:10 -0400 (0:00:00.477) 0:04:10.242 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** Thursday 25 July 2024 07:16:10 -0400 (0:00:00.068) 0:04:10.311 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** Thursday 25 July 2024 07:16:10 -0400 (0:00:00.067) 0:04:10.378 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts] *** Thursday 25 July 2024 07:16:10 -0400 (0:00:00.068) 0:04:10.446 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* Thursday 25 July 2024 07:16:10 -0400 (0:00:00.069) 0:04:10.516 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** Thursday 25 July 2024 07:16:11 -0400 (0:00:00.064) 0:04:10.581 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** Thursday 25 July 2024 07:16:11 -0400 (0:00:00.165) 0:04:10.746 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** Thursday 25 July 2024 07:16:11 -0400 (0:00:00.067) 0:04:10.813 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** Thursday 25 July 2024 07:16:11 -0400 (0:00:00.067) 0:04:10.881 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** Thursday 25 July 2024 07:16:11 -0400 (0:00:00.067) 0:04:10.948 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** Thursday 25 July 2024 07:16:11 -0400 (0:00:00.068) 0:04:11.017 ********* 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] *** Thursday 25 July 2024 07:16:11 -0400 (0:00:00.069) 0:04:11.087 ********* 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] *** Thursday 25 July 2024 07:16:11 -0400 (0:00:00.069) 0:04:11.156 ********* 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] ********* Thursday 25 July 2024 07:16:11 -0400 (0:00:00.076) 0:04:11.233 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlskey setting] ********** Thursday 25 July 2024 07:16:11 -0400 (0:00:00.067) 0:04:11.301 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlsprotocols setting] **** Thursday 25 July 2024 07:16:11 -0400 (0:00:00.070) 0:04:11.371 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the forceencryption setting] *** Thursday 25 July 2024 07:16:11 -0400 (0:00:00.066) 0:04:11.437 ********* 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] *** Thursday 25 July 2024 07:16:11 -0400 (0:00:00.069) 0:04:11.507 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** Thursday 25 July 2024 07:16:12 -0400 (0:00:00.071) 0:04:11.578 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure adutil and krb5-workstation] **** Thursday 25 July 2024 07:16:12 -0400 (0:00:00.065) 0:04:11.644 ********* 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] *** Thursday 25 July 2024 07:16:12 -0400 (0:00:00.068) 0:04:11.712 ********* 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 }}] *** Thursday 25 July 2024 07:16:12 -0400 (0:00:00.071) 0:04:11.784 ********* 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 }}] *** Thursday 25 July 2024 07:16:12 -0400 (0:00:00.070) 0:04:11.854 ********* 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] *************** Thursday 25 July 2024 07:16:12 -0400 (0:00:00.071) 0:04:11.925 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : In AD server create user] ************** Thursday 25 July 2024 07:16:12 -0400 (0:00:00.070) 0:04:11.996 ********* 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 : Get SPNs for the principal] ************ Thursday 25 July 2024 07:16:12 -0400 (0:00:00.170) 0:04:12.167 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register SPNs to the principal] ******** Thursday 25 July 2024 07:16:12 -0400 (0:00:00.071) 0:04:12.238 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get kvno of the SPN host] ************** Thursday 25 July 2024 07:16:12 -0400 (0:00:00.070) 0:04:12.308 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get stats of the keytab file] ********** Thursday 25 July 2024 07:16:12 -0400 (0:00:00.066) 0:04:12.374 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** Thursday 25 July 2024 07:16:12 -0400 (0:00:00.068) 0:04:12.443 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* Thursday 25 July 2024 07:16:12 -0400 (0:00:00.070) 0:04:12.514 ********* 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] *** Thursday 25 July 2024 07:16:13 -0400 (0:00:00.065) 0:04:12.579 ********* 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] *** Thursday 25 July 2024 07:16:13 -0400 (0:00:00.068) 0:04:12.648 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch keytab file to host] ************* Thursday 25 July 2024 07:16:13 -0400 (0:00:00.068) 0:04:12.716 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** Thursday 25 July 2024 07:16:13 -0400 (0:00:00.067) 0:04:12.784 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** Thursday 25 July 2024 07:16:13 -0400 (0:00:00.067) 0:04:12.851 ********* 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] *** Thursday 25 July 2024 07:16:13 -0400 (0:00:00.067) 0:04:12.919 ********* 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] *** Thursday 25 July 2024 07:16:13 -0400 (0:00:00.072) 0:04:12.991 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** Thursday 25 July 2024 07:16:13 -0400 (0:00:00.067) 0:04:13.059 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** Thursday 25 July 2024 07:16:13 -0400 (0:00:00.072) 0:04:13.132 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** Thursday 25 July 2024 07:16:13 -0400 (0:00:00.069) 0:04:13.201 ********* 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] *** Thursday 25 July 2024 07:16:13 -0400 (0:00:00.068) 0:04:13.270 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** Thursday 25 July 2024 07:16:13 -0400 (0:00:00.069) 0:04:13.339 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** Thursday 25 July 2024 07:16:13 -0400 (0:00:00.066) 0:04:13.406 ********* 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] *** Thursday 25 July 2024 07:16:14 -0400 (0:00:00.185) 0:04:13.591 ********* 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] *** Thursday 25 July 2024 07:16:14 -0400 (0:00:00.071) 0:04:13.663 ********* 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] *** Thursday 25 July 2024 07:16:14 -0400 (0:00:00.074) 0:04:13.737 ********* 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] *** Thursday 25 July 2024 07:16:14 -0400 (0:00:00.082) 0:04:13.820 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set fact with the current primary replica] *** Thursday 25 July 2024 07:16:14 -0400 (0:00:00.071) 0:04:13.891 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** Thursday 25 July 2024 07:16:14 -0400 (0:00:00.069) 0:04:13.961 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* Thursday 25 July 2024 07:16:14 -0400 (0:00:00.070) 0:04:14.032 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* Thursday 25 July 2024 07:16:14 -0400 (0:00:00.070) 0:04:14.103 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* Thursday 25 July 2024 07:16:14 -0400 (0:00:00.065) 0:04:14.168 ********* 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] *** Thursday 25 July 2024 07:16:14 -0400 (0:00:00.067) 0:04:14.236 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** Thursday 25 July 2024 07:16:14 -0400 (0:00:00.071) 0:04:14.307 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** Thursday 25 July 2024 07:16:14 -0400 (0:00:00.066) 0:04:14.374 ********* 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] *** Thursday 25 July 2024 07:16:14 -0400 (0:00:00.071) 0:04:14.445 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** Thursday 25 July 2024 07:16:14 -0400 (0:00:00.068) 0:04:14.514 ********* 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] *** Thursday 25 July 2024 07:16:15 -0400 (0:00:00.067) 0:04:14.581 ********* 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] *** Thursday 25 July 2024 07:16:15 -0400 (0:00:00.082) 0:04:14.664 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** Thursday 25 July 2024 07:16:15 -0400 (0:00:00.070) 0:04:14.734 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Join to availability group] ************ Thursday 25 July 2024 07:16:15 -0400 (0:00:00.068) 0:04:14.803 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* Thursday 25 July 2024 07:16:15 -0400 (0:00:00.069) 0:04:14.872 ********* 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] *** Thursday 25 July 2024 07:16:15 -0400 (0:00:00.171) 0:04:15.044 ********* 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] *** Thursday 25 July 2024 07:16:15 -0400 (0:00:00.080) 0:04:15.124 ********* 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] *********************************** Thursday 25 July 2024 07:16:15 -0400 (0:00:00.071) 0:04:15.196 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for the cluster to finish configuration] *** Thursday 25 July 2024 07:16:15 -0400 (0:00:00.068) 0:04:15.264 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure listener for the availability group] *** Thursday 25 July 2024 07:16:15 -0400 (0:00:00.071) 0:04:15.336 ********* 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] *** Thursday 25 July 2024 07:16:15 -0400 (0:00:00.070) 0:04:15.407 ********* ok: [managed_node1] => { "changed": false } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** Thursday 25 July 2024 07:16:16 -0400 (0:00:00.486) 0:04:15.893 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** Thursday 25 July 2024 07:16:16 -0400 (0:00:00.069) 0:04:15.963 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_input variable] *** Thursday 25 July 2024 07:16:16 -0400 (0:00:00.123) 0:04:16.087 ********* ok: [managed_node1] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the mssql_password variable is defined] *** Thursday 25 July 2024 07:16:16 -0400 (0:00:00.068) 0:04:16.155 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** Thursday 25 July 2024 07:16:16 -0400 (0:00:00.072) 0:04:16.228 ********* ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-07-25 07:15:12 EDT", "ActiveEnterTimestampMonotonic": "461094608", "ActiveExitTimestamp": "Thu 2024-07-25 07:15:12 EDT", "ActiveExitTimestampMonotonic": "460488241", "ActiveState": "active", "After": "system.slice network.target -.mount auditd.service basic.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 07:15:12 EDT", "AssertTimestampMonotonic": "461093249", "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": "Thu 2024-07-25 07:15:12 EDT", "ConditionTimestampMonotonic": "461093248", "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": "14609", "ExecMainStartTimestamp": "Thu 2024-07-25 07:15:12 EDT", "ExecMainStartTimestampMonotonic": "461093894", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2024-07-25 07:15:12 EDT] ; stop_time=[n/a] ; pid=14609 ; 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": "Thu 2024-07-25 07:15:12 EDT", "InactiveEnterTimestampMonotonic": "461091888", "InactiveExitTimestamp": "Thu 2024-07-25 07:15:12 EDT", "InactiveExitTimestampMonotonic": "461094608", "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": "14609", "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": "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": "Thu 2024-07-25 07:15:12 EDT", "WatchdogTimestampMonotonic": "461094578", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** Thursday 25 July 2024 07:16:17 -0400 (0:00:00.445) 0:04:16.673 ********* 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": 8576, "state": "file", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** Thursday 25 July 2024 07:16:18 -0400 (0:00:01.344) 0:04:18.018 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script files to MSSQL] ******* Thursday 25 July 2024 07:16:18 -0400 (0:00:00.069) 0:04:18.088 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script contents to MSSQL] **** Thursday 25 July 2024 07:16:18 -0400 (0:00:00.069) 0:04:18.157 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_content.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Input script content] ****************** Thursday 25 July 2024 07:16:18 -0400 (0:00:00.140) 0:04:18.298 ********* 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 : Print results and clean up after inputting script content] *** Thursday 25 July 2024 07:16:19 -0400 (0:00:00.402) 0:04:18.700 ********* ok: [managed_node1] => (item=[u'The MyLogin login already exists, skipping', u'The MyUser user already exists, skipping', u'The ExampleDB database already exists, skipping', u"Changed database context to 'ExampleDB'.", u'The Inventory table already exists, skipping']) => { "__mssql_sqlcmd_loop": [ "The MyLogin login already exists, skipping", "The MyUser user already exists, skipping", "The ExampleDB database already exists, skipping", "Changed database context to 'ExampleDB'.", "The Inventory table already exists, skipping" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [managed_node1] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop" } TASK [Assert the latest script invocation resulted in no changes] ************** Thursday 25 July 2024 07:16:19 -0400 (0:00:00.092) 0:04:18.793 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Input the sql file without the mssql_password variable] ****************** Thursday 25 July 2024 07:16:19 -0400 (0:00:00.070) 0:04:18.864 ********* TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** Thursday 25 July 2024 07:16:19 -0400 (0:00:00.277) 0:04:19.141 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/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] ***** Thursday 25 July 2024 07:16:19 -0400 (0:00:00.110) 0:04:19.251 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** Thursday 25 July 2024 07:16:19 -0400 (0:00:00.084) 0:04:19.335 ********* 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": [ "/var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/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": [ "/var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/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 : Unset the __mssql_sqlcmd_login_cmd fact] *** Thursday 25 July 2024 07:16:20 -0400 (0:00:00.204) 0:04:19.540 ********* 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] *** Thursday 25 July 2024 07:16:20 -0400 (0:00:00.072) 0:04:19.612 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** Thursday 25 July 2024 07:16:20 -0400 (0:00:00.068) 0:04:19.681 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the variable is deprecated] *** Thursday 25 July 2024 07:16:20 -0400 (0:00:00.068) 0:04:19.749 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** Thursday 25 July 2024 07:16:20 -0400 (0:00:00.065) 0:04:19.815 ********* 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] *** Thursday 25 July 2024 07:16:20 -0400 (0:00:00.066) 0:04:19.881 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** Thursday 25 July 2024 07:16:20 -0400 (0:00:00.068) 0:04:19.950 ********* 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] *** Thursday 25 July 2024 07:16:20 -0400 (0:00:00.065) 0:04:20.016 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** Thursday 25 July 2024 07:16:20 -0400 (0:00:00.068) 0:04:20.084 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that the user accepts EULA variables] *** Thursday 25 July 2024 07:16:20 -0400 (0:00:00.066) 0:04:20.150 ********* 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] *** Thursday 25 July 2024 07:16:20 -0400 (0:00:00.076) 0:04:20.227 ********* 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] *** Thursday 25 July 2024 07:16:20 -0400 (0:00:00.064) 0:04:20.291 ********* 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] *** Thursday 25 July 2024 07:16:20 -0400 (0:00:00.065) 0:04:20.357 ********* 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] *** Thursday 25 July 2024 07:16:20 -0400 (0:00:00.064) 0:04:20.422 ********* 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] *** Thursday 25 July 2024 07:16:20 -0400 (0:00:00.063) 0:04:20.486 ********* 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] *** Thursday 25 July 2024 07:16:21 -0400 (0:00:00.068) 0:04:20.555 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** Thursday 25 July 2024 07:16:21 -0400 (0:00:00.065) 0:04:20.620 ********* 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] *** Thursday 25 July 2024 07:16:22 -0400 (0:00:01.304) 0:04:21.924 ********* 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" } ok: [managed_node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } 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] *** Thursday 25 July 2024 07:16:22 -0400 (0:00:00.182) 0:04:22.107 ********* 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] *** Thursday 25 July 2024 07:16:22 -0400 (0:00:00.068) 0:04:22.176 ********* 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] *** Thursday 25 July 2024 07:16:22 -0400 (0:00:00.076) 0:04:22.252 ********* 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] *** Thursday 25 July 2024 07:16:22 -0400 (0:00:00.127) 0:04:22.380 ********* ok: [managed_node1] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** Thursday 25 July 2024 07:16:23 -0400 (0:00:00.508) 0:04:22.889 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** Thursday 25 July 2024 07:16:23 -0400 (0:00:00.066) 0:04:22.956 ********* 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 2019] *** Thursday 25 July 2024 07:16:23 -0400 (0:00:00.071) 0:04:23.027 ********* 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 2019] *** Thursday 25 July 2024 07:16:23 -0400 (0:00:00.071) 0:04:23.099 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** Thursday 25 July 2024 07:16:23 -0400 (0:00:00.068) 0:04:23.168 ********* 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 2019] *** Thursday 25 July 2024 07:16:23 -0400 (0:00:00.070) 0:04:23.239 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** Thursday 25 July 2024 07:16:23 -0400 (0:00:00.154) 0:04:23.393 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** Thursday 25 July 2024 07:16:23 -0400 (0:00:00.098) 0:04:23.492 ********* 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] *** Thursday 25 July 2024 07:16:24 -0400 (0:00:00.066) 0:04:23.558 ********* 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] ******* Thursday 25 July 2024 07:16:24 -0400 (0:00:00.642) 0:04:24.201 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-15.0.4375.4-1.x86_64 providing mssql-server is already installed" ] } lsrpackages: mssql-server TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** Thursday 25 July 2024 07:16:25 -0400 (0:00:00.549) 0:04:24.750 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** Thursday 25 July 2024 07:16:25 -0400 (0:00:00.062) 0:04:24.812 ********* 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.005184", "end": "2024-07-25 07:16:25.538911", "rc": 0, "start": "2024-07-25 07:16:25.533727" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** Thursday 25 July 2024 07:16:25 -0400 (0:00:00.355) 0:04:25.168 ********* 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] ***** Thursday 25 July 2024 07:16:26 -0400 (0:00:00.875) 0:04:26.043 ********* 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] *** Thursday 25 July 2024 07:16:26 -0400 (0:00:00.095) 0:04:26.138 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** Thursday 25 July 2024 07:16:26 -0400 (0:00:00.064) 0:04:26.202 ********* 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] *** Thursday 25 July 2024 07:16:26 -0400 (0:00:00.070) 0:04:26.273 ********* skipping: [managed_node1] => (item={u'path': None, u'setting': u'defaultdatadir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'path': None, u'setting': u'defaultlogdir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set selinux role facts for ports] ****** Thursday 25 July 2024 07:16:26 -0400 (0:00:00.167) 0:04:26.440 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** Thursday 25 July 2024 07:16:26 -0400 (0:00:00.067) 0:04:26.508 ********* 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] *** Thursday 25 July 2024 07:16:27 -0400 (0:00:00.071) 0:04:26.580 ********* 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" ] } lsrpackages: tuned-profiles-mssql TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** Thursday 25 July 2024 07:16:27 -0400 (0:00:00.549) 0:04:27.129 ********* ok: [managed_node1] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-07-25 07:07:59 EDT", "ActiveEnterTimestampMonotonic": "28047343", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice dbus.service network.target systemd-sysctl.service basic.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 07:07:57 EDT", "AssertTimestampMonotonic": "26119412", "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": "Thu 2024-07-25 07:07:57 EDT", "ConditionTimestampMonotonic": "26119411", "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": "850", "ExecMainStartTimestamp": "Thu 2024-07-25 07:07:57 EDT", "ExecMainStartTimestampMonotonic": "26120028", "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": "Thu 2024-07-25 07:07:57 EDT", "InactiveExitTimestampMonotonic": "26120069", "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": "850", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "dbus.service polkit.service basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2024-07-25 07:07:59 EDT", "WatchdogTimestampMonotonic": "28047298", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* Thursday 25 July 2024 07:16:28 -0400 (0:00:00.457) 0:04:27.586 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.081570", "end": "2024-07-25 07:16:28.382813", "rc": 0, "start": "2024-07-25 07:16:28.301243" } STDOUT: Current active profile: virtual-guest mssql TASK [fedora.linux_system_roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** Thursday 25 July 2024 07:16:28 -0400 (0:00:00.429) 0:04:28.016 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove troublemaking include from the mssql profile] *** Thursday 25 July 2024 07:16:28 -0400 (0:00:00.070) 0:04:28.086 ********* 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] *** Thursday 25 July 2024 07:16:28 -0400 (0:00:00.069) 0:04:28.155 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** Thursday 25 July 2024 07:16:28 -0400 (0:00:00.070) 0:04:28.225 ********* 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] *** Thursday 25 July 2024 07:16:29 -0400 (0:00:00.343) 0:04:28.569 ********* 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] *** Thursday 25 July 2024 07:16:29 -0400 (0:00:00.071) 0:04:28.640 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "mssql-tools-17.10.1.1-1.x86_64 providing mssql-tools is already installed", "unixODBC-devel-2.3.11-1.rh.x86_64 providing unixODBC-devel is already installed" ] } lsrpackages: mssql-tools unixODBC-devel TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** Thursday 25 July 2024 07:16:29 -0400 (0:00:00.562) 0:04:29.203 ********* 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] *** Thursday 25 July 2024 07:16:29 -0400 (0:00:00.158) 0:04:29.361 ********* 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] *** Thursday 25 July 2024 07:16:29 -0400 (0:00:00.070) 0:04:29.432 ********* 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] *** Thursday 25 July 2024 07:16:29 -0400 (0:00:00.071) 0:04:29.504 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** Thursday 25 July 2024 07:16:30 -0400 (0:00:00.071) 0:04:29.575 ********* 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] ******** Thursday 25 July 2024 07:16:30 -0400 (0:00:00.073) 0:04:29.648 ********* 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] *** Thursday 25 July 2024 07:16:30 -0400 (0:00:00.071) 0:04:29.720 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_input variable] *** Thursday 25 July 2024 07:16:30 -0400 (0:00:00.121) 0:04:29.841 ********* ok: [managed_node1] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the mssql_password variable is defined] *** Thursday 25 July 2024 07:16:30 -0400 (0:00:00.065) 0:04:29.907 ********* fatal: [managed_node1]: FAILED! => { "assertion": "mssql_password is not none", "changed": false, "evaluated_to": false } MSG: You must define the mssql_password variable because MSSQL requires the sa user to authenticate to input SQL files. TASK [Assert that the role failed with mssql_password not defined] ************* Thursday 25 July 2024 07:16:30 -0400 (0:00:00.072) 0:04:29.980 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Input the sql file without the mssql_password variable] ****************** Thursday 25 July 2024 07:16:30 -0400 (0:00:00.074) 0:04:30.054 ********* TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** Thursday 25 July 2024 07:16:30 -0400 (0:00:00.276) 0:04:30.331 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/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] ***** Thursday 25 July 2024 07:16:30 -0400 (0:00:00.107) 0:04:30.438 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** Thursday 25 July 2024 07:16:31 -0400 (0:00:00.181) 0:04:30.620 ********* 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": [ "/var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/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": [ "/var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/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 : Unset the __mssql_sqlcmd_login_cmd fact] *** Thursday 25 July 2024 07:16:31 -0400 (0:00:00.104) 0:04:30.725 ********* 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] *** Thursday 25 July 2024 07:16:31 -0400 (0:00:00.070) 0:04:30.795 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** Thursday 25 July 2024 07:16:31 -0400 (0:00:00.066) 0:04:30.862 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the variable is deprecated] *** Thursday 25 July 2024 07:16:31 -0400 (0:00:00.070) 0:04:30.933 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** Thursday 25 July 2024 07:16:31 -0400 (0:00:00.071) 0:04:31.004 ********* 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] *** Thursday 25 July 2024 07:16:31 -0400 (0:00:00.072) 0:04:31.077 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** Thursday 25 July 2024 07:16:31 -0400 (0:00:00.070) 0:04:31.147 ********* 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] *** Thursday 25 July 2024 07:16:31 -0400 (0:00:00.068) 0:04:31.215 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** Thursday 25 July 2024 07:16:31 -0400 (0:00:00.068) 0:04:31.284 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that the user accepts EULA variables] *** Thursday 25 July 2024 07:16:31 -0400 (0:00:00.070) 0:04:31.355 ********* 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] *** Thursday 25 July 2024 07:16:31 -0400 (0:00:00.076) 0:04:31.432 ********* 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] *** Thursday 25 July 2024 07:16:31 -0400 (0:00:00.070) 0:04:31.502 ********* 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] *** Thursday 25 July 2024 07:16:32 -0400 (0:00:00.066) 0:04:31.569 ********* 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] *** Thursday 25 July 2024 07:16:32 -0400 (0:00:00.068) 0:04:31.637 ********* 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] *** Thursday 25 July 2024 07:16:32 -0400 (0:00:00.067) 0:04:31.705 ********* 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] *** Thursday 25 July 2024 07:16:32 -0400 (0:00:00.070) 0:04:31.775 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** Thursday 25 July 2024 07:16:32 -0400 (0:00:00.068) 0:04:31.844 ********* 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] *** Thursday 25 July 2024 07:16:33 -0400 (0:00:01.294) 0:04:33.138 ********* 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" } ok: [managed_node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } 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] *** Thursday 25 July 2024 07:16:33 -0400 (0:00:00.186) 0:04:33.324 ********* 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] *** Thursday 25 July 2024 07:16:33 -0400 (0:00:00.067) 0:04:33.392 ********* 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] *** Thursday 25 July 2024 07:16:33 -0400 (0:00:00.080) 0:04:33.472 ********* 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] *** Thursday 25 July 2024 07:16:34 -0400 (0:00:00.127) 0:04:33.600 ********* ok: [managed_node1] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** Thursday 25 July 2024 07:16:34 -0400 (0:00:00.524) 0:04:34.124 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** Thursday 25 July 2024 07:16:34 -0400 (0:00:00.072) 0:04:34.196 ********* 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 2019] *** Thursday 25 July 2024 07:16:34 -0400 (0:00:00.073) 0:04:34.270 ********* 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 2019] *** Thursday 25 July 2024 07:16:34 -0400 (0:00:00.071) 0:04:34.342 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** Thursday 25 July 2024 07:16:34 -0400 (0:00:00.068) 0:04:34.411 ********* 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 2019] *** Thursday 25 July 2024 07:16:35 -0400 (0:00:00.159) 0:04:34.570 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** Thursday 25 July 2024 07:16:35 -0400 (0:00:00.071) 0:04:34.641 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** Thursday 25 July 2024 07:16:35 -0400 (0:00:00.099) 0:04:34.741 ********* 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] *** Thursday 25 July 2024 07:16:35 -0400 (0:00:00.068) 0:04:34.810 ********* 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] ******* Thursday 25 July 2024 07:16:35 -0400 (0:00:00.589) 0:04:35.399 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-15.0.4375.4-1.x86_64 providing mssql-server is already installed" ] } lsrpackages: mssql-server TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** Thursday 25 July 2024 07:16:36 -0400 (0:00:00.570) 0:04:35.970 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** Thursday 25 July 2024 07:16:36 -0400 (0:00:00.064) 0:04:36.034 ********* 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.005106", "end": "2024-07-25 07:16:36.751813", "rc": 0, "start": "2024-07-25 07:16:36.746707" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** Thursday 25 July 2024 07:16:36 -0400 (0:00:00.346) 0:04:36.380 ********* 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] ***** Thursday 25 July 2024 07:16:37 -0400 (0:00:00.876) 0:04:37.257 ********* 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] *** Thursday 25 July 2024 07:16:37 -0400 (0:00:00.093) 0:04:37.351 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** Thursday 25 July 2024 07:16:37 -0400 (0:00:00.156) 0:04:37.508 ********* 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] *** Thursday 25 July 2024 07:16:38 -0400 (0:00:00.067) 0:04:37.575 ********* skipping: [managed_node1] => (item={u'path': None, u'setting': u'defaultdatadir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'path': None, u'setting': u'defaultlogdir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set selinux role facts for ports] ****** Thursday 25 July 2024 07:16:38 -0400 (0:00:00.083) 0:04:37.659 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** Thursday 25 July 2024 07:16:38 -0400 (0:00:00.065) 0:04:37.724 ********* 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] *** Thursday 25 July 2024 07:16:38 -0400 (0:00:00.069) 0:04:37.794 ********* 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" ] } lsrpackages: tuned-profiles-mssql TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** Thursday 25 July 2024 07:16:38 -0400 (0:00:00.552) 0:04:38.347 ********* ok: [managed_node1] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-07-25 07:07:59 EDT", "ActiveEnterTimestampMonotonic": "28047343", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice dbus.service network.target systemd-sysctl.service basic.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 07:07:57 EDT", "AssertTimestampMonotonic": "26119412", "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": "Thu 2024-07-25 07:07:57 EDT", "ConditionTimestampMonotonic": "26119411", "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": "850", "ExecMainStartTimestamp": "Thu 2024-07-25 07:07:57 EDT", "ExecMainStartTimestampMonotonic": "26120028", "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": "Thu 2024-07-25 07:07:57 EDT", "InactiveExitTimestampMonotonic": "26120069", "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": "850", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "dbus.service polkit.service basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2024-07-25 07:07:59 EDT", "WatchdogTimestampMonotonic": "28047298", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* Thursday 25 July 2024 07:16:39 -0400 (0:00:00.446) 0:04:38.794 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.086397", "end": "2024-07-25 07:16:39.579372", "rc": 0, "start": "2024-07-25 07:16:39.492975" } STDOUT: Current active profile: virtual-guest mssql TASK [fedora.linux_system_roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** Thursday 25 July 2024 07:16:39 -0400 (0:00:00.413) 0:04:39.207 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove troublemaking include from the mssql profile] *** Thursday 25 July 2024 07:16:39 -0400 (0:00:00.067) 0:04:39.275 ********* 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] *** Thursday 25 July 2024 07:16:39 -0400 (0:00:00.067) 0:04:39.342 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** Thursday 25 July 2024 07:16:39 -0400 (0:00:00.067) 0:04:39.410 ********* 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] *** Thursday 25 July 2024 07:16:40 -0400 (0:00:00.341) 0:04:39.751 ********* 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] *** Thursday 25 July 2024 07:16:40 -0400 (0:00:00.066) 0:04:39.818 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "mssql-tools-17.10.1.1-1.x86_64 providing mssql-tools is already installed", "unixODBC-devel-2.3.11-1.rh.x86_64 providing unixODBC-devel is already installed" ] } lsrpackages: mssql-tools unixODBC-devel TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** Thursday 25 July 2024 07:16:40 -0400 (0:00:00.589) 0:04:40.407 ********* 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] *** Thursday 25 July 2024 07:16:40 -0400 (0:00:00.072) 0:04:40.479 ********* 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] *** Thursday 25 July 2024 07:16:41 -0400 (0:00:00.067) 0:04:40.547 ********* 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] *** Thursday 25 July 2024 07:16:41 -0400 (0:00:00.074) 0:04:40.622 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** Thursday 25 July 2024 07:16:41 -0400 (0:00:00.072) 0:04:40.694 ********* 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] ******** Thursday 25 July 2024 07:16:41 -0400 (0:00:00.070) 0:04:40.764 ********* 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] *** Thursday 25 July 2024 07:16:41 -0400 (0:00:00.072) 0:04:40.837 ********* 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] *** Thursday 25 July 2024 07:16:41 -0400 (0:00:00.064) 0:04:40.902 ********* 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] *** Thursday 25 July 2024 07:16:41 -0400 (0:00:00.070) 0:04:40.972 ********* 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] *** Thursday 25 July 2024 07:16:41 -0400 (0:00:00.067) 0:04:41.040 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** Thursday 25 July 2024 07:16:41 -0400 (0:00:00.067) 0:04:41.107 ********* 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] *********** Thursday 25 July 2024 07:16:41 -0400 (0:00:00.071) 0:04:41.179 ********* 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] ****** Thursday 25 July 2024 07:16:41 -0400 (0:00:00.067) 0:04:41.247 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** Thursday 25 July 2024 07:16:41 -0400 (0:00:00.067) 0:04:41.314 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** Thursday 25 July 2024 07:16:41 -0400 (0:00:00.065) 0:04:41.380 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the TCP port setting to 1433] *** Thursday 25 July 2024 07:16:41 -0400 (0:00:00.066) 0:04:41.447 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/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] ******* Thursday 25 July 2024 07:16:42 -0400 (0:00:00.117) 0:04:41.564 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.005341", "end": "2024-07-25 07:16:42.278540", "failed_when_result": false, "rc": 1, "start": "2024-07-25 07:16:42.273199" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** Thursday 25 July 2024 07:16:42 -0400 (0:00:00.388) 0:04:41.953 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.121149", "end": "2024-07-25 07:16:42.794871", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:16:42.673722" } 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] ***** Thursday 25 July 2024 07:16:42 -0400 (0:00:00.495) 0:04:42.449 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** Thursday 25 July 2024 07:16:42 -0400 (0:00:00.066) 0:04:42.515 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** Thursday 25 July 2024 07:16:43 -0400 (0:00:00.069) 0:04:42.585 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts] *** Thursday 25 July 2024 07:16:43 -0400 (0:00:00.068) 0:04:42.653 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* Thursday 25 July 2024 07:16:43 -0400 (0:00:00.067) 0:04:42.721 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** Thursday 25 July 2024 07:16:43 -0400 (0:00:00.066) 0:04:42.788 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** Thursday 25 July 2024 07:16:43 -0400 (0:00:00.066) 0:04:42.855 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** Thursday 25 July 2024 07:16:43 -0400 (0:00:00.068) 0:04:42.924 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** Thursday 25 July 2024 07:16:43 -0400 (0:00:00.065) 0:04:42.989 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** Thursday 25 July 2024 07:16:43 -0400 (0:00:00.067) 0:04:43.057 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** Thursday 25 July 2024 07:16:43 -0400 (0:00:00.069) 0:04:43.126 ********* 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] *** Thursday 25 July 2024 07:16:43 -0400 (0:00:00.066) 0:04:43.192 ********* 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] *** Thursday 25 July 2024 07:16:43 -0400 (0:00:00.064) 0:04:43.257 ********* 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] ********* Thursday 25 July 2024 07:16:43 -0400 (0:00:00.074) 0:04:43.332 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlskey setting] ********** Thursday 25 July 2024 07:16:43 -0400 (0:00:00.065) 0:04:43.397 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlsprotocols setting] **** Thursday 25 July 2024 07:16:43 -0400 (0:00:00.067) 0:04:43.465 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the forceencryption setting] *** Thursday 25 July 2024 07:16:44 -0400 (0:00:00.153) 0:04:43.618 ********* 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] *** Thursday 25 July 2024 07:16:44 -0400 (0:00:00.069) 0:04:43.688 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** Thursday 25 July 2024 07:16:44 -0400 (0:00:00.067) 0:04:43.755 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure adutil and krb5-workstation] **** Thursday 25 July 2024 07:16:44 -0400 (0:00:00.069) 0:04:43.824 ********* 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] *** Thursday 25 July 2024 07:16:44 -0400 (0:00:00.063) 0:04:43.888 ********* 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 }}] *** Thursday 25 July 2024 07:16:44 -0400 (0:00:00.069) 0:04:43.958 ********* 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 }}] *** Thursday 25 July 2024 07:16:44 -0400 (0:00:00.066) 0:04:44.024 ********* 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] *************** Thursday 25 July 2024 07:16:44 -0400 (0:00:00.070) 0:04:44.095 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : In AD server create user] ************** Thursday 25 July 2024 07:16:44 -0400 (0:00:00.070) 0:04:44.166 ********* 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 : Get SPNs for the principal] ************ Thursday 25 July 2024 07:16:44 -0400 (0:00:00.066) 0:04:44.232 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register SPNs to the principal] ******** Thursday 25 July 2024 07:16:44 -0400 (0:00:00.066) 0:04:44.298 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get kvno of the SPN host] ************** Thursday 25 July 2024 07:16:44 -0400 (0:00:00.065) 0:04:44.364 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get stats of the keytab file] ********** Thursday 25 July 2024 07:16:44 -0400 (0:00:00.066) 0:04:44.430 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** Thursday 25 July 2024 07:16:44 -0400 (0:00:00.068) 0:04:44.499 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* Thursday 25 July 2024 07:16:45 -0400 (0:00:00.064) 0:04:44.563 ********* 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] *** Thursday 25 July 2024 07:16:45 -0400 (0:00:00.069) 0:04:44.632 ********* 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] *** Thursday 25 July 2024 07:16:45 -0400 (0:00:00.061) 0:04:44.694 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch keytab file to host] ************* Thursday 25 July 2024 07:16:45 -0400 (0:00:00.066) 0:04:44.761 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** Thursday 25 July 2024 07:16:45 -0400 (0:00:00.064) 0:04:44.825 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** Thursday 25 July 2024 07:16:45 -0400 (0:00:00.154) 0:04:44.980 ********* 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] *** Thursday 25 July 2024 07:16:45 -0400 (0:00:00.068) 0:04:45.048 ********* 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] *** Thursday 25 July 2024 07:16:45 -0400 (0:00:00.068) 0:04:45.117 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** Thursday 25 July 2024 07:16:45 -0400 (0:00:00.070) 0:04:45.187 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** Thursday 25 July 2024 07:16:45 -0400 (0:00:00.067) 0:04:45.254 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** Thursday 25 July 2024 07:16:45 -0400 (0:00:00.068) 0:04:45.323 ********* 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] *** Thursday 25 July 2024 07:16:45 -0400 (0:00:00.065) 0:04:45.388 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** Thursday 25 July 2024 07:16:45 -0400 (0:00:00.069) 0:04:45.458 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** Thursday 25 July 2024 07:16:45 -0400 (0:00:00.069) 0:04:45.528 ********* 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] *** Thursday 25 July 2024 07:16:46 -0400 (0:00:00.080) 0:04:45.608 ********* 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] *** Thursday 25 July 2024 07:16:46 -0400 (0:00:00.065) 0:04:45.674 ********* 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] *** Thursday 25 July 2024 07:16:46 -0400 (0:00:00.066) 0:04:45.741 ********* 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] *** Thursday 25 July 2024 07:16:46 -0400 (0:00:00.081) 0:04:45.822 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set fact with the current primary replica] *** Thursday 25 July 2024 07:16:46 -0400 (0:00:00.069) 0:04:45.892 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** Thursday 25 July 2024 07:16:46 -0400 (0:00:00.067) 0:04:45.960 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* Thursday 25 July 2024 07:16:46 -0400 (0:00:00.068) 0:04:46.028 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* Thursday 25 July 2024 07:16:46 -0400 (0:00:00.067) 0:04:46.096 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* Thursday 25 July 2024 07:16:46 -0400 (0:00:00.068) 0:04:46.165 ********* 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] *** Thursday 25 July 2024 07:16:46 -0400 (0:00:00.065) 0:04:46.231 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** Thursday 25 July 2024 07:16:46 -0400 (0:00:00.169) 0:04:46.400 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** Thursday 25 July 2024 07:16:46 -0400 (0:00:00.070) 0:04:46.471 ********* 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] *** Thursday 25 July 2024 07:16:47 -0400 (0:00:00.069) 0:04:46.540 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** Thursday 25 July 2024 07:16:47 -0400 (0:00:00.072) 0:04:46.613 ********* 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] *** Thursday 25 July 2024 07:16:47 -0400 (0:00:00.067) 0:04:46.680 ********* 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] *** Thursday 25 July 2024 07:16:47 -0400 (0:00:00.087) 0:04:46.768 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** Thursday 25 July 2024 07:16:47 -0400 (0:00:00.069) 0:04:46.837 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Join to availability group] ************ Thursday 25 July 2024 07:16:47 -0400 (0:00:00.069) 0:04:46.907 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* Thursday 25 July 2024 07:16:47 -0400 (0:00:00.072) 0:04:46.979 ********* 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] *** Thursday 25 July 2024 07:16:47 -0400 (0:00:00.069) 0:04:47.049 ********* 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] *** Thursday 25 July 2024 07:16:47 -0400 (0:00:00.078) 0:04:47.127 ********* 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] *********************************** Thursday 25 July 2024 07:16:47 -0400 (0:00:00.064) 0:04:47.192 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for the cluster to finish configuration] *** Thursday 25 July 2024 07:16:47 -0400 (0:00:00.067) 0:04:47.260 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure listener for the availability group] *** Thursday 25 July 2024 07:16:47 -0400 (0:00:00.068) 0:04:47.328 ********* 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] *** Thursday 25 July 2024 07:16:47 -0400 (0:00:00.069) 0:04:47.398 ********* ok: [managed_node1] => { "changed": false } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** Thursday 25 July 2024 07:16:48 -0400 (0:00:00.471) 0:04:47.869 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_input variable] *** Thursday 25 July 2024 07:16:48 -0400 (0:00:00.205) 0:04:48.074 ********* ok: [managed_node1] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the mssql_password variable is defined] *** Thursday 25 July 2024 07:16:48 -0400 (0:00:00.067) 0:04:48.142 ********* fatal: [managed_node1]: FAILED! => { "assertion": "mssql_password is not none", "changed": false, "evaluated_to": false } MSG: You must define the mssql_password variable because MSSQL requires the sa user to authenticate to input SQL files. TASK [Assert that the role failed with mssql_password not defined] ************* Thursday 25 July 2024 07:16:48 -0400 (0:00:00.071) 0:04:48.214 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify that FTS was enabled in the beginning of this test playbook] ****** Thursday 25 July 2024 07:16:48 -0400 (0:00:00.070) 0:04:48.284 ********* TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** Thursday 25 July 2024 07:16:49 -0400 (0:00:00.279) 0:04:48.563 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/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] ***** Thursday 25 July 2024 07:16:49 -0400 (0:00:00.112) 0:04:48.676 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** Thursday 25 July 2024 07:16:49 -0400 (0:00:00.089) 0:04:48.766 ********* 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": [ "/var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/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": [ "/var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/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 : Unset the __mssql_sqlcmd_login_cmd fact] *** Thursday 25 July 2024 07:16:49 -0400 (0:00:00.104) 0:04:48.870 ********* 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] *** Thursday 25 July 2024 07:16:49 -0400 (0:00:00.068) 0:04:48.938 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** Thursday 25 July 2024 07:16:49 -0400 (0:00:00.064) 0:04:49.003 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the variable is deprecated] *** Thursday 25 July 2024 07:16:49 -0400 (0:00:00.067) 0:04:49.071 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** Thursday 25 July 2024 07:16:49 -0400 (0:00:00.067) 0:04:49.138 ********* 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] *** Thursday 25 July 2024 07:16:49 -0400 (0:00:00.062) 0:04:49.200 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** Thursday 25 July 2024 07:16:49 -0400 (0:00:00.158) 0:04:49.359 ********* 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] *** Thursday 25 July 2024 07:16:49 -0400 (0:00:00.068) 0:04:49.428 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** Thursday 25 July 2024 07:16:49 -0400 (0:00:00.072) 0:04:49.500 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that the user accepts EULA variables] *** Thursday 25 July 2024 07:16:50 -0400 (0:00:00.067) 0:04:49.568 ********* 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] *** Thursday 25 July 2024 07:16:50 -0400 (0:00:00.076) 0:04:49.645 ********* 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] *** Thursday 25 July 2024 07:16:50 -0400 (0:00:00.068) 0:04:49.714 ********* 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] *** Thursday 25 July 2024 07:16:50 -0400 (0:00:00.065) 0:04:49.780 ********* 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] *** Thursday 25 July 2024 07:16:50 -0400 (0:00:00.068) 0:04:49.848 ********* 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] *** Thursday 25 July 2024 07:16:50 -0400 (0:00:00.068) 0:04:49.917 ********* 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] *** Thursday 25 July 2024 07:16:50 -0400 (0:00:00.068) 0:04:49.985 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** Thursday 25 July 2024 07:16:50 -0400 (0:00:00.064) 0:04:50.050 ********* 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] *** Thursday 25 July 2024 07:16:51 -0400 (0:00:01.290) 0:04:51.341 ********* 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" } ok: [managed_node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } 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] *** Thursday 25 July 2024 07:16:51 -0400 (0:00:00.176) 0:04:51.517 ********* 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] *** Thursday 25 July 2024 07:16:52 -0400 (0:00:00.069) 0:04:51.587 ********* 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] *** Thursday 25 July 2024 07:16:52 -0400 (0:00:00.075) 0:04:51.663 ********* 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] *** Thursday 25 July 2024 07:16:52 -0400 (0:00:00.120) 0:04:51.784 ********* ok: [managed_node1] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** Thursday 25 July 2024 07:16:52 -0400 (0:00:00.530) 0:04:52.314 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** Thursday 25 July 2024 07:16:52 -0400 (0:00:00.068) 0:04:52.383 ********* 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 2019] *** Thursday 25 July 2024 07:16:52 -0400 (0:00:00.071) 0:04:52.454 ********* 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 2019] *** Thursday 25 July 2024 07:16:52 -0400 (0:00:00.070) 0:04:52.525 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** Thursday 25 July 2024 07:16:53 -0400 (0:00:00.067) 0:04:52.593 ********* 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 2019] *** Thursday 25 July 2024 07:16:53 -0400 (0:00:00.069) 0:04:52.662 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** Thursday 25 July 2024 07:16:53 -0400 (0:00:00.069) 0:04:52.732 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** Thursday 25 July 2024 07:16:53 -0400 (0:00:00.088) 0:04:52.820 ********* 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] *** Thursday 25 July 2024 07:16:53 -0400 (0:00:00.064) 0:04:52.885 ********* 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] ******* Thursday 25 July 2024 07:16:53 -0400 (0:00:00.597) 0:04:53.483 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-15.0.4375.4-1.x86_64 providing mssql-server is already installed" ] } lsrpackages: mssql-server TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** Thursday 25 July 2024 07:16:54 -0400 (0:00:00.560) 0:04:54.044 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** Thursday 25 July 2024 07:16:54 -0400 (0:00:00.068) 0:04:54.112 ********* 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.005098", "end": "2024-07-25 07:16:54.825869", "rc": 0, "start": "2024-07-25 07:16:54.820771" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** Thursday 25 July 2024 07:16:54 -0400 (0:00:00.343) 0:04:54.456 ********* 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] ***** Thursday 25 July 2024 07:16:55 -0400 (0:00:00.877) 0:04:55.334 ********* 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] *** Thursday 25 July 2024 07:16:55 -0400 (0:00:00.092) 0:04:55.426 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** Thursday 25 July 2024 07:16:55 -0400 (0:00:00.066) 0:04:55.493 ********* 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] *** Thursday 25 July 2024 07:16:56 -0400 (0:00:00.067) 0:04:55.560 ********* skipping: [managed_node1] => (item={u'path': None, u'setting': u'defaultdatadir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'path': None, u'setting': u'defaultlogdir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set selinux role facts for ports] ****** Thursday 25 July 2024 07:16:56 -0400 (0:00:00.079) 0:04:55.639 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** Thursday 25 July 2024 07:16:56 -0400 (0:00:00.067) 0:04:55.707 ********* 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] *** Thursday 25 July 2024 07:16:56 -0400 (0:00:00.065) 0:04:55.773 ********* 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" ] } lsrpackages: tuned-profiles-mssql TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** Thursday 25 July 2024 07:16:56 -0400 (0:00:00.546) 0:04:56.319 ********* ok: [managed_node1] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-07-25 07:07:59 EDT", "ActiveEnterTimestampMonotonic": "28047343", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice dbus.service network.target systemd-sysctl.service basic.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 07:07:57 EDT", "AssertTimestampMonotonic": "26119412", "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": "Thu 2024-07-25 07:07:57 EDT", "ConditionTimestampMonotonic": "26119411", "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": "850", "ExecMainStartTimestamp": "Thu 2024-07-25 07:07:57 EDT", "ExecMainStartTimestampMonotonic": "26120028", "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": "Thu 2024-07-25 07:07:57 EDT", "InactiveExitTimestampMonotonic": "26120069", "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": "850", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "dbus.service polkit.service basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2024-07-25 07:07:59 EDT", "WatchdogTimestampMonotonic": "28047298", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* Thursday 25 July 2024 07:16:57 -0400 (0:00:00.443) 0:04:56.763 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.084895", "end": "2024-07-25 07:16:57.558817", "rc": 0, "start": "2024-07-25 07:16:57.473922" } STDOUT: Current active profile: virtual-guest mssql TASK [fedora.linux_system_roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** Thursday 25 July 2024 07:16:57 -0400 (0:00:00.429) 0:04:57.192 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove troublemaking include from the mssql profile] *** Thursday 25 July 2024 07:16:57 -0400 (0:00:00.068) 0:04:57.260 ********* 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] *** Thursday 25 July 2024 07:16:57 -0400 (0:00:00.072) 0:04:57.333 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** Thursday 25 July 2024 07:16:57 -0400 (0:00:00.067) 0:04:57.400 ********* 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] *** Thursday 25 July 2024 07:16:58 -0400 (0:00:00.350) 0:04:57.751 ********* 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] *** Thursday 25 July 2024 07:16:58 -0400 (0:00:00.065) 0:04:57.817 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "mssql-tools-17.10.1.1-1.x86_64 providing mssql-tools is already installed", "unixODBC-devel-2.3.11-1.rh.x86_64 providing unixODBC-devel is already installed" ] } lsrpackages: mssql-tools unixODBC-devel TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** Thursday 25 July 2024 07:16:58 -0400 (0:00:00.565) 0:04:58.382 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/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] *** Thursday 25 July 2024 07:16:58 -0400 (0:00:00.119) 0:04:58.502 ********* ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-07-25 07:15:12 EDT", "ActiveEnterTimestampMonotonic": "461094608", "ActiveExitTimestamp": "Thu 2024-07-25 07:15:12 EDT", "ActiveExitTimestampMonotonic": "460488241", "ActiveState": "active", "After": "system.slice network.target -.mount auditd.service basic.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 07:15:12 EDT", "AssertTimestampMonotonic": "461093249", "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": "Thu 2024-07-25 07:15:12 EDT", "ConditionTimestampMonotonic": "461093248", "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": "14609", "ExecMainStartTimestamp": "Thu 2024-07-25 07:15:12 EDT", "ExecMainStartTimestampMonotonic": "461093894", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2024-07-25 07:15:12 EDT] ; stop_time=[n/a] ; pid=14609 ; 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": "Thu 2024-07-25 07:15:12 EDT", "InactiveEnterTimestampMonotonic": "461091888", "InactiveExitTimestamp": "Thu 2024-07-25 07:15:12 EDT", "InactiveExitTimestampMonotonic": "461094608", "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": "14609", "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": "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": "Thu 2024-07-25 07:15:12 EDT", "WatchdogTimestampMonotonic": "461094578", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** Thursday 25 July 2024 07:16:59 -0400 (0:00:00.438) 0:04:58.940 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003145", "end": "2024-07-25 07:16:59.657417", "failed_when_result": false, "rc": 1, "start": "2024-07-25 07:16:59.654272" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** Thursday 25 July 2024 07:16:59 -0400 (0:00:00.346) 0:04:59.287 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003288", "end": "2024-07-25 07:17:00.009003", "failed_when_result": false, "rc": 1, "start": "2024-07-25 07:17:00.005715" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* Thursday 25 July 2024 07:17:00 -0400 (0:00:00.368) 0:04:59.656 ********* 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] *** Thursday 25 July 2024 07:17:00 -0400 (0:00:00.085) 0:04:59.741 ********* 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": 8576, "state": "file", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** Thursday 25 July 2024 07:17:01 -0400 (0:00:01.351) 0:05:01.093 ********* 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] *** Thursday 25 July 2024 07:17:01 -0400 (0:00:00.389) 0:05:01.483 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** Thursday 25 July 2024 07:17:02 -0400 (0:00:00.073) 0:05:01.556 ********* 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] ******** Thursday 25 July 2024 07:17:03 -0400 (0:00:01.220) 0:05:02.777 ********* 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] *** Thursday 25 July 2024 07:17:03 -0400 (0:00:00.076) 0:05:02.853 ********* 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] *** Thursday 25 July 2024 07:17:03 -0400 (0:00:00.065) 0:05:02.919 ********* 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] *** Thursday 25 July 2024 07:17:03 -0400 (0:00:00.067) 0:05:02.987 ********* 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] *** Thursday 25 July 2024 07:17:03 -0400 (0:00:00.158) 0:05:03.145 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** Thursday 25 July 2024 07:17:03 -0400 (0:00:00.070) 0:05:03.215 ********* 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] *********** Thursday 25 July 2024 07:17:03 -0400 (0:00:00.076) 0:05:03.291 ********* 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] ****** Thursday 25 July 2024 07:17:03 -0400 (0:00:00.071) 0:05:03.363 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** Thursday 25 July 2024 07:17:03 -0400 (0:00:00.068) 0:05:03.431 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** Thursday 25 July 2024 07:17:03 -0400 (0:00:00.069) 0:05:03.500 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the TCP port setting to 1433] *** Thursday 25 July 2024 07:17:04 -0400 (0:00:00.069) 0:05:03.570 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/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] ******* Thursday 25 July 2024 07:17:04 -0400 (0:00:00.121) 0:05:03.691 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.006107", "end": "2024-07-25 07:17:04.404520", "failed_when_result": false, "rc": 1, "start": "2024-07-25 07:17:04.398413" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** Thursday 25 July 2024 07:17:04 -0400 (0:00:00.343) 0:05:04.034 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.119363", "end": "2024-07-25 07:17:04.879488", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:17:04.760125" } 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] ***** Thursday 25 July 2024 07:17:04 -0400 (0:00:00.486) 0:05:04.521 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** Thursday 25 July 2024 07:17:05 -0400 (0:00:00.065) 0:05:04.587 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** Thursday 25 July 2024 07:17:05 -0400 (0:00:00.065) 0:05:04.652 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts] *** Thursday 25 July 2024 07:17:05 -0400 (0:00:00.067) 0:05:04.720 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* Thursday 25 July 2024 07:17:05 -0400 (0:00:00.065) 0:05:04.786 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** Thursday 25 July 2024 07:17:05 -0400 (0:00:00.069) 0:05:04.855 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** Thursday 25 July 2024 07:17:05 -0400 (0:00:00.063) 0:05:04.919 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** Thursday 25 July 2024 07:17:05 -0400 (0:00:00.158) 0:05:05.077 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** Thursday 25 July 2024 07:17:05 -0400 (0:00:00.069) 0:05:05.147 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** Thursday 25 July 2024 07:17:05 -0400 (0:00:00.070) 0:05:05.218 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** Thursday 25 July 2024 07:17:05 -0400 (0:00:00.069) 0:05:05.287 ********* 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] *** Thursday 25 July 2024 07:17:05 -0400 (0:00:00.064) 0:05:05.352 ********* 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] *** Thursday 25 July 2024 07:17:05 -0400 (0:00:00.069) 0:05:05.421 ********* 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] ********* Thursday 25 July 2024 07:17:05 -0400 (0:00:00.073) 0:05:05.494 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlskey setting] ********** Thursday 25 July 2024 07:17:06 -0400 (0:00:00.069) 0:05:05.563 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlsprotocols setting] **** Thursday 25 July 2024 07:17:06 -0400 (0:00:00.069) 0:05:05.633 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the forceencryption setting] *** Thursday 25 July 2024 07:17:06 -0400 (0:00:00.066) 0:05:05.699 ********* 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] *** Thursday 25 July 2024 07:17:06 -0400 (0:00:00.068) 0:05:05.768 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** Thursday 25 July 2024 07:17:06 -0400 (0:00:00.067) 0:05:05.835 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure adutil and krb5-workstation] **** Thursday 25 July 2024 07:17:06 -0400 (0:00:00.067) 0:05:05.902 ********* 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] *** Thursday 25 July 2024 07:17:06 -0400 (0:00:00.066) 0:05:05.969 ********* 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 }}] *** Thursday 25 July 2024 07:17:06 -0400 (0:00:00.067) 0:05:06.037 ********* 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 }}] *** Thursday 25 July 2024 07:17:06 -0400 (0:00:00.071) 0:05:06.108 ********* 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] *************** Thursday 25 July 2024 07:17:06 -0400 (0:00:00.067) 0:05:06.176 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : In AD server create user] ************** Thursday 25 July 2024 07:17:06 -0400 (0:00:00.066) 0:05:06.243 ********* 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 : Get SPNs for the principal] ************ Thursday 25 July 2024 07:17:06 -0400 (0:00:00.065) 0:05:06.308 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register SPNs to the principal] ******** Thursday 25 July 2024 07:17:06 -0400 (0:00:00.155) 0:05:06.464 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get kvno of the SPN host] ************** Thursday 25 July 2024 07:17:06 -0400 (0:00:00.069) 0:05:06.533 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get stats of the keytab file] ********** Thursday 25 July 2024 07:17:07 -0400 (0:00:00.065) 0:05:06.599 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** Thursday 25 July 2024 07:17:07 -0400 (0:00:00.070) 0:05:06.670 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* Thursday 25 July 2024 07:17:07 -0400 (0:00:00.066) 0:05:06.736 ********* 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] *** Thursday 25 July 2024 07:17:07 -0400 (0:00:00.068) 0:05:06.805 ********* 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] *** Thursday 25 July 2024 07:17:07 -0400 (0:00:00.065) 0:05:06.870 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch keytab file to host] ************* Thursday 25 July 2024 07:17:07 -0400 (0:00:00.066) 0:05:06.936 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** Thursday 25 July 2024 07:17:07 -0400 (0:00:00.065) 0:05:07.002 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** Thursday 25 July 2024 07:17:07 -0400 (0:00:00.065) 0:05:07.067 ********* 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] *** Thursday 25 July 2024 07:17:07 -0400 (0:00:00.070) 0:05:07.138 ********* 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] *** Thursday 25 July 2024 07:17:07 -0400 (0:00:00.067) 0:05:07.206 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** Thursday 25 July 2024 07:17:07 -0400 (0:00:00.067) 0:05:07.273 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** Thursday 25 July 2024 07:17:07 -0400 (0:00:00.069) 0:05:07.343 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** Thursday 25 July 2024 07:17:07 -0400 (0:00:00.065) 0:05:07.408 ********* 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] *** Thursday 25 July 2024 07:17:07 -0400 (0:00:00.066) 0:05:07.474 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** Thursday 25 July 2024 07:17:08 -0400 (0:00:00.065) 0:05:07.540 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** Thursday 25 July 2024 07:17:08 -0400 (0:00:00.068) 0:05:07.608 ********* 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] *** Thursday 25 July 2024 07:17:08 -0400 (0:00:00.078) 0:05:07.687 ********* 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] *** Thursday 25 July 2024 07:17:08 -0400 (0:00:00.155) 0:05:07.842 ********* 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] *** Thursday 25 July 2024 07:17:08 -0400 (0:00:00.074) 0:05:07.916 ********* 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] *** Thursday 25 July 2024 07:17:08 -0400 (0:00:00.082) 0:05:07.999 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set fact with the current primary replica] *** Thursday 25 July 2024 07:17:08 -0400 (0:00:00.070) 0:05:08.069 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** Thursday 25 July 2024 07:17:08 -0400 (0:00:00.066) 0:05:08.136 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* Thursday 25 July 2024 07:17:08 -0400 (0:00:00.067) 0:05:08.204 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* Thursday 25 July 2024 07:17:08 -0400 (0:00:00.067) 0:05:08.272 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* Thursday 25 July 2024 07:17:08 -0400 (0:00:00.068) 0:05:08.340 ********* 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] *** Thursday 25 July 2024 07:17:08 -0400 (0:00:00.066) 0:05:08.407 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** Thursday 25 July 2024 07:17:08 -0400 (0:00:00.066) 0:05:08.473 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** Thursday 25 July 2024 07:17:09 -0400 (0:00:00.069) 0:05:08.543 ********* 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] *** Thursday 25 July 2024 07:17:09 -0400 (0:00:00.067) 0:05:08.610 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** Thursday 25 July 2024 07:17:09 -0400 (0:00:00.069) 0:05:08.680 ********* 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] *** Thursday 25 July 2024 07:17:09 -0400 (0:00:00.067) 0:05:08.747 ********* 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] *** Thursday 25 July 2024 07:17:09 -0400 (0:00:00.082) 0:05:08.830 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** Thursday 25 July 2024 07:17:09 -0400 (0:00:00.067) 0:05:08.898 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Join to availability group] ************ Thursday 25 July 2024 07:17:09 -0400 (0:00:00.063) 0:05:08.961 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* Thursday 25 July 2024 07:17:09 -0400 (0:00:00.067) 0:05:09.029 ********* 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] *** Thursday 25 July 2024 07:17:09 -0400 (0:00:00.069) 0:05:09.098 ********* 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] *** Thursday 25 July 2024 07:17:09 -0400 (0:00:00.174) 0:05:09.273 ********* 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] *********************************** Thursday 25 July 2024 07:17:09 -0400 (0:00:00.071) 0:05:09.344 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for the cluster to finish configuration] *** Thursday 25 July 2024 07:17:09 -0400 (0:00:00.070) 0:05:09.415 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure listener for the availability group] *** Thursday 25 July 2024 07:17:09 -0400 (0:00:00.070) 0:05:09.485 ********* 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] *** Thursday 25 July 2024 07:17:10 -0400 (0:00:00.068) 0:05:09.554 ********* ok: [managed_node1] => { "changed": false } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** Thursday 25 July 2024 07:17:10 -0400 (0:00:00.488) 0:05:10.042 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_input variable] *** Thursday 25 July 2024 07:17:10 -0400 (0:00:00.116) 0:05:10.159 ********* ok: [managed_node1] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the mssql_password variable is defined] *** Thursday 25 July 2024 07:17:10 -0400 (0:00:00.067) 0:05:10.227 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** Thursday 25 July 2024 07:17:10 -0400 (0:00:00.068) 0:05:10.295 ********* ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-07-25 07:15:12 EDT", "ActiveEnterTimestampMonotonic": "461094608", "ActiveExitTimestamp": "Thu 2024-07-25 07:15:12 EDT", "ActiveExitTimestampMonotonic": "460488241", "ActiveState": "active", "After": "system.slice network.target -.mount auditd.service basic.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 07:15:12 EDT", "AssertTimestampMonotonic": "461093249", "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": "Thu 2024-07-25 07:15:12 EDT", "ConditionTimestampMonotonic": "461093248", "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": "14609", "ExecMainStartTimestamp": "Thu 2024-07-25 07:15:12 EDT", "ExecMainStartTimestampMonotonic": "461093894", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2024-07-25 07:15:12 EDT] ; stop_time=[n/a] ; pid=14609 ; 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": "Thu 2024-07-25 07:15:12 EDT", "InactiveEnterTimestampMonotonic": "461091888", "InactiveExitTimestamp": "Thu 2024-07-25 07:15:12 EDT", "InactiveExitTimestampMonotonic": "461094608", "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": "14609", "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": "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": "Thu 2024-07-25 07:15:12 EDT", "WatchdogTimestampMonotonic": "461094578", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** Thursday 25 July 2024 07:17:11 -0400 (0:00:00.434) 0:05:10.730 ********* 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": 8576, "state": "file", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** Thursday 25 July 2024 07:17:12 -0400 (0:00:01.431) 0:05:12.161 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script files to MSSQL] ******* Thursday 25 July 2024 07:17:12 -0400 (0:00:00.070) 0:05:12.231 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Create a tempfile on the host for verify_fts.sql] *** Thursday 25 July 2024 07:17:12 -0400 (0:00:00.136) 0:05:12.368 ********* ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/verify_fts.sql_ZzRIG2.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Copy the file to the host verify_fts.sql] *** Thursday 25 July 2024 07:17:13 -0400 (0:00:00.346) 0:05:12.715 ********* ok: [managed_node1] => { "changed": false, "checksum": "7565e388faf93cadaf62fa3ea5e59a05adb98cd8", "dest": "/tmp/verify_fts.sql_ZzRIG2.sql", "gid": 0, "group": "root", "md5sum": "c9efe6db25bca7b55ddd3508d732934c", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 154, "src": "/root/.ansible/tmp/ansible-tmp-1721906233.23-14237-194591963546216/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Generate the template on the host for verify_fts.sql] *** Thursday 25 July 2024 07:17:13 -0400 (0:00:00.609) 0:05:13.325 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input with the sqlcmd command verify_fts.sql] *** Thursday 25 July 2024 07:17:13 -0400 (0:00:00.069) 0:05:13.395 ********* 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 : Print file location and output from inputting verify_fts.sql] *** Thursday 25 July 2024 07:17:14 -0400 (0:00:00.397) 0:05:13.792 ********* ok: [managed_node1] => (item=/tmp/verify_fts.sql_ZzRIG2.sql) => { "__mssql_sqlcmd_loop": "/tmp/verify_fts.sql_ZzRIG2.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [managed_node1] => (item=[u' ', u'-------------------------------', u'Full-Text Search is enabled ', u'', u'(1 rows affected)']) => { "__mssql_sqlcmd_loop": [ " ", "-------------------------------", "Full-Text Search is enabled ", "", "(1 rows affected)" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [managed_node1] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop" } TASK [fedora.linux_system_roles.mssql : Remove the tempfile verify_fts.sql] **** Thursday 25 July 2024 07:17:14 -0400 (0:00:00.107) 0:05:13.900 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script contents to MSSQL] **** Thursday 25 July 2024 07:17:14 -0400 (0:00:00.071) 0:05:13.972 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** Thursday 25 July 2024 07:17:14 -0400 (0:00:00.066) 0:05:14.038 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert the latest script invocation resulted in no changes] ************** Thursday 25 July 2024 07:17:14 -0400 (0:00:00.066) 0:05:14.105 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Clean up after the role invocation] ************************************** Thursday 25 July 2024 07:17:14 -0400 (0:00:00.070) 0:05:14.175 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml for managed_node1 TASK [Gather package facts] **************************************************** Thursday 25 July 2024 07:17:14 -0400 (0:00:00.212) 0:05:14.388 ********* 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] ********************************************* Thursday 25 July 2024 07:17:16 -0400 (0:00:01.196) 0:05:15.584 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Debug ansible_python_version] ******************************************** Thursday 25 July 2024 07:17:16 -0400 (0:00:00.091) 0:05:15.676 ********* ok: [managed_node1] => { "ansible_python_version": "2.7.5" } TASK [Purge firewall configuration] ******************************************** Thursday 25 July 2024 07:17:16 -0400 (0:00:00.072) 0:05:15.748 ********* TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** Thursday 25 July 2024 07:17:16 -0400 (0:00:00.174) 0:05:15.923 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/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] *** Thursday 25 July 2024 07:17:16 -0400 (0:00:00.127) 0:05:16.051 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** Thursday 25 July 2024 07:17:16 -0400 (0:00:00.093) 0:05:16.144 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** Thursday 25 July 2024 07:17:17 -0400 (0:00:00.436) 0:05:16.581 ********* ok: [managed_node1] => { "ansible_facts": { "__firewall_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Check if transactional-update exists in /sbin] *** Thursday 25 July 2024 07:17:17 -0400 (0:00:00.078) 0:05:16.660 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** Thursday 25 July 2024 07:17:17 -0400 (0:00:00.348) 0:05:17.009 ********* ok: [managed_node1] => { "ansible_facts": { "__firewall_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** Thursday 25 July 2024 07:17:17 -0400 (0:00:00.072) 0:05:17.081 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } lsrpackages: firewalld TASK [fedora.linux_system_roles.firewall : Notify user that reboot is needed to apply changes] *** Thursday 25 July 2024 07:17:18 -0400 (0:00:00.565) 0:05:17.646 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** Thursday 25 July 2024 07:17:18 -0400 (0:00:00.065) 0:05:17.712 ********* 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] *** Thursday 25 July 2024 07:17:18 -0400 (0:00:00.067) 0:05:17.779 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** Thursday 25 July 2024 07:17:18 -0400 (0:00:00.064) 0:05:17.843 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** Thursday 25 July 2024 07:17:18 -0400 (0:00:00.067) 0:05:17.911 ********* 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] *********** Thursday 25 July 2024 07:17:18 -0400 (0:00:00.081) 0:05:17.992 ********* ok: [managed_node1] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Thu 2024-07-25 07:11:16 EDT", "ActiveEnterTimestampMonotonic": "224562844", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service polkit.service basic.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 07:11:15 EDT", "AssertTimestampMonotonic": "223566636", "Before": "multi-user.target network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2024-07-25 07:11:15 EDT", "ConditionTimestampMonotonic": "223566634", "Conflicts": "iptables.service ipset.service ip6tables.service ebtables.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": "8433", "ExecMainStartTimestamp": "Thu 2024-07-25 07:11:15 EDT", "ExecMainStartTimestampMonotonic": "223568521", "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": "Thu 2024-07-25 07:11:15 EDT", "InactiveExitTimestampMonotonic": "223568552", "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": "8433", "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": "Thu 2024-07-25 07:11:16 EDT", "WatchdogTimestampMonotonic": "224562789", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** Thursday 25 July 2024 07:17:18 -0400 (0:00:00.448) 0:05:18.440 ********* ok: [managed_node1] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-07-25 07:11:16 EDT", "ActiveEnterTimestampMonotonic": "224562844", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service polkit.service basic.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 07:11:15 EDT", "AssertTimestampMonotonic": "223566636", "Before": "multi-user.target network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2024-07-25 07:11:15 EDT", "ConditionTimestampMonotonic": "223566634", "Conflicts": "iptables.service ipset.service ip6tables.service ebtables.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": "8433", "ExecMainStartTimestamp": "Thu 2024-07-25 07:11:15 EDT", "ExecMainStartTimestampMonotonic": "223568521", "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": "Thu 2024-07-25 07:11:15 EDT", "InactiveExitTimestampMonotonic": "223568552", "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": "8433", "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": "Thu 2024-07-25 07:11:16 EDT", "WatchdogTimestampMonotonic": "224562789", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** Thursday 25 July 2024 07:17:19 -0400 (0:00:00.451) 0:05:18.892 ********* 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] *** Thursday 25 July 2024 07:17:19 -0400 (0:00:00.076) 0:05:18.968 ********* ok: [managed_node1] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.45.245 closed. TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** Thursday 25 July 2024 07:17:19 -0400 (0:00:00.549) 0:05:19.517 ********* ok: [managed_node1] => { "ansible_facts": { "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** Thursday 25 July 2024 07:17:20 -0400 (0:00:00.076) 0:05:19.593 ********* TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** Thursday 25 July 2024 07:17:20 -0400 (0:00:00.066) 0:05:19.660 ********* TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* Thursday 25 July 2024 07:17:20 -0400 (0:00:00.072) 0:05:19.733 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** Thursday 25 July 2024 07:17:20 -0400 (0:00:00.074) 0:05:19.808 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* Thursday 25 July 2024 07:17:20 -0400 (0:00:00.067) 0:05:19.876 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** Thursday 25 July 2024 07:17:20 -0400 (0:00:00.070) 0:05:19.947 ********* ok: [managed_node1] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.45.245 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* Thursday 25 July 2024 07:17:20 -0400 (0:00:00.350) 0:05:20.298 ********* ok: [managed_node1] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* Thursday 25 July 2024 07:17:20 -0400 (0:00:00.075) 0:05:20.373 ********* skipping: [managed_node1] => {} TASK [Purge selinux configuration] ********************************************* Thursday 25 July 2024 07:17:20 -0400 (0:00:00.070) 0:05:20.443 ********* TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** Thursday 25 July 2024 07:17:21 -0400 (0:00:00.164) 0:05:20.608 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/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] *** Thursday 25 July 2024 07:17:21 -0400 (0:00:00.116) 0:05:20.724 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Ensure SELinux packages] ************* Thursday 25 July 2024 07:17:21 -0400 (0:00:00.088) 0:05:20.813 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/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] *********** Thursday 25 July 2024 07:17:21 -0400 (0:00:00.217) 0:05:21.030 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.selinux : Set flag to indicate system is ostree] *** Thursday 25 July 2024 07:17:21 -0400 (0:00:00.339) 0:05:21.370 ********* ok: [managed_node1] => { "ansible_facts": { "__selinux_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Check if transactional-update exists in /sbin] *** Thursday 25 July 2024 07:17:21 -0400 (0:00:00.075) 0:05:21.446 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.selinux : Set flag if transactional-update exists] *** Thursday 25 July 2024 07:17:22 -0400 (0:00:00.353) 0:05:21.799 ********* ok: [managed_node1] => { "ansible_facts": { "__selinux_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Install SELinux python2 tools] ******* Thursday 25 July 2024 07:17:22 -0400 (0:00:00.073) 0:05:21.873 ********* 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" ] } lsrpackages: libselinux-python policycoreutils-python TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* Thursday 25 July 2024 07:17:22 -0400 (0:00:00.561) 0:05:22.435 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* Thursday 25 July 2024 07:17:22 -0400 (0:00:00.067) 0:05:22.502 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux tool semanage] ******* Thursday 25 July 2024 07:17:23 -0400 (0:00:00.066) 0:05:22.569 ********* 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] *** Thursday 25 July 2024 07:17:23 -0400 (0:00:00.069) 0:05:22.639 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.selinux : Reboot transactional update systems] *** Thursday 25 July 2024 07:17:23 -0400 (0:00:00.066) 0:05:22.706 ********* 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] *** Thursday 25 July 2024 07:17:23 -0400 (0:00:00.067) 0:05:22.774 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Refresh facts] *********************** Thursday 25 July 2024 07:17:23 -0400 (0:00:00.068) 0:05:22.842 ********* ok: [managed_node1] TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** Thursday 25 July 2024 07:17:23 -0400 (0:00:00.598) 0:05:23.441 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if disabled] *** Thursday 25 July 2024 07:17:24 -0400 (0:00:00.155) 0:05:23.596 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set selinux_reboot_required] ********* Thursday 25 July 2024 07:17:24 -0400 (0:00:00.072) 0:05:23.669 ********* ok: [managed_node1] => { "ansible_facts": { "selinux_reboot_required": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Fail if reboot is required] ********** Thursday 25 July 2024 07:17:24 -0400 (0:00:00.070) 0:05:23.739 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Warn if SELinux is disabled] ********* Thursday 25 July 2024 07:17:24 -0400 (0:00:00.064) 0:05:23.804 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** Thursday 25 July 2024 07:17:24 -0400 (0:00:00.068) 0:05:23.873 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "/usr/sbin/semanage", "-i", "-" ], "delta": "0:00:01.142639", "end": "2024-07-25 07:17:25.727740", "rc": 0, "start": "2024-07-25 07:17:24.585101" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux boolean local modifications] *** Thursday 25 July 2024 07:17:25 -0400 (0:00:01.483) 0:05:25.357 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux file context local modifications] *** Thursday 25 July 2024 07:17:25 -0400 (0:00:00.065) 0:05:25.423 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux port local modifications] *** Thursday 25 July 2024 07:17:25 -0400 (0:00:00.066) 0:05:25.489 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux login local modifications] *** Thursday 25 July 2024 07:17:26 -0400 (0:00:00.069) 0:05:25.559 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set SELinux booleans] **************** Thursday 25 July 2024 07:17:26 -0400 (0:00:00.066) 0:05:25.626 ********* TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** Thursday 25 July 2024 07:17:26 -0400 (0:00:00.067) 0:05:25.693 ********* TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** Thursday 25 July 2024 07:17:26 -0400 (0:00:00.064) 0:05:25.758 ********* TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** Thursday 25 July 2024 07:17:26 -0400 (0:00:00.067) 0:05:25.826 ********* TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** Thursday 25 July 2024 07:17:26 -0400 (0:00:00.066) 0:05:25.892 ********* 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] **************** Thursday 25 July 2024 07:17:29 -0400 (0:00:02.867) 0:05:28.760 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree] *** Thursday 25 July 2024 07:17:29 -0400 (0:00:00.093) 0:05:28.853 ********* TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** Thursday 25 July 2024 07:17:29 -0400 (0:00:00.088) 0:05:28.942 ********* TASK [Leave realm] ************************************************************* Thursday 25 July 2024 07:17:29 -0400 (0:00:00.088) 0:05:29.030 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Destroy Kerberos tickets] ************************************************ Thursday 25 July 2024 07:17:29 -0400 (0:00:00.114) 0:05:29.145 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure that yum and dnf caching is enabled] ****************************** Thursday 25 July 2024 07:17:29 -0400 (0:00:00.211) 0:05:29.356 ********* ok: [managed_node1] => { "backup": "", "changed": false } TASK [Remove related packages] ************************************************* Thursday 25 July 2024 07:17:30 -0400 (0:00:00.369) 0:05:29.726 ********* changed: [managed_node1] => { "changed": true, "changes": { "removed": [ "mssql-server", "mssql-tools", "unixODBC-devel", "mssql-server-fts" ] }, "rc": 0, "results": [ "adutil is not installed", "mssql-server-ha is not installed", "powershell is not installed", "Loaded plugins: fastestmirror\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-server.x86_64 0:15.0.4375.4-1 will be erased\n---> Package mssql-server-fts.x86_64 0:15.0.4375.4-1 will be erased\n---> Package mssql-tools.x86_64 0:17.10.1.1-1 will be erased\n---> Package unixODBC-devel.x86_64 0:2.3.11-1.rh will be erased\n--> Finished Dependency Resolution\n--> Finding unneeded leftover dependencies\n---> Marking msodbcsql17 to be removed - no longer needed by mssql-tools\n---> Marking unixODBC to be removed - no longer needed by unixODBC-devel\n---> Marking python3 to be removed - no longer needed by mssql-server\n---> Marking cyrus-sasl to be removed - no longer needed by mssql-server\n---> Marking gdb to be removed - no longer needed by mssql-server\n---> Marking 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 lsof 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\n---> Marking python3-libs to be removed - no longer needed by python3\n---> Marking python3-setuptools to be removed - no longer needed by python3\n---> Marking python3-pip to be removed - no longer needed by python3\nFound and removing 14 unneeded dependencies\n--> Running transaction check\n---> Package bzip2.x86_64 0:1.0.6-13.el7 will be erased\n---> Package cyrus-sasl.x86_64 0:2.1.26-24.el7_9 will be erased\n---> Package cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 will be erased\n---> Package gdb.x86_64 0:7.6.1-120.el7 will be erased\n---> Package libatomic.x86_64 0:4.8.5-44.el7 will be erased\n---> Package libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.16 will be erased\n---> Package libtool-ltdl.x86_64 0:2.4.2-22.el7_3 will be erased\n---> Package lsof.x86_64 0:4.87-6.el7 will be erased\n---> Package msodbcsql17.x86_64 0:17.10.6.1-1 will be erased\n---> Package python3.x86_64 0:3.6.8-21.el7_9 will be erased\n---> Package python3-libs.x86_64 0:3.6.8-21.el7_9 will be erased\n---> Package python3-pip.noarch 0:9.0.3-8.el7 will be erased\n---> Package python3-setuptools.noarch 0:39.2.0-10.el7 will be erased\n---> Package unixODBC.x86_64 0:2.3.11-1.rh will be erased\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nRemoving:\n mssql-server x86_64 15.0.4375.4-1 @packages-microsoft-com-mssql-server-2019\n 1.1 G\n mssql-server-fts x86_64 15.0.4375.4-1 @packages-microsoft-com-mssql-server-2019\n 554 M\n mssql-tools x86_64 17.10.1.1-1 @packages-microsoft-com-prod 714 k\n unixODBC-devel x86_64 2.3.11-1.rh @packages-microsoft-com-prod 223 k\nRemoving for dependencies:\n bzip2 x86_64 1.0.6-13.el7 @base 82 k\n cyrus-sasl x86_64 2.1.26-24.el7_9 @updates 141 k\n cyrus-sasl-gssapi x86_64 2.1.26-24.el7_9 @updates 36 k\n gdb x86_64 7.6.1-120.el7 @base 7.0 M\n libatomic x86_64 4.8.5-44.el7 @base 26 k\n libsss_nss_idmap x86_64 1.16.5-10.el7_9.16 @updates 82 k\n libtool-ltdl x86_64 2.4.2-22.el7_3 @base 66 k\n lsof x86_64 4.87-6.el7 @base 927 k\n msodbcsql17 x86_64 17.10.6.1-1 @packages-microsoft-com-prod 2.2 M\n python3 x86_64 3.6.8-21.el7_9 @updates 39 k\n python3-libs x86_64 3.6.8-21.el7_9 @updates 35 M\n python3-pip noarch 9.0.3-8.el7 @base 9.1 M\n python3-setuptools\n noarch 39.2.0-10.el7 @base 3.6 M\n unixODBC x86_64 2.3.11-1.rh @packages-microsoft-com-prod 648 k\n\nTransaction Summary\n================================================================================\nRemove 4 Packages (+14 Dependent packages)\n\nInstalled size: 1.7 G\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Erasing : mssql-server-fts-15.0.4375.4-1.x86_64 1/18 \n Erasing : mssql-server-15.0.4375.4-1.x86_64 2/18 \n Erasing : unixODBC-devel-2.3.11-1.rh.x86_64 3/18 \n Erasing : mssql-tools-17.10.1.1-1.x86_64 4/18 \n Erasing : python3-libs-3.6.8-21.el7_9.x86_64 5/18 \n Erasing : python3-pip-9.0.3-8.el7.noarch 6/18 \n Erasing : python3-setuptools-39.2.0-10.el7.noarch 7/18 \n Erasing : python3-3.6.8-21.el7_9.x86_64 8/18 \n Erasing : msodbcsql17-17.10.6.1-1.x86_64 9/18 \nODBC Driver 17 for SQL Server has been deleted (if it existed at all) because its usage count became zero\n Erasing : unixODBC-2.3.11-1.rh.x86_64 10/18 \nwarning: /etc/odbcinst.ini saved as /etc/odbcinst.ini.rpmsave\n Erasing : libtool-ltdl-2.4.2-22.el7_3.x86_64 11/18 \n Erasing : libatomic-4.8.5-44.el7.x86_64 12/18 \n Erasing : bzip2-1.0.6-13.el7.x86_64 13/18 \n Erasing : gdb-7.6.1-120.el7.x86_64 14/18 \n Erasing : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 15/18 \n Erasing : cyrus-sasl-2.1.26-24.el7_9.x86_64 16/18 \n Erasing : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 17/18 \n Erasing : lsof-4.87-6.el7.x86_64 18/18 \n Verifying : mssql-tools-17.10.1.1-1.x86_64 1/18 \n Verifying : libtool-ltdl-2.4.2-22.el7_3.x86_64 2/18 \n Verifying : python3-3.6.8-21.el7_9.x86_64 3/18 \n Verifying : mssql-server-15.0.4375.4-1.x86_64 4/18 \n Verifying : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 5/18 \n Verifying : bzip2-1.0.6-13.el7.x86_64 6/18 \n Verifying : msodbcsql17-17.10.6.1-1.x86_64 7/18 \n Verifying : lsof-4.87-6.el7.x86_64 8/18 \n Verifying : unixODBC-devel-2.3.11-1.rh.x86_64 9/18 \n Verifying : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 10/18 \n Verifying : gdb-7.6.1-120.el7.x86_64 11/18 \n Verifying : unixODBC-2.3.11-1.rh.x86_64 12/18 \n Verifying : python3-libs-3.6.8-21.el7_9.x86_64 13/18 \n Verifying : python3-setuptools-39.2.0-10.el7.noarch 14/18 \n Verifying : python3-pip-9.0.3-8.el7.noarch 15/18 \n Verifying : cyrus-sasl-2.1.26-24.el7_9.x86_64 16/18 \n Verifying : libatomic-4.8.5-44.el7.x86_64 17/18 \n Verifying : mssql-server-fts-15.0.4375.4-1.x86_64 18/18 \n\nRemoved:\n mssql-server.x86_64 0:15.0.4375.4-1 mssql-server-fts.x86_64 0:15.0.4375.4-1 \n mssql-tools.x86_64 0:17.10.1.1-1 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 lsof.x86_64 0:4.87-6.el7 \n msodbcsql17.x86_64 0:17.10.6.1-1 \n python3.x86_64 0:3.6.8-21.el7_9 \n python3-libs.x86_64 0:3.6.8-21.el7_9 \n python3-pip.noarch 0:9.0.3-8.el7 \n python3-setuptools.noarch 0:39.2.0-10.el7 \n unixODBC.x86_64 0:2.3.11-1.rh \n\nComplete!\n" ] } TASK [Remove related files] **************************************************** Thursday 25 July 2024 07:17:34 -0400 (0:00:03.962) 0:05:33.688 ********* [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.020301", "end": "2024-07-25 07:17:34.415558", "rc": 0, "start": "2024-07-25 07:17:34.395257" } 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/ExampleDB1_log.ldf’ 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/Entropy.bin’ removed ‘/var/opt/mssql/data/model_replicatedmaster.ldf’ removed ‘/var/opt/mssql/data/model_replicatedmaster.mdf’ removed ‘/var/opt/mssql/data/modellog.ldf’ removed ‘/var/opt/mssql/data/ExampleDB1.mdf’ removed ‘/var/opt/mssql/data/tempdb2.ndf’ removed ‘/var/opt/mssql/data/msdblog.ldf’ removed ‘/var/opt/mssql/data/mastlog.ldf’ removed ‘/var/opt/mssql/data/master.mdf’ removed ‘/var/opt/mssql/data/model_msdbdata.mdf’ removed ‘/var/opt/mssql/data/model_msdblog.ldf’ 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/Preferred’ removed ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User/ae0b2261-ab15-4e5f-9f87-3ca8893a7deb’ 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 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 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_133663796176880000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133663796103310000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133663796118890000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133663796890460000.xel’ removed ‘/var/opt/mssql/log/log_3.trc’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133663797155800000.xel’ removed ‘/var/opt/mssql/log/errorlog’ removed ‘/var/opt/mssql/log/log_2.trc’ removed ‘/var/opt/mssql/log/errorlog.3’ removed ‘/var/opt/mssql/log/sqlagentstartup.log’ removed ‘/var/opt/mssql/log/errorlog.4’ removed ‘/var/opt/mssql/log/errorlog.2’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133663796882680000.xel’ removed ‘/var/opt/mssql/log/FDLAUNCHERRORLOG’ removed ‘/var/opt/mssql/log/system_health_0_133663796187280000.xel’ removed ‘/var/opt/mssql/log/log_1.trc’ removed ‘/var/opt/mssql/log/log.trc’ removed ‘/var/opt/mssql/log/system_health_0_133663797161550000.xel’ removed ‘/var/opt/mssql/log/errorlog.1’ removed ‘/var/opt/mssql/log/mssql-conf/mssql-conf.log’ removed directory: ‘/var/opt/mssql/log/mssql-conf’ removed directory: ‘/var/opt/mssql/log’ removed directory: ‘/var/opt/mssql’ removed directory: ‘/opt/mssql/misc’ removed directory: ‘/opt/mssql’ removed directory: ‘/opt/mssql-tools’ removed ‘/etc/yum.repos.d/packages-microsoft-com-mssql-server-2019.repo’ removed ‘/etc/yum.repos.d/packages-microsoft-com-prod.repo’ removed ‘/tmp/mssql_data/ExampleDB2.mdf’ removed ‘/tmp/mssql_data/ExampleDB.mdf’ removed directory: ‘/tmp/mssql_data’ removed ‘/tmp/mssql_log/ExampleDB_log.ldf’ removed ‘/tmp/mssql_log/ExampleDB2_log.ldf’ removed directory: ‘/tmp/mssql_log’ removed ‘/etc/systemd/system/multi-user.target.wants/mssql-server.service’ TASK [Stop the mssql-server service] ******************************************* Thursday 25 July 2024 07:17:34 -0400 (0:00:00.399) 0:05:34.088 ********* ok: [managed_node1] => { "changed": false, "cmd": "systemctl stop mssql-server || true", "delta": "0:00:00.771231", "end": "2024-07-25 07:17:35.574058", "rc": 0, "start": "2024-07-25 07:17:34.802827" } RUNNING HANDLER [fedora.linux_system_roles.selinux : Reload SELinux policy] **** Thursday 25 July 2024 07:17:35 -0400 (0:00:01.070) 0:05:35.158 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "semodule", "-R" ], "delta": "0:00:01.840849", "end": "2024-07-25 07:17:37.770456", "rc": 0, "start": "2024-07-25 07:17:35.929607" } PLAY RECAP ********************************************************************* managed_node1 : ok=318 changed=25 unreachable=0 failed=0 skipped=811 rescued=2 ignored=0 Thursday 25 July 2024 07:17:37 -0400 (0:00:02.205) 0:05:37.364 ********* =============================================================================== fedora.linux_system_roles.mssql : Ensure the package mssql-server ------ 76.62s fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts -- 38.45s fedora.linux_system_roles.mssql : Set up MSSQL -------------------------- 8.56s fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed --- 6.02s Remove related packages ------------------------------------------------- 3.96s fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed --- 3.60s fedora.linux_system_roles.selinux : Get SELinux modules facts ----------- 2.87s fedora.linux_system_roles.mssql : Gather package facts ------------------ 2.26s fedora.linux_system_roles.selinux : Reload SELinux policy --------------- 2.21s fedora.linux_system_roles.mssql : Input with the sqlcmd command sql_script.sql --- 2.10s fedora.linux_system_roles.mssql : Input with the sqlcmd command create_example_db.j2 --- 1.87s fedora.linux_system_roles.mssql : Add the fixed mssql profile to the list of Tuned profiles --- 1.55s fedora.linux_system_roles.selinux : Drop all local modifications -------- 1.48s fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections --- 1.45s fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections --- 1.43s fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections --- 1.42s fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.41s fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections --- 1.41s fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.38s fedora.linux_system_roles.mssql : Attempt to add mssql to the list of Tuned profiles --- 1.37s