ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmp5m6ig2cl executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: rhel-8_setup.yml ***************************************************** 1 plays in /cache/rhel-8_setup.yml PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /cache/rhel-8_setup.yml:5 Wednesday 03 August 2022 15:31:38 +0000 (0:00:00.019) 0:00:00.019 ****** changed: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 15:31:40 +0000 (0:00:01.457) 0:00:01.476 ****** =============================================================================== set up internal repositories -------------------------------------------- 1.46s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- PLAYBOOK: tests_input_sql_file_2019.yml **************************************** 1 plays in /tmp/tmpwrabcf_7/tests/tests_input_sql_file_2019.yml PLAY [Ensure that the role can input sql files to MSSQL] *********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpwrabcf_7/tests/tests_input_sql_file_2019.yml:3 Wednesday 03 August 2022 15:31:40 +0000 (0:00:00.011) 0:00:01.487 ****** ok: [/cache/rhel-8.qcow2] META: ran handlers TASK [Set up MSSQL and input sql files] **************************************** task path: /tmp/tmpwrabcf_7/tests/tests_input_sql_file_2019.yml:10 Wednesday 03 August 2022 15:31:41 +0000 (0:00:01.230) 0:00:02.718 ****** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Wednesday 03 August 2022 15:31:41 +0000 (0:00:00.087) 0:00:02.805 ****** included: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.mssql : Ensure ansible_facts used by role] ************ task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Wednesday 03 August 2022 15:31:41 +0000 (0:00:00.029) 0:00:02.834 ****** ok: [/cache/rhel-8.qcow2] TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:11 Wednesday 03 August 2022 15:31:42 +0000 (0:00:01.372) 0:00:04.207 ****** ok: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/8/prod/", "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/" }, "ansible_included_var_files": [ "/tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/8/prod/", "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/" }, "ansible_included_var_files": [ "/tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.6.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Wednesday 03 August 2022 15:31:42 +0000 (0:00:00.089) 0:00:04.296 ****** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:12 Wednesday 03 August 2022 15:31:42 +0000 (0:00:00.028) 0:00:04.325 ****** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [linux-system-roles.mssql : Link the deprecated accept_microsoft_sql_server_2019_standard_eula fact] *** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:16 Wednesday 03 August 2022 15:31:42 +0000 (0:00:00.054) 0:00:04.379 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:22 Wednesday 03 August 2022 15:31:42 +0000 (0:00:00.024) 0:00:04.404 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that the user accepts EULA variables] *** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:27 Wednesday 03 August 2022 15:31:43 +0000 (0:00:00.024) 0:00:04.428 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:39 Wednesday 03 August 2022 15:31:43 +0000 (0:00:00.074) 0:00:04.503 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify if the mssql_upgrade variable is provided correctly] *** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Wednesday 03 August 2022 15:31:43 +0000 (0:00:00.043) 0:00:04.546 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:55 Wednesday 03 August 2022 15:31:43 +0000 (0:00:00.032) 0:00:04.579 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:63 Wednesday 03 August 2022 15:31:43 +0000 (0:00:00.031) 0:00:04.610 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:72 Wednesday 03 August 2022 15:31:43 +0000 (0:00:00.030) 0:00:04.641 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:85 Wednesday 03 August 2022 15:31:43 +0000 (0:00:00.030) 0:00:04.672 ****** ok: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:90 Wednesday 03 August 2022 15:31:45 +0000 (0:00:01.804) 0:00:06.476 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:101 Wednesday 03 August 2022 15:31:45 +0000 (0:00:00.047) 0:00:06.524 ****** changed: [/cache/rhel-8.qcow2] => { "changed": true } TASK [linux-system-roles.mssql : Update all packages from SQL Server 2017 repo] *** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:107 Wednesday 03 August 2022 15:31:45 +0000 (0:00:00.803) 0:00:07.327 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove the Microsoft SQL Server 2017 repository to upgrade to 2019] *** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:118 Wednesday 03 August 2022 15:31:45 +0000 (0:00:00.044) 0:00:07.371 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server 2019 repository] *** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:124 Wednesday 03 August 2022 15:31:46 +0000 (0:00:00.048) 0:00:07.419 ****** changed: [/cache/rhel-8.qcow2] => { "changed": true, "repo": "packages-microsoft-com-mssql-server-2019", "state": "present" } TASK [linux-system-roles.mssql : Ensure the mssql-server package] ************** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:134 Wednesday 03 August 2022 15:31:46 +0000 (0:00:00.464) 0:00:07.884 ****** changed: [/cache/rhel-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: mssql-server-15.0.4236.7-1.x86_64", "Installed: gdb-8.2-18.el8.x86_64", "Installed: python36-3.6.8-38.module+el8.5.0+12207+5c5719bc.x86_64", "Installed: cyrus-sasl-2.1.27-6.el8_5.x86_64", "Installed: libtool-ltdl-2.4.6-25.el8.x86_64", "Installed: gdb-headless-8.2-18.el8.x86_64", "Installed: cyrus-sasl-gssapi-2.1.27-6.el8_5.x86_64", "Installed: kernel-headers-4.18.0-372.9.1.el8.x86_64", "Installed: libatomic_ops-7.6.2-3.el8.x86_64", "Installed: python3-setuptools-39.2.0-6.el8.noarch", "Installed: isl-0.16.1-6.el8.x86_64", "Installed: libxcrypt-devel-4.1.1-6.el8.x86_64", "Installed: guile-5:2.0.14-7.el8.x86_64", "Installed: python3-pip-9.0.3-22.el8.noarch", "Installed: gc-7.6.4-3.el8.x86_64", "Installed: gcc-8.5.0-10.el8.x86_64", "Installed: gcc-gdb-plugin-8.5.0-10.el8.x86_64", "Installed: glibc-devel-2.28-189.1.el8.x86_64", "Installed: libmpc-1.1.0-9.1.el8.x86_64", "Installed: glibc-headers-2.28-189.1.el8.x86_64", "Installed: libatomic-8.5.0-10.el8.x86_64", "Installed: cpp-8.5.0-10.el8.x86_64", "Installed: binutils-2.30-113.el8.x86_64", "Installed: libbabeltrace-1.5.4-3.el8.x86_64", "Installed: libipt-1.6.1-8.el8.x86_64" ] } TASK [linux-system-roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:142 Wednesday 03 August 2022 15:32:37 +0000 (0:00:51.043) 0:00:58.927 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:150 Wednesday 03 August 2022 15:32:37 +0000 (0:00:00.032) 0:00:58.959 ****** ok: [/cache/rhel-8.qcow2] => { "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.005929", "end": "2022-08-03 11:32:38.190621", "rc": 0, "start": "2022-08-03 11:32:38.184692" } TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:165 Wednesday 03 August 2022 15:32:38 +0000 (0:00:00.552) 0:00:59.512 ****** ok: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:179 Wednesday 03 August 2022 15:32:39 +0000 (0:00:01.804) 0:01:01.316 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:189 Wednesday 03 August 2022 15:32:40 +0000 (0:00:00.110) 0:01:01.427 ****** changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "-n", "setup" ], "delta": "0:00:04.990723", "end": "2022-08-03 11:32:45.607561", "rc": 0, "start": "2022-08-03 11:32:40.616838" } STDOUT: The licensing PID was successfully processed. The new edition is [Enterprise Evaluation Edition]. ForceFlush is enabled for this instance. ForceFlush feature is enabled for log durability. The license terms for this product can be found in /usr/share/doc/mssql-server or downloaded from: https://go.microsoft.com/fwlink/?LinkId=2104294&clcid=0x409 The privacy statement can be viewed at: https://go.microsoft.com/fwlink/?LinkId=853010&clcid=0x409 Configuring SQL Server... Setup has completed successfully. SQL Server is now starting. STDERR: Created symlink /etc/systemd/system/multi-user.target.wants/mssql-server.service → /usr/lib/systemd/system/mssql-server.service. TASK [linux-system-roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:198 Wednesday 03 August 2022 15:32:45 +0000 (0:00:05.508) 0:01:06.935 ****** changed: [/cache/rhel-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: tuned-profiles-mssql-2.18.0-2.el8.noarch" ] } TASK [linux-system-roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:203 Wednesday 03 August 2022 15:32:47 +0000 (0:00:01.847) 0:01:08.782 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 11:31:33 EDT", "ActiveEnterTimestampMonotonic": "4787077", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket sysinit.target network.target dbus.socket basic.target dbus.service system.slice systemd-sysctl.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 11:31:33 EDT", "AssertTimestampMonotonic": "4438297", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 11:31:33 EDT", "ConditionTimestampMonotonic": "4438296", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "886", "ExecMainStartTimestamp": "Wed 2022-08-03 11:31:33 EDT", "ExecMainStartTimestampMonotonic": "4439816", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-08-03 11:31:33 EDT", "InactiveExitTimestampMonotonic": "4439861", "InvocationID": "9041d462989843a6acfd2b78daa8cbf1", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14648", "LimitNPROCSoft": "14648", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14648", "LimitSIGPENDINGSoft": "14648", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "886", "MemoryAccounting": "yes", "MemoryCurrent": "22933504", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket system.slice sysinit.target dbus.service polkit.service", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-08-03 11:31:33 EDT", "StateChangeTimestampMonotonic": "4787077", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "23436", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 11:31:33 EDT", "WatchdogTimestampMonotonic": "4787075", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:209 Wednesday 03 August 2022 15:32:48 +0000 (0:00:00.843) 0:01:09.625 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.130953", "end": "2022-08-03 11:32:48.916405", "rc": 0, "start": "2022-08-03 11:32:48.785452" } STDOUT: Current active profile: virtual-guest TASK [linux-system-roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:219 Wednesday 03 August 2022 15:32:48 +0000 (0:00:00.613) 0:01:10.239 ****** changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest", "mssql" ], "delta": "0:00:02.177798", "end": "2022-08-03 11:32:51.504154", "failed_when_result": false, "rc": 0, "start": "2022-08-03 11:32:49.326356" } TASK [linux-system-roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:232 Wednesday 03 August 2022 15:32:51 +0000 (0:00:02.593) 0:01:12.833 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:241 Wednesday 03 August 2022 15:32:51 +0000 (0:00:00.062) 0:01:12.895 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:251 Wednesday 03 August 2022 15:32:51 +0000 (0:00:00.034) 0:01:12.929 ****** changed: [/cache/rhel-8.qcow2] => { "changed": true, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [linux-system-roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:258 Wednesday 03 August 2022 15:32:51 +0000 (0:00:00.396) 0:01:13.326 ****** changed: [/cache/rhel-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: mssql-tools-17.10.1.1-1.x86_64", "Installed: unixODBC-devel-2.3.7-1.rh.x86_64", "Installed: msodbcsql17-17.10.1.1-1.x86_64", "Installed: unixODBC-2.3.7-1.rh.x86_64" ] } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:270 Wednesday 03 August 2022 15:32:55 +0000 (0:00:03.581) 0:01:16.908 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the set password matches the existing password] *** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:275 Wednesday 03 August 2022 15:32:55 +0000 (0:00:00.043) 0:01:16.951 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:281 Wednesday 03 August 2022 15:32:55 +0000 (0:00:00.040) 0:01:16.991 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Change the password of the sa user] *********** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:288 Wednesday 03 August 2022 15:32:55 +0000 (0:00:00.039) 0:01:17.031 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input the sql_script.sql sql file to SQL Server] *** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:296 Wednesday 03 August 2022 15:32:55 +0000 (0:00:00.040) 0:01:17.071 ****** included: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/input_sql_file.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.mssql : Verify that the mssql_password variable is defined] *** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/input_sql_file.yml:6 Wednesday 03 August 2022 15:32:55 +0000 (0:00:00.121) 0:01:17.193 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Create a tempfile for the SQL file on the host] *** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/input_sql_file.yml:17 Wednesday 03 August 2022 15:32:55 +0000 (0:00:00.050) 0:01:17.243 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ansible.3_o7fno7", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Copy the sql_script.sql file to the host] ***** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/input_sql_file.yml:24 Wednesday 03 August 2022 15:32:56 +0000 (0:00:00.506) 0:01:17.749 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "checksum": "385f265d232105f634c8f05f20b73a19670dc0bc", "dest": "/tmp/ansible.3_o7fno7", "gid": 0, "group": "root", "md5sum": "8edbc22195757a4f043b10e9367f131b", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 391, "src": "/root/.ansible/tmp/ansible-tmp-1659540776.3987238-28694-1545779382729/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Generate the sql_script.sql template on the host] *** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/input_sql_file.yml:33 Wednesday 03 August 2022 15:32:57 +0000 (0:00:00.987) 0:01:18.737 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/input_sql_file.yml:41 Wednesday 03 August 2022 15:32:57 +0000 (0:00:00.039) 0:01:18.777 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 11:32:45 EDT", "ActiveEnterTimestampMonotonic": "76341050", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target system.slice auditd.service basic.target systemd-journald.socket sysinit.target -.mount", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 11:32:45 EDT", "AssertTimestampMonotonic": "76339737", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 11:32:45 EDT", "ConditionTimestampMonotonic": "76339737", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "15558", "ExecMainStartTimestamp": "Wed 2022-08-03 11:32:45 EDT", "ExecMainStartTimestampMonotonic": "76340995", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "988", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-08-03 11:32:45 EDT", "InactiveExitTimestampMonotonic": "76341050", "InvocationID": "f21a29f531d64ad693407b1838cca4f6", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14648", "LimitSIGPENDINGSoft": "14648", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "15558", "MemoryAccounting": "yes", "MemoryCurrent": "646930432", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount sysinit.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-08-03 11:32:45 EDT", "StateChangeTimestampMonotonic": "76341050", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "143", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 11:32:45 EDT", "WatchdogTimestampMonotonic": "76341049", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/input_sql_file.yml:46 Wednesday 03 August 2022 15:32:57 +0000 (0:00:00.524) 0:01:19.302 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "elapsed": 0, "gid": 988, "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": 7703, "state": "file", "uid": 990 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/input_sql_file.yml:52 Wednesday 03 August 2022 15:32:58 +0000 (0:00:00.551) 0:01:19.854 ****** included: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Wednesday 03 August 2022 15:32:58 +0000 (0:00:00.063) 0:01:19.917 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 11:32:45 EDT", "ActiveEnterTimestampMonotonic": "76341050", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target system.slice auditd.service basic.target systemd-journald.socket sysinit.target -.mount", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 11:32:45 EDT", "AssertTimestampMonotonic": "76339737", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 11:32:45 EDT", "ConditionTimestampMonotonic": "76339737", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "15558", "ExecMainStartTimestamp": "Wed 2022-08-03 11:32:45 EDT", "ExecMainStartTimestampMonotonic": "76340995", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "988", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-08-03 11:32:45 EDT", "InactiveExitTimestampMonotonic": "76341050", "InvocationID": "f21a29f531d64ad693407b1838cca4f6", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14648", "LimitSIGPENDINGSoft": "14648", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "15558", "MemoryAccounting": "yes", "MemoryCurrent": "646950912", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount sysinit.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-08-03 11:32:45 EDT", "StateChangeTimestampMonotonic": "76341050", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "143", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 11:32:45 EDT", "WatchdogTimestampMonotonic": "76341049", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Wednesday 03 August 2022 15:32:59 +0000 (0:00:00.541) 0:01:20.458 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003237", "end": "2022-08-03 11:32:59.538903", "failed_when_result": false, "rc": 1, "start": "2022-08-03 11:32:59.535666" } MSG: non-zero return code TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Wednesday 03 August 2022 15:32:59 +0000 (0:00:00.401) 0:01:20.860 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003138", "end": "2022-08-03 11:32:59.931713", "failed_when_result": false, "rc": 1, "start": "2022-08-03 11:32:59.928575" } MSG: non-zero return code TASK [linux-system-roles.mssql : Set a fact with a password query] ************* task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Wednesday 03 August 2022 15:32:59 +0000 (0:00:00.392) 0:01:21.252 ****** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": "/opt/mssql-tools/bin/sqlcmd -U sa -P p@55w0rD" }, "changed": false } TASK [linux-system-roles.mssql : Input sql_script.sql with the sqlcmd command] *** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/input_sql_file.yml:60 Wednesday 03 August 2022 15:32:59 +0000 (0:00:00.062) 0:01:21.315 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-i", "/tmp/ansible.3_o7fno7", "-b" ], "delta": "0:00:00.315810", "end": "2022-08-03 11:33:00.714050", "rc": 0, "start": "2022-08-03 11:33:00.398240" } STDOUT: Changed database context to 'ExampleDB'. (1 rows affected) (1 rows affected) (1 rows affected) (1 rows affected) TASK [linux-system-roles.mssql : Print the output of the sqlcmd command for sql_script.sql if not empty] *** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/input_sql_file.yml:66 Wednesday 03 August 2022 15:33:00 +0000 (0:00:00.725) 0:01:22.040 ****** ok: [/cache/rhel-8.qcow2] => { "__mssql_sqlcmd_input_file.stdout_lines": [ "Changed database context to 'ExampleDB'.", "", "(1 rows affected)", "", "(1 rows affected)", "", "(1 rows affected)", "", "(1 rows affected)" ] } TASK [linux-system-roles.mssql : Remove the tempfile] ************************** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/input_sql_file.yml:78 Wednesday 03 August 2022 15:33:00 +0000 (0:00:00.065) 0:01:22.106 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_input_file variable] *** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/input_sql_file.yml:89 Wednesday 03 August 2022 15:33:00 +0000 (0:00:00.040) 0:01:22.147 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the mssql_pre_input_sql_file fact] ****** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:302 Wednesday 03 August 2022 15:33:00 +0000 (0:00:00.043) 0:01:22.191 ****** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "mssql_pre_input_sql_file": null }, "changed": false } TASK [linux-system-roles.mssql : Check if the set edition matches the existing edition] *** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:311 Wednesday 03 August 2022 15:33:00 +0000 (0:00:00.052) 0:01:22.243 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:324 Wednesday 03 August 2022 15:33:00 +0000 (0:00:00.039) 0:01:22.283 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Change the edition of MSSQL] ****************** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:331 Wednesday 03 August 2022 15:33:00 +0000 (0:00:00.038) 0:01:22.321 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the IP address setting] ************* task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:340 Wednesday 03 August 2022 15:33:00 +0000 (0:00:00.036) 0:01:22.358 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register the previous tcpport setting] ******** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:347 Wednesday 03 August 2022 15:33:00 +0000 (0:00:00.035) 0:01:22.393 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the 1433 TCP port] ************************************************** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:354 Wednesday 03 August 2022 15:33:01 +0000 (0:00:00.051) 0:01:22.444 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the TCP port setting to 1433] ******* task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:365 Wednesday 03 August 2022 15:33:01 +0000 (0:00:00.049) 0:01:22.494 ****** included: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.mssql : Get the network tcpport setting] ************** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 15:33:01 +0000 (0:00:00.055) 0:01:22.549 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003042", "end": "2022-08-03 11:33:01.631292", "failed_when_result": false, "rc": 1, "start": "2022-08-03 11:33:01.628250" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the network tcpport setting] ******** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 15:33:01 +0000 (0:00:00.404) 0:01:22.954 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.122997", "end": "2022-08-03 11:33:02.180447", "failed_when_result": false, "rc": 0, "start": "2022-08-03 11:33:02.057450" } STDOUT: Validation error on setting 'network.tcpport' Port '1433' is already in use. Please use another port TASK [linux-system-roles.mssql : Unset the network tcpport setting] ************ task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 15:33:02 +0000 (0:00:00.557) 0:01:23.511 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:371 Wednesday 03 August 2022 15:33:02 +0000 (0:00:00.032) 0:01:23.544 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the sqlagent setting] *************** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:389 Wednesday 03 August 2022 15:33:02 +0000 (0:00:00.047) 0:01:23.592 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-fts package] ********** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:396 Wednesday 03 August 2022 15:33:02 +0000 (0:00:00.039) 0:01:23.631 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the powershell package] **************** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:403 Wednesday 03 August 2022 15:33:02 +0000 (0:00:00.038) 0:01:23.670 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-ha package] *********** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:412 Wednesday 03 August 2022 15:33:02 +0000 (0:00:00.036) 0:01:23.706 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the hadrenabled setting] ************ task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:418 Wednesday 03 August 2022 15:33:02 +0000 (0:00:00.041) 0:01:23.747 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the 3979 trace flag is enabled] ****** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:427 Wednesday 03 August 2022 15:33:02 +0000 (0:00:00.037) 0:01:23.785 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:433 Wednesday 03 August 2022 15:33:02 +0000 (0:00:00.036) 0:01:23.822 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the 3979 traceflag] ********************* task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:439 Wednesday 03 August 2022 15:33:02 +0000 (0:00:00.039) 0:01:23.861 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:446 Wednesday 03 August 2022 15:33:02 +0000 (0:00:00.041) 0:01:23.902 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the writethrough setting] *********** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:452 Wednesday 03 August 2022 15:33:02 +0000 (0:00:00.036) 0:01:23.939 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Copy certificate and private_key files to the host] *** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:463 Wednesday 03 August 2022 15:33:02 +0000 (0:00:00.036) 0:01:23.976 ****** skipping: [/cache/rhel-8.qcow2] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlscert setting] **************** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:479 Wednesday 03 August 2022 15:33:02 +0000 (0:00:00.042) 0:01:24.018 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlskey setting] ***************** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:488 Wednesday 03 August 2022 15:33:02 +0000 (0:00:00.041) 0:01:24.060 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlsprotocols setting] *********** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:497 Wednesday 03 August 2022 15:33:02 +0000 (0:00:00.039) 0:01:24.099 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the forceencryption setting] ******** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:504 Wednesday 03 August 2022 15:33:02 +0000 (0:00:00.038) 0:01:24.138 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the 5022/tcp port and enable the high-availability service in firewall] *** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:514 Wednesday 03 August 2022 15:33:02 +0000 (0:00:00.040) 0:01:24.178 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:533 Wednesday 03 August 2022 15:33:02 +0000 (0:00:00.087) 0:01:24.266 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-ha package] *********** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:544 Wednesday 03 August 2022 15:33:02 +0000 (0:00:00.049) 0:01:24.316 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:550 Wednesday 03 August 2022 15:33:02 +0000 (0:00:00.044) 0:01:24.360 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:557 Wednesday 03 August 2022 15:33:02 +0000 (0:00:00.045) 0:01:24.405 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable AlwaysOn Health events] **************** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:565 Wednesday 03 August 2022 15:33:03 +0000 (0:00:00.049) 0:01:24.455 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:570 Wednesday 03 August 2022 15:33:03 +0000 (0:00:00.050) 0:01:24.506 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key files] ***** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:576 Wednesday 03 August 2022 15:33:03 +0000 (0:00:00.048) 0:01:24.554 ****** skipping: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (item=/var/opt/mssql/data/.pvk) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.pvk", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create master key encryption] ***************** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:585 Wednesday 03 August 2022 15:33:03 +0000 (0:00:00.049) 0:01:24.604 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create and back up certificate] *************** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:590 Wednesday 03 August 2022 15:33:03 +0000 (0:00:00.047) 0:01:24.652 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fetch certificate and private key from the primary node to the control node] *** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:596 Wednesday 03 August 2022 15:33:03 +0000 (0:00:00.048) 0:01:24.700 ****** skipping: [/cache/rhel-8.qcow2] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create database mirroring endpoints] ********** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:608 Wednesday 03 August 2022 15:33:03 +0000 (0:00:00.056) 0:01:24.756 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create the] *********************************** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:613 Wednesday 03 August 2022 15:33:03 +0000 (0:00:00.049) 0:01:24.806 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get mssql-server version to see if WRITE_LEASE_VALIDITY is available] *** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:619 Wednesday 03 August 2022 15:33:03 +0000 (0:00:00.047) 0:01:24.854 ****** skipping: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Create the availability group] *************** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:624 Wednesday 03 August 2022 15:33:03 +0000 (0:00:00.047) 0:01:24.902 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to the login] ************** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:629 Wednesday 03 August 2022 15:33:03 +0000 (0:00:00.047) 0:01:24.949 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Back up and replicate the database] ********** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:634 Wednesday 03 August 2022 15:33:03 +0000 (0:00:00.045) 0:01:24.995 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set a fact to indicate successful set up on the primary replica] *** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:641 Wednesday 03 August 2022 15:33:03 +0000 (0:00:00.054) 0:01:25.049 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fail if the primary node failed] ************** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:668 Wednesday 03 August 2022 15:33:03 +0000 (0:00:00.053) 0:01:25.103 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-ha package] *********** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:675 Wednesday 03 August 2022 15:33:03 +0000 (0:00:00.081) 0:01:25.185 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:681 Wednesday 03 August 2022 15:33:03 +0000 (0:00:00.047) 0:01:25.232 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:688 Wednesday 03 August 2022 15:33:03 +0000 (0:00:00.051) 0:01:25.283 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable AlwaysOn Health events] **************** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:696 Wednesday 03 August 2022 15:33:03 +0000 (0:00:00.048) 0:01:25.332 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create master key encryption] ***************** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:701 Wednesday 03 August 2022 15:33:03 +0000 (0:00:00.045) 0:01:25.378 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:706 Wednesday 03 August 2022 15:33:04 +0000 (0:00:00.048) 0:01:25.426 ****** skipping: [/cache/rhel-8.qcow2] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:718 Wednesday 03 August 2022 15:33:04 +0000 (0:00:00.066) 0:01:25.493 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restore certificate] ************************** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:724 Wednesday 03 August 2022 15:33:04 +0000 (0:00:00.053) 0:01:25.546 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create database mirroring endpoints] ********** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:729 Wednesday 03 August 2022 15:33:04 +0000 (0:00:00.050) 0:01:25.596 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create the login] **************************** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:734 Wednesday 03 August 2022 15:33:04 +0000 (0:00:00.053) 0:01:25.650 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Join synchronous and witness servers to the availability group] *** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:739 Wednesday 03 August 2022 15:33:04 +0000 (0:00:00.051) 0:01:25.701 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to the login] ************** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:744 Wednesday 03 August 2022 15:33:04 +0000 (0:00:00.058) 0:01:25.760 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the database exists on secondaries] *** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:749 Wednesday 03 August 2022 15:33:04 +0000 (0:00:00.048) 0:01:25.809 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key from the control node] *** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:756 Wednesday 03 August 2022 15:33:04 +0000 (0:00:00.051) 0:01:25.860 ****** skipping: [/cache/rhel-8.qcow2] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=key) => { "ansible_loop_var": "item", "changed": false, "item": "key", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Save credentials for the SQL Server login] *** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:769 Wednesday 03 August 2022 15:33:04 +0000 (0:00:00.053) 0:01:25.914 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:780 Wednesday 03 August 2022 15:33:04 +0000 (0:00:00.046) 0:01:25.960 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the database exists] *************** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:785 Wednesday 03 August 2022 15:33:04 +0000 (0:00:00.049) 0:01:26.010 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf] *** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:793 Wednesday 03 August 2022 15:33:04 +0000 (0:00:00.047) 0:01:26.058 ****** changed: [/cache/rhel-8.qcow2] => { "changed": true } MSG: Block inserted TASK [linux-system-roles.mssql : Input the sql_script.sql sql file to SQL Server] *** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:802 Wednesday 03 August 2022 15:33:05 +0000 (0:00:00.612) 0:01:26.670 ****** included: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/input_sql_file.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.mssql : Verify that the mssql_password variable is defined] *** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/input_sql_file.yml:6 Wednesday 03 August 2022 15:33:05 +0000 (0:00:00.063) 0:01:26.733 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Create a tempfile for the SQL file on the host] *** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/input_sql_file.yml:17 Wednesday 03 August 2022 15:33:05 +0000 (0:00:00.046) 0:01:26.779 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ansible.gwsw9xne", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Copy the sql_script.sql file to the host] ***** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/input_sql_file.yml:24 Wednesday 03 August 2022 15:33:05 +0000 (0:00:00.392) 0:01:27.172 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "checksum": "385f265d232105f634c8f05f20b73a19670dc0bc", "dest": "/tmp/ansible.gwsw9xne", "gid": 0, "group": "root", "md5sum": "8edbc22195757a4f043b10e9367f131b", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 391, "src": "/root/.ansible/tmp/ansible-tmp-1659540785.8230965-29020-155336419129395/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Generate the sql_script.sql template on the host] *** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/input_sql_file.yml:33 Wednesday 03 August 2022 15:33:06 +0000 (0:00:00.716) 0:01:27.889 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/input_sql_file.yml:41 Wednesday 03 August 2022 15:33:06 +0000 (0:00:00.038) 0:01:27.928 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 11:32:45 EDT", "ActiveEnterTimestampMonotonic": "76341050", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target system.slice auditd.service basic.target systemd-journald.socket sysinit.target -.mount", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 11:32:45 EDT", "AssertTimestampMonotonic": "76339737", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 11:32:45 EDT", "ConditionTimestampMonotonic": "76339737", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "15558", "ExecMainStartTimestamp": "Wed 2022-08-03 11:32:45 EDT", "ExecMainStartTimestampMonotonic": "76340995", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "988", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-08-03 11:32:45 EDT", "InactiveExitTimestampMonotonic": "76341050", "InvocationID": "f21a29f531d64ad693407b1838cca4f6", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14648", "LimitSIGPENDINGSoft": "14648", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "15558", "MemoryAccounting": "yes", "MemoryCurrent": "662904832", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount sysinit.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-08-03 11:32:45 EDT", "StateChangeTimestampMonotonic": "76341050", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "144", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 11:32:45 EDT", "WatchdogTimestampMonotonic": "76341049", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/input_sql_file.yml:46 Wednesday 03 August 2022 15:33:07 +0000 (0:00:00.561) 0:01:28.489 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "elapsed": 0, "gid": 988, "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": 8097, "state": "file", "uid": 990 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/input_sql_file.yml:52 Wednesday 03 August 2022 15:33:07 +0000 (0:00:00.408) 0:01:28.898 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input sql_script.sql with the sqlcmd command] *** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/input_sql_file.yml:60 Wednesday 03 August 2022 15:33:07 +0000 (0:00:00.039) 0:01:28.938 ****** fatal: [/cache/rhel-8.qcow2]: FAILED! => { "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-i", "/tmp/ansible.gwsw9xne", "-b" ], "delta": "0:00:00.026800", "end": "2022-08-03 11:33:08.040373", "rc": 1, "start": "2022-08-03 11:33:08.013573" } STDOUT: Msg 15025, Level 16, State 1, Server ibm-p8-kvm-03-guest-02, Line 1 The server principal 'MyLogin' already exists. Msg 15023, Level 16, State 1, Server ibm-p8-kvm-03-guest-02, Line 2 User, group, or role 'MyUser' already exists in the current database. Msg 1801, Level 16, State 3, Server ibm-p8-kvm-03-guest-02, Line 3 Database 'ExampleDB' already exists. Choose a different database name. MSG: non-zero return code TASK [linux-system-roles.mssql : Print the output of the sqlcmd command for sql_script.sql if not empty] *** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/input_sql_file.yml:66 Wednesday 03 August 2022 15:33:07 +0000 (0:00:00.431) 0:01:29.369 ****** ok: [/cache/rhel-8.qcow2] => { "__mssql_sqlcmd_input_file.stdout_lines": [ "Msg 15025, Level 16, State 1, Server ibm-p8-kvm-03-guest-02, Line 1", "The server principal 'MyLogin' already exists.", "Msg 15023, Level 16, State 1, Server ibm-p8-kvm-03-guest-02, Line 2", "User, group, or role 'MyUser' already exists in the current database.", "Msg 1801, Level 16, State 3, Server ibm-p8-kvm-03-guest-02, Line 3", "Database 'ExampleDB' already exists. Choose a different database name." ] } TASK [linux-system-roles.mssql : Remove the tempfile] ************************** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/input_sql_file.yml:78 Wednesday 03 August 2022 15:33:08 +0000 (0:00:00.066) 0:01:29.436 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_input_file variable] *** task path: /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/input_sql_file.yml:89 Wednesday 03 August 2022 15:33:08 +0000 (0:00:00.039) 0:01:29.476 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=48 changed=10 unreachable=0 failed=1 skipped=82 rescued=0 ignored=0 Wednesday 03 August 2022 15:33:08 +0000 (0:00:00.017) 0:01:29.493 ****** =============================================================================== linux-system-roles.mssql : Ensure the mssql-server package ------------- 51.04s /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:134 ------ linux-system-roles.mssql : Set up MSSQL --------------------------------- 5.51s /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:189 ------ linux-system-roles.mssql : Ensure that SQL Server client tools are installed --- 3.58s /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:258 ------ linux-system-roles.mssql : Attempt to add mssql to the list of Tuned profiles --- 2.59s /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:219 ------ linux-system-roles.mssql : Ensure that the tuned-profiles-mssql package is installed --- 1.85s /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:198 ------ linux-system-roles.mssql : Gather system services facts ----------------- 1.80s /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:165 ------ linux-system-roles.mssql : Gather package facts ------------------------- 1.80s /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:85 ------- set up internal repositories -------------------------------------------- 1.46s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- linux-system-roles.mssql : Ensure ansible_facts used by role ------------ 1.37s /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 ---- Gathering Facts --------------------------------------------------------- 1.23s /tmp/tmpwrabcf_7/tests/tests_input_sql_file_2019.yml:3 ------------------------ linux-system-roles.mssql : Copy the sql_script.sql file to the host ----- 0.99s /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/input_sql_file.yml:24 linux-system-roles.mssql : Ensure that the tuned service is started and enabled --- 0.84s /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:203 ------ linux-system-roles.mssql : Deploy the GPG key for Microsoft repositories --- 0.80s /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:101 ------ linux-system-roles.mssql : Input sql_script.sql with the sqlcmd command --- 0.73s /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/input_sql_file.yml:60 linux-system-roles.mssql : Copy the sql_script.sql file to the host ----- 0.72s /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/input_sql_file.yml:24 linux-system-roles.mssql : Get the active Tuned profiles ---------------- 0.61s /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:209 ------ linux-system-roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf --- 0.61s /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:793 ------ linux-system-roles.mssql : Ensure that the mssql-server service is started --- 0.56s /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/input_sql_file.yml:41 linux-system-roles.mssql : Configure the network tcpport setting -------- 0.56s /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:11 linux-system-roles.mssql : Check if the errorlog file exists and its location --- 0.55s /tmp/tmpwrabcf_7/tests/roles/linux-system-roles.mssql/tasks/main.yml:150 ------ ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmp5m6ig2cl executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: rhel-8_setup.yml ***************************************************** 1 plays in /cache/rhel-8_setup.yml PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /cache/rhel-8_setup.yml:5 Wednesday 03 August 2022 16:09:30 +0000 (0:00:00.018) 0:00:00.018 ****** changed: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 16:09:31 +0000 (0:00:01.389) 0:00:01.408 ****** =============================================================================== set up internal repositories -------------------------------------------- 1.39s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- PLAYBOOK: tests_input_sql_file_2019.yml **************************************** 1 plays in /tmp/tmpxtlv9cld/tests/mssql/tests_input_sql_file_2019.yml PLAY [Ensure that the role can input sql files to MSSQL] *********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpxtlv9cld/tests/mssql/tests_input_sql_file_2019.yml:3 Wednesday 03 August 2022 16:09:31 +0000 (0:00:00.011) 0:00:01.419 ****** ok: [/cache/rhel-8.qcow2] META: ran handlers TASK [Set up MSSQL and input sql files] **************************************** task path: /tmp/tmpxtlv9cld/tests/mssql/tests_input_sql_file_2019.yml:10 Wednesday 03 August 2022 16:09:32 +0000 (0:00:01.149) 0:00:02.569 ****** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Wednesday 03 August 2022 16:09:32 +0000 (0:00:00.113) 0:00:02.683 ****** included: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Wednesday 03 August 2022 16:09:32 +0000 (0:00:00.031) 0:00:02.715 ****** ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:10 Wednesday 03 August 2022 16:09:33 +0000 (0:00:00.835) 0:00:03.550 ****** ok: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/8/prod/", "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/" }, "ansible_included_var_files": [ "/tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/8/prod/", "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/" }, "ansible_included_var_files": [ "/tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.6.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Wednesday 03 August 2022 16:09:33 +0000 (0:00:00.085) 0:00:03.635 ****** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:12 Wednesday 03 August 2022 16:09:33 +0000 (0:00:00.028) 0:00:03.664 ****** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [fedora.linux_system_roles.mssql : Link the deprecated accept_microsoft_sql_server_2019_standard_eula fact] *** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:16 Wednesday 03 August 2022 16:09:33 +0000 (0:00:00.029) 0:00:03.694 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:22 Wednesday 03 August 2022 16:09:33 +0000 (0:00:00.023) 0:00:03.717 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that the user accepts EULA variables] *** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:27 Wednesday 03 August 2022 16:09:34 +0000 (0:00:00.024) 0:00:03.742 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:39 Wednesday 03 August 2022 16:09:34 +0000 (0:00:00.073) 0:00:03.815 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if the mssql_upgrade variable is provided correctly] *** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Wednesday 03 August 2022 16:09:34 +0000 (0:00:00.067) 0:00:03.882 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:55 Wednesday 03 August 2022 16:09:34 +0000 (0:00:00.066) 0:00:03.949 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:63 Wednesday 03 August 2022 16:09:34 +0000 (0:00:00.049) 0:00:03.998 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:71 Wednesday 03 August 2022 16:09:34 +0000 (0:00:00.043) 0:00:04.042 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:80 Wednesday 03 August 2022 16:09:34 +0000 (0:00:00.036) 0:00:04.078 ****** ok: [/cache/rhel-8.qcow2] => { "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 : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:85 Wednesday 03 August 2022 16:09:36 +0000 (0:00:02.203) 0:00:06.281 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Wednesday 03 August 2022 16:09:36 +0000 (0:00:00.044) 0:00:06.325 ****** changed: [/cache/rhel-8.qcow2] => { "changed": true } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server 2017 repo] *** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:102 Wednesday 03 August 2022 16:09:37 +0000 (0:00:00.882) 0:00:07.208 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the Microsoft SQL Server 2017 repository to upgrade to 2019] *** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:113 Wednesday 03 August 2022 16:09:37 +0000 (0:00:00.047) 0:00:07.255 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server 2019 repository] *** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:119 Wednesday 03 August 2022 16:09:37 +0000 (0:00:00.048) 0:00:07.304 ****** changed: [/cache/rhel-8.qcow2] => { "changed": true, "repo": "packages-microsoft-com-mssql-server-2019", "state": "present" } TASK [fedora.linux_system_roles.mssql : Ensure the mssql-server package] ******* task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:129 Wednesday 03 August 2022 16:09:37 +0000 (0:00:00.405) 0:00:07.710 ****** changed: [/cache/rhel-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: mssql-server-15.0.4236.7-1.x86_64", "Installed: gdb-8.2-18.el8.x86_64", "Installed: python36-3.6.8-38.module+el8.5.0+12207+5c5719bc.x86_64", "Installed: cyrus-sasl-2.1.27-6.el8_5.x86_64", "Installed: libtool-ltdl-2.4.6-25.el8.x86_64", "Installed: gdb-headless-8.2-18.el8.x86_64", "Installed: cyrus-sasl-gssapi-2.1.27-6.el8_5.x86_64", "Installed: kernel-headers-4.18.0-372.9.1.el8.x86_64", "Installed: libatomic_ops-7.6.2-3.el8.x86_64", "Installed: python3-setuptools-39.2.0-6.el8.noarch", "Installed: isl-0.16.1-6.el8.x86_64", "Installed: libxcrypt-devel-4.1.1-6.el8.x86_64", "Installed: guile-5:2.0.14-7.el8.x86_64", "Installed: python3-pip-9.0.3-22.el8.noarch", "Installed: gc-7.6.4-3.el8.x86_64", "Installed: gcc-8.5.0-10.el8.x86_64", "Installed: gcc-gdb-plugin-8.5.0-10.el8.x86_64", "Installed: glibc-devel-2.28-189.1.el8.x86_64", "Installed: libmpc-1.1.0-9.1.el8.x86_64", "Installed: glibc-headers-2.28-189.1.el8.x86_64", "Installed: libatomic-8.5.0-10.el8.x86_64", "Installed: cpp-8.5.0-10.el8.x86_64", "Installed: binutils-2.30-113.el8.x86_64", "Installed: libbabeltrace-1.5.4-3.el8.x86_64", "Installed: libipt-1.6.1-8.el8.x86_64" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:137 Wednesday 03 August 2022 16:10:29 +0000 (0:00:51.859) 0:00:59.569 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:145 Wednesday 03 August 2022 16:10:29 +0000 (0:00:00.067) 0:00:59.637 ****** ok: [/cache/rhel-8.qcow2] => { "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.004810", "end": "2022-08-03 12:10:29.751621", "rc": 0, "start": "2022-08-03 12:10:29.746811" } TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:160 Wednesday 03 August 2022 16:10:30 +0000 (0:00:00.500) 0:01:00.137 ****** ok: [/cache/rhel-8.qcow2] => { "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 : Verify that the variables required for setting up MSSQL are defined] *** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:174 Wednesday 03 August 2022 16:10:32 +0000 (0:00:01.756) 0:01:01.894 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 Wednesday 03 August 2022 16:10:32 +0000 (0:00:00.072) 0:01:01.966 ****** changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "-n", "setup" ], "delta": "0:00:05.335975", "end": "2022-08-03 12:10:37.328749", "rc": 0, "start": "2022-08-03 12:10:31.992774" } STDOUT: The licensing PID was successfully processed. The new edition is [Enterprise Evaluation Edition]. ForceFlush is enabled for this instance. ForceFlush feature is enabled for log durability. The license terms for this product can be found in /usr/share/doc/mssql-server or downloaded from: https://go.microsoft.com/fwlink/?LinkId=2104294&clcid=0x409 The privacy statement can be viewed at: https://go.microsoft.com/fwlink/?LinkId=853010&clcid=0x409 Configuring SQL Server... Setup has completed successfully. SQL Server is now starting. STDERR: Created symlink /etc/systemd/system/multi-user.target.wants/mssql-server.service → /usr/lib/systemd/system/mssql-server.service. TASK [fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:193 Wednesday 03 August 2022 16:10:38 +0000 (0:00:05.770) 0:01:07.737 ****** changed: [/cache/rhel-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: tuned-profiles-mssql-2.18.0-2.el8.noarch" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:198 Wednesday 03 August 2022 16:10:39 +0000 (0:00:01.884) 0:01:09.621 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 12:09:25 EDT", "ActiveEnterTimestampMonotonic": "5083686", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service dbus.socket basic.target systemd-journald.socket sysinit.target network.target systemd-sysctl.service system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 12:09:24 EDT", "AssertTimestampMonotonic": "4697074", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 12:09:24 EDT", "ConditionTimestampMonotonic": "4697074", "ConfigurationDirectoryMode": "0755", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "885", "ExecMainStartTimestamp": "Wed 2022-08-03 12:09:24 EDT", "ExecMainStartTimestampMonotonic": "4698194", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-08-03 12:09:24 EDT", "InactiveExitTimestampMonotonic": "4698237", "InvocationID": "9f237cad908a488883b28f27c94d7b32", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14648", "LimitNPROCSoft": "14648", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14648", "LimitSIGPENDINGSoft": "14648", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "885", "MemoryAccounting": "yes", "MemoryCurrent": "20926464", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "polkit.service dbus.service sysinit.target dbus.socket system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-08-03 12:09:25 EDT", "StateChangeTimestampMonotonic": "5083686", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "23436", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 12:09:25 EDT", "WatchdogTimestampMonotonic": "5083683", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:204 Wednesday 03 August 2022 16:10:40 +0000 (0:00:00.894) 0:01:10.516 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.177898", "end": "2022-08-03 12:10:40.720692", "rc": 0, "start": "2022-08-03 12:10:40.542794" } STDOUT: Current active profile: virtual-guest TASK [fedora.linux_system_roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:214 Wednesday 03 August 2022 16:10:41 +0000 (0:00:00.596) 0:01:11.113 ****** changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest", "mssql" ], "delta": "0:00:02.149536", "end": "2022-08-03 12:10:43.263596", "failed_when_result": false, "rc": 0, "start": "2022-08-03 12:10:41.114060" } TASK [fedora.linux_system_roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:227 Wednesday 03 August 2022 16:10:43 +0000 (0:00:02.542) 0:01:13.655 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:236 Wednesday 03 August 2022 16:10:43 +0000 (0:00:00.044) 0:01:13.700 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:246 Wednesday 03 August 2022 16:10:44 +0000 (0:00:00.035) 0:01:13.736 ****** changed: [/cache/rhel-8.qcow2] => { "changed": true, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:253 Wednesday 03 August 2022 16:10:44 +0000 (0:00:00.422) 0:01:14.158 ****** changed: [/cache/rhel-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: mssql-tools-17.10.1.1-1.x86_64", "Installed: unixODBC-devel-2.3.7-1.rh.x86_64", "Installed: msodbcsql17-17.10.1.1-1.x86_64", "Installed: unixODBC-2.3.7-1.rh.x86_64" ] } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:265 Wednesday 03 August 2022 16:10:47 +0000 (0:00:03.498) 0:01:17.657 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:270 Wednesday 03 August 2022 16:10:48 +0000 (0:00:00.074) 0:01:17.731 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:276 Wednesday 03 August 2022 16:10:48 +0000 (0:00:00.039) 0:01:17.771 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Change the password of the sa user] **** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:283 Wednesday 03 August 2022 16:10:48 +0000 (0:00:00.042) 0:01:17.813 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input the sql_script.sql sql file to SQL Server] *** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Wednesday 03 August 2022 16:10:48 +0000 (0:00:00.038) 0:01:17.852 ****** included: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_file.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.mssql : Verify that the mssql_password variable is defined] *** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_file.yml:6 Wednesday 03 August 2022 16:10:48 +0000 (0:00:00.067) 0:01:17.920 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Create a tempfile for the SQL file on the host] *** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_file.yml:17 Wednesday 03 August 2022 16:10:48 +0000 (0:00:00.045) 0:01:17.965 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ansible.r3ru0i1l", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Copy the sql_script.sql file to the host] *** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_file.yml:24 Wednesday 03 August 2022 16:10:48 +0000 (0:00:00.487) 0:01:18.453 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "checksum": "385f265d232105f634c8f05f20b73a19670dc0bc", "dest": "/tmp/ansible.r3ru0i1l", "gid": 0, "group": "root", "md5sum": "8edbc22195757a4f043b10e9367f131b", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 391, "src": "/root/.ansible/tmp/ansible-tmp-1659543048.7991757-58384-111813788264739/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Generate the sql_script.sql template on the host] *** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_file.yml:33 Wednesday 03 August 2022 16:10:49 +0000 (0:00:00.958) 0:01:19.411 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_file.yml:41 Wednesday 03 August 2022 16:10:49 +0000 (0:00:00.042) 0:01:19.453 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 12:10:37 EDT", "ActiveEnterTimestampMonotonic": "77080760", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "auditd.service systemd-journald.socket -.mount system.slice basic.target sysinit.target network.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 12:10:37 EDT", "AssertTimestampMonotonic": "77079120", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 12:10:37 EDT", "ConditionTimestampMonotonic": "77079119", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "15565", "ExecMainStartTimestamp": "Wed 2022-08-03 12:10:37 EDT", "ExecMainStartTimestampMonotonic": "77080711", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "988", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-08-03 12:10:37 EDT", "InactiveExitTimestampMonotonic": "77080760", "InvocationID": "48f9cf4d473b433a9a3586954cda881c", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14648", "LimitSIGPENDINGSoft": "14648", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "15565", "MemoryAccounting": "yes", "MemoryCurrent": "649719808", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice -.mount sysinit.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-08-03 12:10:37 EDT", "StateChangeTimestampMonotonic": "77080760", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "144", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 12:10:37 EDT", "WatchdogTimestampMonotonic": "77080753", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_file.yml:46 Wednesday 03 August 2022 16:10:50 +0000 (0:00:00.517) 0:01:19.971 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "elapsed": 0, "gid": 988, "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": 7703, "state": "file", "uid": 990 } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_file.yml:52 Wednesday 03 August 2022 16:10:50 +0000 (0:00:00.507) 0:01:20.478 ****** included: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Wednesday 03 August 2022 16:10:50 +0000 (0:00:00.066) 0:01:20.545 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 12:10:37 EDT", "ActiveEnterTimestampMonotonic": "77080760", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "auditd.service systemd-journald.socket -.mount system.slice basic.target sysinit.target network.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 12:10:37 EDT", "AssertTimestampMonotonic": "77079120", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 12:10:37 EDT", "ConditionTimestampMonotonic": "77079119", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "15565", "ExecMainStartTimestamp": "Wed 2022-08-03 12:10:37 EDT", "ExecMainStartTimestampMonotonic": "77080711", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "988", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-08-03 12:10:37 EDT", "InactiveExitTimestampMonotonic": "77080760", "InvocationID": "48f9cf4d473b433a9a3586954cda881c", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14648", "LimitSIGPENDINGSoft": "14648", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "15565", "MemoryAccounting": "yes", "MemoryCurrent": "649940992", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice -.mount sysinit.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-08-03 12:10:37 EDT", "StateChangeTimestampMonotonic": "77080760", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "145", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 12:10:37 EDT", "WatchdogTimestampMonotonic": "77080753", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Wednesday 03 August 2022 16:10:51 +0000 (0:00:00.526) 0:01:21.071 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003631", "end": "2022-08-03 12:10:51.083389", "failed_when_result": false, "rc": 1, "start": "2022-08-03 12:10:51.079758" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Wednesday 03 August 2022 16:10:51 +0000 (0:00:00.404) 0:01:21.476 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002896", "end": "2022-08-03 12:10:51.497788", "failed_when_result": false, "rc": 1, "start": "2022-08-03 12:10:51.494892" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a password query] ****** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Wednesday 03 August 2022 16:10:52 +0000 (0:00:00.423) 0:01:21.899 ****** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": "/opt/mssql-tools/bin/sqlcmd -U sa -P p@55w0rD" }, "changed": false } TASK [fedora.linux_system_roles.mssql : Input sql_script.sql with the sqlcmd command] *** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_file.yml:60 Wednesday 03 August 2022 16:10:52 +0000 (0:00:00.082) 0:01:21.981 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-i", "/tmp/ansible.r3ru0i1l", "-b" ], "delta": "0:00:00.295100", "end": "2022-08-03 12:10:52.319265", "rc": 0, "start": "2022-08-03 12:10:52.024165" } STDOUT: Changed database context to 'ExampleDB'. (1 rows affected) (1 rows affected) (1 rows affected) (1 rows affected) TASK [fedora.linux_system_roles.mssql : Print the output of the sqlcmd command for sql_script.sql if not empty] *** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_file.yml:66 Wednesday 03 August 2022 16:10:52 +0000 (0:00:00.730) 0:01:22.712 ****** ok: [/cache/rhel-8.qcow2] => { "__mssql_sqlcmd_input_file.stdout_lines": [ "Changed database context to 'ExampleDB'.", "", "(1 rows affected)", "", "(1 rows affected)", "", "(1 rows affected)", "", "(1 rows affected)" ] } TASK [fedora.linux_system_roles.mssql : Remove the tempfile] ******************* task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_file.yml:78 Wednesday 03 August 2022 16:10:53 +0000 (0:00:00.067) 0:01:22.779 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_input_file variable] *** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_file.yml:89 Wednesday 03 August 2022 16:10:53 +0000 (0:00:00.044) 0:01:22.824 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the mssql_pre_input_sql_file fact] *** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:297 Wednesday 03 August 2022 16:10:53 +0000 (0:00:00.040) 0:01:22.865 ****** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "mssql_pre_input_sql_file": null }, "changed": false } TASK [fedora.linux_system_roles.mssql : Check if the set edition matches the existing edition] *** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:306 Wednesday 03 August 2022 16:10:53 +0000 (0:00:00.044) 0:01:22.910 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:319 Wednesday 03 August 2022 16:10:53 +0000 (0:00:00.039) 0:01:22.949 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Change the edition of MSSQL] *********** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:326 Wednesday 03 August 2022 16:10:53 +0000 (0:00:00.035) 0:01:22.985 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the IP address setting] ****** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:335 Wednesday 03 August 2022 16:10:53 +0000 (0:00:00.037) 0:01:23.023 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:342 Wednesday 03 August 2022 16:10:53 +0000 (0:00:00.038) 0:01:23.061 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the 1433 TCP port] ************************************************** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:349 Wednesday 03 August 2022 16:10:53 +0000 (0:00:00.047) 0:01:23.109 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the TCP port setting to 1433] *** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:360 Wednesday 03 August 2022 16:10:53 +0000 (0:00:00.048) 0:01:23.157 ****** included: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.mssql : Get the network tcpport setting] ******* task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 16:10:53 +0000 (0:00:00.060) 0:01:23.217 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003031", "end": "2022-08-03 12:10:53.228361", "failed_when_result": false, "rc": 1, "start": "2022-08-03 12:10:53.225330" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the network tcpport setting] *** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 16:10:53 +0000 (0:00:00.434) 0:01:23.652 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.109773", "end": "2022-08-03 12:10:53.776808", "failed_when_result": false, "rc": 0, "start": "2022-08-03 12:10:53.667035" } 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 network tcpport setting] ***** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 16:10:54 +0000 (0:00:00.534) 0:01:24.186 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:366 Wednesday 03 August 2022 16:10:54 +0000 (0:00:00.034) 0:01:24.221 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:384 Wednesday 03 August 2022 16:10:54 +0000 (0:00:00.046) 0:01:24.267 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the mssql-server-fts package] *** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:391 Wednesday 03 August 2022 16:10:54 +0000 (0:00:00.039) 0:01:24.307 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the powershell package] ********* task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:398 Wednesday 03 August 2022 16:10:54 +0000 (0:00:00.042) 0:01:24.350 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the mssql-server-ha package] **** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:407 Wednesday 03 August 2022 16:10:54 +0000 (0:00:00.040) 0:01:24.391 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the hadrenabled setting] ***** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:413 Wednesday 03 August 2022 16:10:54 +0000 (0:00:00.038) 0:01:24.429 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:422 Wednesday 03 August 2022 16:10:54 +0000 (0:00:00.040) 0:01:24.469 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:428 Wednesday 03 August 2022 16:10:54 +0000 (0:00:00.037) 0:01:24.506 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:434 Wednesday 03 August 2022 16:10:54 +0000 (0:00:00.038) 0:01:24.545 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:441 Wednesday 03 August 2022 16:10:54 +0000 (0:00:00.036) 0:01:24.582 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:447 Wednesday 03 August 2022 16:10:54 +0000 (0:00:00.038) 0:01:24.620 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Copy certificate and private_key files to the host] *** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:458 Wednesday 03 August 2022 16:10:54 +0000 (0:00:00.040) 0:01:24.661 ****** skipping: [/cache/rhel-8.qcow2] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:474 Wednesday 03 August 2022 16:10:55 +0000 (0:00:00.062) 0:01:24.723 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlskey setting] ********** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:483 Wednesday 03 August 2022 16:10:55 +0000 (0:00:00.046) 0:01:24.769 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlsprotocols setting] **** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 Wednesday 03 August 2022 16:10:55 +0000 (0:00:00.040) 0:01:24.809 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the forceencryption setting] *** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:499 Wednesday 03 August 2022 16:10:55 +0000 (0:00:00.092) 0:01:24.902 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the 5022/tcp port and enable the high-availability service in firewall] *** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:509 Wednesday 03 August 2022 16:10:55 +0000 (0:00:00.039) 0:01:24.942 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:528 Wednesday 03 August 2022 16:10:55 +0000 (0:00:00.045) 0:01:24.988 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the mssql-server-ha package] **** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:539 Wednesday 03 August 2022 16:10:55 +0000 (0:00:00.047) 0:01:25.035 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:545 Wednesday 03 August 2022 16:10:55 +0000 (0:00:00.046) 0:01:25.082 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:552 Wednesday 03 August 2022 16:10:55 +0000 (0:00:00.051) 0:01:25.133 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable AlwaysOn Health events] ********* task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:559 Wednesday 03 August 2022 16:10:55 +0000 (0:00:00.051) 0:01:25.185 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:564 Wednesday 03 August 2022 16:10:55 +0000 (0:00:00.046) 0:01:25.231 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:570 Wednesday 03 August 2022 16:10:55 +0000 (0:00:00.049) 0:01:25.281 ****** skipping: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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 : Create master key encryption] ********** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:579 Wednesday 03 August 2022 16:10:55 +0000 (0:00:00.054) 0:01:25.335 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create and back up certificate] ******** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:584 Wednesday 03 August 2022 16:10:55 +0000 (0:00:00.046) 0:01:25.382 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch certificate and private key from the primary node to the control node] *** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:590 Wednesday 03 August 2022 16:10:55 +0000 (0:00:00.048) 0:01:25.430 ****** skipping: [/cache/rhel-8.qcow2] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create database mirroring endpoints] *** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:602 Wednesday 03 August 2022 16:10:55 +0000 (0:00:00.055) 0:01:25.486 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create the] **************************** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:607 Wednesday 03 August 2022 16:10:55 +0000 (0:00:00.052) 0:01:25.539 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get mssql-server version to see if WRITE_LEASE_VALIDITY is available] *** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:613 Wednesday 03 August 2022 16:10:55 +0000 (0:00:00.049) 0:01:25.588 ****** skipping: [/cache/rhel-8.qcow2] => { "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 : Create the availability group] ******** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:618 Wednesday 03 August 2022 16:10:55 +0000 (0:00:00.048) 0:01:25.636 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to the login] ******* task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:623 Wednesday 03 August 2022 16:10:55 +0000 (0:00:00.050) 0:01:25.687 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Back up and replicate the database] *** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:628 Wednesday 03 August 2022 16:10:56 +0000 (0:00:00.047) 0:01:25.735 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set a fact to indicate successful set up on the primary replica] *** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:635 Wednesday 03 August 2022 16:10:56 +0000 (0:00:00.090) 0:01:25.825 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fail if the primary node failed] ******* task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:662 Wednesday 03 August 2022 16:10:56 +0000 (0:00:00.053) 0:01:25.879 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the mssql-server-ha package] **** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:669 Wednesday 03 August 2022 16:10:56 +0000 (0:00:00.052) 0:01:25.932 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:675 Wednesday 03 August 2022 16:10:56 +0000 (0:00:00.048) 0:01:25.981 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:682 Wednesday 03 August 2022 16:10:56 +0000 (0:00:00.045) 0:01:26.027 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable AlwaysOn Health events] ********* task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:689 Wednesday 03 August 2022 16:10:56 +0000 (0:00:00.050) 0:01:26.077 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create master key encryption] ********** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:694 Wednesday 03 August 2022 16:10:56 +0000 (0:00:00.048) 0:01:26.125 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:699 Wednesday 03 August 2022 16:10:56 +0000 (0:00:00.051) 0:01:26.176 ****** skipping: [/cache/rhel-8.qcow2] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:711 Wednesday 03 August 2022 16:10:56 +0000 (0:00:00.054) 0:01:26.231 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restore certificate] ******************* task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Wednesday 03 August 2022 16:10:56 +0000 (0:00:00.045) 0:01:26.277 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create database mirroring endpoints] *** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:722 Wednesday 03 August 2022 16:10:56 +0000 (0:00:00.046) 0:01:26.323 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create the login] ********************* task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:727 Wednesday 03 August 2022 16:10:56 +0000 (0:00:00.046) 0:01:26.370 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Join synchronous and witness servers to the availability group] *** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:732 Wednesday 03 August 2022 16:10:56 +0000 (0:00:00.050) 0:01:26.420 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to the login] ******* task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:737 Wednesday 03 August 2022 16:10:56 +0000 (0:00:00.048) 0:01:26.469 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the database exists on secondaries] *** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:742 Wednesday 03 August 2022 16:10:56 +0000 (0:00:00.048) 0:01:26.517 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key from the control node] *** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Wednesday 03 August 2022 16:10:56 +0000 (0:00:00.054) 0:01:26.572 ****** skipping: [/cache/rhel-8.qcow2] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=key) => { "ansible_loop_var": "item", "changed": false, "item": "key", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Save credentials for the SQL Server login] *** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:762 Wednesday 03 August 2022 16:10:56 +0000 (0:00:00.053) 0:01:26.625 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:773 Wednesday 03 August 2022 16:10:56 +0000 (0:00:00.048) 0:01:26.674 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the database exists] ******** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:778 Wednesday 03 August 2022 16:10:57 +0000 (0:00:00.095) 0:01:26.770 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf] *** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:786 Wednesday 03 August 2022 16:10:57 +0000 (0:00:00.046) 0:01:26.816 ****** changed: [/cache/rhel-8.qcow2] => { "changed": true } MSG: Block inserted TASK [fedora.linux_system_roles.mssql : Input the sql_script.sql sql file to SQL Server] *** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:795 Wednesday 03 August 2022 16:10:57 +0000 (0:00:00.551) 0:01:27.368 ****** included: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_file.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.mssql : Verify that the mssql_password variable is defined] *** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_file.yml:6 Wednesday 03 August 2022 16:10:57 +0000 (0:00:00.072) 0:01:27.440 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Create a tempfile for the SQL file on the host] *** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_file.yml:17 Wednesday 03 August 2022 16:10:57 +0000 (0:00:00.050) 0:01:27.491 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ansible.96de662s", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Copy the sql_script.sql file to the host] *** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_file.yml:24 Wednesday 03 August 2022 16:10:58 +0000 (0:00:00.388) 0:01:27.879 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "checksum": "385f265d232105f634c8f05f20b73a19670dc0bc", "dest": "/tmp/ansible.96de662s", "gid": 0, "group": "root", "md5sum": "8edbc22195757a4f043b10e9367f131b", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 391, "src": "/root/.ansible/tmp/ansible-tmp-1659543058.2262578-58710-74551586649015/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Generate the sql_script.sql template on the host] *** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_file.yml:33 Wednesday 03 August 2022 16:10:58 +0000 (0:00:00.730) 0:01:28.609 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_file.yml:41 Wednesday 03 August 2022 16:10:58 +0000 (0:00:00.041) 0:01:28.651 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 12:10:37 EDT", "ActiveEnterTimestampMonotonic": "77080760", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "auditd.service systemd-journald.socket -.mount system.slice basic.target sysinit.target network.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 12:10:37 EDT", "AssertTimestampMonotonic": "77079120", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 12:10:37 EDT", "ConditionTimestampMonotonic": "77079119", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "15565", "ExecMainStartTimestamp": "Wed 2022-08-03 12:10:37 EDT", "ExecMainStartTimestampMonotonic": "77080711", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "988", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-08-03 12:10:37 EDT", "InactiveExitTimestampMonotonic": "77080760", "InvocationID": "48f9cf4d473b433a9a3586954cda881c", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14648", "LimitSIGPENDINGSoft": "14648", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "15565", "MemoryAccounting": "yes", "MemoryCurrent": "663166976", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice -.mount sysinit.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-08-03 12:10:37 EDT", "StateChangeTimestampMonotonic": "77080760", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "145", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 12:10:37 EDT", "WatchdogTimestampMonotonic": "77080753", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_file.yml:46 Wednesday 03 August 2022 16:10:59 +0000 (0:00:00.519) 0:01:29.170 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "elapsed": 0, "gid": 988, "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": 8097, "state": "file", "uid": 990 } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_file.yml:52 Wednesday 03 August 2022 16:10:59 +0000 (0:00:00.387) 0:01:29.558 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input sql_script.sql with the sqlcmd command] *** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_file.yml:60 Wednesday 03 August 2022 16:10:59 +0000 (0:00:00.039) 0:01:29.597 ****** fatal: [/cache/rhel-8.qcow2]: FAILED! => { "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-i", "/tmp/ansible.96de662s", "-b" ], "delta": "0:00:00.025535", "end": "2022-08-03 12:10:59.622743", "rc": 1, "start": "2022-08-03 12:10:59.597208" } STDOUT: Msg 15025, Level 16, State 1, Server ibm-p8-kvm-03-guest-02, Line 1 The server principal 'MyLogin' already exists. Msg 15023, Level 16, State 1, Server ibm-p8-kvm-03-guest-02, Line 2 User, group, or role 'MyUser' already exists in the current database. Msg 1801, Level 16, State 3, Server ibm-p8-kvm-03-guest-02, Line 3 Database 'ExampleDB' already exists. Choose a different database name. MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Print the output of the sqlcmd command for sql_script.sql if not empty] *** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_file.yml:66 Wednesday 03 August 2022 16:11:00 +0000 (0:00:00.419) 0:01:30.017 ****** ok: [/cache/rhel-8.qcow2] => { "__mssql_sqlcmd_input_file.stdout_lines": [ "Msg 15025, Level 16, State 1, Server ibm-p8-kvm-03-guest-02, Line 1", "The server principal 'MyLogin' already exists.", "Msg 15023, Level 16, State 1, Server ibm-p8-kvm-03-guest-02, Line 2", "User, group, or role 'MyUser' already exists in the current database.", "Msg 1801, Level 16, State 3, Server ibm-p8-kvm-03-guest-02, Line 3", "Database 'ExampleDB' already exists. Choose a different database name." ] } TASK [fedora.linux_system_roles.mssql : Remove the tempfile] ******************* task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_file.yml:78 Wednesday 03 August 2022 16:11:00 +0000 (0:00:00.071) 0:01:30.088 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_input_file variable] *** task path: /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_file.yml:89 Wednesday 03 August 2022 16:11:00 +0000 (0:00:00.040) 0:01:30.128 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=48 changed=10 unreachable=0 failed=1 skipped=82 rescued=0 ignored=0 Wednesday 03 August 2022 16:11:00 +0000 (0:00:00.018) 0:01:30.146 ****** =============================================================================== fedora.linux_system_roles.mssql : Ensure the mssql-server package ------ 51.86s /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:129 fedora.linux_system_roles.mssql : Set up MSSQL -------------------------- 5.77s /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed --- 3.50s /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:253 fedora.linux_system_roles.mssql : Attempt to add mssql to the list of Tuned profiles --- 2.54s /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:214 fedora.linux_system_roles.mssql : Gather package facts ------------------ 2.20s /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:80 fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed --- 1.88s /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:193 fedora.linux_system_roles.mssql : Gather system services facts ---------- 1.76s /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:160 set up internal repositories -------------------------------------------- 1.39s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- Gathering Facts --------------------------------------------------------- 1.15s /tmp/tmpxtlv9cld/tests/mssql/tests_input_sql_file_2019.yml:3 ------------------ fedora.linux_system_roles.mssql : Copy the sql_script.sql file to the host --- 0.96s /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_file.yml:24 fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled --- 0.89s /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:198 fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories --- 0.88s /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 fedora.linux_system_roles.mssql : Ensure ansible_facts used by role ----- 0.84s /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 fedora.linux_system_roles.mssql : Input sql_script.sql with the sqlcmd command --- 0.73s /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_file.yml:60 fedora.linux_system_roles.mssql : Copy the sql_script.sql file to the host --- 0.73s /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_file.yml:24 fedora.linux_system_roles.mssql : Get the active Tuned profiles --------- 0.60s /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:204 fedora.linux_system_roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf --- 0.55s /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:786 fedora.linux_system_roles.mssql : Configure the network tcpport setting --- 0.53s /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:11 fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started --- 0.53s /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started --- 0.52s /tmp/tmp5m6ig2cl/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_file.yml:41