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/tmp1kc47jky 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: tests_idempotency_2017.yml ******************************************* 1 plays in /tmp/tmpqg2s4pwm/tests/tests_idempotency_2017.yml PLAY [Ensure that the role is idempotent] ************************************** META: ran handlers TASK [Run on a fresh host and set all parameters] ****************************** task path: /tmp/tmpqg2s4pwm/tests/tests_idempotency_2017.yml:11 Wednesday 03 August 2022 15:24:21 +0000 (0:00:00.043) 0:00:00.043 ****** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Wednesday 03 August 2022 15:24:22 +0000 (0:00:00.092) 0:00:00.135 ****** included: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.mssql : Ensure ansible_facts used by role] ************ task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Wednesday 03 August 2022 15:24:22 +0000 (0:00:00.027) 0:00:00.163 ****** ok: [/cache/centos-7.qcow2c.snap] TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:11 Wednesday 03 August 2022 15:24:22 +0000 (0:00:00.804) 0:00:00.968 ****** ok: [/cache/centos-7.qcow2c.snap] => (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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [/cache/centos-7.qcow2c.snap] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-7.qcow2c.snap] => (item=CentOS_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/" }, "ansible_included_var_files": [ "/tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [/cache/centos-7.qcow2c.snap] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Wednesday 03 August 2022 15:24:22 +0000 (0:00:00.056) 0:00:01.025 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:12 Wednesday 03 August 2022 15:24:23 +0000 (0:00:00.028) 0:00:01.054 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:16 Wednesday 03 August 2022 15:24:23 +0000 (0:00:00.026) 0:00:01.081 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:22 Wednesday 03 August 2022 15:24:23 +0000 (0:00:00.023) 0:00:01.105 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that the user accepts EULA variables] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:27 Wednesday 03 August 2022 15:24:23 +0000 (0:00:00.023) 0:00:01.129 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:39 Wednesday 03 August 2022 15:24:23 +0000 (0:00:00.044) 0:00:01.173 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify if the mssql_upgrade variable is provided correctly] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Wednesday 03 August 2022 15:24:23 +0000 (0:00:00.042) 0:00:01.216 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:55 Wednesday 03 August 2022 15:24:23 +0000 (0:00:00.032) 0:00:01.248 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:63 Wednesday 03 August 2022 15:24:23 +0000 (0:00:00.031) 0:00:01.280 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:72 Wednesday 03 August 2022 15:24:23 +0000 (0:00:00.032) 0:00:01.313 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:85 Wednesday 03 August 2022 15:24:23 +0000 (0:00:00.031) 0:00:01.344 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:90 Wednesday 03 August 2022 15:24:24 +0000 (0:00:01.175) 0:00:02.520 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:101 Wednesday 03 August 2022 15:24:24 +0000 (0:00:00.048) 0:00:02.568 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server 2017 repo] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:107 Wednesday 03 August 2022 15:24:25 +0000 (0:00:00.708) 0:00:03.277 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:118 Wednesday 03 August 2022 15:24:25 +0000 (0:00:00.040) 0:00:03.317 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server 2017 repository] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:124 Wednesday 03 August 2022 15:24:25 +0000 (0:00:00.050) 0:00:03.368 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "repo": "packages-microsoft-com-mssql-server-2017", "state": "present" } TASK [linux-system-roles.mssql : Ensure the mssql-server package] ************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:134 Wednesday 03 August 2022 15:24:25 +0000 (0:00:00.490) 0:00:03.859 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "changes": { "installed": [ "mssql-server" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * base: mirror.metrocast.net\n * extras: forksystems.mm.fcix.net\n * updates: mirrors.tripadvisor.com\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-server.x86_64 0:14.0.3451.2-1 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n mssql-server\n x86_64 14.0.3451.2-1 packages-microsoft-com-mssql-server-2017 200 M\n\nTransaction Summary\n================================================================================\nInstall 1 Package\n\nTotal size: 200 M\nInstalled size: 1.0 G\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : mssql-server-14.0.3451.2-1.x86_64 1/1 \n\n+--------------------------------------------------------------+\nPlease run 'sudo /opt/mssql/bin/mssql-conf setup'\nto complete the setup of Microsoft SQL Server\n+--------------------------------------------------------------+\n\n Verifying : mssql-server-14.0.3451.2-1.x86_64 1/1 \n\nInstalled:\n mssql-server.x86_64 0:14.0.3451.2-1 \n\nComplete!\n" ] } TASK [linux-system-roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:142 Wednesday 03 August 2022 15:24:57 +0000 (0:00:31.437) 0:00:35.296 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:150 Wednesday 03 August 2022 15:24:57 +0000 (0:00:00.028) 0:00:35.325 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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.006640", "end": "2022-08-03 15:24:57.299760", "rc": 0, "start": "2022-08-03 15:24:57.293120" } TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:165 Wednesday 03 August 2022 15:24:57 +0000 (0:00:00.441) 0:00:35.767 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:179 Wednesday 03 August 2022 15:24:58 +0000 (0:00:01.089) 0:00:36.856 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:189 Wednesday 03 August 2022 15:24:58 +0000 (0:00:00.067) 0:00:36.923 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "-n", "setup" ], "delta": "0:00:04.000255", "end": "2022-08-03 15:25:02.821682", "rc": 0, "start": "2022-08-03 15:24:58.821427" } 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=855862&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 from /etc/systemd/system/multi-user.target.wants/mssql-server.service to /usr/lib/systemd/system/mssql-server.service. TASK [linux-system-roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:198 Wednesday 03 August 2022 15:25:03 +0000 (0:00:04.391) 0:00:41.315 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "changes": { "installed": [ "tuned-profiles-mssql" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * base: mirror.metrocast.net\n * extras: forksystems.mm.fcix.net\n * updates: mirrors.tripadvisor.com\nResolving Dependencies\n--> Running transaction check\n---> Package tuned-profiles-mssql.noarch 0:2.11.0-11.el7_9 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n tuned-profiles-mssql noarch 2.11.0-11.el7_9 updates 30 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package\n\nTotal download size: 30 k\nInstalled size: 1.1 k\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : tuned-profiles-mssql-2.11.0-11.el7_9.noarch 1/1 \n Verifying : tuned-profiles-mssql-2.11.0-11.el7_9.noarch 1/1 \n\nInstalled:\n tuned-profiles-mssql.noarch 0:2.11.0-11.el7_9 \n\nComplete!\n" ] } TASK [linux-system-roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:203 Wednesday 03 August 2022 15:25:05 +0000 (0:00:02.034) 0:00:43.350 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 15:24:20 UTC", "ActiveEnterTimestampMonotonic": "7972622", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target dbus.service basic.target systemd-journald.socket systemd-sysctl.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 15:24:20 UTC", "AssertTimestampMonotonic": "7770888", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 15:24:20 UTC", "ConditionTimestampMonotonic": "7770888", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "964", "ExecMainStartTimestamp": "Wed 2022-08-03 15:24:20 UTC", "ExecMainStartTimestampMonotonic": "7771464", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-08-03 15:24:20 UTC", "InactiveExitTimestampMonotonic": "7771501", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14960", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14960", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "964", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target polkit.service dbus.service system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 15:24:20 UTC", "WatchdogTimestampMonotonic": "7972570", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:209 Wednesday 03 August 2022 15:25:06 +0000 (0:00:00.705) 0:00:44.055 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.104796", "end": "2022-08-03 15:25:06.002182", "rc": 0, "start": "2022-08-03 15:25:05.897386" } STDOUT: Current active profile: virtual-guest TASK [linux-system-roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:219 Wednesday 03 August 2022 15:25:06 +0000 (0:00:00.417) 0:00:44.472 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "tuned-adm", "profile", "virtual-guest", "mssql" ], "delta": "0:00:00.168933", "end": "2022-08-03 15:25:06.503015", "failed_when_result": false, "rc": 1, "start": "2022-08-03 15:25:06.334082" } STDERR: Cannot load profile(s) 'virtual-guest mssql': Cannot find profile 'throughput-performance' in '['/etc/tuned', '/usr/lib/tuned']'. MSG: non-zero return code TASK [linux-system-roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:232 Wednesday 03 August 2022 15:25:06 +0000 (0:00:00.503) 0:00:44.976 ****** changed: [/cache/centos-7.qcow2c.snap] => { "backup": "", "changed": true, "found": 1 } MSG: 1 line(s) removed TASK [linux-system-roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:241 Wednesday 03 August 2022 15:25:07 +0000 (0:00:00.458) 0:00:45.434 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest", "mssql" ], "delta": "0:00:01.232101", "end": "2022-08-03 15:25:08.529402", "rc": 0, "start": "2022-08-03 15:25:07.297301" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:251 Wednesday 03 August 2022 15:25:08 +0000 (0:00:01.573) 0:00:47.008 ****** changed: [/cache/centos-7.qcow2c.snap] => { "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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:258 Wednesday 03 August 2022 15:25:09 +0000 (0:00:00.304) 0:00:47.312 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "changes": { "installed": [ "mssql-tools", "unixODBC-devel" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * base: mirror.metrocast.net\n * extras: forksystems.mm.fcix.net\n * updates: mirrors.tripadvisor.com\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-tools.x86_64 0:17.10.1.1-1 will be installed\n--> Processing Dependency: msodbcsql17 >= 17.3.0.0 for package: mssql-tools-17.10.1.1-1.x86_64\n---> Package unixODBC-devel.x86_64 0:2.3.7-1.rh will be installed\n--> Processing Dependency: unixODBC = 2.3.7 for package: unixODBC-devel-2.3.7-1.rh.x86_64\n--> Running transaction check\n---> Package msodbcsql17.x86_64 0:17.10.1.1-1 will be installed\n---> Package unixODBC.x86_64 0:2.3.7-1.rh will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n mssql-tools x86_64 17.10.1.1-1 packages-microsoft-com-prod 291 k\n unixODBC-devel x86_64 2.3.7-1.rh packages-microsoft-com-prod 42 k\nInstalling for dependencies:\n msodbcsql17 x86_64 17.10.1.1-1 packages-microsoft-com-prod 907 k\n unixODBC x86_64 2.3.7-1.rh packages-microsoft-com-prod 213 k\n\nTransaction Summary\n================================================================================\nInstall 2 Packages (+2 Dependent packages)\n\nTotal download size: 1.4 M\nInstalled size: 3.8 M\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 3.8 MB/s | 1.4 MB 00:00 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : unixODBC-2.3.7-1.rh.x86_64 1/4 \n Installing : msodbcsql17-17.10.1.1-1.x86_64 2/4 \nodbcinst: Driver installed. Usage count increased to 1. \n Target directory is /etc\n Installing : mssql-tools-17.10.1.1-1.x86_64 3/4 \n Installing : unixODBC-devel-2.3.7-1.rh.x86_64 4/4 \n Verifying : mssql-tools-17.10.1.1-1.x86_64 1/4 \n Verifying : msodbcsql17-17.10.1.1-1.x86_64 2/4 \n Verifying : unixODBC-devel-2.3.7-1.rh.x86_64 3/4 \n Verifying : unixODBC-2.3.7-1.rh.x86_64 4/4 \n\nInstalled:\n mssql-tools.x86_64 0:17.10.1.1-1 unixODBC-devel.x86_64 0:2.3.7-1.rh \n\nDependency Installed:\n msodbcsql17.x86_64 0:17.10.1.1-1 unixODBC.x86_64 0:2.3.7-1.rh \n\nComplete!\n" ] } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:270 Wednesday 03 August 2022 15:25:13 +0000 (0:00:03.912) 0:00:51.224 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:275 Wednesday 03 August 2022 15:25:13 +0000 (0:00:00.039) 0:00:51.264 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:281 Wednesday 03 August 2022 15:25:13 +0000 (0:00:00.035) 0:00:51.299 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Change the password of the sa user] *********** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:288 Wednesday 03 August 2022 15:25:13 +0000 (0:00:00.037) 0:00:51.336 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input the sql file to SQL Server] ************ task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:296 Wednesday 03 August 2022 15:25:13 +0000 (0:00:00.035) 0:00:51.372 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the mssql_pre_input_sql_file fact] ****** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:302 Wednesday 03 August 2022 15:25:13 +0000 (0:00:00.036) 0:00:51.408 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:311 Wednesday 03 August 2022 15:25:13 +0000 (0:00:00.037) 0:00:51.446 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:324 Wednesday 03 August 2022 15:25:13 +0000 (0:00:00.074) 0:00:51.520 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Change the edition of MSSQL] ****************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:331 Wednesday 03 August 2022 15:25:13 +0000 (0:00:00.034) 0:00:51.555 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the IP address setting] ************* task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:340 Wednesday 03 August 2022 15:25:13 +0000 (0:00:00.034) 0:00:51.590 ****** included: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.mssql : Get the network ipaddress setting] ************ task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 15:25:13 +0000 (0:00:00.055) 0:00:51.646 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004348", "end": "2022-08-03 15:25:13.507143", "failed_when_result": false, "rc": 1, "start": "2022-08-03 15:25:13.502795" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the network ipaddress setting] ****** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 15:25:13 +0000 (0:00:00.333) 0:00:51.979 ****** NOTIFIED HANDLER linux-system-roles.mssql : Restart the mssql-server service for /cache/centos-7.qcow2c.snap changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.ipaddress", "0.0.0.0" ], "delta": "0:00:00.051381", "end": "2022-08-03 15:25:13.892884", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:25:13.841503" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the network ipaddress setting] ********** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 15:25:14 +0000 (0:00:00.395) 0:00:52.375 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register the previous tcpport setting] ******** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:347 Wednesday 03 August 2022 15:25:14 +0000 (0:00:00.030) 0:00:52.405 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the 1433 TCP port] ************************************************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:354 Wednesday 03 August 2022 15:25:14 +0000 (0:00:00.044) 0:00:52.450 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the TCP port setting to 1433] ******* task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:365 Wednesday 03 August 2022 15:25:14 +0000 (0:00:00.042) 0:00:52.493 ****** included: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.mssql : Get the network tcpport setting] ************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 15:25:14 +0000 (0:00:00.048) 0:00:52.542 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003769", "end": "2022-08-03 15:25:14.405746", "failed_when_result": false, "rc": 1, "start": "2022-08-03 15:25:14.401977" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the network tcpport setting] ******** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 15:25:14 +0000 (0:00:00.335) 0:00:52.878 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.049555", "end": "2022-08-03 15:25:14.787384", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:25:14.737829" } 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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 15:25:15 +0000 (0:00:00.389) 0:00:53.267 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:371 Wednesday 03 August 2022 15:25:15 +0000 (0:00:00.070) 0:00:53.338 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the sqlagent setting] *************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:389 Wednesday 03 August 2022 15:25:15 +0000 (0:00:00.043) 0:00:53.382 ****** included: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.mssql : Get the sqlagent enabled setting] ************* task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 15:25:15 +0000 (0:00:00.059) 0:00:53.441 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003660", "end": "2022-08-03 15:25:15.305501", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:25:15.301841" } STDOUT: enabled = false TASK [linux-system-roles.mssql : Configure the sqlagent enabled setting] ******* task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 15:25:15 +0000 (0:00:00.348) 0:00:53.789 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "sqlagent.enabled", "True" ], "delta": "0:00:00.050291", "end": "2022-08-03 15:25:15.701675", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:25:15.651384" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the sqlagent enabled setting] *********** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 15:25:16 +0000 (0:00:00.391) 0:00:54.181 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-fts package] ********** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:396 Wednesday 03 August 2022 15:25:16 +0000 (0:00:00.047) 0:00:54.229 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "changes": { "installed": [ "mssql-server-fts" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * base: mirror.metrocast.net\n * extras: forksystems.mm.fcix.net\n * updates: mirrors.tripadvisor.com\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-server-fts.x86_64 0:14.0.3451.2-1 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n mssql-server-fts\n x86_64 14.0.3451.2-1 packages-microsoft-com-mssql-server-2017 225 M\n\nTransaction Summary\n================================================================================\nInstall 1 Package\n\nTotal size: 225 M\nInstalled size: 554 M\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : mssql-server-fts-14.0.3451.2-1.x86_64 1/1 \n\n+-------------------------------------------------------------------------------------+\nPlease restart mssql-server to enable Microsoft SQL Server Full Text Search.\n+-------------------------------------------------------------------------------------+\n\n Verifying : mssql-server-fts-14.0.3451.2-1.x86_64 1/1 \n\nInstalled:\n mssql-server-fts.x86_64 0:14.0.3451.2-1 \n\nComplete!\n" ] } TASK [linux-system-roles.mssql : Ensure the powershell package] **************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:403 Wednesday 03 August 2022 15:25:36 +0000 (0:00:19.826) 0:01:14.055 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-ha package] *********** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:412 Wednesday 03 August 2022 15:25:36 +0000 (0:00:00.033) 0:01:14.089 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "changes": { "installed": [ "mssql-server-ha" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * base: mirror.metrocast.net\n * extras: forksystems.mm.fcix.net\n * updates: mirrors.tripadvisor.com\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-server-ha.x86_64 0:14.0.3451.2-1 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n mssql-server-ha\n x86_64 14.0.3451.2-1 packages-microsoft-com-mssql-server-2017 2.6 M\n\nTransaction Summary\n================================================================================\nInstall 1 Package\n\nTotal size: 2.6 M\nInstalled size: 9.3 M\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : mssql-server-ha-14.0.3451.2-1.x86_64 1/1 \n Verifying : mssql-server-ha-14.0.3451.2-1.x86_64 1/1 \n\nInstalled:\n mssql-server-ha.x86_64 0:14.0.3451.2-1 \n\nComplete!\n" ] } TASK [linux-system-roles.mssql : Configure the hadrenabled setting] ************ task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:418 Wednesday 03 August 2022 15:25:39 +0000 (0:00:03.615) 0:01:17.705 ****** included: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.mssql : Get the hadr hadrenabled setting] ************* task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 15:25:39 +0000 (0:00:00.052) 0:01:17.757 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "grep", "^hadrenabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.004929", "end": "2022-08-03 15:25:40.622749", "failed_when_result": false, "rc": 1, "start": "2022-08-03 15:25:39.617820" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the hadr hadrenabled setting] ******* task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 15:25:41 +0000 (0:00:01.339) 0:01:19.097 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "hadr.hadrenabled", "1" ], "delta": "0:00:00.054137", "end": "2022-08-03 15:25:41.015427", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:25:40.961290" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the hadr hadrenabled setting] *********** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 15:25:41 +0000 (0:00:00.394) 0:01:19.491 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the 3979 trace flag is enabled] ****** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:427 Wednesday 03 August 2022 15:25:41 +0000 (0:00:00.035) 0:01:19.527 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.005271", "end": "2022-08-03 15:25:42.426193", "failed_when_result": false, "rc": 1, "start": "2022-08-03 15:25:41.420922" } MSG: non-zero return code TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:433 Wednesday 03 August 2022 15:25:42 +0000 (0:00:01.370) 0:01:20.897 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "traceflag", "3979", "on" ], "delta": "0:00:00.048222", "end": "2022-08-03 15:25:42.808864", "rc": 0, "start": "2022-08-03 15:25:42.760642" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the 3979 traceflag] ********************* task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:439 Wednesday 03 August 2022 15:25:43 +0000 (0:00:00.383) 0:01:21.280 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:446 Wednesday 03 August 2022 15:25:43 +0000 (0:00:00.047) 0:01:21.328 ****** included: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.mssql : Get the control alternatewritethrough setting] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 15:25:43 +0000 (0:00:00.054) 0:01:21.382 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003827", "end": "2022-08-03 15:25:43.243042", "failed_when_result": false, "rc": 1, "start": "2022-08-03 15:25:43.239215" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the control alternatewritethrough setting] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 15:25:43 +0000 (0:00:00.331) 0:01:21.713 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "control.alternatewritethrough", "0" ], "delta": "0:00:00.054244", "end": "2022-08-03 15:25:43.636839", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:25:43.582595" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the control alternatewritethrough setting] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 15:25:44 +0000 (0:00:00.403) 0:01:22.117 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the writethrough setting] *********** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:452 Wednesday 03 August 2022 15:25:44 +0000 (0:00:00.036) 0:01:22.153 ****** included: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.mssql : Get the control writethrough setting] ********* task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 15:25:44 +0000 (0:00:00.078) 0:01:22.232 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003830", "end": "2022-08-03 15:25:44.107918", "failed_when_result": false, "rc": 1, "start": "2022-08-03 15:25:44.104088" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the control writethrough setting] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 15:25:44 +0000 (0:00:00.347) 0:01:22.580 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "control.writethrough", "1" ], "delta": "0:00:00.048798", "end": "2022-08-03 15:25:44.502500", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:25:44.453702" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the control writethrough setting] ******* task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 15:25:44 +0000 (0:00:00.399) 0:01:22.980 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:463 Wednesday 03 August 2022 15:25:44 +0000 (0:00:00.036) 0:01:23.016 ****** skipping: [/cache/centos-7.qcow2c.snap] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:479 Wednesday 03 August 2022 15:25:45 +0000 (0:00:00.039) 0:01:23.056 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlskey setting] ***************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:488 Wednesday 03 August 2022 15:25:45 +0000 (0:00:00.036) 0:01:23.092 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlsprotocols setting] *********** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:497 Wednesday 03 August 2022 15:25:45 +0000 (0:00:00.034) 0:01:23.127 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the forceencryption setting] ******** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:504 Wednesday 03 August 2022 15:25:45 +0000 (0:00:00.035) 0:01:23.163 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:514 Wednesday 03 August 2022 15:25:45 +0000 (0:00:00.035) 0:01:23.198 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:533 Wednesday 03 August 2022 15:25:45 +0000 (0:00:00.042) 0:01:23.241 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-ha package] *********** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:544 Wednesday 03 August 2022 15:25:45 +0000 (0:00:00.044) 0:01:23.286 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:550 Wednesday 03 August 2022 15:25:45 +0000 (0:00:00.040) 0:01:23.326 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:557 Wednesday 03 August 2022 15:25:45 +0000 (0:00:00.041) 0:01:23.368 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable AlwaysOn Health events] **************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:565 Wednesday 03 August 2022 15:25:45 +0000 (0:00:00.039) 0:01:23.408 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:570 Wednesday 03 August 2022 15:25:45 +0000 (0:00:00.039) 0:01:23.447 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key files] ***** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:576 Wednesday 03 August 2022 15:25:45 +0000 (0:00:00.038) 0:01:23.485 ****** skipping: [/cache/centos-7.qcow2c.snap] => (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/centos-7.qcow2c.snap] => (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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:585 Wednesday 03 August 2022 15:25:45 +0000 (0:00:00.043) 0:01:23.529 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create and back up certificate] *************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:590 Wednesday 03 August 2022 15:25:45 +0000 (0:00:00.038) 0:01:23.568 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:596 Wednesday 03 August 2022 15:25:45 +0000 (0:00:00.072) 0:01:23.640 ****** skipping: [/cache/centos-7.qcow2c.snap] => (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/centos-7.qcow2c.snap] => (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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:608 Wednesday 03 August 2022 15:25:45 +0000 (0:00:00.047) 0:01:23.688 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create the] *********************************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:613 Wednesday 03 August 2022 15:25:45 +0000 (0:00:00.042) 0:01:23.730 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:619 Wednesday 03 August 2022 15:25:45 +0000 (0:00:00.047) 0:01:23.778 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:624 Wednesday 03 August 2022 15:25:45 +0000 (0:00:00.051) 0:01:23.830 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to the login] ************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:629 Wednesday 03 August 2022 15:25:45 +0000 (0:00:00.044) 0:01:23.875 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Back up and replicate the database] ********** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:634 Wednesday 03 August 2022 15:25:45 +0000 (0:00:00.043) 0:01:23.919 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:641 Wednesday 03 August 2022 15:25:45 +0000 (0:00:00.052) 0:01:23.971 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fail if the primary node failed] ************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:668 Wednesday 03 August 2022 15:25:45 +0000 (0:00:00.055) 0:01:24.027 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-ha package] *********** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:675 Wednesday 03 August 2022 15:25:46 +0000 (0:00:00.046) 0:01:24.073 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:681 Wednesday 03 August 2022 15:25:46 +0000 (0:00:00.046) 0:01:24.120 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:688 Wednesday 03 August 2022 15:25:46 +0000 (0:00:00.043) 0:01:24.163 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable AlwaysOn Health events] **************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:696 Wednesday 03 August 2022 15:25:46 +0000 (0:00:00.043) 0:01:24.207 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create master key encryption] ***************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:701 Wednesday 03 August 2022 15:25:46 +0000 (0:00:00.043) 0:01:24.251 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:706 Wednesday 03 August 2022 15:25:46 +0000 (0:00:00.043) 0:01:24.294 ****** skipping: [/cache/centos-7.qcow2c.snap] => (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/centos-7.qcow2c.snap] => (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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:718 Wednesday 03 August 2022 15:25:46 +0000 (0:00:00.053) 0:01:24.348 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restore certificate] ************************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:724 Wednesday 03 August 2022 15:25:46 +0000 (0:00:00.046) 0:01:24.395 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create database mirroring endpoints] ********** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:729 Wednesday 03 August 2022 15:25:46 +0000 (0:00:00.045) 0:01:24.440 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create the login] **************************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:734 Wednesday 03 August 2022 15:25:46 +0000 (0:00:00.043) 0:01:24.484 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:739 Wednesday 03 August 2022 15:25:46 +0000 (0:00:00.041) 0:01:24.525 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to the login] ************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:744 Wednesday 03 August 2022 15:25:46 +0000 (0:00:00.045) 0:01:24.571 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the database exists on secondaries] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:749 Wednesday 03 August 2022 15:25:46 +0000 (0:00:00.045) 0:01:24.616 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:756 Wednesday 03 August 2022 15:25:46 +0000 (0:00:00.105) 0:01:24.721 ****** skipping: [/cache/centos-7.qcow2c.snap] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:769 Wednesday 03 August 2022 15:25:46 +0000 (0:00:00.046) 0:01:24.768 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:780 Wednesday 03 August 2022 15:25:46 +0000 (0:00:00.042) 0:01:24.810 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the database exists] *************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:785 Wednesday 03 August 2022 15:25:46 +0000 (0:00:00.040) 0:01:24.851 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:793 Wednesday 03 August 2022 15:25:46 +0000 (0:00:00.041) 0:01:24.892 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true } MSG: Block inserted TASK [linux-system-roles.mssql : Input the sql file to SQL Server] ************ task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:802 Wednesday 03 August 2022 15:25:47 +0000 (0:00:00.470) 0:01:25.363 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the mssql_post_input_sql_file fact] ***** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:808 Wednesday 03 August 2022 15:25:47 +0000 (0:00:00.034) 0:01:25.397 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "mssql_post_input_sql_file": null }, "changed": false } META: role_complete for /cache/centos-7.qcow2c.snap TASK [Configure the mssql-server service start limit interval and burst] ******* task path: /tmp/tmpqg2s4pwm/tests/tests_idempotency_2017.yml:25 Wednesday 03 August 2022 15:25:47 +0000 (0:00:00.053) 0:01:25.451 ****** included: /tmp/tmpqg2s4pwm/tests/tasks/mssql-sever-increase-start-limit.yml for /cache/centos-7.qcow2c.snap TASK [Modify the mssql-server service start limit interval] ******************** task path: /tmp/tmpqg2s4pwm/tests/tasks/mssql-sever-increase-start-limit.yml:3 Wednesday 03 August 2022 15:25:47 +0000 (0:00:00.067) 0:01:25.518 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true } MSG: 1 replacements made TASK [Modify the mssql-server service start limit burst] *********************** task path: /tmp/tmpqg2s4pwm/tests/tasks/mssql-sever-increase-start-limit.yml:10 Wednesday 03 August 2022 15:25:47 +0000 (0:00:00.464) 0:01:25.982 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true } MSG: 1 replacements made TASK [Reload service daemon] *************************************************** task path: /tmp/tmpqg2s4pwm/tests/tasks/mssql-sever-increase-start-limit.yml:17 Wednesday 03 August 2022 15:25:48 +0000 (0:00:00.327) 0:01:26.310 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 15:25:02 UTC", "ActiveEnterTimestampMonotonic": "50279193", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket system.slice auditd.service -.mount network.target basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 15:25:02 UTC", "AssertTimestampMonotonic": "50277596", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 15:25:02 UTC", "ConditionTimestampMonotonic": "50277595", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "2241", "ExecMainStartTimestamp": "Wed 2022-08-03 15:25:02 UTC", "ExecMainStartTimestampMonotonic": "50278636", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-08-03 15:25:02 UTC", "InactiveExitTimestampMonotonic": "50279193", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14960", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "2241", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice -.mount basic.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 15:25:02 UTC", "WatchdogTimestampMonotonic": "50279166", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [Flush handlers] ********************************************************** task path: /tmp/tmpqg2s4pwm/tests/tests_idempotency_2017.yml:28 Wednesday 03 August 2022 15:25:48 +0000 (0:00:00.701) 0:01:27.011 ****** RUNNING HANDLER [linux-system-roles.mssql : Restart the mssql-server service] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 Wednesday 03 August 2022 15:25:48 +0000 (0:00:00.000) 0:01:27.011 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 15:25:48 UTC", "ActiveEnterTimestampMonotonic": "96084050", "ActiveExitTimestamp": "Wed 2022-08-03 15:25:48 UTC", "ActiveExitTimestampMonotonic": "95885217", "ActiveState": "active", "After": "systemd-journald.socket system.slice auditd.service -.mount network.target basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 15:25:48 UTC", "AssertTimestampMonotonic": "96083184", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 15:25:48 UTC", "ConditionTimestampMonotonic": "96083184", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "3967", "ExecMainStartTimestamp": "Wed 2022-08-03 15:25:48 UTC", "ExecMainStartTimestampMonotonic": "96083974", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 15:25:48 UTC] ; stop_time=[n/a] ; pid=3967 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 15:25:48 UTC", "InactiveEnterTimestampMonotonic": "96081594", "InactiveExitTimestamp": "Wed 2022-08-03 15:25:48 UTC", "InactiveExitTimestampMonotonic": "96084050", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14960", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "3967", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice -.mount basic.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 15:25:48 UTC", "WatchdogTimestampMonotonic": "96084028", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } META: ran handlers TASK [Run again with the same settings - should report not changed] ************ task path: /tmp/tmpqg2s4pwm/tests/tests_idempotency_2017.yml:31 Wednesday 03 August 2022 15:25:49 +0000 (0:00:00.444) 0:01:27.456 ****** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Wednesday 03 August 2022 15:25:49 +0000 (0:00:00.105) 0:01:27.562 ****** included: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.mssql : Ensure ansible_facts used by role] ************ task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Wednesday 03 August 2022 15:25:49 +0000 (0:00:00.050) 0:01:27.613 ****** ok: [/cache/centos-7.qcow2c.snap] TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:11 Wednesday 03 August 2022 15:25:50 +0000 (0:00:00.445) 0:01:28.059 ****** ok: [/cache/centos-7.qcow2c.snap] => (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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [/cache/centos-7.qcow2c.snap] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-7.qcow2c.snap] => (item=CentOS_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/" }, "ansible_included_var_files": [ "/tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [/cache/centos-7.qcow2c.snap] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Wednesday 03 August 2022 15:25:50 +0000 (0:00:00.071) 0:01:28.130 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:12 Wednesday 03 August 2022 15:25:50 +0000 (0:00:00.040) 0:01:28.171 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:16 Wednesday 03 August 2022 15:25:50 +0000 (0:00:00.038) 0:01:28.209 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:22 Wednesday 03 August 2022 15:25:50 +0000 (0:00:00.033) 0:01:28.242 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that the user accepts EULA variables] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:27 Wednesday 03 August 2022 15:25:50 +0000 (0:00:00.033) 0:01:28.276 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:39 Wednesday 03 August 2022 15:25:50 +0000 (0:00:00.107) 0:01:28.383 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify if the mssql_upgrade variable is provided correctly] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Wednesday 03 August 2022 15:25:50 +0000 (0:00:00.055) 0:01:28.438 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:55 Wednesday 03 August 2022 15:25:50 +0000 (0:00:00.043) 0:01:28.482 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:63 Wednesday 03 August 2022 15:25:50 +0000 (0:00:00.042) 0:01:28.524 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:72 Wednesday 03 August 2022 15:25:50 +0000 (0:00:00.045) 0:01:28.570 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:85 Wednesday 03 August 2022 15:25:50 +0000 (0:00:00.048) 0:01:28.619 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:90 Wednesday 03 August 2022 15:25:51 +0000 (0:00:00.904) 0:01:29.523 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:101 Wednesday 03 August 2022 15:25:51 +0000 (0:00:00.057) 0:01:29.580 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server 2017 repo] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:107 Wednesday 03 August 2022 15:25:52 +0000 (0:00:00.593) 0:01:30.174 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:118 Wednesday 03 August 2022 15:25:52 +0000 (0:00:00.042) 0:01:30.217 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server 2017 repository] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:124 Wednesday 03 August 2022 15:25:52 +0000 (0:00:00.081) 0:01:30.298 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server package] ************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:134 Wednesday 03 August 2022 15:25:52 +0000 (0:00:00.047) 0:01:30.346 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3451.2-1.x86_64 providing mssql-server is already installed" ] } TASK [linux-system-roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:142 Wednesday 03 August 2022 15:25:52 +0000 (0:00:00.538) 0:01:30.884 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:150 Wednesday 03 August 2022 15:25:52 +0000 (0:00:00.032) 0:01:30.917 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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.014039", "end": "2022-08-03 15:25:52.779359", "rc": 0, "start": "2022-08-03 15:25:52.765320" } STDOUT: /var/opt/mssql/log/errorlog TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:165 Wednesday 03 August 2022 15:25:53 +0000 (0:00:00.337) 0:01:31.255 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:179 Wednesday 03 August 2022 15:25:54 +0000 (0:00:01.002) 0:01:32.257 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:189 Wednesday 03 August 2022 15:25:54 +0000 (0:00:00.050) 0:01:32.308 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:198 Wednesday 03 August 2022 15:25:54 +0000 (0:00:00.048) 0:01:32.356 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-11.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } TASK [linux-system-roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:203 Wednesday 03 August 2022 15:25:54 +0000 (0:00:00.562) 0:01:32.918 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 15:24:20 UTC", "ActiveEnterTimestampMonotonic": "7972622", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service network.target basic.target systemd-sysctl.service system.slice systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 15:24:20 UTC", "AssertTimestampMonotonic": "7770888", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 15:24:20 UTC", "ConditionTimestampMonotonic": "7770888", "Conflicts": "shutdown.target cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "964", "ExecMainStartTimestamp": "Wed 2022-08-03 15:24:20 UTC", "ExecMainStartTimestampMonotonic": "7771464", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-08-03 15:24:20 UTC", "InactiveExitTimestampMonotonic": "7771501", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14960", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14960", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "964", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target dbus.service polkit.service system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 15:24:20 UTC", "WatchdogTimestampMonotonic": "7972570", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:209 Wednesday 03 August 2022 15:25:55 +0000 (0:00:00.444) 0:01:33.363 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.096898", "end": "2022-08-03 15:25:55.307273", "rc": 0, "start": "2022-08-03 15:25:55.210375" } STDOUT: Current active profile: virtual-guest mssql TASK [linux-system-roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:219 Wednesday 03 August 2022 15:25:55 +0000 (0:00:00.427) 0:01:33.790 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:232 Wednesday 03 August 2022 15:25:55 +0000 (0:00:00.029) 0:01:33.819 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:241 Wednesday 03 August 2022 15:25:55 +0000 (0:00:00.029) 0:01:33.849 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:251 Wednesday 03 August 2022 15:25:55 +0000 (0:00:00.028) 0:01:33.878 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [linux-system-roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:258 Wednesday 03 August 2022 15:25:56 +0000 (0:00:00.331) 0:01:34.210 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "mssql-tools-17.10.1.1-1.x86_64 providing mssql-tools is already installed", "unixODBC-devel-2.3.7-1.rh.x86_64 providing unixODBC-devel is already installed" ] } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:270 Wednesday 03 August 2022 15:25:56 +0000 (0:00:00.532) 0:01:34.743 ****** included: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Wednesday 03 August 2022 15:25:56 +0000 (0:00:00.053) 0:01:34.796 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 15:25:48 UTC", "ActiveEnterTimestampMonotonic": "96531045", "ActiveExitTimestamp": "Wed 2022-08-03 15:25:48 UTC", "ActiveExitTimestampMonotonic": "96528054", "ActiveState": "active", "After": "systemd-journald.socket system.slice auditd.service -.mount network.target basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 15:25:48 UTC", "AssertTimestampMonotonic": "96530396", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 15:25:48 UTC", "ConditionTimestampMonotonic": "96530396", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "4028", "ExecMainStartTimestamp": "Wed 2022-08-03 15:25:48 UTC", "ExecMainStartTimestampMonotonic": "96530977", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 15:25:48 UTC] ; stop_time=[n/a] ; pid=4028 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 15:25:48 UTC", "InactiveEnterTimestampMonotonic": "96529613", "InactiveExitTimestamp": "Wed 2022-08-03 15:25:48 UTC", "InactiveExitTimestampMonotonic": "96531045", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14960", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "4028", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice -.mount basic.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 15:25:48 UTC", "WatchdogTimestampMonotonic": "96531024", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Wednesday 03 August 2022 15:25:57 +0000 (0:00:00.408) 0:01:35.205 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003869", "end": "2022-08-03 15:25:57.096022", "failed_when_result": false, "rc": 1, "start": "2022-08-03 15:25:57.092153" } MSG: non-zero return code TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Wednesday 03 August 2022 15:25:57 +0000 (0:00:00.361) 0:01:35.566 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004565", "end": "2022-08-03 15:25:57.432344", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:25:57.427779" } STDOUT: ipaddress = 0.0.0.0 TASK [linux-system-roles.mssql : Set a fact with a password query] ************* task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Wednesday 03 August 2022 15:25:57 +0000 (0:00:00.341) 0:01:35.908 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": "/opt/mssql-tools/bin/sqlcmd -S 0.0.0.0 -U sa -P p@55w0rD" }, "changed": false } TASK [linux-system-roles.mssql : Check if the set password matches the existing password] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:275 Wednesday 03 August 2022 15:25:57 +0000 (0:00:00.066) 0:01:35.974 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-S", "0.0.0.0", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.031439", "end": "2022-08-03 15:25:57.863573", "rc": 0, "start": "2022-08-03 15:25:57.832134" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2017 (RTM-CU30) (KB5013756) - 14.0.3451.2 (X64) Jun 22 2022 18:20:15 Copyright (C) 2017 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:281 Wednesday 03 August 2022 15:25:58 +0000 (0:00:00.364) 0:01:36.339 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Change the password of the sa user] *********** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:288 Wednesday 03 August 2022 15:25:58 +0000 (0:00:00.038) 0:01:36.377 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input the sql file to SQL Server] ************ task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:296 Wednesday 03 August 2022 15:25:58 +0000 (0:00:00.039) 0:01:36.417 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the mssql_pre_input_sql_file fact] ****** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:302 Wednesday 03 August 2022 15:25:58 +0000 (0:00:00.036) 0:01:36.453 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:311 Wednesday 03 August 2022 15:25:58 +0000 (0:00:00.041) 0:01:36.494 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Evaluation edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n edition_matches=false\nelse\n edition_matches=true\nfi\necho \"${edition_matches}\"\n", "delta": "0:00:00.006774", "end": "2022-08-03 15:25:58.359977", "rc": 0, "start": "2022-08-03 15:25:58.353203" } STDOUT: true TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:324 Wednesday 03 August 2022 15:25:58 +0000 (0:00:00.337) 0:01:36.831 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Change the edition of MSSQL] ****************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:331 Wednesday 03 August 2022 15:25:58 +0000 (0:00:00.047) 0:01:36.879 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the IP address setting] ************* task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:340 Wednesday 03 August 2022 15:25:58 +0000 (0:00:00.052) 0:01:36.931 ****** included: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.mssql : Get the network ipaddress setting] ************ task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 15:25:58 +0000 (0:00:00.057) 0:01:36.989 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003857", "end": "2022-08-03 15:25:58.894169", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:25:58.890312" } STDOUT: ipaddress = 0.0.0.0 TASK [linux-system-roles.mssql : Configure the network ipaddress setting] ****** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 15:25:59 +0000 (0:00:00.378) 0:01:37.368 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the network ipaddress setting] ********** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 15:25:59 +0000 (0:00:00.052) 0:01:37.420 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register the previous tcpport setting] ******** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:347 Wednesday 03 August 2022 15:25:59 +0000 (0:00:00.036) 0:01:37.457 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the 1433 TCP port] ************************************************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:354 Wednesday 03 August 2022 15:25:59 +0000 (0:00:00.050) 0:01:37.507 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the TCP port setting to 1433] ******* task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:365 Wednesday 03 August 2022 15:25:59 +0000 (0:00:00.045) 0:01:37.553 ****** included: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.mssql : Get the network tcpport setting] ************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 15:25:59 +0000 (0:00:00.051) 0:01:37.604 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003625", "end": "2022-08-03 15:25:59.466361", "failed_when_result": false, "rc": 1, "start": "2022-08-03 15:25:59.462736" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the network tcpport setting] ******** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 15:25:59 +0000 (0:00:00.337) 0:01:37.941 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.048761", "end": "2022-08-03 15:25:59.849164", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:25:59.800403" } 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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 15:26:00 +0000 (0:00:00.391) 0:01:38.333 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:371 Wednesday 03 August 2022 15:26:00 +0000 (0:00:00.031) 0:01:38.365 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the sqlagent setting] *************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:389 Wednesday 03 August 2022 15:26:00 +0000 (0:00:00.044) 0:01:38.409 ****** included: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.mssql : Get the sqlagent enabled setting] ************* task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 15:26:00 +0000 (0:00:00.059) 0:01:38.468 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003706", "end": "2022-08-03 15:26:00.338721", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:26:00.335015" } STDOUT: enabled = True TASK [linux-system-roles.mssql : Configure the sqlagent enabled setting] ******* task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 15:26:00 +0000 (0:00:00.342) 0:01:38.811 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the sqlagent enabled setting] *********** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 15:26:00 +0000 (0:00:00.049) 0:01:38.860 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-fts package] ********** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:396 Wednesday 03 August 2022 15:26:00 +0000 (0:00:00.073) 0:01:38.934 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "mssql-server-fts-14.0.3451.2-1.x86_64 providing mssql-server-fts is already installed" ] } TASK [linux-system-roles.mssql : Ensure the powershell package] **************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:403 Wednesday 03 August 2022 15:26:01 +0000 (0:00:00.560) 0:01:39.495 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-ha package] *********** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:412 Wednesday 03 August 2022 15:26:01 +0000 (0:00:00.036) 0:01:39.531 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "mssql-server-ha-14.0.3451.2-1.x86_64 providing mssql-server-ha is already installed" ] } TASK [linux-system-roles.mssql : Configure the hadrenabled setting] ************ task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:418 Wednesday 03 August 2022 15:26:02 +0000 (0:00:00.568) 0:01:40.100 ****** included: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.mssql : Get the hadr hadrenabled setting] ************* task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 15:26:02 +0000 (0:00:00.058) 0:01:40.158 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "grep", "^hadrenabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003700", "end": "2022-08-03 15:26:02.023120", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:26:02.019420" } STDOUT: hadrenabled = 1 TASK [linux-system-roles.mssql : Configure the hadr hadrenabled setting] ******* task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 15:26:02 +0000 (0:00:00.337) 0:01:40.496 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the hadr hadrenabled setting] *********** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 15:26:02 +0000 (0:00:00.057) 0:01:40.553 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the 3979 trace flag is enabled] ****** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:427 Wednesday 03 August 2022 15:26:02 +0000 (0:00:00.036) 0:01:40.590 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003802", "end": "2022-08-03 15:26:02.447164", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:26:02.443362" } STDOUT: traceflag0 = 3979 TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:433 Wednesday 03 August 2022 15:26:02 +0000 (0:00:00.329) 0:01:40.919 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the 3979 traceflag] ********************* task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:439 Wednesday 03 August 2022 15:26:02 +0000 (0:00:00.050) 0:01:40.969 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:446 Wednesday 03 August 2022 15:26:02 +0000 (0:00:00.044) 0:01:41.014 ****** included: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.mssql : Get the control alternatewritethrough setting] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 15:26:03 +0000 (0:00:00.094) 0:01:41.108 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003584", "end": "2022-08-03 15:26:02.975252", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:26:02.971668" } STDOUT: alternatewritethrough = 0 TASK [linux-system-roles.mssql : Configure the control alternatewritethrough setting] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 15:26:03 +0000 (0:00:00.339) 0:01:41.448 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the control alternatewritethrough setting] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 15:26:03 +0000 (0:00:00.050) 0:01:41.499 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the writethrough setting] *********** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:452 Wednesday 03 August 2022 15:26:03 +0000 (0:00:00.036) 0:01:41.535 ****** included: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.mssql : Get the control writethrough setting] ********* task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 15:26:03 +0000 (0:00:00.058) 0:01:41.593 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003656", "end": "2022-08-03 15:26:03.450156", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:26:03.446500" } STDOUT: writethrough = 1 TASK [linux-system-roles.mssql : Configure the control writethrough setting] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 15:26:03 +0000 (0:00:00.331) 0:01:41.924 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the control writethrough setting] ******* task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 15:26:03 +0000 (0:00:00.055) 0:01:41.980 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:463 Wednesday 03 August 2022 15:26:03 +0000 (0:00:00.040) 0:01:42.020 ****** skipping: [/cache/centos-7.qcow2c.snap] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:479 Wednesday 03 August 2022 15:26:04 +0000 (0:00:00.040) 0:01:42.061 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlskey setting] ***************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:488 Wednesday 03 August 2022 15:26:04 +0000 (0:00:00.038) 0:01:42.099 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlsprotocols setting] *********** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:497 Wednesday 03 August 2022 15:26:04 +0000 (0:00:00.035) 0:01:42.135 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the forceencryption setting] ******** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:504 Wednesday 03 August 2022 15:26:04 +0000 (0:00:00.034) 0:01:42.170 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:514 Wednesday 03 August 2022 15:26:04 +0000 (0:00:00.035) 0:01:42.206 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:533 Wednesday 03 August 2022 15:26:04 +0000 (0:00:00.042) 0:01:42.249 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-ha package] *********** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:544 Wednesday 03 August 2022 15:26:04 +0000 (0:00:00.044) 0:01:42.294 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:550 Wednesday 03 August 2022 15:26:04 +0000 (0:00:00.042) 0:01:42.336 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:557 Wednesday 03 August 2022 15:26:04 +0000 (0:00:00.095) 0:01:42.431 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable AlwaysOn Health events] **************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:565 Wednesday 03 August 2022 15:26:04 +0000 (0:00:00.044) 0:01:42.476 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:570 Wednesday 03 August 2022 15:26:04 +0000 (0:00:00.044) 0:01:42.520 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key files] ***** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:576 Wednesday 03 August 2022 15:26:04 +0000 (0:00:00.042) 0:01:42.563 ****** skipping: [/cache/centos-7.qcow2c.snap] => (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/centos-7.qcow2c.snap] => (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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:585 Wednesday 03 August 2022 15:26:04 +0000 (0:00:00.050) 0:01:42.614 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create and back up certificate] *************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:590 Wednesday 03 August 2022 15:26:04 +0000 (0:00:00.043) 0:01:42.657 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:596 Wednesday 03 August 2022 15:26:04 +0000 (0:00:00.044) 0:01:42.701 ****** skipping: [/cache/centos-7.qcow2c.snap] => (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/centos-7.qcow2c.snap] => (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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:608 Wednesday 03 August 2022 15:26:04 +0000 (0:00:00.051) 0:01:42.753 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create the] *********************************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:613 Wednesday 03 August 2022 15:26:04 +0000 (0:00:00.046) 0:01:42.799 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:619 Wednesday 03 August 2022 15:26:04 +0000 (0:00:00.044) 0:01:42.843 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:624 Wednesday 03 August 2022 15:26:04 +0000 (0:00:00.045) 0:01:42.889 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to the login] ************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:629 Wednesday 03 August 2022 15:26:04 +0000 (0:00:00.045) 0:01:42.935 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Back up and replicate the database] ********** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:634 Wednesday 03 August 2022 15:26:04 +0000 (0:00:00.046) 0:01:42.982 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:641 Wednesday 03 August 2022 15:26:04 +0000 (0:00:00.049) 0:01:43.031 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fail if the primary node failed] ************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:668 Wednesday 03 August 2022 15:26:05 +0000 (0:00:00.050) 0:01:43.081 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-ha package] *********** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:675 Wednesday 03 August 2022 15:26:05 +0000 (0:00:00.044) 0:01:43.126 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:681 Wednesday 03 August 2022 15:26:05 +0000 (0:00:00.042) 0:01:43.169 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:688 Wednesday 03 August 2022 15:26:05 +0000 (0:00:00.041) 0:01:43.210 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable AlwaysOn Health events] **************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:696 Wednesday 03 August 2022 15:26:05 +0000 (0:00:00.042) 0:01:43.252 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create master key encryption] ***************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:701 Wednesday 03 August 2022 15:26:05 +0000 (0:00:00.044) 0:01:43.297 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:706 Wednesday 03 August 2022 15:26:05 +0000 (0:00:00.044) 0:01:43.342 ****** skipping: [/cache/centos-7.qcow2c.snap] => (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/centos-7.qcow2c.snap] => (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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:718 Wednesday 03 August 2022 15:26:05 +0000 (0:00:00.050) 0:01:43.392 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restore certificate] ************************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:724 Wednesday 03 August 2022 15:26:05 +0000 (0:00:00.082) 0:01:43.474 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create database mirroring endpoints] ********** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:729 Wednesday 03 August 2022 15:26:05 +0000 (0:00:00.042) 0:01:43.517 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create the login] **************************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:734 Wednesday 03 August 2022 15:26:05 +0000 (0:00:00.046) 0:01:43.563 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:739 Wednesday 03 August 2022 15:26:05 +0000 (0:00:00.044) 0:01:43.608 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to the login] ************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:744 Wednesday 03 August 2022 15:26:05 +0000 (0:00:00.046) 0:01:43.654 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the database exists on secondaries] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:749 Wednesday 03 August 2022 15:26:05 +0000 (0:00:00.045) 0:01:43.700 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:756 Wednesday 03 August 2022 15:26:05 +0000 (0:00:00.048) 0:01:43.748 ****** skipping: [/cache/centos-7.qcow2c.snap] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:769 Wednesday 03 August 2022 15:26:05 +0000 (0:00:00.046) 0:01:43.794 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:780 Wednesday 03 August 2022 15:26:05 +0000 (0:00:00.041) 0:01:43.836 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the database exists] *************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:785 Wednesday 03 August 2022 15:26:05 +0000 (0:00:00.040) 0:01:43.876 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:793 Wednesday 03 August 2022 15:26:05 +0000 (0:00:00.044) 0:01:43.921 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } TASK [linux-system-roles.mssql : Input the sql file to SQL Server] ************ task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:802 Wednesday 03 August 2022 15:26:06 +0000 (0:00:00.369) 0:01:44.290 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the mssql_post_input_sql_file fact] ***** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:808 Wednesday 03 August 2022 15:26:06 +0000 (0:00:00.036) 0:01:44.326 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "mssql_post_input_sql_file": null }, "changed": false } META: role_complete for /cache/centos-7.qcow2c.snap TASK [Verify settings] ********************************************************* task path: /tmp/tmpqg2s4pwm/tests/tests_idempotency_2017.yml:45 Wednesday 03 August 2022 15:26:06 +0000 (0:00:00.057) 0:01:44.384 ****** included: /tmp/tmpqg2s4pwm/tests/tasks/verify_settings.yml for /cache/centos-7.qcow2c.snap TASK [Check if the errorlog file exists and its location] ********************** task path: /tmp/tmpqg2s4pwm/tests/tasks/verify_settings.yml:8 Wednesday 03 August 2022 15:26:06 +0000 (0:00:00.100) 0:01:44.485 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": "set -euo pipefail\nerrorlog=\"$(grep '^errorlogfile' /var/opt/mssql/mssql.conf \\\n2>&1 | sed 's\\errorlogfile : \\\\')\" || :\nif [ -f \"${errorlog}\" ]; then\n echo \"${errorlog}\"\nelif [ -f /var/opt/mssql/log/errorlog ]; then\n echo \"/var/opt/mssql/log/errorlog\"\nelse\n echo \"\"\nfi\n", "delta": "0:00:00.006463", "end": "2022-08-03 15:26:06.343693", "rc": 0, "start": "2022-08-03 15:26:06.337230" } STDOUT: /var/opt/mssql/log/errorlog TASK [Check if the set edition matches the existing edition] ******************* task path: /tmp/tmpqg2s4pwm/tests/tasks/verify_settings.yml:23 Wednesday 03 August 2022 15:26:06 +0000 (0:00:00.370) 0:01:44.856 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Evaluation edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n edition_matches=false\nelse\n edition_matches=true\nfi\necho \"${edition_matches}\"\n", "delta": "0:00:00.005688", "end": "2022-08-03 15:26:06.725486", "rc": 0, "start": "2022-08-03 15:26:06.719798" } STDOUT: true TASK [Verify if the edition matches] ******************************************* task path: /tmp/tmpqg2s4pwm/tests/tasks/verify_settings.yml:36 Wednesday 03 August 2022 15:26:07 +0000 (0:00:00.345) 0:01:45.201 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the IP address setting] ******************************************* task path: /tmp/tmpqg2s4pwm/tests/tasks/verify_settings.yml:40 Wednesday 03 August 2022 15:26:07 +0000 (0:00:00.060) 0:01:45.261 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the TCP port setting] ********************************************* task path: /tmp/tmpqg2s4pwm/tests/tasks/verify_settings.yml:47 Wednesday 03 August 2022 15:26:07 +0000 (0:00:00.033) 0:01:45.294 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/tmpqg2s4pwm/tests/tasks/verify_settings.yml:57 Wednesday 03 August 2022 15:26:07 +0000 (0:00:00.031) 0:01:45.326 ****** TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Wednesday 03 August 2022 15:26:07 +0000 (0:00:00.055) 0:01:45.382 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 15:25:48 UTC", "ActiveEnterTimestampMonotonic": "96531045", "ActiveExitTimestamp": "Wed 2022-08-03 15:25:48 UTC", "ActiveExitTimestampMonotonic": "96528054", "ActiveState": "active", "After": "systemd-journald.socket system.slice auditd.service -.mount network.target basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 15:25:48 UTC", "AssertTimestampMonotonic": "96530396", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 15:25:48 UTC", "ConditionTimestampMonotonic": "96530396", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "4028", "ExecMainStartTimestamp": "Wed 2022-08-03 15:25:48 UTC", "ExecMainStartTimestampMonotonic": "96530977", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 15:25:48 UTC] ; stop_time=[n/a] ; pid=4028 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 15:25:48 UTC", "InactiveEnterTimestampMonotonic": "96529613", "InactiveExitTimestamp": "Wed 2022-08-03 15:25:48 UTC", "InactiveExitTimestampMonotonic": "96531045", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14960", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "4028", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice -.mount basic.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 15:25:48 UTC", "WatchdogTimestampMonotonic": "96531024", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Wednesday 03 August 2022 15:26:07 +0000 (0:00:00.406) 0:01:45.789 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003589", "end": "2022-08-03 15:26:07.624610", "failed_when_result": false, "rc": 1, "start": "2022-08-03 15:26:07.621021" } MSG: non-zero return code TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Wednesday 03 August 2022 15:26:08 +0000 (0:00:00.310) 0:01:46.099 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003944", "end": "2022-08-03 15:26:07.960746", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:26:07.956802" } STDOUT: ipaddress = 0.0.0.0 TASK [linux-system-roles.mssql : Set a fact with a password query] ************* task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Wednesday 03 August 2022 15:26:08 +0000 (0:00:00.339) 0:01:46.438 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": "/opt/mssql-tools/bin/sqlcmd -S 0.0.0.0 -U sa -P p@55w0rD" }, "changed": false } META: role_complete for /cache/centos-7.qcow2c.snap TASK [Wait for mssql-server to start and prepare for client connections] ******* task path: /tmp/tmpqg2s4pwm/tests/tasks/verify_settings.yml:65 Wednesday 03 August 2022 15:26:08 +0000 (0:00:00.084) 0:01:46.523 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "elapsed": 3, "gid": 993, "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": 6318, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/tmpqg2s4pwm/tests/tasks/verify_settings.yml:72 Wednesday 03 August 2022 15:26:11 +0000 (0:00:03.458) 0:01:49.981 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-S", "0.0.0.0", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.021795", "end": "2022-08-03 15:26:11.857759", "rc": 0, "start": "2022-08-03 15:26:11.835964" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2017 (RTM-CU30) (KB5013756) - 14.0.3451.2 (X64) Jun 22 2022 18:20:15 Copyright (C) 2017 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Verify if the password matched] ****************************************** task path: /tmp/tmpqg2s4pwm/tests/tasks/verify_settings.yml:78 Wednesday 03 August 2022 15:26:12 +0000 (0:00:00.351) 0:01:50.333 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify that the SQL agent is enabled] ************************************ task path: /tmp/tmpqg2s4pwm/tests/tasks/verify_settings.yml:82 Wednesday 03 August 2022 15:26:12 +0000 (0:00:00.044) 0:01:50.377 ****** included: /tmp/tmpqg2s4pwm/tests/tasks/mssql_conf_verify.yml for /cache/centos-7.qcow2c.snap TASK [Get the value of the enabled setting] ************************************ task path: /tmp/tmpqg2s4pwm/tests/tasks/mssql_conf_verify.yml:7 Wednesday 03 August 2022 15:26:12 +0000 (0:00:00.053) 0:01:50.430 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": "grep '^enabled' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004919", "end": "2022-08-03 15:26:12.278785", "rc": 0, "start": "2022-08-03 15:26:12.273866" } STDOUT: enabled = True TASK [Verify the enabled setting when it is type str] ************************** task path: /tmp/tmpqg2s4pwm/tests/tasks/mssql_conf_verify.yml:14 Wednesday 03 August 2022 15:26:12 +0000 (0:00:00.322) 0:01:50.753 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the enabled setting when it is type bool] ************************* task path: /tmp/tmpqg2s4pwm/tests/tasks/mssql_conf_verify.yml:26 Wednesday 03 August 2022 15:26:12 +0000 (0:00:00.041) 0:01:50.794 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /tmp/tmpqg2s4pwm/tests/tasks/mssql_conf_verify.yml:41 Wednesday 03 August 2022 15:26:12 +0000 (0:00:00.118) 0:01:50.912 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the mssql-server-fts package] ************************************* task path: /tmp/tmpqg2s4pwm/tests/tasks/verify_settings.yml:89 Wednesday 03 August 2022 15:26:12 +0000 (0:00:00.031) 0:01:50.943 ****** included: /tmp/tmpqg2s4pwm/tests/tasks/verify_package.yml for /cache/centos-7.qcow2c.snap TASK [Gather package facts] **************************************************** task path: /tmp/tmpqg2s4pwm/tests/tasks/verify_package.yml:7 Wednesday 03 August 2022 15:26:12 +0000 (0:00:00.052) 0:01:50.996 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Verify if the mssql-server-fts package is installed] ********************* task path: /tmp/tmpqg2s4pwm/tests/tasks/verify_package.yml:12 Wednesday 03 August 2022 15:26:13 +0000 (0:00:00.907) 0:01:51.904 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify if the mssql-server-fts package is not installed] ***************** task path: /tmp/tmpqg2s4pwm/tests/tasks/verify_package.yml:17 Wednesday 03 August 2022 15:26:13 +0000 (0:00:00.059) 0:01:51.964 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the powershell package] ******************************************* task path: /tmp/tmpqg2s4pwm/tests/tasks/verify_settings.yml:96 Wednesday 03 August 2022 15:26:13 +0000 (0:00:00.028) 0:01:51.992 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the mssql-server-ha package is installed] ********************** task path: /tmp/tmpqg2s4pwm/tests/tasks/verify_settings.yml:107 Wednesday 03 August 2022 15:26:13 +0000 (0:00:00.035) 0:01:52.027 ****** included: /tmp/tmpqg2s4pwm/tests/tasks/verify_package.yml for /cache/centos-7.qcow2c.snap TASK [Gather package facts] **************************************************** task path: /tmp/tmpqg2s4pwm/tests/tasks/verify_package.yml:7 Wednesday 03 August 2022 15:26:14 +0000 (0:00:00.050) 0:01:52.078 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Verify if the mssql-server-ha package is installed] ********************** task path: /tmp/tmpqg2s4pwm/tests/tasks/verify_package.yml:12 Wednesday 03 August 2022 15:26:14 +0000 (0:00:00.881) 0:01:52.959 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify if the mssql-server-ha package is not installed] ****************** task path: /tmp/tmpqg2s4pwm/tests/tasks/verify_package.yml:17 Wednesday 03 August 2022 15:26:14 +0000 (0:00:00.073) 0:01:53.033 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the hadrenabled setting] ****************************************** task path: /tmp/tmpqg2s4pwm/tests/tasks/verify_settings.yml:113 Wednesday 03 August 2022 15:26:15 +0000 (0:00:00.037) 0:01:53.070 ****** included: /tmp/tmpqg2s4pwm/tests/tasks/mssql_conf_verify.yml for /cache/centos-7.qcow2c.snap TASK [Get the value of the hadrenabled setting] ******************************** task path: /tmp/tmpqg2s4pwm/tests/tasks/mssql_conf_verify.yml:7 Wednesday 03 August 2022 15:26:15 +0000 (0:00:00.054) 0:01:53.125 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": "grep '^hadrenabled' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004868", "end": "2022-08-03 15:26:14.974448", "rc": 0, "start": "2022-08-03 15:26:14.969580" } STDOUT: hadrenabled = 1 TASK [Verify the hadrenabled setting when it is type str] ********************** task path: /tmp/tmpqg2s4pwm/tests/tasks/mssql_conf_verify.yml:14 Wednesday 03 August 2022 15:26:15 +0000 (0:00:00.323) 0:01:53.448 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the hadrenabled setting when it is type bool] ********************* task path: /tmp/tmpqg2s4pwm/tests/tasks/mssql_conf_verify.yml:26 Wednesday 03 August 2022 15:26:15 +0000 (0:00:00.051) 0:01:53.499 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /tmp/tmpqg2s4pwm/tests/tasks/mssql_conf_verify.yml:41 Wednesday 03 August 2022 15:26:15 +0000 (0:00:00.063) 0:01:53.563 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/tmpqg2s4pwm/tests/tasks/verify_settings.yml:123 Wednesday 03 August 2022 15:26:15 +0000 (0:00:00.033) 0:01:53.596 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": "grep '^traceflag' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005021", "end": "2022-08-03 15:26:15.463193", "rc": 0, "start": "2022-08-03 15:26:15.458172" } STDOUT: traceflag0 = 3979 TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /tmp/tmpqg2s4pwm/tests/tasks/verify_settings.yml:128 Wednesday 03 August 2022 15:26:15 +0000 (0:00:00.338) 0:01:53.934 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /tmp/tmpqg2s4pwm/tests/tasks/verify_settings.yml:133 Wednesday 03 August 2022 15:26:15 +0000 (0:00:00.055) 0:01:53.989 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/tmpqg2s4pwm/tests/tasks/verify_settings.yml:139 Wednesday 03 August 2022 15:26:15 +0000 (0:00:00.043) 0:01:54.032 ****** included: /tmp/tmpqg2s4pwm/tests/tasks/mssql_conf_verify.yml for /cache/centos-7.qcow2c.snap TASK [Get the value of the alternatewritethrough setting] ********************** task path: /tmp/tmpqg2s4pwm/tests/tasks/mssql_conf_verify.yml:7 Wednesday 03 August 2022 15:26:16 +0000 (0:00:00.052) 0:01:54.085 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": "grep '^alternatewritethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005329", "end": "2022-08-03 15:26:15.941826", "rc": 0, "start": "2022-08-03 15:26:15.936497" } STDOUT: alternatewritethrough = 0 TASK [Verify the alternatewritethrough setting when it is type str] ************ task path: /tmp/tmpqg2s4pwm/tests/tasks/mssql_conf_verify.yml:14 Wednesday 03 August 2022 15:26:16 +0000 (0:00:00.375) 0:01:54.460 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the alternatewritethrough setting when it is type bool] *********** task path: /tmp/tmpqg2s4pwm/tests/tasks/mssql_conf_verify.yml:26 Wednesday 03 August 2022 15:26:16 +0000 (0:00:00.053) 0:01:54.513 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /tmp/tmpqg2s4pwm/tests/tasks/mssql_conf_verify.yml:41 Wednesday 03 August 2022 15:26:16 +0000 (0:00:00.063) 0:01:54.576 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/tmpqg2s4pwm/tests/tasks/verify_settings.yml:145 Wednesday 03 August 2022 15:26:16 +0000 (0:00:00.037) 0:01:54.613 ****** included: /tmp/tmpqg2s4pwm/tests/tasks/mssql_conf_verify.yml for /cache/centos-7.qcow2c.snap TASK [Get the value of the writethrough setting] ******************************* task path: /tmp/tmpqg2s4pwm/tests/tasks/mssql_conf_verify.yml:7 Wednesday 03 August 2022 15:26:16 +0000 (0:00:00.057) 0:01:54.670 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": "grep '^writethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005369", "end": "2022-08-03 15:26:16.529006", "rc": 0, "start": "2022-08-03 15:26:16.523637" } STDOUT: writethrough = 1 TASK [Verify the writethrough setting when it is type str] ********************* task path: /tmp/tmpqg2s4pwm/tests/tasks/mssql_conf_verify.yml:14 Wednesday 03 August 2022 15:26:16 +0000 (0:00:00.339) 0:01:55.010 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting when it is type bool] ******************** task path: /tmp/tmpqg2s4pwm/tests/tasks/mssql_conf_verify.yml:26 Wednesday 03 August 2022 15:26:17 +0000 (0:00:00.051) 0:01:55.062 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /tmp/tmpqg2s4pwm/tests/tasks/mssql_conf_verify.yml:41 Wednesday 03 August 2022 15:26:17 +0000 (0:00:00.066) 0:01:55.128 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/tmpqg2s4pwm/tests/tasks/verify_settings.yml:155 Wednesday 03 August 2022 15:26:17 +0000 (0:00:00.036) 0:01:55.164 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/tmpqg2s4pwm/tests/tasks/verify_settings.yml:163 Wednesday 03 August 2022 15:26:17 +0000 (0:00:00.034) 0:01:55.199 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/tmpqg2s4pwm/tests/tasks/verify_settings.yml:171 Wednesday 03 August 2022 15:26:17 +0000 (0:00:00.033) 0:01:55.233 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/tmpqg2s4pwm/tests/tasks/verify_settings.yml:179 Wednesday 03 August 2022 15:26:17 +0000 (0:00:00.033) 0:01:55.267 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run to edit settings] **************************************************** task path: /tmp/tmpqg2s4pwm/tests/tests_idempotency_2017.yml:57 Wednesday 03 August 2022 15:26:17 +0000 (0:00:00.035) 0:01:55.302 ****** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Wednesday 03 August 2022 15:26:17 +0000 (0:00:00.228) 0:01:55.530 ****** included: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.mssql : Ensure ansible_facts used by role] ************ task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Wednesday 03 August 2022 15:26:17 +0000 (0:00:00.056) 0:01:55.586 ****** ok: [/cache/centos-7.qcow2c.snap] TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:11 Wednesday 03 August 2022 15:26:17 +0000 (0:00:00.438) 0:01:56.024 ****** ok: [/cache/centos-7.qcow2c.snap] => (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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [/cache/centos-7.qcow2c.snap] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-7.qcow2c.snap] => (item=CentOS_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/" }, "ansible_included_var_files": [ "/tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [/cache/centos-7.qcow2c.snap] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Wednesday 03 August 2022 15:26:18 +0000 (0:00:00.077) 0:01:56.102 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:12 Wednesday 03 August 2022 15:26:18 +0000 (0:00:00.044) 0:01:56.147 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:16 Wednesday 03 August 2022 15:26:18 +0000 (0:00:00.044) 0:01:56.191 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:22 Wednesday 03 August 2022 15:26:18 +0000 (0:00:00.035) 0:01:56.226 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that the user accepts EULA variables] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:27 Wednesday 03 August 2022 15:26:18 +0000 (0:00:00.040) 0:01:56.267 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:39 Wednesday 03 August 2022 15:26:18 +0000 (0:00:00.060) 0:01:56.327 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify if the mssql_upgrade variable is provided correctly] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Wednesday 03 August 2022 15:26:18 +0000 (0:00:00.056) 0:01:56.383 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:55 Wednesday 03 August 2022 15:26:18 +0000 (0:00:00.046) 0:01:56.429 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:63 Wednesday 03 August 2022 15:26:18 +0000 (0:00:00.044) 0:01:56.473 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:72 Wednesday 03 August 2022 15:26:18 +0000 (0:00:00.044) 0:01:56.518 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:85 Wednesday 03 August 2022 15:26:18 +0000 (0:00:00.046) 0:01:56.564 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:90 Wednesday 03 August 2022 15:26:19 +0000 (0:00:00.902) 0:01:57.466 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:101 Wednesday 03 August 2022 15:26:19 +0000 (0:00:00.046) 0:01:57.512 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server 2017 repo] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:107 Wednesday 03 August 2022 15:26:20 +0000 (0:00:00.575) 0:01:58.088 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:118 Wednesday 03 August 2022 15:26:20 +0000 (0:00:00.044) 0:01:58.132 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server 2019 repository] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:124 Wednesday 03 August 2022 15:26:20 +0000 (0:00:00.046) 0:01:58.179 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server package] ************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:134 Wednesday 03 August 2022 15:26:20 +0000 (0:00:00.049) 0:01:58.229 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3451.2-1.x86_64 providing mssql-server is already installed" ] } TASK [linux-system-roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:142 Wednesday 03 August 2022 15:26:20 +0000 (0:00:00.529) 0:01:58.759 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:150 Wednesday 03 August 2022 15:26:20 +0000 (0:00:00.032) 0:01:58.791 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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.006058", "end": "2022-08-03 15:26:20.639251", "rc": 0, "start": "2022-08-03 15:26:20.633193" } STDOUT: /var/opt/mssql/log/errorlog TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:165 Wednesday 03 August 2022 15:26:21 +0000 (0:00:00.320) 0:01:59.112 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:179 Wednesday 03 August 2022 15:26:22 +0000 (0:00:01.002) 0:02:00.114 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:189 Wednesday 03 August 2022 15:26:22 +0000 (0:00:00.096) 0:02:00.210 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:198 Wednesday 03 August 2022 15:26:22 +0000 (0:00:00.051) 0:02:00.262 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-11.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } TASK [linux-system-roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:203 Wednesday 03 August 2022 15:26:22 +0000 (0:00:00.531) 0:02:00.793 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 15:24:20 UTC", "ActiveEnterTimestampMonotonic": "7972622", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service network.target basic.target systemd-sysctl.service system.slice systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 15:24:20 UTC", "AssertTimestampMonotonic": "7770888", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 15:24:20 UTC", "ConditionTimestampMonotonic": "7770888", "Conflicts": "shutdown.target cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "964", "ExecMainStartTimestamp": "Wed 2022-08-03 15:24:20 UTC", "ExecMainStartTimestampMonotonic": "7771464", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-08-03 15:24:20 UTC", "InactiveExitTimestampMonotonic": "7771501", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14960", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14960", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "964", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target dbus.service polkit.service system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 15:24:20 UTC", "WatchdogTimestampMonotonic": "7972570", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:209 Wednesday 03 August 2022 15:26:23 +0000 (0:00:00.404) 0:02:01.197 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.090872", "end": "2022-08-03 15:26:23.130622", "rc": 0, "start": "2022-08-03 15:26:23.039750" } STDOUT: Current active profile: virtual-guest mssql TASK [linux-system-roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:219 Wednesday 03 August 2022 15:26:23 +0000 (0:00:00.409) 0:02:01.607 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:232 Wednesday 03 August 2022 15:26:23 +0000 (0:00:00.029) 0:02:01.636 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:241 Wednesday 03 August 2022 15:26:23 +0000 (0:00:00.029) 0:02:01.665 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:251 Wednesday 03 August 2022 15:26:23 +0000 (0:00:00.037) 0:02:01.703 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [linux-system-roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:258 Wednesday 03 August 2022 15:26:23 +0000 (0:00:00.336) 0:02:02.039 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "mssql-tools-17.10.1.1-1.x86_64 providing mssql-tools is already installed", "unixODBC-devel-2.3.7-1.rh.x86_64 providing unixODBC-devel is already installed" ] } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:270 Wednesday 03 August 2022 15:26:24 +0000 (0:00:00.547) 0:02:02.587 ****** included: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Wednesday 03 August 2022 15:26:24 +0000 (0:00:00.123) 0:02:02.710 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 15:25:48 UTC", "ActiveEnterTimestampMonotonic": "96531045", "ActiveExitTimestamp": "Wed 2022-08-03 15:25:48 UTC", "ActiveExitTimestampMonotonic": "96528054", "ActiveState": "active", "After": "systemd-journald.socket system.slice auditd.service -.mount network.target basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 15:25:48 UTC", "AssertTimestampMonotonic": "96530396", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 15:25:48 UTC", "ConditionTimestampMonotonic": "96530396", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "4028", "ExecMainStartTimestamp": "Wed 2022-08-03 15:25:48 UTC", "ExecMainStartTimestampMonotonic": "96530977", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 15:25:48 UTC] ; stop_time=[n/a] ; pid=4028 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 15:25:48 UTC", "InactiveEnterTimestampMonotonic": "96529613", "InactiveExitTimestamp": "Wed 2022-08-03 15:25:48 UTC", "InactiveExitTimestampMonotonic": "96531045", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14960", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "4028", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice -.mount basic.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 15:25:48 UTC", "WatchdogTimestampMonotonic": "96531024", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Wednesday 03 August 2022 15:26:25 +0000 (0:00:00.403) 0:02:03.113 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.005041", "end": "2022-08-03 15:26:25.970634", "failed_when_result": false, "rc": 1, "start": "2022-08-03 15:26:24.965593" } MSG: non-zero return code TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Wednesday 03 August 2022 15:26:26 +0000 (0:00:01.332) 0:02:04.445 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003988", "end": "2022-08-03 15:26:26.305125", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:26:26.301137" } STDOUT: ipaddress = 0.0.0.0 TASK [linux-system-roles.mssql : Set a fact with a password query] ************* task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Wednesday 03 August 2022 15:26:26 +0000 (0:00:00.335) 0:02:04.781 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": "/opt/mssql-tools/bin/sqlcmd -S 0.0.0.0 -U sa -P p@55w0rd" }, "changed": false } TASK [linux-system-roles.mssql : Check if the set password matches the existing password] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:275 Wednesday 03 August 2022 15:26:26 +0000 (0:00:00.067) 0:02:04.848 ****** fatal: [/cache/centos-7.qcow2c.snap]: FAILED! => { "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-S", "0.0.0.0", "-U", "sa", "-P", "p@55w0rd", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.029123", "end": "2022-08-03 15:26:26.739452", "rc": 1, "start": "2022-08-03 15:26:26.710329" } STDERR: Sqlcmd: Error: Microsoft ODBC Driver 17 for SQL Server : Login failed for user 'sa'.. MSG: non-zero return code ...ignoring TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:281 Wednesday 03 August 2022 15:26:27 +0000 (0:00:00.365) 0:02:05.213 ****** NOTIFIED HANDLER linux-system-roles.mssql : Restart the mssql-server service for /cache/centos-7.qcow2c.snap changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 15:25:48 UTC", "ActiveEnterTimestampMonotonic": "96531045", "ActiveExitTimestamp": "Wed 2022-08-03 15:25:48 UTC", "ActiveExitTimestampMonotonic": "96528054", "ActiveState": "active", "After": "systemd-journald.socket system.slice auditd.service -.mount network.target basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 15:25:48 UTC", "AssertTimestampMonotonic": "96530396", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 15:25:48 UTC", "ConditionTimestampMonotonic": "96530396", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "4028", "ExecMainStartTimestamp": "Wed 2022-08-03 15:25:48 UTC", "ExecMainStartTimestampMonotonic": "96530977", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 15:25:48 UTC] ; stop_time=[n/a] ; pid=4028 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 15:25:48 UTC", "InactiveEnterTimestampMonotonic": "96529613", "InactiveExitTimestamp": "Wed 2022-08-03 15:25:48 UTC", "InactiveExitTimestampMonotonic": "96531045", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14960", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "4028", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice -.mount basic.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 15:25:48 UTC", "WatchdogTimestampMonotonic": "96531024", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Change the password of the sa user] *********** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:288 Wednesday 03 August 2022 15:26:27 +0000 (0:00:00.745) 0:02:05.959 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set-sa-password" ], "delta": "0:00:04.890015", "end": "2022-08-03 15:26:32.703410", "rc": 0, "start": "2022-08-03 15:26:27.813395" } STDOUT: Configuring SQL Server... The system administrator password has been changed. Please run 'sudo systemctl start mssql-server' to start SQL Server. TASK [linux-system-roles.mssql : Input the sql file to SQL Server] ************ task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:296 Wednesday 03 August 2022 15:26:33 +0000 (0:00:05.222) 0:02:11.182 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the mssql_pre_input_sql_file fact] ****** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:302 Wednesday 03 August 2022 15:26:33 +0000 (0:00:00.034) 0:02:11.216 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:311 Wednesday 03 August 2022 15:26:33 +0000 (0:00:00.038) 0:02:11.254 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Standard edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n edition_matches=false\nelse\n edition_matches=true\nfi\necho \"${edition_matches}\"\n", "delta": "0:00:00.005934", "end": "2022-08-03 15:26:33.112011", "rc": 0, "start": "2022-08-03 15:26:33.106077" } STDOUT: false TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:324 Wednesday 03 August 2022 15:26:33 +0000 (0:00:00.331) 0:02:11.586 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 15:25:48 UTC", "ActiveEnterTimestampMonotonic": "96531045", "ActiveExitTimestamp": "Wed 2022-08-03 15:26:27 UTC", "ActiveExitTimestampMonotonic": "134708802", "ActiveState": "inactive", "After": "systemd-journald.socket system.slice auditd.service -.mount network.target basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 15:25:48 UTC", "AssertTimestampMonotonic": "96530396", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 15:25:48 UTC", "ConditionTimestampMonotonic": "96530396", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "1", "ExecMainExitTimestamp": "Wed 2022-08-03 15:26:27 UTC", "ExecMainExitTimestampMonotonic": "135030821", "ExecMainPID": "4028", "ExecMainStartTimestamp": "Wed 2022-08-03 15:25:48 UTC", "ExecMainStartTimestampMonotonic": "96530977", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 15:25:48 UTC] ; stop_time=[Wed 2022-08-03 15:26:27 UTC] ; pid=4028 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 15:26:27 UTC", "InactiveEnterTimestampMonotonic": "135030935", "InactiveExitTimestamp": "Wed 2022-08-03 15:25:48 UTC", "InactiveExitTimestampMonotonic": "96531045", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14960", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice -.mount basic.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Change the edition of MSSQL] ****************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:331 Wednesday 03 August 2022 15:26:33 +0000 (0:00:00.460) 0:02:12.046 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set-edition" ], "delta": "0:00:04.682424", "end": "2022-08-03 15:26:38.587721", "rc": 0, "start": "2022-08-03 15:26:33.905297" } STDOUT: The licensing PID was successfully processed. The new edition is [Standard Edition]. Configuring SQL Server... Please run 'sudo systemctl start mssql-server' to start SQL Server. TASK [linux-system-roles.mssql : Configure the IP address setting] ************* task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:340 Wednesday 03 August 2022 15:26:39 +0000 (0:00:05.028) 0:02:17.075 ****** included: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.mssql : Get the network ipaddress setting] ************ task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 15:26:39 +0000 (0:00:00.062) 0:02:17.137 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004385", "end": "2022-08-03 15:26:39.010358", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:26:39.005973" } STDOUT: ipaddress = 0.0.0.0 TASK [linux-system-roles.mssql : Configure the network ipaddress setting] ****** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 15:26:39 +0000 (0:00:00.350) 0:02:17.487 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.ipaddress", "127.0.0.1" ], "delta": "0:00:00.049111", "end": "2022-08-03 15:26:39.400860", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:26:39.351749" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the network ipaddress setting] ********** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 15:26:39 +0000 (0:00:00.396) 0:02:17.884 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register the previous tcpport setting] ******** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:347 Wednesday 03 August 2022 15:26:39 +0000 (0:00:00.032) 0:02:17.916 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the 1435 TCP port] ************************************************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:354 Wednesday 03 August 2022 15:26:39 +0000 (0:00:00.045) 0:02:17.962 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the TCP port setting to 1435] ******* task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:365 Wednesday 03 August 2022 15:26:39 +0000 (0:00:00.045) 0:02:18.008 ****** included: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.mssql : Get the network tcpport setting] ************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 15:26:40 +0000 (0:00:00.110) 0:02:18.118 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003698", "end": "2022-08-03 15:26:39.988849", "failed_when_result": false, "rc": 1, "start": "2022-08-03 15:26:39.985151" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the network tcpport setting] ******** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 15:26:40 +0000 (0:00:00.347) 0:02:18.465 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1435" ], "delta": "0:00:00.049741", "end": "2022-08-03 15:26:40.373294", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:26:40.323553" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the network tcpport setting] ************ task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 15:26:40 +0000 (0:00:00.391) 0:02:18.857 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:371 Wednesday 03 August 2022 15:26:40 +0000 (0:00:00.032) 0:02:18.890 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the sqlagent setting] *************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:389 Wednesday 03 August 2022 15:26:40 +0000 (0:00:00.043) 0:02:18.933 ****** included: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.mssql : Get the sqlagent enabled setting] ************* task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 15:26:40 +0000 (0:00:00.060) 0:02:18.994 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003583", "end": "2022-08-03 15:26:40.852633", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:26:40.849050" } STDOUT: enabled = True TASK [linux-system-roles.mssql : Configure the sqlagent enabled setting] ******* task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 15:26:41 +0000 (0:00:00.332) 0:02:19.327 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "sqlagent.enabled", "False" ], "delta": "0:00:00.051996", "end": "2022-08-03 15:26:41.253829", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:26:41.201833" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the sqlagent enabled setting] *********** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 15:26:41 +0000 (0:00:00.416) 0:02:19.743 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-fts package] ********** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:396 Wednesday 03 August 2022 15:26:41 +0000 (0:00:00.033) 0:02:19.777 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "changes": { "removed": [ "mssql-server-fts" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-server-fts.x86_64 0:14.0.3451.2-1 will be erased\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nRemoving:\n mssql-server-fts\n x86_64 14.0.3451.2-1 @packages-microsoft-com-mssql-server-2017 554 M\n\nTransaction Summary\n================================================================================\nRemove 1 Package\n\nInstalled size: 554 M\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Erasing : mssql-server-fts-14.0.3451.2-1.x86_64 1/1 \n Verifying : mssql-server-fts-14.0.3451.2-1.x86_64 1/1 \n\nRemoved:\n mssql-server-fts.x86_64 0:14.0.3451.2-1 \n\nComplete!\n" ] } TASK [linux-system-roles.mssql : Ensure the powershell package] **************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:403 Wednesday 03 August 2022 15:26:43 +0000 (0:00:01.399) 0:02:21.177 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-ha package] *********** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:412 Wednesday 03 August 2022 15:26:43 +0000 (0:00:00.035) 0:02:21.212 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "changes": { "removed": [ "mssql-server-ha" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-server-ha.x86_64 0:14.0.3451.2-1 will be erased\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nRemoving:\n mssql-server-ha\n x86_64 14.0.3451.2-1 @packages-microsoft-com-mssql-server-2017 9.3 M\n\nTransaction Summary\n================================================================================\nRemove 1 Package\n\nInstalled size: 9.3 M\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Erasing : mssql-server-ha-14.0.3451.2-1.x86_64 1/1 \n Verifying : mssql-server-ha-14.0.3451.2-1.x86_64 1/1 \n\nRemoved:\n mssql-server-ha.x86_64 0:14.0.3451.2-1 \n\nComplete!\n" ] } TASK [linux-system-roles.mssql : Configure the hadrenabled setting] ************ task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:418 Wednesday 03 August 2022 15:26:44 +0000 (0:00:01.228) 0:02:22.440 ****** included: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.mssql : Get the hadr hadrenabled setting] ************* task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 15:26:44 +0000 (0:00:00.057) 0:02:22.497 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "grep", "^hadrenabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004587", "end": "2022-08-03 15:26:44.374455", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:26:44.369868" } STDOUT: hadrenabled = 1 TASK [linux-system-roles.mssql : Configure the hadr hadrenabled setting] ******* task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 15:26:44 +0000 (0:00:00.355) 0:02:22.852 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "hadr.hadrenabled", "0" ], "delta": "0:00:00.049737", "end": "2022-08-03 15:26:44.773625", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:26:44.723888" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the hadr hadrenabled setting] *********** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 15:26:45 +0000 (0:00:00.411) 0:02:23.264 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the 3979 trace flag is enabled] ****** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:427 Wednesday 03 August 2022 15:26:45 +0000 (0:00:00.039) 0:02:23.303 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003858", "end": "2022-08-03 15:26:45.203422", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:26:45.199564" } STDOUT: traceflag0 = 3979 TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:433 Wednesday 03 August 2022 15:26:45 +0000 (0:00:00.374) 0:02:23.678 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the 3979 traceflag] ********************* task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:439 Wednesday 03 August 2022 15:26:45 +0000 (0:00:00.047) 0:02:23.725 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "traceflag", "3979", "off" ], "delta": "0:00:00.049752", "end": "2022-08-03 15:26:45.696387", "rc": 0, "start": "2022-08-03 15:26:45.646635" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:446 Wednesday 03 August 2022 15:26:46 +0000 (0:00:00.447) 0:02:24.173 ****** included: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.mssql : Get the control alternatewritethrough setting] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 15:26:46 +0000 (0:00:00.063) 0:02:24.237 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003867", "end": "2022-08-03 15:26:46.115700", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:26:46.111833" } STDOUT: alternatewritethrough = 0 TASK [linux-system-roles.mssql : Configure the control alternatewritethrough setting] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 15:26:46 +0000 (0:00:00.354) 0:02:24.591 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the control alternatewritethrough setting] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 15:26:46 +0000 (0:00:00.054) 0:02:24.646 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the writethrough setting] *********** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:452 Wednesday 03 August 2022 15:26:46 +0000 (0:00:00.039) 0:02:24.685 ****** included: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.mssql : Get the control writethrough setting] ********* task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 15:26:46 +0000 (0:00:00.057) 0:02:24.743 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003938", "end": "2022-08-03 15:26:46.614740", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:26:46.610802" } STDOUT: writethrough = 1 TASK [linux-system-roles.mssql : Configure the control writethrough setting] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 15:26:47 +0000 (0:00:00.350) 0:02:25.093 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "control.writethrough", "0" ], "delta": "0:00:00.048934", "end": "2022-08-03 15:26:47.010119", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:26:46.961185" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the control writethrough setting] ******* task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 15:26:47 +0000 (0:00:00.396) 0:02:25.490 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:463 Wednesday 03 August 2022 15:26:47 +0000 (0:00:00.037) 0:02:25.528 ****** skipping: [/cache/centos-7.qcow2c.snap] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:479 Wednesday 03 August 2022 15:26:47 +0000 (0:00:00.038) 0:02:25.567 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlskey setting] ***************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:488 Wednesday 03 August 2022 15:26:47 +0000 (0:00:00.037) 0:02:25.605 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlsprotocols setting] *********** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:497 Wednesday 03 August 2022 15:26:47 +0000 (0:00:00.036) 0:02:25.641 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the forceencryption setting] ******** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:504 Wednesday 03 August 2022 15:26:47 +0000 (0:00:00.084) 0:02:25.726 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:514 Wednesday 03 August 2022 15:26:47 +0000 (0:00:00.035) 0:02:25.761 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:533 Wednesday 03 August 2022 15:26:47 +0000 (0:00:00.046) 0:02:25.808 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-ha package] *********** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:544 Wednesday 03 August 2022 15:26:47 +0000 (0:00:00.045) 0:02:25.854 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:550 Wednesday 03 August 2022 15:26:47 +0000 (0:00:00.046) 0:02:25.900 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:557 Wednesday 03 August 2022 15:26:47 +0000 (0:00:00.044) 0:02:25.944 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable AlwaysOn Health events] **************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:565 Wednesday 03 August 2022 15:26:47 +0000 (0:00:00.046) 0:02:25.991 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:570 Wednesday 03 August 2022 15:26:47 +0000 (0:00:00.044) 0:02:26.035 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key files] ***** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:576 Wednesday 03 August 2022 15:26:48 +0000 (0:00:00.042) 0:02:26.078 ****** skipping: [/cache/centos-7.qcow2c.snap] => (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/centos-7.qcow2c.snap] => (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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:585 Wednesday 03 August 2022 15:26:48 +0000 (0:00:00.045) 0:02:26.124 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create and back up certificate] *************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:590 Wednesday 03 August 2022 15:26:48 +0000 (0:00:00.040) 0:02:26.164 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:596 Wednesday 03 August 2022 15:26:48 +0000 (0:00:00.039) 0:02:26.203 ****** skipping: [/cache/centos-7.qcow2c.snap] => (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/centos-7.qcow2c.snap] => (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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:608 Wednesday 03 August 2022 15:26:48 +0000 (0:00:00.048) 0:02:26.252 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create the] *********************************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:613 Wednesday 03 August 2022 15:26:48 +0000 (0:00:00.045) 0:02:26.298 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:619 Wednesday 03 August 2022 15:26:48 +0000 (0:00:00.043) 0:02:26.341 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:624 Wednesday 03 August 2022 15:26:48 +0000 (0:00:00.041) 0:02:26.382 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to the login] ************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:629 Wednesday 03 August 2022 15:26:48 +0000 (0:00:00.045) 0:02:26.427 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Back up and replicate the database] ********** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:634 Wednesday 03 August 2022 15:26:48 +0000 (0:00:00.043) 0:02:26.471 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:641 Wednesday 03 August 2022 15:26:48 +0000 (0:00:00.047) 0:02:26.518 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fail if the primary node failed] ************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:668 Wednesday 03 August 2022 15:26:48 +0000 (0:00:00.048) 0:02:26.567 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-ha package] *********** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:675 Wednesday 03 August 2022 15:26:48 +0000 (0:00:00.045) 0:02:26.612 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:681 Wednesday 03 August 2022 15:26:48 +0000 (0:00:00.044) 0:02:26.657 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:688 Wednesday 03 August 2022 15:26:48 +0000 (0:00:00.046) 0:02:26.703 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable AlwaysOn Health events] **************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:696 Wednesday 03 August 2022 15:26:48 +0000 (0:00:00.093) 0:02:26.796 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create master key encryption] ***************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:701 Wednesday 03 August 2022 15:26:48 +0000 (0:00:00.044) 0:02:26.841 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:706 Wednesday 03 August 2022 15:26:48 +0000 (0:00:00.040) 0:02:26.882 ****** skipping: [/cache/centos-7.qcow2c.snap] => (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/centos-7.qcow2c.snap] => (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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:718 Wednesday 03 August 2022 15:26:48 +0000 (0:00:00.050) 0:02:26.932 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restore certificate] ************************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:724 Wednesday 03 August 2022 15:26:48 +0000 (0:00:00.043) 0:02:26.976 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create database mirroring endpoints] ********** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:729 Wednesday 03 August 2022 15:26:48 +0000 (0:00:00.045) 0:02:27.021 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create the login] **************************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:734 Wednesday 03 August 2022 15:26:49 +0000 (0:00:00.042) 0:02:27.064 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:739 Wednesday 03 August 2022 15:26:49 +0000 (0:00:00.043) 0:02:27.107 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to the login] ************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:744 Wednesday 03 August 2022 15:26:49 +0000 (0:00:00.043) 0:02:27.151 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the database exists on secondaries] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:749 Wednesday 03 August 2022 15:26:49 +0000 (0:00:00.043) 0:02:27.195 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:756 Wednesday 03 August 2022 15:26:49 +0000 (0:00:00.047) 0:02:27.243 ****** skipping: [/cache/centos-7.qcow2c.snap] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:769 Wednesday 03 August 2022 15:26:49 +0000 (0:00:00.048) 0:02:27.291 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:780 Wednesday 03 August 2022 15:26:49 +0000 (0:00:00.044) 0:02:27.336 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the database exists] *************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:785 Wednesday 03 August 2022 15:26:49 +0000 (0:00:00.045) 0:02:27.381 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:793 Wednesday 03 August 2022 15:26:49 +0000 (0:00:00.045) 0:02:27.427 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true } MSG: Block inserted TASK [linux-system-roles.mssql : Input the sql file to SQL Server] ************ task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:802 Wednesday 03 August 2022 15:26:49 +0000 (0:00:00.362) 0:02:27.789 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the mssql_post_input_sql_file fact] ***** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:808 Wednesday 03 August 2022 15:26:49 +0000 (0:00:00.043) 0:02:27.833 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "mssql_post_input_sql_file": null }, "changed": false } META: role_complete for /cache/centos-7.qcow2c.snap TASK [Flush handlers] ********************************************************** task path: /tmp/tmpqg2s4pwm/tests/tests_idempotency_2017.yml:70 Wednesday 03 August 2022 15:26:49 +0000 (0:00:00.069) 0:02:27.902 ****** RUNNING HANDLER [linux-system-roles.mssql : Restart the mssql-server service] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 Wednesday 03 August 2022 15:26:49 +0000 (0:00:00.000) 0:02:27.902 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 15:25:48 UTC", "ActiveEnterTimestampMonotonic": "96531045", "ActiveExitTimestamp": "Wed 2022-08-03 15:26:27 UTC", "ActiveExitTimestampMonotonic": "134708802", "ActiveState": "inactive", "After": "systemd-journald.socket system.slice auditd.service -.mount network.target basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 15:25:48 UTC", "AssertTimestampMonotonic": "96530396", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 15:25:48 UTC", "ConditionTimestampMonotonic": "96530396", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "1", "ExecMainExitTimestamp": "Wed 2022-08-03 15:26:27 UTC", "ExecMainExitTimestampMonotonic": "135030821", "ExecMainPID": "4028", "ExecMainStartTimestamp": "Wed 2022-08-03 15:25:48 UTC", "ExecMainStartTimestampMonotonic": "96530977", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 15:25:48 UTC] ; stop_time=[Wed 2022-08-03 15:26:27 UTC] ; pid=4028 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 15:26:27 UTC", "InactiveEnterTimestampMonotonic": "135030935", "InactiveExitTimestamp": "Wed 2022-08-03 15:25:48 UTC", "InactiveExitTimestampMonotonic": "96531045", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14960", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice -.mount basic.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } META: ran handlers TASK [Run with the edited settings again - should report not changed] ********** task path: /tmp/tmpqg2s4pwm/tests/tests_idempotency_2017.yml:73 Wednesday 03 August 2022 15:26:50 +0000 (0:00:00.508) 0:02:28.411 ****** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Wednesday 03 August 2022 15:26:50 +0000 (0:00:00.206) 0:02:28.617 ****** included: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.mssql : Ensure ansible_facts used by role] ************ task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Wednesday 03 August 2022 15:26:50 +0000 (0:00:00.052) 0:02:28.669 ****** ok: [/cache/centos-7.qcow2c.snap] TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:11 Wednesday 03 August 2022 15:26:51 +0000 (0:00:00.443) 0:02:29.113 ****** ok: [/cache/centos-7.qcow2c.snap] => (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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [/cache/centos-7.qcow2c.snap] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-7.qcow2c.snap] => (item=CentOS_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/" }, "ansible_included_var_files": [ "/tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [/cache/centos-7.qcow2c.snap] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Wednesday 03 August 2022 15:26:51 +0000 (0:00:00.070) 0:02:29.184 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:12 Wednesday 03 August 2022 15:26:51 +0000 (0:00:00.044) 0:02:29.228 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:16 Wednesday 03 August 2022 15:26:51 +0000 (0:00:00.061) 0:02:29.290 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:22 Wednesday 03 August 2022 15:26:51 +0000 (0:00:00.040) 0:02:29.330 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that the user accepts EULA variables] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:27 Wednesday 03 August 2022 15:26:51 +0000 (0:00:00.039) 0:02:29.370 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:39 Wednesday 03 August 2022 15:26:51 +0000 (0:00:00.161) 0:02:29.532 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify if the mssql_upgrade variable is provided correctly] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Wednesday 03 August 2022 15:26:51 +0000 (0:00:00.059) 0:02:29.591 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:55 Wednesday 03 August 2022 15:26:51 +0000 (0:00:00.046) 0:02:29.637 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:63 Wednesday 03 August 2022 15:26:51 +0000 (0:00:00.047) 0:02:29.685 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:72 Wednesday 03 August 2022 15:26:51 +0000 (0:00:00.050) 0:02:29.735 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:85 Wednesday 03 August 2022 15:26:51 +0000 (0:00:00.045) 0:02:29.780 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:90 Wednesday 03 August 2022 15:26:52 +0000 (0:00:00.915) 0:02:30.696 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:101 Wednesday 03 August 2022 15:26:52 +0000 (0:00:00.046) 0:02:30.743 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server 2017 repo] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:107 Wednesday 03 August 2022 15:26:53 +0000 (0:00:00.614) 0:02:31.357 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:118 Wednesday 03 August 2022 15:26:53 +0000 (0:00:00.042) 0:02:31.399 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server 2019 repository] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:124 Wednesday 03 August 2022 15:26:53 +0000 (0:00:00.049) 0:02:31.449 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server package] ************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:134 Wednesday 03 August 2022 15:26:53 +0000 (0:00:00.098) 0:02:31.547 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3451.2-1.x86_64 providing mssql-server is already installed" ] } TASK [linux-system-roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:142 Wednesday 03 August 2022 15:26:54 +0000 (0:00:00.517) 0:02:32.065 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:150 Wednesday 03 August 2022 15:26:54 +0000 (0:00:00.049) 0:02:32.115 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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.006832", "end": "2022-08-03 15:26:53.973529", "rc": 0, "start": "2022-08-03 15:26:53.966697" } STDOUT: /var/opt/mssql/log/errorlog TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:165 Wednesday 03 August 2022 15:26:54 +0000 (0:00:00.336) 0:02:32.451 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:179 Wednesday 03 August 2022 15:26:55 +0000 (0:00:00.972) 0:02:33.423 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:189 Wednesday 03 August 2022 15:26:55 +0000 (0:00:00.055) 0:02:33.479 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:198 Wednesday 03 August 2022 15:26:55 +0000 (0:00:00.049) 0:02:33.529 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-11.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } TASK [linux-system-roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:203 Wednesday 03 August 2022 15:26:56 +0000 (0:00:00.558) 0:02:34.087 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 15:24:20 UTC", "ActiveEnterTimestampMonotonic": "7972622", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service network.target basic.target systemd-sysctl.service system.slice systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 15:24:20 UTC", "AssertTimestampMonotonic": "7770888", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 15:24:20 UTC", "ConditionTimestampMonotonic": "7770888", "Conflicts": "shutdown.target cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "964", "ExecMainStartTimestamp": "Wed 2022-08-03 15:24:20 UTC", "ExecMainStartTimestampMonotonic": "7771464", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-08-03 15:24:20 UTC", "InactiveExitTimestampMonotonic": "7771501", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14960", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14960", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "964", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target dbus.service polkit.service system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 15:24:20 UTC", "WatchdogTimestampMonotonic": "7972570", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:209 Wednesday 03 August 2022 15:26:56 +0000 (0:00:00.468) 0:02:34.556 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.099808", "end": "2022-08-03 15:26:56.568254", "rc": 0, "start": "2022-08-03 15:26:56.468446" } STDOUT: Current active profile: virtual-guest mssql TASK [linux-system-roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:219 Wednesday 03 August 2022 15:26:57 +0000 (0:00:00.497) 0:02:35.053 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:232 Wednesday 03 August 2022 15:26:57 +0000 (0:00:00.032) 0:02:35.086 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:241 Wednesday 03 August 2022 15:26:57 +0000 (0:00:00.031) 0:02:35.118 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:251 Wednesday 03 August 2022 15:26:57 +0000 (0:00:00.031) 0:02:35.149 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [linux-system-roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:258 Wednesday 03 August 2022 15:26:57 +0000 (0:00:00.325) 0:02:35.475 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "mssql-tools-17.10.1.1-1.x86_64 providing mssql-tools is already installed", "unixODBC-devel-2.3.7-1.rh.x86_64 providing unixODBC-devel is already installed" ] } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:270 Wednesday 03 August 2022 15:26:57 +0000 (0:00:00.521) 0:02:35.997 ****** included: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Wednesday 03 August 2022 15:26:58 +0000 (0:00:00.059) 0:02:36.056 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 15:26:49 UTC", "ActiveEnterTimestampMonotonic": "157483378", "ActiveExitTimestamp": "Wed 2022-08-03 15:26:27 UTC", "ActiveExitTimestampMonotonic": "134708802", "ActiveState": "active", "After": "systemd-journald.socket system.slice auditd.service -.mount network.target basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 15:26:49 UTC", "AssertTimestampMonotonic": "157482409", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 15:26:49 UTC", "ConditionTimestampMonotonic": "157482409", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "8881", "ExecMainStartTimestamp": "Wed 2022-08-03 15:26:49 UTC", "ExecMainStartTimestampMonotonic": "157483303", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 15:26:49 UTC] ; stop_time=[n/a] ; pid=8881 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 15:26:27 UTC", "InactiveEnterTimestampMonotonic": "135030935", "InactiveExitTimestamp": "Wed 2022-08-03 15:26:49 UTC", "InactiveExitTimestampMonotonic": "157483378", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14960", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "8881", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice -.mount basic.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 15:26:49 UTC", "WatchdogTimestampMonotonic": "157483348", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Wednesday 03 August 2022 15:26:58 +0000 (0:00:00.408) 0:02:36.464 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003620", "end": "2022-08-03 15:26:58.332546", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:26:58.328926" } STDOUT: tcpport = 1435 TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Wednesday 03 August 2022 15:26:58 +0000 (0:00:00.344) 0:02:36.809 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003890", "end": "2022-08-03 15:26:58.657155", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:26:58.653265" } STDOUT: ipaddress = 127.0.0.1 TASK [linux-system-roles.mssql : Set a fact with a password query] ************* task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Wednesday 03 August 2022 15:26:59 +0000 (0:00:00.323) 0:02:37.132 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": "/opt/mssql-tools/bin/sqlcmd -S 127.0.0.1,1435 -U sa -P p@55w0rd" }, "changed": false } TASK [linux-system-roles.mssql : Check if the set password matches the existing password] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:275 Wednesday 03 August 2022 15:26:59 +0000 (0:00:00.066) 0:02:37.198 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-S", "127.0.0.1,1435", "-U", "sa", "-P", "p@55w0rd", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.027111", "end": "2022-08-03 15:26:59.074314", "rc": 0, "start": "2022-08-03 15:26:59.047203" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2017 (RTM-CU30) (KB5013756) - 14.0.3451.2 (X64) Jun 22 2022 18:20:15 Copyright (C) 2017 Microsoft Corporation Standard Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:281 Wednesday 03 August 2022 15:26:59 +0000 (0:00:00.350) 0:02:37.548 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Change the password of the sa user] *********** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:288 Wednesday 03 August 2022 15:26:59 +0000 (0:00:00.037) 0:02:37.585 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input the sql file to SQL Server] ************ task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:296 Wednesday 03 August 2022 15:26:59 +0000 (0:00:00.040) 0:02:37.626 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the mssql_pre_input_sql_file fact] ****** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:302 Wednesday 03 August 2022 15:26:59 +0000 (0:00:00.037) 0:02:37.663 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:311 Wednesday 03 August 2022 15:26:59 +0000 (0:00:00.047) 0:02:37.711 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Standard edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n edition_matches=false\nelse\n edition_matches=true\nfi\necho \"${edition_matches}\"\n", "delta": "0:00:00.005763", "end": "2022-08-03 15:26:59.572862", "rc": 0, "start": "2022-08-03 15:26:59.567099" } STDOUT: true TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:324 Wednesday 03 August 2022 15:27:00 +0000 (0:00:00.338) 0:02:38.049 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Change the edition of MSSQL] ****************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:331 Wednesday 03 August 2022 15:27:00 +0000 (0:00:00.051) 0:02:38.101 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the IP address setting] ************* task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:340 Wednesday 03 August 2022 15:27:00 +0000 (0:00:00.051) 0:02:38.152 ****** included: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.mssql : Get the network ipaddress setting] ************ task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 15:27:00 +0000 (0:00:00.057) 0:02:38.210 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003904", "end": "2022-08-03 15:27:00.069383", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:27:00.065479" } STDOUT: ipaddress = 127.0.0.1 TASK [linux-system-roles.mssql : Configure the network ipaddress setting] ****** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 15:27:00 +0000 (0:00:00.334) 0:02:38.545 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the network ipaddress setting] ********** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 15:27:00 +0000 (0:00:00.049) 0:02:38.595 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register the previous tcpport setting] ******** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:347 Wednesday 03 August 2022 15:27:00 +0000 (0:00:00.033) 0:02:38.629 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the 1435 TCP port] ************************************************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:354 Wednesday 03 August 2022 15:27:00 +0000 (0:00:00.106) 0:02:38.735 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the TCP port setting to 1435] ******* task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:365 Wednesday 03 August 2022 15:27:00 +0000 (0:00:00.046) 0:02:38.782 ****** included: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.mssql : Get the network tcpport setting] ************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 15:27:00 +0000 (0:00:00.052) 0:02:38.834 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003706", "end": "2022-08-03 15:27:00.705251", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:27:00.701545" } STDOUT: tcpport = 1435 TASK [linux-system-roles.mssql : Configure the network tcpport setting] ******** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 15:27:01 +0000 (0:00:00.347) 0:02:39.182 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the network tcpport setting] ************ task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 15:27:01 +0000 (0:00:00.045) 0:02:39.228 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:371 Wednesday 03 August 2022 15:27:01 +0000 (0:00:00.032) 0:02:39.260 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the sqlagent setting] *************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:389 Wednesday 03 August 2022 15:27:01 +0000 (0:00:00.044) 0:02:39.305 ****** included: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.mssql : Get the sqlagent enabled setting] ************* task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 15:27:01 +0000 (0:00:00.060) 0:02:39.365 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003870", "end": "2022-08-03 15:27:01.225933", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:27:01.222063" } STDOUT: enabled = False TASK [linux-system-roles.mssql : Configure the sqlagent enabled setting] ******* task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 15:27:01 +0000 (0:00:00.344) 0:02:39.710 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the sqlagent enabled setting] *********** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 15:27:01 +0000 (0:00:00.053) 0:02:39.763 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-fts package] ********** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:396 Wednesday 03 August 2022 15:27:01 +0000 (0:00:00.034) 0:02:39.797 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "mssql-server-fts is not installed" ] } TASK [linux-system-roles.mssql : Ensure the powershell package] **************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:403 Wednesday 03 August 2022 15:27:02 +0000 (0:00:00.573) 0:02:40.371 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-ha package] *********** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:412 Wednesday 03 August 2022 15:27:02 +0000 (0:00:00.036) 0:02:40.408 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "mssql-server-ha is not installed" ] } TASK [linux-system-roles.mssql : Configure the hadrenabled setting] ************ task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:418 Wednesday 03 August 2022 15:27:02 +0000 (0:00:00.628) 0:02:41.037 ****** included: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.mssql : Get the hadr hadrenabled setting] ************* task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 15:27:03 +0000 (0:00:00.058) 0:02:41.095 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "grep", "^hadrenabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004278", "end": "2022-08-03 15:27:02.966008", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:27:02.961730" } STDOUT: hadrenabled = 0 TASK [linux-system-roles.mssql : Configure the hadr hadrenabled setting] ******* task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 15:27:03 +0000 (0:00:00.349) 0:02:41.444 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the hadr hadrenabled setting] *********** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 15:27:03 +0000 (0:00:00.052) 0:02:41.497 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the 3979 trace flag is enabled] ****** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:427 Wednesday 03 August 2022 15:27:03 +0000 (0:00:00.036) 0:02:41.533 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003642", "end": "2022-08-03 15:27:03.386625", "failed_when_result": false, "rc": 1, "start": "2022-08-03 15:27:03.382983" } MSG: non-zero return code TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:433 Wednesday 03 August 2022 15:27:03 +0000 (0:00:00.327) 0:02:41.861 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the 3979 traceflag] ********************* task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:439 Wednesday 03 August 2022 15:27:03 +0000 (0:00:00.048) 0:02:41.910 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:446 Wednesday 03 August 2022 15:27:03 +0000 (0:00:00.054) 0:02:41.964 ****** included: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.mssql : Get the control alternatewritethrough setting] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 15:27:03 +0000 (0:00:00.057) 0:02:42.021 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003907", "end": "2022-08-03 15:27:03.885611", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:27:03.881704" } STDOUT: alternatewritethrough = 0 TASK [linux-system-roles.mssql : Configure the control alternatewritethrough setting] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 15:27:04 +0000 (0:00:00.340) 0:02:42.361 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the control alternatewritethrough setting] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 15:27:04 +0000 (0:00:00.064) 0:02:42.426 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the writethrough setting] *********** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:452 Wednesday 03 August 2022 15:27:04 +0000 (0:00:00.097) 0:02:42.523 ****** included: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.mssql : Get the control writethrough setting] ********* task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 15:27:04 +0000 (0:00:00.060) 0:02:42.583 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003861", "end": "2022-08-03 15:27:04.452442", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:27:04.448581" } STDOUT: writethrough = 0 TASK [linux-system-roles.mssql : Configure the control writethrough setting] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 15:27:04 +0000 (0:00:00.348) 0:02:42.931 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the control writethrough setting] ******* task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 15:27:04 +0000 (0:00:00.055) 0:02:42.987 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:463 Wednesday 03 August 2022 15:27:04 +0000 (0:00:00.037) 0:02:43.025 ****** skipping: [/cache/centos-7.qcow2c.snap] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:479 Wednesday 03 August 2022 15:27:05 +0000 (0:00:00.041) 0:02:43.066 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlskey setting] ***************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:488 Wednesday 03 August 2022 15:27:05 +0000 (0:00:00.033) 0:02:43.099 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlsprotocols setting] *********** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:497 Wednesday 03 August 2022 15:27:05 +0000 (0:00:00.032) 0:02:43.132 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the forceencryption setting] ******** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:504 Wednesday 03 August 2022 15:27:05 +0000 (0:00:00.035) 0:02:43.168 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:514 Wednesday 03 August 2022 15:27:05 +0000 (0:00:00.037) 0:02:43.205 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:533 Wednesday 03 August 2022 15:27:05 +0000 (0:00:00.043) 0:02:43.249 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-ha package] *********** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:544 Wednesday 03 August 2022 15:27:05 +0000 (0:00:00.045) 0:02:43.295 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:550 Wednesday 03 August 2022 15:27:05 +0000 (0:00:00.042) 0:02:43.337 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:557 Wednesday 03 August 2022 15:27:05 +0000 (0:00:00.043) 0:02:43.380 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable AlwaysOn Health events] **************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:565 Wednesday 03 August 2022 15:27:05 +0000 (0:00:00.043) 0:02:43.423 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:570 Wednesday 03 August 2022 15:27:05 +0000 (0:00:00.044) 0:02:43.468 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key files] ***** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:576 Wednesday 03 August 2022 15:27:05 +0000 (0:00:00.042) 0:02:43.511 ****** skipping: [/cache/centos-7.qcow2c.snap] => (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/centos-7.qcow2c.snap] => (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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:585 Wednesday 03 August 2022 15:27:05 +0000 (0:00:00.046) 0:02:43.557 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create and back up certificate] *************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:590 Wednesday 03 August 2022 15:27:05 +0000 (0:00:00.044) 0:02:43.602 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:596 Wednesday 03 August 2022 15:27:05 +0000 (0:00:00.084) 0:02:43.686 ****** skipping: [/cache/centos-7.qcow2c.snap] => (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/centos-7.qcow2c.snap] => (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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:608 Wednesday 03 August 2022 15:27:05 +0000 (0:00:00.050) 0:02:43.737 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create the] *********************************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:613 Wednesday 03 August 2022 15:27:05 +0000 (0:00:00.054) 0:02:43.792 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:619 Wednesday 03 August 2022 15:27:05 +0000 (0:00:00.045) 0:02:43.837 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:624 Wednesday 03 August 2022 15:27:05 +0000 (0:00:00.047) 0:02:43.885 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to the login] ************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:629 Wednesday 03 August 2022 15:27:05 +0000 (0:00:00.046) 0:02:43.931 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Back up and replicate the database] ********** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:634 Wednesday 03 August 2022 15:27:05 +0000 (0:00:00.045) 0:02:43.977 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:641 Wednesday 03 August 2022 15:27:05 +0000 (0:00:00.049) 0:02:44.027 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fail if the primary node failed] ************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:668 Wednesday 03 August 2022 15:27:06 +0000 (0:00:00.052) 0:02:44.079 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-ha package] *********** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:675 Wednesday 03 August 2022 15:27:06 +0000 (0:00:00.045) 0:02:44.125 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:681 Wednesday 03 August 2022 15:27:06 +0000 (0:00:00.049) 0:02:44.174 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:688 Wednesday 03 August 2022 15:27:06 +0000 (0:00:00.047) 0:02:44.222 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable AlwaysOn Health events] **************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:696 Wednesday 03 August 2022 15:27:06 +0000 (0:00:00.046) 0:02:44.269 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create master key encryption] ***************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:701 Wednesday 03 August 2022 15:27:06 +0000 (0:00:00.043) 0:02:44.313 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:706 Wednesday 03 August 2022 15:27:06 +0000 (0:00:00.043) 0:02:44.357 ****** skipping: [/cache/centos-7.qcow2c.snap] => (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/centos-7.qcow2c.snap] => (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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:718 Wednesday 03 August 2022 15:27:06 +0000 (0:00:00.053) 0:02:44.410 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restore certificate] ************************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:724 Wednesday 03 August 2022 15:27:06 +0000 (0:00:00.045) 0:02:44.456 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create database mirroring endpoints] ********** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:729 Wednesday 03 August 2022 15:27:06 +0000 (0:00:00.041) 0:02:44.498 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create the login] **************************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:734 Wednesday 03 August 2022 15:27:06 +0000 (0:00:00.045) 0:02:44.544 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:739 Wednesday 03 August 2022 15:27:06 +0000 (0:00:00.043) 0:02:44.587 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to the login] ************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:744 Wednesday 03 August 2022 15:27:06 +0000 (0:00:00.044) 0:02:44.632 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the database exists on secondaries] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:749 Wednesday 03 August 2022 15:27:06 +0000 (0:00:00.045) 0:02:44.677 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:756 Wednesday 03 August 2022 15:27:06 +0000 (0:00:00.117) 0:02:44.795 ****** skipping: [/cache/centos-7.qcow2c.snap] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:769 Wednesday 03 August 2022 15:27:06 +0000 (0:00:00.049) 0:02:44.844 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:780 Wednesday 03 August 2022 15:27:06 +0000 (0:00:00.046) 0:02:44.891 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the database exists] *************** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:785 Wednesday 03 August 2022 15:27:06 +0000 (0:00:00.045) 0:02:44.936 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:793 Wednesday 03 August 2022 15:27:06 +0000 (0:00:00.052) 0:02:44.989 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } TASK [linux-system-roles.mssql : Input the sql file to SQL Server] ************ task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:802 Wednesday 03 August 2022 15:27:07 +0000 (0:00:00.374) 0:02:45.363 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the mssql_post_input_sql_file fact] ***** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:808 Wednesday 03 August 2022 15:27:07 +0000 (0:00:00.036) 0:02:45.399 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "mssql_post_input_sql_file": null }, "changed": false } META: role_complete for /cache/centos-7.qcow2c.snap TASK [Verify disabled settings] ************************************************ task path: /tmp/tmpqg2s4pwm/tests/tests_idempotency_2017.yml:86 Wednesday 03 August 2022 15:27:07 +0000 (0:00:00.059) 0:02:45.459 ****** included: /tmp/tmpqg2s4pwm/tests/tasks/verify_settings.yml for /cache/centos-7.qcow2c.snap TASK [Check if the errorlog file exists and its location] ********************** task path: /tmp/tmpqg2s4pwm/tests/tasks/verify_settings.yml:8 Wednesday 03 August 2022 15:27:07 +0000 (0:00:00.148) 0:02:45.607 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": "set -euo pipefail\nerrorlog=\"$(grep '^errorlogfile' /var/opt/mssql/mssql.conf \\\n2>&1 | sed 's\\errorlogfile : \\\\')\" || :\nif [ -f \"${errorlog}\" ]; then\n echo \"${errorlog}\"\nelif [ -f /var/opt/mssql/log/errorlog ]; then\n echo \"/var/opt/mssql/log/errorlog\"\nelse\n echo \"\"\nfi\n", "delta": "0:00:00.006805", "end": "2022-08-03 15:27:07.469651", "rc": 0, "start": "2022-08-03 15:27:07.462846" } STDOUT: /var/opt/mssql/log/errorlog TASK [Check if the set edition matches the existing edition] ******************* task path: /tmp/tmpqg2s4pwm/tests/tasks/verify_settings.yml:23 Wednesday 03 August 2022 15:27:07 +0000 (0:00:00.342) 0:02:45.950 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Standard edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n edition_matches=false\nelse\n edition_matches=true\nfi\necho \"${edition_matches}\"\n", "delta": "0:00:00.006138", "end": "2022-08-03 15:27:07.815300", "rc": 0, "start": "2022-08-03 15:27:07.809162" } STDOUT: true TASK [Verify if the edition matches] ******************************************* task path: /tmp/tmpqg2s4pwm/tests/tasks/verify_settings.yml:36 Wednesday 03 August 2022 15:27:08 +0000 (0:00:00.341) 0:02:46.292 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the IP address setting] ******************************************* task path: /tmp/tmpqg2s4pwm/tests/tasks/verify_settings.yml:40 Wednesday 03 August 2022 15:27:08 +0000 (0:00:00.174) 0:02:46.466 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the TCP port setting] ********************************************* task path: /tmp/tmpqg2s4pwm/tests/tasks/verify_settings.yml:47 Wednesday 03 August 2022 15:27:08 +0000 (0:00:00.033) 0:02:46.499 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/tmpqg2s4pwm/tests/tasks/verify_settings.yml:57 Wednesday 03 August 2022 15:27:08 +0000 (0:00:00.032) 0:02:46.531 ****** TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Wednesday 03 August 2022 15:27:08 +0000 (0:00:00.055) 0:02:46.587 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 15:26:49 UTC", "ActiveEnterTimestampMonotonic": "157483378", "ActiveExitTimestamp": "Wed 2022-08-03 15:26:27 UTC", "ActiveExitTimestampMonotonic": "134708802", "ActiveState": "active", "After": "systemd-journald.socket system.slice auditd.service -.mount network.target basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 15:26:49 UTC", "AssertTimestampMonotonic": "157482409", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 15:26:49 UTC", "ConditionTimestampMonotonic": "157482409", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "8881", "ExecMainStartTimestamp": "Wed 2022-08-03 15:26:49 UTC", "ExecMainStartTimestampMonotonic": "157483303", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 15:26:49 UTC] ; stop_time=[n/a] ; pid=8881 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 15:26:27 UTC", "InactiveEnterTimestampMonotonic": "135030935", "InactiveExitTimestamp": "Wed 2022-08-03 15:26:49 UTC", "InactiveExitTimestampMonotonic": "157483378", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14960", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "8881", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice -.mount basic.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 15:26:49 UTC", "WatchdogTimestampMonotonic": "157483348", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Wednesday 03 August 2022 15:27:08 +0000 (0:00:00.412) 0:02:47.000 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003720", "end": "2022-08-03 15:27:08.847798", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:27:08.844078" } STDOUT: tcpport = 1435 TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Wednesday 03 August 2022 15:27:09 +0000 (0:00:00.323) 0:02:47.323 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003687", "end": "2022-08-03 15:27:09.176180", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:27:09.172493" } STDOUT: ipaddress = 127.0.0.1 TASK [linux-system-roles.mssql : Set a fact with a password query] ************* task path: /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Wednesday 03 August 2022 15:27:09 +0000 (0:00:00.330) 0:02:47.653 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": "/opt/mssql-tools/bin/sqlcmd -S 127.0.0.1,1435 -U sa -P p@55w0rd" }, "changed": false } META: role_complete for /cache/centos-7.qcow2c.snap TASK [Wait for mssql-server to start and prepare for client connections] ******* task path: /tmp/tmpqg2s4pwm/tests/tasks/verify_settings.yml:65 Wednesday 03 August 2022 15:27:09 +0000 (0:00:00.082) 0:02:47.735 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "elapsed": 3, "gid": 993, "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": 6885, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/tmpqg2s4pwm/tests/tasks/verify_settings.yml:72 Wednesday 03 August 2022 15:27:13 +0000 (0:00:03.335) 0:02:51.071 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-S", "127.0.0.1,1435", "-U", "sa", "-P", "p@55w0rd", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.025061", "end": "2022-08-03 15:27:12.944304", "rc": 0, "start": "2022-08-03 15:27:12.919243" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2017 (RTM-CU30) (KB5013756) - 14.0.3451.2 (X64) Jun 22 2022 18:20:15 Copyright (C) 2017 Microsoft Corporation Standard Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Verify if the password matched] ****************************************** task path: /tmp/tmpqg2s4pwm/tests/tasks/verify_settings.yml:78 Wednesday 03 August 2022 15:27:13 +0000 (0:00:00.349) 0:02:51.421 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify that the SQL agent is enabled] ************************************ task path: /tmp/tmpqg2s4pwm/tests/tasks/verify_settings.yml:82 Wednesday 03 August 2022 15:27:13 +0000 (0:00:00.180) 0:02:51.602 ****** included: /tmp/tmpqg2s4pwm/tests/tasks/mssql_conf_verify.yml for /cache/centos-7.qcow2c.snap TASK [Get the value of the enabled setting] ************************************ task path: /tmp/tmpqg2s4pwm/tests/tasks/mssql_conf_verify.yml:7 Wednesday 03 August 2022 15:27:13 +0000 (0:00:00.054) 0:02:51.657 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": "grep '^enabled' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005196", "end": "2022-08-03 15:27:13.503324", "rc": 0, "start": "2022-08-03 15:27:13.498128" } STDOUT: enabled = False TASK [Verify the enabled setting when it is type str] ************************** task path: /tmp/tmpqg2s4pwm/tests/tasks/mssql_conf_verify.yml:14 Wednesday 03 August 2022 15:27:13 +0000 (0:00:00.321) 0:02:51.978 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the enabled setting when it is type bool] ************************* task path: /tmp/tmpqg2s4pwm/tests/tasks/mssql_conf_verify.yml:26 Wednesday 03 August 2022 15:27:13 +0000 (0:00:00.046) 0:02:52.024 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /tmp/tmpqg2s4pwm/tests/tasks/mssql_conf_verify.yml:41 Wednesday 03 August 2022 15:27:14 +0000 (0:00:00.061) 0:02:52.086 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the mssql-server-fts package] ************************************* task path: /tmp/tmpqg2s4pwm/tests/tasks/verify_settings.yml:89 Wednesday 03 August 2022 15:27:14 +0000 (0:00:00.033) 0:02:52.119 ****** included: /tmp/tmpqg2s4pwm/tests/tasks/verify_package.yml for /cache/centos-7.qcow2c.snap TASK [Gather package facts] **************************************************** task path: /tmp/tmpqg2s4pwm/tests/tasks/verify_package.yml:7 Wednesday 03 August 2022 15:27:14 +0000 (0:00:00.053) 0:02:52.173 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Verify if the mssql-server-fts package is installed] ********************* task path: /tmp/tmpqg2s4pwm/tests/tasks/verify_package.yml:12 Wednesday 03 August 2022 15:27:14 +0000 (0:00:00.853) 0:02:53.026 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the mssql-server-fts package is not installed] ***************** task path: /tmp/tmpqg2s4pwm/tests/tasks/verify_package.yml:17 Wednesday 03 August 2022 15:27:15 +0000 (0:00:00.045) 0:02:53.071 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the powershell package] ******************************************* task path: /tmp/tmpqg2s4pwm/tests/tasks/verify_settings.yml:96 Wednesday 03 August 2022 15:27:15 +0000 (0:00:00.052) 0:02:53.124 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the mssql-server-ha package is installed] ********************** task path: /tmp/tmpqg2s4pwm/tests/tasks/verify_settings.yml:107 Wednesday 03 August 2022 15:27:15 +0000 (0:00:00.034) 0:02:53.159 ****** included: /tmp/tmpqg2s4pwm/tests/tasks/verify_package.yml for /cache/centos-7.qcow2c.snap TASK [Gather package facts] **************************************************** task path: /tmp/tmpqg2s4pwm/tests/tasks/verify_package.yml:7 Wednesday 03 August 2022 15:27:15 +0000 (0:00:00.096) 0:02:53.256 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Verify if the mssql-server-ha package is installed] ********************** task path: /tmp/tmpqg2s4pwm/tests/tasks/verify_package.yml:12 Wednesday 03 August 2022 15:27:16 +0000 (0:00:00.877) 0:02:54.133 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the mssql-server-ha package is not installed] ****************** task path: /tmp/tmpqg2s4pwm/tests/tasks/verify_package.yml:17 Wednesday 03 August 2022 15:27:16 +0000 (0:00:00.050) 0:02:54.184 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the hadrenabled setting] ****************************************** task path: /tmp/tmpqg2s4pwm/tests/tasks/verify_settings.yml:113 Wednesday 03 August 2022 15:27:16 +0000 (0:00:00.053) 0:02:54.237 ****** included: /tmp/tmpqg2s4pwm/tests/tasks/mssql_conf_verify.yml for /cache/centos-7.qcow2c.snap TASK [Get the value of the hadrenabled setting] ******************************** task path: /tmp/tmpqg2s4pwm/tests/tasks/mssql_conf_verify.yml:7 Wednesday 03 August 2022 15:27:16 +0000 (0:00:00.054) 0:02:54.292 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": "grep '^hadrenabled' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005058", "end": "2022-08-03 15:27:16.138340", "rc": 0, "start": "2022-08-03 15:27:16.133282" } STDOUT: hadrenabled = 0 TASK [Verify the hadrenabled setting when it is type str] ********************** task path: /tmp/tmpqg2s4pwm/tests/tasks/mssql_conf_verify.yml:14 Wednesday 03 August 2022 15:27:16 +0000 (0:00:00.324) 0:02:54.616 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the hadrenabled setting when it is type bool] ********************* task path: /tmp/tmpqg2s4pwm/tests/tasks/mssql_conf_verify.yml:26 Wednesday 03 August 2022 15:27:16 +0000 (0:00:00.046) 0:02:54.663 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /tmp/tmpqg2s4pwm/tests/tasks/mssql_conf_verify.yml:41 Wednesday 03 August 2022 15:27:16 +0000 (0:00:00.064) 0:02:54.727 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/tmpqg2s4pwm/tests/tasks/verify_settings.yml:123 Wednesday 03 August 2022 15:27:16 +0000 (0:00:00.035) 0:02:54.763 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": "grep '^traceflag' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005102", "end": "2022-08-03 15:27:16.618784", "rc": 0, "start": "2022-08-03 15:27:16.613682" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /tmp/tmpqg2s4pwm/tests/tasks/verify_settings.yml:128 Wednesday 03 August 2022 15:27:17 +0000 (0:00:00.359) 0:02:55.122 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /tmp/tmpqg2s4pwm/tests/tasks/verify_settings.yml:133 Wednesday 03 August 2022 15:27:17 +0000 (0:00:00.097) 0:02:55.220 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/tmpqg2s4pwm/tests/tasks/verify_settings.yml:139 Wednesday 03 August 2022 15:27:17 +0000 (0:00:00.057) 0:02:55.277 ****** included: /tmp/tmpqg2s4pwm/tests/tasks/mssql_conf_verify.yml for /cache/centos-7.qcow2c.snap TASK [Get the value of the alternatewritethrough setting] ********************** task path: /tmp/tmpqg2s4pwm/tests/tasks/mssql_conf_verify.yml:7 Wednesday 03 August 2022 15:27:17 +0000 (0:00:00.052) 0:02:55.330 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": "grep '^alternatewritethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004963", "end": "2022-08-03 15:27:17.183270", "rc": 0, "start": "2022-08-03 15:27:17.178307" } STDOUT: alternatewritethrough = 0 TASK [Verify the alternatewritethrough setting when it is type str] ************ task path: /tmp/tmpqg2s4pwm/tests/tasks/mssql_conf_verify.yml:14 Wednesday 03 August 2022 15:27:17 +0000 (0:00:00.328) 0:02:55.658 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the alternatewritethrough setting when it is type bool] *********** task path: /tmp/tmpqg2s4pwm/tests/tasks/mssql_conf_verify.yml:26 Wednesday 03 August 2022 15:27:17 +0000 (0:00:00.049) 0:02:55.708 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /tmp/tmpqg2s4pwm/tests/tasks/mssql_conf_verify.yml:41 Wednesday 03 August 2022 15:27:17 +0000 (0:00:00.063) 0:02:55.771 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/tmpqg2s4pwm/tests/tasks/verify_settings.yml:145 Wednesday 03 August 2022 15:27:17 +0000 (0:00:00.037) 0:02:55.809 ****** included: /tmp/tmpqg2s4pwm/tests/tasks/mssql_conf_verify.yml for /cache/centos-7.qcow2c.snap TASK [Get the value of the writethrough setting] ******************************* task path: /tmp/tmpqg2s4pwm/tests/tasks/mssql_conf_verify.yml:7 Wednesday 03 August 2022 15:27:17 +0000 (0:00:00.057) 0:02:55.867 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": "grep '^writethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005420", "end": "2022-08-03 15:27:17.714826", "rc": 0, "start": "2022-08-03 15:27:17.709406" } STDOUT: writethrough = 0 TASK [Verify the writethrough setting when it is type str] ********************* task path: /tmp/tmpqg2s4pwm/tests/tasks/mssql_conf_verify.yml:14 Wednesday 03 August 2022 15:27:18 +0000 (0:00:00.325) 0:02:56.192 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting when it is type bool] ******************** task path: /tmp/tmpqg2s4pwm/tests/tasks/mssql_conf_verify.yml:26 Wednesday 03 August 2022 15:27:18 +0000 (0:00:00.049) 0:02:56.242 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /tmp/tmpqg2s4pwm/tests/tasks/mssql_conf_verify.yml:41 Wednesday 03 August 2022 15:27:18 +0000 (0:00:00.062) 0:02:56.304 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/tmpqg2s4pwm/tests/tasks/verify_settings.yml:155 Wednesday 03 August 2022 15:27:18 +0000 (0:00:00.035) 0:02:56.340 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/tmpqg2s4pwm/tests/tasks/verify_settings.yml:163 Wednesday 03 August 2022 15:27:18 +0000 (0:00:00.038) 0:02:56.379 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/tmpqg2s4pwm/tests/tasks/verify_settings.yml:171 Wednesday 03 August 2022 15:27:18 +0000 (0:00:00.043) 0:02:56.422 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/tmpqg2s4pwm/tests/tasks/verify_settings.yml:179 Wednesday 03 August 2022 15:27:18 +0000 (0:00:00.035) 0:02:56.458 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the ansible_managed header in the configuration file] ************** task path: /tmp/tmpqg2s4pwm/tests/tests_idempotency_2017.yml:98 Wednesday 03 August 2022 15:27:18 +0000 (0:00:00.098) 0:02:56.557 ****** included: /tmp/tmpqg2s4pwm/tests/tasks/check_header.yml for /cache/centos-7.qcow2c.snap TASK [Grep the ansible_managed header in /var/opt/mssql/mssql.conf] ************ task path: /tmp/tmpqg2s4pwm/tests/tasks/check_header.yml:4 Wednesday 03 August 2022 15:27:18 +0000 (0:00:00.144) 0:02:56.702 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "grep", "Ansible managed\n", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003641", "end": "2022-08-03 15:27:18.584977", "rc": 0, "start": "2022-08-03 15:27:18.581336" } STDOUT: # BEGIN ANSIBLE MANAGED BLOCK # # Ansible managed # # END ANSIBLE MANAGED BLOCK [sqlagent] enabled = False [EULA] accepteula = Y [network] ipaddress = 127.0.0.1 tcpport = 1435 [hadr] hadrenabled = 0 [traceflag] [control] alternatewritethrough = 0 writethrough = 0 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-7.qcow2c.snap : ok=255 changed=34 unreachable=0 failed=0 skipped=339 rescued=0 ignored=1 Wednesday 03 August 2022 15:27:19 +0000 (0:00:00.377) 0:02:57.079 ****** =============================================================================== linux-system-roles.mssql : Ensure the mssql-server package ------------- 31.98s /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:134 ------ linux-system-roles.mssql : Ensure the mssql-server-fts package --------- 20.39s /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:396 ------ linux-system-roles.mssql : Change the password of the sa user ----------- 5.26s /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:288 ------ linux-system-roles.mssql : Change the edition of MSSQL ------------------ 5.08s /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:331 ------ linux-system-roles.mssql : Ensure that SQL Server client tools are installed --- 4.45s /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:258 ------ linux-system-roles.mssql : Set up MSSQL --------------------------------- 4.44s /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:189 ------ linux-system-roles.mssql : Ensure the mssql-server-ha package ----------- 4.18s /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:412 ------ Wait for mssql-server to start and prepare for client connections ------- 3.46s /tmp/tmpqg2s4pwm/tests/tasks/verify_settings.yml:65 --------------------------- Wait for mssql-server to start and prepare for client connections ------- 3.34s /tmp/tmpqg2s4pwm/tests/tasks/verify_settings.yml:65 --------------------------- linux-system-roles.mssql : Ensure that the tuned-profiles-mssql package is installed --- 2.60s /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:198 ------ linux-system-roles.mssql : Gather system services facts ----------------- 2.09s /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:165 ------ linux-system-roles.mssql : Gather package facts ------------------------- 2.08s /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:85 ------- linux-system-roles.mssql : Gather system services facts ----------------- 1.97s /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:165 ------ linux-system-roles.mssql : Ensure the mssql-server-fts package ---------- 1.97s /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:396 ------ linux-system-roles.mssql : Ensure the mssql-server-ha package ----------- 1.86s /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:412 ------ linux-system-roles.mssql : Gather package facts ------------------------- 1.82s /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:85 ------- linux-system-roles.mssql : Check if the 3979 trace flag is enabled ------ 1.70s /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:427 ------ linux-system-roles.mssql : Add the fixed mssql profile to the list of Tuned profiles --- 1.60s /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/main.yml:241 ------ linux-system-roles.mssql : Get the hadr hadrenabled setting ------------- 1.34s /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 linux-system-roles.mssql : Check if a custom tcpport setting exist ------ 1.33s /tmp/tmpqg2s4pwm/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 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/tmp1kc47jky 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: tests_idempotency_2017.yml ******************************************* 1 plays in /tmp/tmplq_pq1x0/tests/mssql/tests_idempotency_2017.yml PLAY [Ensure that the role is idempotent] ************************************** META: ran handlers TASK [Run on a fresh host and set all parameters] ****************************** task path: /tmp/tmplq_pq1x0/tests/mssql/tests_idempotency_2017.yml:11 Wednesday 03 August 2022 15:47:12 +0000 (0:00:00.039) 0:00:00.039 ****** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Wednesday 03 August 2022 15:47:12 +0000 (0:00:00.115) 0:00:00.155 ****** included: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Wednesday 03 August 2022 15:47:12 +0000 (0:00:00.028) 0:00:00.184 ****** ok: [/cache/centos-7.qcow2c.snap] TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:10 Wednesday 03 August 2022 15:47:13 +0000 (0:00:00.834) 0:00:01.019 ****** ok: [/cache/centos-7.qcow2c.snap] => (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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [/cache/centos-7.qcow2c.snap] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-7.qcow2c.snap] => (item=CentOS_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/" }, "ansible_included_var_files": [ "/tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [/cache/centos-7.qcow2c.snap] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Wednesday 03 August 2022 15:47:13 +0000 (0:00:00.056) 0:00:01.075 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:12 Wednesday 03 August 2022 15:47:13 +0000 (0:00:00.025) 0:00:01.101 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:16 Wednesday 03 August 2022 15:47:13 +0000 (0:00:00.025) 0:00:01.127 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:22 Wednesday 03 August 2022 15:47:13 +0000 (0:00:00.020) 0:00:01.148 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that the user accepts EULA variables] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:27 Wednesday 03 August 2022 15:47:13 +0000 (0:00:00.021) 0:00:01.169 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:39 Wednesday 03 August 2022 15:47:13 +0000 (0:00:00.041) 0:00:01.211 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if the mssql_upgrade variable is provided correctly] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Wednesday 03 August 2022 15:47:13 +0000 (0:00:00.041) 0:00:01.252 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:55 Wednesday 03 August 2022 15:47:13 +0000 (0:00:00.030) 0:00:01.283 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:63 Wednesday 03 August 2022 15:47:13 +0000 (0:00:00.029) 0:00:01.312 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:71 Wednesday 03 August 2022 15:47:13 +0000 (0:00:00.030) 0:00:01.342 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:80 Wednesday 03 August 2022 15:47:13 +0000 (0:00:00.033) 0:00:01.376 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:85 Wednesday 03 August 2022 15:47:14 +0000 (0:00:01.201) 0:00:02.577 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Wednesday 03 August 2022 15:47:14 +0000 (0:00:00.049) 0:00:02.627 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server 2017 repo] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:102 Wednesday 03 August 2022 15:47:15 +0000 (0:00:00.748) 0:00:03.375 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:113 Wednesday 03 August 2022 15:47:15 +0000 (0:00:00.048) 0:00:03.423 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server 2017 repository] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:119 Wednesday 03 August 2022 15:47:15 +0000 (0:00:00.047) 0:00:03.471 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "repo": "packages-microsoft-com-mssql-server-2017", "state": "present" } TASK [fedora.linux_system_roles.mssql : Ensure the mssql-server package] ******* task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:129 Wednesday 03 August 2022 15:47:16 +0000 (0:00:00.474) 0:00:03.945 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "changes": { "installed": [ "mssql-server" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * base: mirror.metrocast.net\n * extras: forksystems.mm.fcix.net\n * updates: mirrors.tripadvisor.com\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-server.x86_64 0:14.0.3451.2-1 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n mssql-server\n x86_64 14.0.3451.2-1 packages-microsoft-com-mssql-server-2017 200 M\n\nTransaction Summary\n================================================================================\nInstall 1 Package\n\nTotal size: 200 M\nInstalled size: 1.0 G\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : mssql-server-14.0.3451.2-1.x86_64 1/1 \n\n+--------------------------------------------------------------+\nPlease run 'sudo /opt/mssql/bin/mssql-conf setup'\nto complete the setup of Microsoft SQL Server\n+--------------------------------------------------------------+\n\n Verifying : mssql-server-14.0.3451.2-1.x86_64 1/1 \n\nInstalled:\n mssql-server.x86_64 0:14.0.3451.2-1 \n\nComplete!\n" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:137 Wednesday 03 August 2022 15:47:48 +0000 (0:00:32.204) 0:00:36.149 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:145 Wednesday 03 August 2022 15:47:48 +0000 (0:00:00.027) 0:00:36.177 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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.006730", "end": "2022-08-03 15:47:48.649033", "rc": 0, "start": "2022-08-03 15:47:48.642303" } TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:160 Wednesday 03 August 2022 15:47:48 +0000 (0:00:00.460) 0:00:36.637 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:174 Wednesday 03 August 2022 15:47:49 +0000 (0:00:01.123) 0:00:37.761 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 Wednesday 03 August 2022 15:47:49 +0000 (0:00:00.093) 0:00:37.854 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "-n", "setup" ], "delta": "0:00:04.581880", "end": "2022-08-03 15:47:54.831310", "rc": 0, "start": "2022-08-03 15:47:50.249430" } 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=855862&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 from /etc/systemd/system/multi-user.target.wants/mssql-server.service to /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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:193 Wednesday 03 August 2022 15:47:54 +0000 (0:00:04.972) 0:00:42.827 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "changes": { "installed": [ "tuned-profiles-mssql" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * base: mirror.metrocast.net\n * extras: forksystems.mm.fcix.net\n * updates: mirrors.tripadvisor.com\nResolving Dependencies\n--> Running transaction check\n---> Package tuned-profiles-mssql.noarch 0:2.11.0-11.el7_9 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n tuned-profiles-mssql noarch 2.11.0-11.el7_9 updates 30 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package\n\nTotal download size: 30 k\nInstalled size: 1.1 k\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : tuned-profiles-mssql-2.11.0-11.el7_9.noarch 1/1 \n Verifying : tuned-profiles-mssql-2.11.0-11.el7_9.noarch 1/1 \n\nInstalled:\n tuned-profiles-mssql.noarch 0:2.11.0-11.el7_9 \n\nComplete!\n" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:198 Wednesday 03 August 2022 15:47:56 +0000 (0:00:01.961) 0:00:44.789 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 15:47:10 UTC", "ActiveEnterTimestampMonotonic": "8883446", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket basic.target network.target system.slice systemd-sysctl.service dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 15:47:10 UTC", "AssertTimestampMonotonic": "8681735", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 15:47:10 UTC", "ConditionTimestampMonotonic": "8681735", "Conflicts": "shutdown.target cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "969", "ExecMainStartTimestamp": "Wed 2022-08-03 15:47:10 UTC", "ExecMainStartTimestampMonotonic": "8682376", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-08-03 15:47:10 UTC", "InactiveExitTimestampMonotonic": "8682753", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14960", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14960", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "969", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice dbus.service polkit.service basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 15:47:10 UTC", "WatchdogTimestampMonotonic": "8882935", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:204 Wednesday 03 August 2022 15:47:57 +0000 (0:00:00.703) 0:00:45.493 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.109617", "end": "2022-08-03 15:47:57.957592", "rc": 0, "start": "2022-08-03 15:47:57.847975" } 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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:214 Wednesday 03 August 2022 15:47:58 +0000 (0:00:00.457) 0:00:45.950 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "tuned-adm", "profile", "virtual-guest", "mssql" ], "delta": "0:00:00.114274", "end": "2022-08-03 15:47:58.411665", "failed_when_result": false, "rc": 1, "start": "2022-08-03 15:47:58.297391" } STDERR: Cannot load profile(s) 'virtual-guest mssql': Cannot find profile 'throughput-performance' in '['/etc/tuned', '/usr/lib/tuned']'. MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:227 Wednesday 03 August 2022 15:47:58 +0000 (0:00:00.456) 0:00:46.407 ****** changed: [/cache/centos-7.qcow2c.snap] => { "backup": "", "changed": true, "found": 1 } MSG: 1 line(s) removed TASK [fedora.linux_system_roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:236 Wednesday 03 August 2022 15:47:58 +0000 (0:00:00.459) 0:00:46.867 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest", "mssql" ], "delta": "0:00:01.195150", "end": "2022-08-03 15:48:00.438704", "rc": 0, "start": "2022-08-03 15:47:59.243554" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:246 Wednesday 03 August 2022 15:48:00 +0000 (0:00:01.568) 0:00:48.435 ****** changed: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:253 Wednesday 03 August 2022 15:48:00 +0000 (0:00:00.336) 0:00:48.772 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "changes": { "installed": [ "mssql-tools", "unixODBC-devel" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * base: mirror.metrocast.net\n * extras: forksystems.mm.fcix.net\n * updates: mirrors.tripadvisor.com\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-tools.x86_64 0:17.10.1.1-1 will be installed\n--> Processing Dependency: msodbcsql17 >= 17.3.0.0 for package: mssql-tools-17.10.1.1-1.x86_64\n---> Package unixODBC-devel.x86_64 0:2.3.7-1.rh will be installed\n--> Processing Dependency: unixODBC = 2.3.7 for package: unixODBC-devel-2.3.7-1.rh.x86_64\n--> Running transaction check\n---> Package msodbcsql17.x86_64 0:17.10.1.1-1 will be installed\n---> Package unixODBC.x86_64 0:2.3.7-1.rh will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n mssql-tools x86_64 17.10.1.1-1 packages-microsoft-com-prod 291 k\n unixODBC-devel x86_64 2.3.7-1.rh packages-microsoft-com-prod 42 k\nInstalling for dependencies:\n msodbcsql17 x86_64 17.10.1.1-1 packages-microsoft-com-prod 907 k\n unixODBC x86_64 2.3.7-1.rh packages-microsoft-com-prod 213 k\n\nTransaction Summary\n================================================================================\nInstall 2 Packages (+2 Dependent packages)\n\nTotal download size: 1.4 M\nInstalled size: 3.8 M\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 3.9 MB/s | 1.4 MB 00:00 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : unixODBC-2.3.7-1.rh.x86_64 1/4 \n Installing : msodbcsql17-17.10.1.1-1.x86_64 2/4 \nodbcinst: Driver installed. Usage count increased to 1. \n Target directory is /etc\n Installing : mssql-tools-17.10.1.1-1.x86_64 3/4 \n Installing : unixODBC-devel-2.3.7-1.rh.x86_64 4/4 \n Verifying : mssql-tools-17.10.1.1-1.x86_64 1/4 \n Verifying : msodbcsql17-17.10.1.1-1.x86_64 2/4 \n Verifying : unixODBC-devel-2.3.7-1.rh.x86_64 3/4 \n Verifying : unixODBC-2.3.7-1.rh.x86_64 4/4 \n\nInstalled:\n mssql-tools.x86_64 0:17.10.1.1-1 unixODBC-devel.x86_64 0:2.3.7-1.rh \n\nDependency Installed:\n msodbcsql17.x86_64 0:17.10.1.1-1 unixODBC.x86_64 0:2.3.7-1.rh \n\nComplete!\n" ] } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:265 Wednesday 03 August 2022 15:48:04 +0000 (0:00:03.798) 0:00:52.570 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:270 Wednesday 03 August 2022 15:48:04 +0000 (0:00:00.035) 0:00:52.606 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:276 Wednesday 03 August 2022 15:48:04 +0000 (0:00:00.034) 0:00:52.641 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Change the password of the sa user] **** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:283 Wednesday 03 August 2022 15:48:04 +0000 (0:00:00.036) 0:00:52.677 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input the sql file to SQL Server] ***** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Wednesday 03 August 2022 15:48:04 +0000 (0:00:00.034) 0:00:52.712 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:297 Wednesday 03 August 2022 15:48:04 +0000 (0:00:00.068) 0:00:52.780 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:306 Wednesday 03 August 2022 15:48:04 +0000 (0:00:00.040) 0:00:52.821 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:319 Wednesday 03 August 2022 15:48:04 +0000 (0:00:00.033) 0:00:52.855 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Change the edition of MSSQL] *********** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:326 Wednesday 03 August 2022 15:48:05 +0000 (0:00:00.031) 0:00:52.886 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the IP address setting] ****** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:335 Wednesday 03 August 2022 15:48:05 +0000 (0:00:00.031) 0:00:52.918 ****** included: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.mssql : Get the network ipaddress setting] ***** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 15:48:05 +0000 (0:00:00.057) 0:00:52.976 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004182", "end": "2022-08-03 15:48:05.317833", "failed_when_result": false, "rc": 1, "start": "2022-08-03 15:48:05.313651" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the network ipaddress setting] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 15:48:05 +0000 (0:00:00.332) 0:00:53.309 ****** NOTIFIED HANDLER fedora.linux_system_roles.mssql : Restart the mssql-server service for /cache/centos-7.qcow2c.snap changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.ipaddress", "0.0.0.0" ], "delta": "0:00:00.049610", "end": "2022-08-03 15:48:05.704411", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:48:05.654801" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Unset the network ipaddress setting] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 15:48:05 +0000 (0:00:00.395) 0:00:53.704 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:342 Wednesday 03 August 2022 15:48:05 +0000 (0:00:00.032) 0:00:53.737 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the 1433 TCP port] ************************************************** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:349 Wednesday 03 August 2022 15:48:05 +0000 (0:00:00.045) 0:00:53.782 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the TCP port setting to 1433] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:360 Wednesday 03 August 2022 15:48:05 +0000 (0:00:00.044) 0:00:53.827 ****** included: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.mssql : Get the network tcpport setting] ******* task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 15:48:06 +0000 (0:00:00.051) 0:00:53.879 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003830", "end": "2022-08-03 15:48:06.224616", "failed_when_result": false, "rc": 1, "start": "2022-08-03 15:48:06.220786" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the network tcpport setting] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 15:48:06 +0000 (0:00:00.336) 0:00:54.216 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.050668", "end": "2022-08-03 15:48:06.613894", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:48:06.563226" } 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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 15:48:06 +0000 (0:00:00.443) 0:00:54.659 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:366 Wednesday 03 August 2022 15:48:06 +0000 (0:00:00.032) 0:00:54.691 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:384 Wednesday 03 August 2022 15:48:06 +0000 (0:00:00.043) 0:00:54.735 ****** included: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.mssql : Get the sqlagent enabled setting] ****** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 15:48:06 +0000 (0:00:00.058) 0:00:54.794 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003982", "end": "2022-08-03 15:48:07.153678", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:48:07.149696" } STDOUT: enabled = false TASK [fedora.linux_system_roles.mssql : Configure the sqlagent enabled setting] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 15:48:07 +0000 (0:00:00.353) 0:00:55.147 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "sqlagent.enabled", "True" ], "delta": "0:00:00.050489", "end": "2022-08-03 15:48:07.542722", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:48:07.492233" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Unset the sqlagent enabled setting] **** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 15:48:07 +0000 (0:00:00.402) 0:00:55.550 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the mssql-server-fts package] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:391 Wednesday 03 August 2022 15:48:07 +0000 (0:00:00.032) 0:00:55.582 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "changes": { "installed": [ "mssql-server-fts" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * base: mirror.metrocast.net\n * extras: forksystems.mm.fcix.net\n * updates: mirrors.tripadvisor.com\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-server-fts.x86_64 0:14.0.3451.2-1 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n mssql-server-fts\n x86_64 14.0.3451.2-1 packages-microsoft-com-mssql-server-2017 225 M\n\nTransaction Summary\n================================================================================\nInstall 1 Package\n\nTotal size: 225 M\nInstalled size: 554 M\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : mssql-server-fts-14.0.3451.2-1.x86_64 1/1 \n\n+-------------------------------------------------------------------------------------+\nPlease restart mssql-server to enable Microsoft SQL Server Full Text Search.\n+-------------------------------------------------------------------------------------+\n\n Verifying : mssql-server-fts-14.0.3451.2-1.x86_64 1/1 \n\nInstalled:\n mssql-server-fts.x86_64 0:14.0.3451.2-1 \n\nComplete!\n" ] } TASK [fedora.linux_system_roles.mssql : Ensure the powershell package] ********* task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:398 Wednesday 03 August 2022 15:48:28 +0000 (0:00:20.348) 0:01:15.931 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the mssql-server-ha package] **** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:407 Wednesday 03 August 2022 15:48:28 +0000 (0:00:00.036) 0:01:15.968 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "changes": { "installed": [ "mssql-server-ha" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * base: mirror.metrocast.net\n * extras: forksystems.mm.fcix.net\n * updates: mirrors.tripadvisor.com\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-server-ha.x86_64 0:14.0.3451.2-1 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n mssql-server-ha\n x86_64 14.0.3451.2-1 packages-microsoft-com-mssql-server-2017 2.6 M\n\nTransaction Summary\n================================================================================\nInstall 1 Package\n\nTotal size: 2.6 M\nInstalled size: 9.3 M\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : mssql-server-ha-14.0.3451.2-1.x86_64 1/1 \n Verifying : mssql-server-ha-14.0.3451.2-1.x86_64 1/1 \n\nInstalled:\n mssql-server-ha.x86_64 0:14.0.3451.2-1 \n\nComplete!\n" ] } TASK [fedora.linux_system_roles.mssql : Configure the hadrenabled setting] ***** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:413 Wednesday 03 August 2022 15:48:31 +0000 (0:00:03.706) 0:01:19.674 ****** included: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.mssql : Get the hadr hadrenabled setting] ****** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 15:48:31 +0000 (0:00:00.056) 0:01:19.731 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "grep", "^hadrenabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004092", "end": "2022-08-03 15:48:32.081586", "failed_when_result": false, "rc": 1, "start": "2022-08-03 15:48:32.077494" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the hadr hadrenabled setting] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 15:48:32 +0000 (0:00:00.344) 0:01:20.076 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "hadr.hadrenabled", "1" ], "delta": "0:00:00.049533", "end": "2022-08-03 15:48:32.474956", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:48:32.425423" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Unset the hadr hadrenabled setting] **** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 15:48:32 +0000 (0:00:00.400) 0:01:20.477 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:422 Wednesday 03 August 2022 15:48:32 +0000 (0:00:00.036) 0:01:20.513 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003832", "end": "2022-08-03 15:48:32.849780", "failed_when_result": false, "rc": 1, "start": "2022-08-03 15:48:32.845948" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:428 Wednesday 03 August 2022 15:48:32 +0000 (0:00:00.329) 0:01:20.842 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "traceflag", "3979", "on" ], "delta": "0:00:00.048552", "end": "2022-08-03 15:48:33.280590", "rc": 0, "start": "2022-08-03 15:48:33.232038" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:434 Wednesday 03 August 2022 15:48:33 +0000 (0:00:00.464) 0:01:21.307 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:441 Wednesday 03 August 2022 15:48:33 +0000 (0:00:00.047) 0:01:21.354 ****** included: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.mssql : Get the control alternatewritethrough setting] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 15:48:33 +0000 (0:00:00.057) 0:01:21.412 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003746", "end": "2022-08-03 15:48:33.753041", "failed_when_result": false, "rc": 1, "start": "2022-08-03 15:48:33.749295" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the control alternatewritethrough setting] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 15:48:33 +0000 (0:00:00.333) 0:01:21.745 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "control.alternatewritethrough", "0" ], "delta": "0:00:00.049244", "end": "2022-08-03 15:48:34.143565", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:48:34.094321" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Unset the control alternatewritethrough setting] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 15:48:34 +0000 (0:00:00.395) 0:01:22.141 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:447 Wednesday 03 August 2022 15:48:34 +0000 (0:00:00.035) 0:01:22.176 ****** included: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.mssql : Get the control writethrough setting] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 15:48:34 +0000 (0:00:00.058) 0:01:22.234 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003943", "end": "2022-08-03 15:48:34.570328", "failed_when_result": false, "rc": 1, "start": "2022-08-03 15:48:34.566385" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the control writethrough setting] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 15:48:34 +0000 (0:00:00.334) 0:01:22.569 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "control.writethrough", "1" ], "delta": "0:00:00.051494", "end": "2022-08-03 15:48:34.975157", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:48:34.923663" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Unset the control writethrough setting] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 15:48:35 +0000 (0:00:00.406) 0:01:22.976 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:458 Wednesday 03 August 2022 15:48:35 +0000 (0:00:00.039) 0:01:23.015 ****** skipping: [/cache/centos-7.qcow2c.snap] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:474 Wednesday 03 August 2022 15:48:35 +0000 (0:00:00.036) 0:01:23.052 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlskey setting] ********** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:483 Wednesday 03 August 2022 15:48:35 +0000 (0:00:00.032) 0:01:23.084 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlsprotocols setting] **** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 Wednesday 03 August 2022 15:48:35 +0000 (0:00:00.072) 0:01:23.157 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the forceencryption setting] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:499 Wednesday 03 August 2022 15:48:35 +0000 (0:00:00.035) 0:01:23.192 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:509 Wednesday 03 August 2022 15:48:35 +0000 (0:00:00.037) 0:01:23.230 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:528 Wednesday 03 August 2022 15:48:35 +0000 (0:00:00.044) 0:01:23.274 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the mssql-server-ha package] **** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:539 Wednesday 03 August 2022 15:48:35 +0000 (0:00:00.044) 0:01:23.318 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:545 Wednesday 03 August 2022 15:48:35 +0000 (0:00:00.042) 0:01:23.361 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:552 Wednesday 03 August 2022 15:48:35 +0000 (0:00:00.045) 0:01:23.406 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable AlwaysOn Health events] ********* task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:559 Wednesday 03 August 2022 15:48:35 +0000 (0:00:00.045) 0:01:23.451 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:564 Wednesday 03 August 2022 15:48:35 +0000 (0:00:00.047) 0:01:23.499 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:570 Wednesday 03 August 2022 15:48:35 +0000 (0:00:00.042) 0:01:23.542 ****** skipping: [/cache/centos-7.qcow2c.snap] => (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/centos-7.qcow2c.snap] => (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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:579 Wednesday 03 August 2022 15:48:35 +0000 (0:00:00.056) 0:01:23.598 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create and back up certificate] ******** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:584 Wednesday 03 August 2022 15:48:35 +0000 (0:00:00.043) 0:01:23.642 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:590 Wednesday 03 August 2022 15:48:35 +0000 (0:00:00.043) 0:01:23.686 ****** skipping: [/cache/centos-7.qcow2c.snap] => (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/centos-7.qcow2c.snap] => (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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:602 Wednesday 03 August 2022 15:48:35 +0000 (0:00:00.050) 0:01:23.736 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create the] **************************** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:607 Wednesday 03 August 2022 15:48:35 +0000 (0:00:00.057) 0:01:23.794 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:613 Wednesday 03 August 2022 15:48:35 +0000 (0:00:00.043) 0:01:23.837 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:618 Wednesday 03 August 2022 15:48:36 +0000 (0:00:00.045) 0:01:23.883 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to the login] ******* task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:623 Wednesday 03 August 2022 15:48:36 +0000 (0:00:00.044) 0:01:23.928 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Back up and replicate the database] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:628 Wednesday 03 August 2022 15:48:36 +0000 (0:00:00.046) 0:01:23.974 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:635 Wednesday 03 August 2022 15:48:36 +0000 (0:00:00.050) 0:01:24.024 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fail if the primary node failed] ******* task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:662 Wednesday 03 August 2022 15:48:36 +0000 (0:00:00.054) 0:01:24.079 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the mssql-server-ha package] **** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:669 Wednesday 03 August 2022 15:48:36 +0000 (0:00:00.043) 0:01:24.123 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:675 Wednesday 03 August 2022 15:48:36 +0000 (0:00:00.044) 0:01:24.167 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:682 Wednesday 03 August 2022 15:48:36 +0000 (0:00:00.089) 0:01:24.256 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable AlwaysOn Health events] ********* task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:689 Wednesday 03 August 2022 15:48:36 +0000 (0:00:00.043) 0:01:24.300 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create master key encryption] ********** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:694 Wednesday 03 August 2022 15:48:36 +0000 (0:00:00.040) 0:01:24.341 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:699 Wednesday 03 August 2022 15:48:36 +0000 (0:00:00.040) 0:01:24.382 ****** skipping: [/cache/centos-7.qcow2c.snap] => (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/centos-7.qcow2c.snap] => (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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:711 Wednesday 03 August 2022 15:48:36 +0000 (0:00:00.044) 0:01:24.427 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restore certificate] ******************* task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Wednesday 03 August 2022 15:48:36 +0000 (0:00:00.040) 0:01:24.468 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create database mirroring endpoints] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:722 Wednesday 03 August 2022 15:48:36 +0000 (0:00:00.039) 0:01:24.507 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create the login] ********************* task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:727 Wednesday 03 August 2022 15:48:36 +0000 (0:00:00.042) 0:01:24.550 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:732 Wednesday 03 August 2022 15:48:36 +0000 (0:00:00.043) 0:01:24.594 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to the login] ******* task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:737 Wednesday 03 August 2022 15:48:36 +0000 (0:00:00.045) 0:01:24.640 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the database exists on secondaries] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:742 Wednesday 03 August 2022 15:48:36 +0000 (0:00:00.041) 0:01:24.682 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Wednesday 03 August 2022 15:48:36 +0000 (0:00:00.049) 0:01:24.731 ****** skipping: [/cache/centos-7.qcow2c.snap] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:762 Wednesday 03 August 2022 15:48:36 +0000 (0:00:00.047) 0:01:24.778 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:773 Wednesday 03 August 2022 15:48:36 +0000 (0:00:00.042) 0:01:24.821 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the database exists] ******** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:778 Wednesday 03 August 2022 15:48:36 +0000 (0:00:00.043) 0:01:24.864 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:786 Wednesday 03 August 2022 15:48:37 +0000 (0:00:00.045) 0:01:24.909 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true } MSG: Block inserted TASK [fedora.linux_system_roles.mssql : Input the sql file to SQL Server] ***** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:795 Wednesday 03 August 2022 15:48:37 +0000 (0:00:00.500) 0:01:25.409 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the mssql_post_input_sql_file fact] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:801 Wednesday 03 August 2022 15:48:37 +0000 (0:00:00.035) 0:01:25.445 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "mssql_post_input_sql_file": null }, "changed": false } META: role_complete for /cache/centos-7.qcow2c.snap TASK [Configure the mssql-server service start limit interval and burst] ******* task path: /tmp/tmplq_pq1x0/tests/mssql/tests_idempotency_2017.yml:25 Wednesday 03 August 2022 15:48:37 +0000 (0:00:00.129) 0:01:25.574 ****** included: /tmp/tmplq_pq1x0/tests/mssql/tasks/mssql-sever-increase-start-limit.yml for /cache/centos-7.qcow2c.snap TASK [Modify the mssql-server service start limit interval] ******************** task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/mssql-sever-increase-start-limit.yml:3 Wednesday 03 August 2022 15:48:37 +0000 (0:00:00.066) 0:01:25.640 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true } MSG: 1 replacements made TASK [Modify the mssql-server service start limit burst] *********************** task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/mssql-sever-increase-start-limit.yml:10 Wednesday 03 August 2022 15:48:38 +0000 (0:00:00.409) 0:01:26.050 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true } MSG: 1 replacements made TASK [Reload service daemon] *************************************************** task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/mssql-sever-increase-start-limit.yml:17 Wednesday 03 August 2022 15:48:38 +0000 (0:00:00.326) 0:01:26.376 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 15:47:54 UTC", "ActiveEnterTimestampMonotonic": "53310642", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket auditd.service network.target system.slice basic.target -.mount", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 15:47:54 UTC", "AssertTimestampMonotonic": "53309580", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 15:47:54 UTC", "ConditionTimestampMonotonic": "53309580", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "2244", "ExecMainStartTimestamp": "Wed 2022-08-03 15:47:54 UTC", "ExecMainStartTimestampMonotonic": "53310571", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-08-03 15:47:54 UTC", "InactiveExitTimestampMonotonic": "53310642", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14960", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "2244", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice -.mount basic.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 15:47:54 UTC", "WatchdogTimestampMonotonic": "53310611", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [Flush handlers] ********************************************************** task path: /tmp/tmplq_pq1x0/tests/mssql/tests_idempotency_2017.yml:28 Wednesday 03 August 2022 15:48:40 +0000 (0:00:01.622) 0:01:27.998 ****** RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Wednesday 03 August 2022 15:48:40 +0000 (0:00:00.000) 0:01:27.998 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 15:48:39 UTC", "ActiveEnterTimestampMonotonic": "98548161", "ActiveExitTimestamp": "Wed 2022-08-03 15:48:38 UTC", "ActiveExitTimestampMonotonic": "97447233", "ActiveState": "active", "After": "systemd-journald.socket auditd.service network.target system.slice basic.target -.mount", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 15:48:39 UTC", "AssertTimestampMonotonic": "98547119", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 15:48:39 UTC", "ConditionTimestampMonotonic": "98547119", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "3970", "ExecMainStartTimestamp": "Wed 2022-08-03 15:48:39 UTC", "ExecMainStartTimestampMonotonic": "98548096", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 15:48:39 UTC] ; stop_time=[n/a] ; pid=3970 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 15:48:39 UTC", "InactiveEnterTimestampMonotonic": "98545768", "InactiveExitTimestamp": "Wed 2022-08-03 15:48:39 UTC", "InactiveExitTimestampMonotonic": "98548161", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14960", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "3970", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice -.mount basic.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 15:48:39 UTC", "WatchdogTimestampMonotonic": "98548139", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } META: ran handlers TASK [Run again with the same settings - should report not changed] ************ task path: /tmp/tmplq_pq1x0/tests/mssql/tests_idempotency_2017.yml:31 Wednesday 03 August 2022 15:48:40 +0000 (0:00:00.461) 0:01:28.460 ****** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Wednesday 03 August 2022 15:48:40 +0000 (0:00:00.157) 0:01:28.617 ****** included: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Wednesday 03 August 2022 15:48:40 +0000 (0:00:00.053) 0:01:28.671 ****** ok: [/cache/centos-7.qcow2c.snap] TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:10 Wednesday 03 August 2022 15:48:41 +0000 (0:00:00.432) 0:01:29.103 ****** ok: [/cache/centos-7.qcow2c.snap] => (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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [/cache/centos-7.qcow2c.snap] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-7.qcow2c.snap] => (item=CentOS_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/" }, "ansible_included_var_files": [ "/tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [/cache/centos-7.qcow2c.snap] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Wednesday 03 August 2022 15:48:41 +0000 (0:00:00.071) 0:01:29.174 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:12 Wednesday 03 August 2022 15:48:41 +0000 (0:00:00.040) 0:01:29.215 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:16 Wednesday 03 August 2022 15:48:41 +0000 (0:00:00.041) 0:01:29.257 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:22 Wednesday 03 August 2022 15:48:41 +0000 (0:00:00.034) 0:01:29.292 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that the user accepts EULA variables] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:27 Wednesday 03 August 2022 15:48:41 +0000 (0:00:00.037) 0:01:29.329 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:39 Wednesday 03 August 2022 15:48:41 +0000 (0:00:00.057) 0:01:29.387 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if the mssql_upgrade variable is provided correctly] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Wednesday 03 August 2022 15:48:41 +0000 (0:00:00.055) 0:01:29.443 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:55 Wednesday 03 August 2022 15:48:41 +0000 (0:00:00.046) 0:01:29.489 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:63 Wednesday 03 August 2022 15:48:41 +0000 (0:00:00.045) 0:01:29.535 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:71 Wednesday 03 August 2022 15:48:41 +0000 (0:00:00.044) 0:01:29.579 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:80 Wednesday 03 August 2022 15:48:41 +0000 (0:00:00.046) 0:01:29.626 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:85 Wednesday 03 August 2022 15:48:42 +0000 (0:00:00.956) 0:01:30.582 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Wednesday 03 August 2022 15:48:42 +0000 (0:00:00.060) 0:01:30.643 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server 2017 repo] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:102 Wednesday 03 August 2022 15:48:43 +0000 (0:00:00.628) 0:01:31.271 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:113 Wednesday 03 August 2022 15:48:43 +0000 (0:00:00.045) 0:01:31.316 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server 2017 repository] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:119 Wednesday 03 August 2022 15:48:43 +0000 (0:00:00.049) 0:01:31.365 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the mssql-server package] ******* task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:129 Wednesday 03 August 2022 15:48:43 +0000 (0:00:00.050) 0:01:31.416 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3451.2-1.x86_64 providing mssql-server is already installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:137 Wednesday 03 August 2022 15:48:44 +0000 (0:00:00.598) 0:01:32.014 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:145 Wednesday 03 August 2022 15:48:44 +0000 (0:00:00.032) 0:01:32.047 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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.006627", "end": "2022-08-03 15:48:44.422655", "rc": 0, "start": "2022-08-03 15:48:44.416028" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:160 Wednesday 03 August 2022 15:48:44 +0000 (0:00:00.411) 0:01:32.458 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:174 Wednesday 03 August 2022 15:48:45 +0000 (0:00:00.935) 0:01:33.393 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 Wednesday 03 August 2022 15:48:45 +0000 (0:00:00.051) 0:01:33.445 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:193 Wednesday 03 August 2022 15:48:45 +0000 (0:00:00.050) 0:01:33.495 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-11.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:198 Wednesday 03 August 2022 15:48:46 +0000 (0:00:00.570) 0:01:34.065 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 15:47:10 UTC", "ActiveEnterTimestampMonotonic": "8883446", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target system.slice basic.target dbus.service systemd-journald.socket systemd-sysctl.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 15:47:10 UTC", "AssertTimestampMonotonic": "8681735", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 15:47:10 UTC", "ConditionTimestampMonotonic": "8681735", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "969", "ExecMainStartTimestamp": "Wed 2022-08-03 15:47:10 UTC", "ExecMainStartTimestampMonotonic": "8682376", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-08-03 15:47:10 UTC", "InactiveExitTimestampMonotonic": "8682753", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14960", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14960", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "969", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice dbus.service polkit.service basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 15:47:10 UTC", "WatchdogTimestampMonotonic": "8882935", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:204 Wednesday 03 August 2022 15:48:46 +0000 (0:00:00.433) 0:01:34.499 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.109600", "end": "2022-08-03 15:48:46.949472", "rc": 0, "start": "2022-08-03 15:48:46.839872" } STDOUT: Current active profile: virtual-guest mssql TASK [fedora.linux_system_roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:214 Wednesday 03 August 2022 15:48:47 +0000 (0:00:00.447) 0:01:34.946 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:227 Wednesday 03 August 2022 15:48:47 +0000 (0:00:00.063) 0:01:35.009 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:236 Wednesday 03 August 2022 15:48:47 +0000 (0:00:00.037) 0:01:35.047 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:246 Wednesday 03 August 2022 15:48:47 +0000 (0:00:00.040) 0:01:35.087 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:253 Wednesday 03 August 2022 15:48:47 +0000 (0:00:00.333) 0:01:35.421 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "mssql-tools-17.10.1.1-1.x86_64 providing mssql-tools is already installed", "unixODBC-devel-2.3.7-1.rh.x86_64 providing unixODBC-devel is already installed" ] } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:265 Wednesday 03 August 2022 15:48:48 +0000 (0:00:00.551) 0:01:35.972 ****** included: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Wednesday 03 August 2022 15:48:48 +0000 (0:00:00.061) 0:01:36.033 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 15:48:40 UTC", "ActiveEnterTimestampMonotonic": "99026026", "ActiveExitTimestamp": "Wed 2022-08-03 15:48:40 UTC", "ActiveExitTimestampMonotonic": "99023452", "ActiveState": "active", "After": "systemd-journald.socket auditd.service network.target system.slice basic.target -.mount", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 15:48:40 UTC", "AssertTimestampMonotonic": "99025249", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 15:48:40 UTC", "ConditionTimestampMonotonic": "99025249", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "4031", "ExecMainStartTimestamp": "Wed 2022-08-03 15:48:40 UTC", "ExecMainStartTimestampMonotonic": "99025946", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 15:48:40 UTC] ; stop_time=[n/a] ; pid=4031 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 15:48:40 UTC", "InactiveEnterTimestampMonotonic": "99024797", "InactiveExitTimestamp": "Wed 2022-08-03 15:48:40 UTC", "InactiveExitTimestampMonotonic": "99026026", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14960", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "4031", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice -.mount basic.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 15:48:40 UTC", "WatchdogTimestampMonotonic": "99025997", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Wednesday 03 August 2022 15:48:48 +0000 (0:00:00.406) 0:01:36.439 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003988", "end": "2022-08-03 15:48:48.765795", "failed_when_result": false, "rc": 1, "start": "2022-08-03 15:48:48.761807" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Wednesday 03 August 2022 15:48:48 +0000 (0:00:00.318) 0:01:36.758 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003688", "end": "2022-08-03 15:48:49.096510", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:48:49.092822" } STDOUT: ipaddress = 0.0.0.0 TASK [fedora.linux_system_roles.mssql : Set a fact with a password query] ****** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Wednesday 03 August 2022 15:48:49 +0000 (0:00:00.329) 0:01:37.088 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": "/opt/mssql-tools/bin/sqlcmd -S 0.0.0.0 -U sa -P p@55w0rD" }, "changed": false } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:270 Wednesday 03 August 2022 15:48:49 +0000 (0:00:00.117) 0:01:37.205 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-S", "0.0.0.0", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.028164", "end": "2022-08-03 15:48:49.603567", "rc": 0, "start": "2022-08-03 15:48:49.575403" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2017 (RTM-CU30) (KB5013756) - 14.0.3451.2 (X64) Jun 22 2022 18:20:15 Copyright (C) 2017 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:276 Wednesday 03 August 2022 15:48:49 +0000 (0:00:00.391) 0:01:37.597 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Change the password of the sa user] **** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:283 Wednesday 03 August 2022 15:48:49 +0000 (0:00:00.038) 0:01:37.635 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input the sql file to SQL Server] ***** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Wednesday 03 August 2022 15:48:49 +0000 (0:00:00.041) 0:01:37.676 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:297 Wednesday 03 August 2022 15:48:49 +0000 (0:00:00.035) 0:01:37.712 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:306 Wednesday 03 August 2022 15:48:49 +0000 (0:00:00.040) 0:01:37.753 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Evaluation edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n edition_matches=false\nelse\n edition_matches=true\nfi\necho \"${edition_matches}\"\n", "delta": "0:00:00.005992", "end": "2022-08-03 15:48:50.085728", "rc": 0, "start": "2022-08-03 15:48:50.079736" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:319 Wednesday 03 August 2022 15:48:50 +0000 (0:00:00.325) 0:01:38.078 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Change the edition of MSSQL] *********** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:326 Wednesday 03 August 2022 15:48:50 +0000 (0:00:00.048) 0:01:38.126 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the IP address setting] ****** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:335 Wednesday 03 August 2022 15:48:50 +0000 (0:00:00.048) 0:01:38.175 ****** included: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.mssql : Get the network ipaddress setting] ***** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 15:48:50 +0000 (0:00:00.058) 0:01:38.233 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003872", "end": "2022-08-03 15:48:50.573001", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:48:50.569129" } STDOUT: ipaddress = 0.0.0.0 TASK [fedora.linux_system_roles.mssql : Configure the network ipaddress setting] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 15:48:50 +0000 (0:00:00.333) 0:01:38.567 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the network ipaddress setting] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 15:48:50 +0000 (0:00:00.049) 0:01:38.617 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:342 Wednesday 03 August 2022 15:48:50 +0000 (0:00:00.034) 0:01:38.651 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the 1433 TCP port] ************************************************** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:349 Wednesday 03 August 2022 15:48:50 +0000 (0:00:00.042) 0:01:38.693 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the TCP port setting to 1433] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:360 Wednesday 03 August 2022 15:48:50 +0000 (0:00:00.042) 0:01:38.735 ****** included: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.mssql : Get the network tcpport setting] ******* task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 15:48:50 +0000 (0:00:00.089) 0:01:38.825 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003975", "end": "2022-08-03 15:48:51.181825", "failed_when_result": false, "rc": 1, "start": "2022-08-03 15:48:51.177850" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the network tcpport setting] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 15:48:51 +0000 (0:00:00.352) 0:01:39.178 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.052536", "end": "2022-08-03 15:48:51.573496", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:48:51.520960" } 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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 15:48:51 +0000 (0:00:00.406) 0:01:39.584 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:366 Wednesday 03 August 2022 15:48:51 +0000 (0:00:00.032) 0:01:39.617 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:384 Wednesday 03 August 2022 15:48:51 +0000 (0:00:00.044) 0:01:39.661 ****** included: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.mssql : Get the sqlagent enabled setting] ****** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 15:48:51 +0000 (0:00:00.069) 0:01:39.731 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.004871", "end": "2022-08-03 15:48:53.106680", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:48:52.101809" } STDOUT: enabled = True TASK [fedora.linux_system_roles.mssql : Configure the sqlagent enabled setting] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 15:48:53 +0000 (0:00:01.375) 0:01:41.107 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the sqlagent enabled setting] **** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 15:48:53 +0000 (0:00:00.052) 0:01:41.159 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the mssql-server-fts package] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:391 Wednesday 03 August 2022 15:48:53 +0000 (0:00:00.034) 0:01:41.194 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "mssql-server-fts-14.0.3451.2-1.x86_64 providing mssql-server-fts is already installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure the powershell package] ********* task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:398 Wednesday 03 August 2022 15:48:53 +0000 (0:00:00.602) 0:01:41.796 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the mssql-server-ha package] **** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:407 Wednesday 03 August 2022 15:48:53 +0000 (0:00:00.037) 0:01:41.833 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "mssql-server-ha-14.0.3451.2-1.x86_64 providing mssql-server-ha is already installed" ] } TASK [fedora.linux_system_roles.mssql : Configure the hadrenabled setting] ***** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:413 Wednesday 03 August 2022 15:48:54 +0000 (0:00:00.594) 0:01:42.427 ****** included: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.mssql : Get the hadr hadrenabled setting] ****** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 15:48:54 +0000 (0:00:00.058) 0:01:42.486 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "grep", "^hadrenabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004042", "end": "2022-08-03 15:48:54.826520", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:48:54.822478" } STDOUT: hadrenabled = 1 TASK [fedora.linux_system_roles.mssql : Configure the hadr hadrenabled setting] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 15:48:54 +0000 (0:00:00.334) 0:01:42.820 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the hadr hadrenabled setting] **** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 15:48:55 +0000 (0:00:00.053) 0:01:42.874 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:422 Wednesday 03 August 2022 15:48:55 +0000 (0:00:00.037) 0:01:42.912 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.005473", "end": "2022-08-03 15:48:56.244717", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:48:55.239244" } STDOUT: traceflag0 = 3979 TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:428 Wednesday 03 August 2022 15:48:56 +0000 (0:00:01.328) 0:01:44.240 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:434 Wednesday 03 August 2022 15:48:56 +0000 (0:00:00.050) 0:01:44.290 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:441 Wednesday 03 August 2022 15:48:56 +0000 (0:00:00.048) 0:01:44.338 ****** included: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.mssql : Get the control alternatewritethrough setting] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 15:48:56 +0000 (0:00:00.058) 0:01:44.397 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003767", "end": "2022-08-03 15:48:56.772839", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:48:56.769072" } STDOUT: alternatewritethrough = 0 TASK [fedora.linux_system_roles.mssql : Configure the control alternatewritethrough setting] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 15:48:56 +0000 (0:00:00.367) 0:01:44.765 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the control alternatewritethrough setting] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 15:48:56 +0000 (0:00:00.053) 0:01:44.819 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:447 Wednesday 03 August 2022 15:48:56 +0000 (0:00:00.044) 0:01:44.863 ****** included: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.mssql : Get the control writethrough setting] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 15:48:57 +0000 (0:00:00.059) 0:01:44.922 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003747", "end": "2022-08-03 15:48:57.267216", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:48:57.263469" } STDOUT: writethrough = 1 TASK [fedora.linux_system_roles.mssql : Configure the control writethrough setting] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 15:48:57 +0000 (0:00:00.340) 0:01:45.263 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the control writethrough setting] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 15:48:57 +0000 (0:00:00.051) 0:01:45.314 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:458 Wednesday 03 August 2022 15:48:57 +0000 (0:00:00.039) 0:01:45.354 ****** skipping: [/cache/centos-7.qcow2c.snap] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:474 Wednesday 03 August 2022 15:48:57 +0000 (0:00:00.040) 0:01:45.394 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlskey setting] ********** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:483 Wednesday 03 August 2022 15:48:57 +0000 (0:00:00.034) 0:01:45.429 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlsprotocols setting] **** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 Wednesday 03 August 2022 15:48:57 +0000 (0:00:00.036) 0:01:45.465 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the forceencryption setting] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:499 Wednesday 03 August 2022 15:48:57 +0000 (0:00:00.033) 0:01:45.499 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:509 Wednesday 03 August 2022 15:48:57 +0000 (0:00:00.038) 0:01:45.537 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:528 Wednesday 03 August 2022 15:48:57 +0000 (0:00:00.044) 0:01:45.581 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the mssql-server-ha package] **** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:539 Wednesday 03 August 2022 15:48:57 +0000 (0:00:00.050) 0:01:45.632 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:545 Wednesday 03 August 2022 15:48:57 +0000 (0:00:00.047) 0:01:45.679 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:552 Wednesday 03 August 2022 15:48:57 +0000 (0:00:00.044) 0:01:45.724 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable AlwaysOn Health events] ********* task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:559 Wednesday 03 August 2022 15:48:57 +0000 (0:00:00.045) 0:01:45.770 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:564 Wednesday 03 August 2022 15:48:57 +0000 (0:00:00.099) 0:01:45.869 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:570 Wednesday 03 August 2022 15:48:58 +0000 (0:00:00.044) 0:01:45.914 ****** skipping: [/cache/centos-7.qcow2c.snap] => (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/centos-7.qcow2c.snap] => (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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:579 Wednesday 03 August 2022 15:48:58 +0000 (0:00:00.050) 0:01:45.964 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create and back up certificate] ******** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:584 Wednesday 03 August 2022 15:48:58 +0000 (0:00:00.044) 0:01:46.009 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:590 Wednesday 03 August 2022 15:48:58 +0000 (0:00:00.045) 0:01:46.054 ****** skipping: [/cache/centos-7.qcow2c.snap] => (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/centos-7.qcow2c.snap] => (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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:602 Wednesday 03 August 2022 15:48:58 +0000 (0:00:00.049) 0:01:46.104 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create the] **************************** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:607 Wednesday 03 August 2022 15:48:58 +0000 (0:00:00.045) 0:01:46.149 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:613 Wednesday 03 August 2022 15:48:58 +0000 (0:00:00.042) 0:01:46.192 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:618 Wednesday 03 August 2022 15:48:58 +0000 (0:00:00.045) 0:01:46.238 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to the login] ******* task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:623 Wednesday 03 August 2022 15:48:58 +0000 (0:00:00.043) 0:01:46.281 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Back up and replicate the database] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:628 Wednesday 03 August 2022 15:48:58 +0000 (0:00:00.044) 0:01:46.326 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:635 Wednesday 03 August 2022 15:48:58 +0000 (0:00:00.050) 0:01:46.377 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fail if the primary node failed] ******* task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:662 Wednesday 03 August 2022 15:48:58 +0000 (0:00:00.050) 0:01:46.427 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the mssql-server-ha package] **** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:669 Wednesday 03 August 2022 15:48:58 +0000 (0:00:00.045) 0:01:46.473 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:675 Wednesday 03 August 2022 15:48:58 +0000 (0:00:00.046) 0:01:46.519 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:682 Wednesday 03 August 2022 15:48:58 +0000 (0:00:00.044) 0:01:46.564 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable AlwaysOn Health events] ********* task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:689 Wednesday 03 August 2022 15:48:58 +0000 (0:00:00.045) 0:01:46.609 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create master key encryption] ********** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:694 Wednesday 03 August 2022 15:48:58 +0000 (0:00:00.043) 0:01:46.653 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:699 Wednesday 03 August 2022 15:48:58 +0000 (0:00:00.044) 0:01:46.697 ****** skipping: [/cache/centos-7.qcow2c.snap] => (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/centos-7.qcow2c.snap] => (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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:711 Wednesday 03 August 2022 15:48:58 +0000 (0:00:00.050) 0:01:46.748 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restore certificate] ******************* task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Wednesday 03 August 2022 15:48:58 +0000 (0:00:00.044) 0:01:46.793 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create database mirroring endpoints] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:722 Wednesday 03 August 2022 15:48:58 +0000 (0:00:00.044) 0:01:46.837 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create the login] ********************* task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:727 Wednesday 03 August 2022 15:48:59 +0000 (0:00:00.085) 0:01:46.923 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:732 Wednesday 03 August 2022 15:48:59 +0000 (0:00:00.042) 0:01:46.966 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to the login] ******* task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:737 Wednesday 03 August 2022 15:48:59 +0000 (0:00:00.044) 0:01:47.010 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the database exists on secondaries] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:742 Wednesday 03 August 2022 15:48:59 +0000 (0:00:00.044) 0:01:47.055 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Wednesday 03 August 2022 15:48:59 +0000 (0:00:00.049) 0:01:47.104 ****** skipping: [/cache/centos-7.qcow2c.snap] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:762 Wednesday 03 August 2022 15:48:59 +0000 (0:00:00.049) 0:01:47.154 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:773 Wednesday 03 August 2022 15:48:59 +0000 (0:00:00.045) 0:01:47.199 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the database exists] ******** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:778 Wednesday 03 August 2022 15:48:59 +0000 (0:00:00.043) 0:01:47.243 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:786 Wednesday 03 August 2022 15:48:59 +0000 (0:00:00.045) 0:01:47.288 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } TASK [fedora.linux_system_roles.mssql : Input the sql file to SQL Server] ***** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:795 Wednesday 03 August 2022 15:48:59 +0000 (0:00:00.375) 0:01:47.664 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the mssql_post_input_sql_file fact] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:801 Wednesday 03 August 2022 15:48:59 +0000 (0:00:00.048) 0:01:47.713 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "mssql_post_input_sql_file": null }, "changed": false } META: role_complete for /cache/centos-7.qcow2c.snap TASK [Verify settings] ********************************************************* task path: /tmp/tmplq_pq1x0/tests/mssql/tests_idempotency_2017.yml:45 Wednesday 03 August 2022 15:48:59 +0000 (0:00:00.058) 0:01:47.771 ****** included: /tmp/tmplq_pq1x0/tests/mssql/tasks/verify_settings.yml for /cache/centos-7.qcow2c.snap TASK [Check if the errorlog file exists and its location] ********************** task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/verify_settings.yml:8 Wednesday 03 August 2022 15:49:00 +0000 (0:00:00.103) 0:01:47.874 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": "set -euo pipefail\nerrorlog=\"$(grep '^errorlogfile' /var/opt/mssql/mssql.conf \\\n2>&1 | sed 's\\errorlogfile : \\\\')\" || :\nif [ -f \"${errorlog}\" ]; then\n echo \"${errorlog}\"\nelif [ -f /var/opt/mssql/log/errorlog ]; then\n echo \"/var/opt/mssql/log/errorlog\"\nelse\n echo \"\"\nfi\n", "delta": "0:00:00.005875", "end": "2022-08-03 15:49:00.207807", "rc": 0, "start": "2022-08-03 15:49:00.201932" } STDOUT: /var/opt/mssql/log/errorlog TASK [Check if the set edition matches the existing edition] ******************* task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/verify_settings.yml:23 Wednesday 03 August 2022 15:49:00 +0000 (0:00:00.326) 0:01:48.201 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Evaluation edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n edition_matches=false\nelse\n edition_matches=true\nfi\necho \"${edition_matches}\"\n", "delta": "0:00:00.006052", "end": "2022-08-03 15:49:00.583160", "rc": 0, "start": "2022-08-03 15:49:00.577108" } STDOUT: true TASK [Verify if the edition matches] ******************************************* task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/verify_settings.yml:36 Wednesday 03 August 2022 15:49:00 +0000 (0:00:00.374) 0:01:48.575 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the IP address setting] ******************************************* task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/verify_settings.yml:40 Wednesday 03 August 2022 15:49:00 +0000 (0:00:00.059) 0:01:48.635 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the TCP port setting] ********************************************* task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/verify_settings.yml:47 Wednesday 03 August 2022 15:49:00 +0000 (0:00:00.034) 0:01:48.670 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/verify_settings.yml:57 Wednesday 03 August 2022 15:49:00 +0000 (0:00:00.038) 0:01:48.708 ****** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Wednesday 03 August 2022 15:49:00 +0000 (0:00:00.060) 0:01:48.769 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 15:48:40 UTC", "ActiveEnterTimestampMonotonic": "99026026", "ActiveExitTimestamp": "Wed 2022-08-03 15:48:40 UTC", "ActiveExitTimestampMonotonic": "99023452", "ActiveState": "active", "After": "systemd-journald.socket auditd.service network.target system.slice basic.target -.mount", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 15:48:40 UTC", "AssertTimestampMonotonic": "99025249", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 15:48:40 UTC", "ConditionTimestampMonotonic": "99025249", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "4031", "ExecMainStartTimestamp": "Wed 2022-08-03 15:48:40 UTC", "ExecMainStartTimestampMonotonic": "99025946", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 15:48:40 UTC] ; stop_time=[n/a] ; pid=4031 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 15:48:40 UTC", "InactiveEnterTimestampMonotonic": "99024797", "InactiveExitTimestamp": "Wed 2022-08-03 15:48:40 UTC", "InactiveExitTimestampMonotonic": "99026026", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14960", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "4031", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice -.mount basic.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 15:48:40 UTC", "WatchdogTimestampMonotonic": "99025997", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Wednesday 03 August 2022 15:49:01 +0000 (0:00:00.405) 0:01:49.175 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003658", "end": "2022-08-03 15:49:01.507391", "failed_when_result": false, "rc": 1, "start": "2022-08-03 15:49:01.503733" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Wednesday 03 August 2022 15:49:01 +0000 (0:00:00.332) 0:01:49.507 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003926", "end": "2022-08-03 15:49:01.846863", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:49:01.842937" } STDOUT: ipaddress = 0.0.0.0 TASK [fedora.linux_system_roles.mssql : Set a fact with a password query] ****** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Wednesday 03 August 2022 15:49:01 +0000 (0:00:00.336) 0:01:49.844 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": "/opt/mssql-tools/bin/sqlcmd -S 0.0.0.0 -U sa -P p@55w0rD" }, "changed": false } META: role_complete for /cache/centos-7.qcow2c.snap TASK [Wait for mssql-server to start and prepare for client connections] ******* task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/verify_settings.yml:65 Wednesday 03 August 2022 15:49:02 +0000 (0:00:00.087) 0:01:49.932 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "elapsed": 3, "gid": 993, "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": 6318, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/verify_settings.yml:72 Wednesday 03 August 2022 15:49:05 +0000 (0:00:03.469) 0:01:53.401 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-S", "0.0.0.0", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.024660", "end": "2022-08-03 15:49:05.765919", "rc": 0, "start": "2022-08-03 15:49:05.741259" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2017 (RTM-CU30) (KB5013756) - 14.0.3451.2 (X64) Jun 22 2022 18:20:15 Copyright (C) 2017 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Verify if the password matched] ****************************************** task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/verify_settings.yml:78 Wednesday 03 August 2022 15:49:05 +0000 (0:00:00.360) 0:01:53.762 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify that the SQL agent is enabled] ************************************ task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/verify_settings.yml:82 Wednesday 03 August 2022 15:49:05 +0000 (0:00:00.047) 0:01:53.809 ****** included: /tmp/tmplq_pq1x0/tests/mssql/tasks/mssql_conf_verify.yml for /cache/centos-7.qcow2c.snap TASK [Get the value of the enabled setting] ************************************ task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/mssql_conf_verify.yml:7 Wednesday 03 August 2022 15:49:05 +0000 (0:00:00.056) 0:01:53.866 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": "grep '^enabled' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005032", "end": "2022-08-03 15:49:06.198925", "rc": 0, "start": "2022-08-03 15:49:06.193893" } STDOUT: enabled = True TASK [Verify the enabled setting when it is type str] ************************** task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/mssql_conf_verify.yml:14 Wednesday 03 August 2022 15:49:06 +0000 (0:00:00.326) 0:01:54.192 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the enabled setting when it is type bool] ************************* task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/mssql_conf_verify.yml:26 Wednesday 03 August 2022 15:49:06 +0000 (0:00:00.046) 0:01:54.239 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/mssql_conf_verify.yml:41 Wednesday 03 August 2022 15:49:06 +0000 (0:00:00.128) 0:01:54.367 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the mssql-server-fts package] ************************************* task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/verify_settings.yml:89 Wednesday 03 August 2022 15:49:06 +0000 (0:00:00.039) 0:01:54.407 ****** included: /tmp/tmplq_pq1x0/tests/mssql/tasks/verify_package.yml for /cache/centos-7.qcow2c.snap TASK [Gather package facts] **************************************************** task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/verify_package.yml:7 Wednesday 03 August 2022 15:49:06 +0000 (0:00:00.057) 0:01:54.464 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Verify if the mssql-server-fts package is installed] ********************* task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/verify_package.yml:12 Wednesday 03 August 2022 15:49:07 +0000 (0:00:00.889) 0:01:55.354 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify if the mssql-server-fts package is not installed] ***************** task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/verify_package.yml:17 Wednesday 03 August 2022 15:49:07 +0000 (0:00:00.065) 0:01:55.419 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the powershell package] ******************************************* task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/verify_settings.yml:96 Wednesday 03 August 2022 15:49:07 +0000 (0:00:00.031) 0:01:55.451 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the mssql-server-ha package is installed] ********************** task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/verify_settings.yml:107 Wednesday 03 August 2022 15:49:07 +0000 (0:00:00.035) 0:01:55.486 ****** included: /tmp/tmplq_pq1x0/tests/mssql/tasks/verify_package.yml for /cache/centos-7.qcow2c.snap TASK [Gather package facts] **************************************************** task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/verify_package.yml:7 Wednesday 03 August 2022 15:49:07 +0000 (0:00:00.052) 0:01:55.539 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Verify if the mssql-server-ha package is installed] ********************** task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/verify_package.yml:12 Wednesday 03 August 2022 15:49:08 +0000 (0:00:00.885) 0:01:56.425 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify if the mssql-server-ha package is not installed] ****************** task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/verify_package.yml:17 Wednesday 03 August 2022 15:49:08 +0000 (0:00:00.066) 0:01:56.491 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the hadrenabled setting] ****************************************** task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/verify_settings.yml:113 Wednesday 03 August 2022 15:49:08 +0000 (0:00:00.035) 0:01:56.527 ****** included: /tmp/tmplq_pq1x0/tests/mssql/tasks/mssql_conf_verify.yml for /cache/centos-7.qcow2c.snap TASK [Get the value of the hadrenabled setting] ******************************** task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/mssql_conf_verify.yml:7 Wednesday 03 August 2022 15:49:08 +0000 (0:00:00.054) 0:01:56.581 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": "grep '^hadrenabled' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005027", "end": "2022-08-03 15:49:08.916659", "rc": 0, "start": "2022-08-03 15:49:08.911632" } STDOUT: hadrenabled = 1 TASK [Verify the hadrenabled setting when it is type str] ********************** task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/mssql_conf_verify.yml:14 Wednesday 03 August 2022 15:49:09 +0000 (0:00:00.328) 0:01:56.910 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the hadrenabled setting when it is type bool] ********************* task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/mssql_conf_verify.yml:26 Wednesday 03 August 2022 15:49:09 +0000 (0:00:00.046) 0:01:56.956 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/mssql_conf_verify.yml:41 Wednesday 03 August 2022 15:49:09 +0000 (0:00:00.060) 0:01:57.017 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/verify_settings.yml:123 Wednesday 03 August 2022 15:49:09 +0000 (0:00:00.036) 0:01:57.054 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": "grep '^traceflag' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004987", "end": "2022-08-03 15:49:09.389594", "rc": 0, "start": "2022-08-03 15:49:09.384607" } STDOUT: traceflag0 = 3979 TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/verify_settings.yml:128 Wednesday 03 August 2022 15:49:09 +0000 (0:00:00.329) 0:01:57.383 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/verify_settings.yml:133 Wednesday 03 August 2022 15:49:09 +0000 (0:00:00.059) 0:01:57.442 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/verify_settings.yml:139 Wednesday 03 August 2022 15:49:09 +0000 (0:00:00.046) 0:01:57.488 ****** included: /tmp/tmplq_pq1x0/tests/mssql/tasks/mssql_conf_verify.yml for /cache/centos-7.qcow2c.snap TASK [Get the value of the alternatewritethrough setting] ********************** task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/mssql_conf_verify.yml:7 Wednesday 03 August 2022 15:49:09 +0000 (0:00:00.055) 0:01:57.544 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": "grep '^alternatewritethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005301", "end": "2022-08-03 15:49:09.875180", "rc": 0, "start": "2022-08-03 15:49:09.869879" } STDOUT: alternatewritethrough = 0 TASK [Verify the alternatewritethrough setting when it is type str] ************ task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/mssql_conf_verify.yml:14 Wednesday 03 August 2022 15:49:10 +0000 (0:00:00.363) 0:01:57.908 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the alternatewritethrough setting when it is type bool] *********** task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/mssql_conf_verify.yml:26 Wednesday 03 August 2022 15:49:10 +0000 (0:00:00.049) 0:01:57.957 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/mssql_conf_verify.yml:41 Wednesday 03 August 2022 15:49:10 +0000 (0:00:00.065) 0:01:58.023 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/verify_settings.yml:145 Wednesday 03 August 2022 15:49:10 +0000 (0:00:00.036) 0:01:58.059 ****** included: /tmp/tmplq_pq1x0/tests/mssql/tasks/mssql_conf_verify.yml for /cache/centos-7.qcow2c.snap TASK [Get the value of the writethrough setting] ******************************* task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/mssql_conf_verify.yml:7 Wednesday 03 August 2022 15:49:10 +0000 (0:00:00.056) 0:01:58.116 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": "grep '^writethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005255", "end": "2022-08-03 15:49:10.454972", "rc": 0, "start": "2022-08-03 15:49:10.449717" } STDOUT: writethrough = 1 TASK [Verify the writethrough setting when it is type str] ********************* task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/mssql_conf_verify.yml:14 Wednesday 03 August 2022 15:49:10 +0000 (0:00:00.334) 0:01:58.450 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting when it is type bool] ******************** task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/mssql_conf_verify.yml:26 Wednesday 03 August 2022 15:49:10 +0000 (0:00:00.049) 0:01:58.500 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/mssql_conf_verify.yml:41 Wednesday 03 August 2022 15:49:10 +0000 (0:00:00.065) 0:01:58.566 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/verify_settings.yml:155 Wednesday 03 August 2022 15:49:10 +0000 (0:00:00.039) 0:01:58.605 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/verify_settings.yml:163 Wednesday 03 August 2022 15:49:10 +0000 (0:00:00.037) 0:01:58.643 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/verify_settings.yml:171 Wednesday 03 August 2022 15:49:10 +0000 (0:00:00.034) 0:01:58.677 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/verify_settings.yml:179 Wednesday 03 August 2022 15:49:10 +0000 (0:00:00.043) 0:01:58.721 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run to edit settings] **************************************************** task path: /tmp/tmplq_pq1x0/tests/mssql/tests_idempotency_2017.yml:57 Wednesday 03 August 2022 15:49:10 +0000 (0:00:00.038) 0:01:58.760 ****** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Wednesday 03 August 2022 15:49:11 +0000 (0:00:00.283) 0:01:59.043 ****** included: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Wednesday 03 August 2022 15:49:11 +0000 (0:00:00.054) 0:01:59.098 ****** ok: [/cache/centos-7.qcow2c.snap] TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:10 Wednesday 03 August 2022 15:49:11 +0000 (0:00:00.440) 0:01:59.539 ****** ok: [/cache/centos-7.qcow2c.snap] => (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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [/cache/centos-7.qcow2c.snap] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-7.qcow2c.snap] => (item=CentOS_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/" }, "ansible_included_var_files": [ "/tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [/cache/centos-7.qcow2c.snap] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Wednesday 03 August 2022 15:49:11 +0000 (0:00:00.075) 0:01:59.615 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:12 Wednesday 03 August 2022 15:49:11 +0000 (0:00:00.041) 0:01:59.656 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:16 Wednesday 03 August 2022 15:49:11 +0000 (0:00:00.038) 0:01:59.694 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:22 Wednesday 03 August 2022 15:49:11 +0000 (0:00:00.037) 0:01:59.732 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that the user accepts EULA variables] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:27 Wednesday 03 August 2022 15:49:11 +0000 (0:00:00.036) 0:01:59.769 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:39 Wednesday 03 August 2022 15:49:11 +0000 (0:00:00.075) 0:01:59.844 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if the mssql_upgrade variable is provided correctly] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Wednesday 03 August 2022 15:49:12 +0000 (0:00:00.063) 0:01:59.907 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:55 Wednesday 03 August 2022 15:49:12 +0000 (0:00:00.044) 0:01:59.951 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:63 Wednesday 03 August 2022 15:49:12 +0000 (0:00:00.043) 0:01:59.995 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:71 Wednesday 03 August 2022 15:49:12 +0000 (0:00:00.044) 0:02:00.039 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:80 Wednesday 03 August 2022 15:49:12 +0000 (0:00:00.043) 0:02:00.083 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:85 Wednesday 03 August 2022 15:49:13 +0000 (0:00:00.939) 0:02:01.023 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Wednesday 03 August 2022 15:49:13 +0000 (0:00:00.044) 0:02:01.068 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server 2017 repo] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:102 Wednesday 03 August 2022 15:49:13 +0000 (0:00:00.569) 0:02:01.637 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:113 Wednesday 03 August 2022 15:49:13 +0000 (0:00:00.045) 0:02:01.683 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server 2019 repository] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:119 Wednesday 03 August 2022 15:49:13 +0000 (0:00:00.047) 0:02:01.730 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the mssql-server package] ******* task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:129 Wednesday 03 August 2022 15:49:13 +0000 (0:00:00.048) 0:02:01.779 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3451.2-1.x86_64 providing mssql-server is already installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:137 Wednesday 03 August 2022 15:49:14 +0000 (0:00:00.548) 0:02:02.328 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:145 Wednesday 03 August 2022 15:49:14 +0000 (0:00:00.029) 0:02:02.358 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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.006134", "end": "2022-08-03 15:49:14.688285", "rc": 0, "start": "2022-08-03 15:49:14.682151" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:160 Wednesday 03 August 2022 15:49:14 +0000 (0:00:00.334) 0:02:02.692 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:174 Wednesday 03 August 2022 15:49:15 +0000 (0:00:00.986) 0:02:03.679 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 Wednesday 03 August 2022 15:49:15 +0000 (0:00:00.050) 0:02:03.729 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:193 Wednesday 03 August 2022 15:49:15 +0000 (0:00:00.052) 0:02:03.782 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-11.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:198 Wednesday 03 August 2022 15:49:16 +0000 (0:00:00.526) 0:02:04.308 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 15:47:10 UTC", "ActiveEnterTimestampMonotonic": "8883446", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target system.slice basic.target dbus.service systemd-journald.socket systemd-sysctl.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 15:47:10 UTC", "AssertTimestampMonotonic": "8681735", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 15:47:10 UTC", "ConditionTimestampMonotonic": "8681735", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "969", "ExecMainStartTimestamp": "Wed 2022-08-03 15:47:10 UTC", "ExecMainStartTimestampMonotonic": "8682376", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-08-03 15:47:10 UTC", "InactiveExitTimestampMonotonic": "8682753", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14960", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14960", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "969", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice dbus.service polkit.service basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 15:47:10 UTC", "WatchdogTimestampMonotonic": "8882935", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:204 Wednesday 03 August 2022 15:49:16 +0000 (0:00:00.412) 0:02:04.721 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.091869", "end": "2022-08-03 15:49:17.135305", "rc": 0, "start": "2022-08-03 15:49:17.043436" } STDOUT: Current active profile: virtual-guest mssql TASK [fedora.linux_system_roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:214 Wednesday 03 August 2022 15:49:17 +0000 (0:00:00.410) 0:02:05.131 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:227 Wednesday 03 August 2022 15:49:17 +0000 (0:00:00.032) 0:02:05.164 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:236 Wednesday 03 August 2022 15:49:17 +0000 (0:00:00.032) 0:02:05.197 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:246 Wednesday 03 August 2022 15:49:17 +0000 (0:00:00.069) 0:02:05.266 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:253 Wednesday 03 August 2022 15:49:17 +0000 (0:00:00.316) 0:02:05.583 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "mssql-tools-17.10.1.1-1.x86_64 providing mssql-tools is already installed", "unixODBC-devel-2.3.7-1.rh.x86_64 providing unixODBC-devel is already installed" ] } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:265 Wednesday 03 August 2022 15:49:18 +0000 (0:00:00.524) 0:02:06.108 ****** included: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Wednesday 03 August 2022 15:49:18 +0000 (0:00:00.055) 0:02:06.164 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 15:48:40 UTC", "ActiveEnterTimestampMonotonic": "99026026", "ActiveExitTimestamp": "Wed 2022-08-03 15:48:40 UTC", "ActiveExitTimestampMonotonic": "99023452", "ActiveState": "active", "After": "systemd-journald.socket auditd.service network.target system.slice basic.target -.mount", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 15:48:40 UTC", "AssertTimestampMonotonic": "99025249", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 15:48:40 UTC", "ConditionTimestampMonotonic": "99025249", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "4031", "ExecMainStartTimestamp": "Wed 2022-08-03 15:48:40 UTC", "ExecMainStartTimestampMonotonic": "99025946", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 15:48:40 UTC] ; stop_time=[n/a] ; pid=4031 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 15:48:40 UTC", "InactiveEnterTimestampMonotonic": "99024797", "InactiveExitTimestamp": "Wed 2022-08-03 15:48:40 UTC", "InactiveExitTimestampMonotonic": "99026026", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14960", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "4031", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice -.mount basic.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 15:48:40 UTC", "WatchdogTimestampMonotonic": "99025997", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Wednesday 03 August 2022 15:49:18 +0000 (0:00:00.391) 0:02:06.555 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.004356", "end": "2022-08-03 15:49:19.890684", "failed_when_result": false, "rc": 1, "start": "2022-08-03 15:49:18.886328" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Wednesday 03 August 2022 15:49:20 +0000 (0:00:01.333) 0:02:07.889 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003749", "end": "2022-08-03 15:49:20.220384", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:49:20.216635" } STDOUT: ipaddress = 0.0.0.0 TASK [fedora.linux_system_roles.mssql : Set a fact with a password query] ****** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Wednesday 03 August 2022 15:49:20 +0000 (0:00:00.326) 0:02:08.215 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": "/opt/mssql-tools/bin/sqlcmd -S 0.0.0.0 -U sa -P p@55w0rd" }, "changed": false } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:270 Wednesday 03 August 2022 15:49:20 +0000 (0:00:00.105) 0:02:08.320 ****** fatal: [/cache/centos-7.qcow2c.snap]: FAILED! => { "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-S", "0.0.0.0", "-U", "sa", "-P", "p@55w0rd", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.040552", "end": "2022-08-03 15:49:20.688150", "rc": 1, "start": "2022-08-03 15:49:20.647598" } STDERR: Sqlcmd: Error: Microsoft ODBC Driver 17 for SQL Server : Login failed for user 'sa'.. MSG: non-zero return code ...ignoring TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:276 Wednesday 03 August 2022 15:49:20 +0000 (0:00:00.376) 0:02:08.697 ****** NOTIFIED HANDLER fedora.linux_system_roles.mssql : Restart the mssql-server service for /cache/centos-7.qcow2c.snap changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 15:48:40 UTC", "ActiveEnterTimestampMonotonic": "99026026", "ActiveExitTimestamp": "Wed 2022-08-03 15:48:40 UTC", "ActiveExitTimestampMonotonic": "99023452", "ActiveState": "active", "After": "systemd-journald.socket auditd.service network.target system.slice basic.target -.mount", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 15:48:40 UTC", "AssertTimestampMonotonic": "99025249", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 15:48:40 UTC", "ConditionTimestampMonotonic": "99025249", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "4031", "ExecMainStartTimestamp": "Wed 2022-08-03 15:48:40 UTC", "ExecMainStartTimestampMonotonic": "99025946", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 15:48:40 UTC] ; stop_time=[n/a] ; pid=4031 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 15:48:40 UTC", "InactiveEnterTimestampMonotonic": "99024797", "InactiveExitTimestamp": "Wed 2022-08-03 15:48:40 UTC", "InactiveExitTimestampMonotonic": "99026026", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14960", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "4031", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice -.mount basic.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 15:48:40 UTC", "WatchdogTimestampMonotonic": "99025997", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Change the password of the sa user] **** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:283 Wednesday 03 August 2022 15:49:21 +0000 (0:00:00.693) 0:02:09.391 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set-sa-password" ], "delta": "0:00:05.715737", "end": "2022-08-03 15:49:27.442041", "rc": 0, "start": "2022-08-03 15:49:21.726304" } STDOUT: Configuring SQL Server... The system administrator password has been changed. Please run 'sudo systemctl start mssql-server' to start SQL Server. TASK [fedora.linux_system_roles.mssql : Input the sql file to SQL Server] ***** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Wednesday 03 August 2022 15:49:27 +0000 (0:00:06.052) 0:02:15.443 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:297 Wednesday 03 August 2022 15:49:27 +0000 (0:00:00.050) 0:02:15.494 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:306 Wednesday 03 August 2022 15:49:27 +0000 (0:00:00.047) 0:02:15.541 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Standard edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n edition_matches=false\nelse\n edition_matches=true\nfi\necho \"${edition_matches}\"\n", "delta": "0:00:00.005897", "end": "2022-08-03 15:49:27.886389", "rc": 0, "start": "2022-08-03 15:49:27.880492" } STDOUT: false TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:319 Wednesday 03 August 2022 15:49:28 +0000 (0:00:00.341) 0:02:15.883 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 15:48:40 UTC", "ActiveEnterTimestampMonotonic": "99026026", "ActiveExitTimestamp": "Wed 2022-08-03 15:49:21 UTC", "ActiveExitTimestampMonotonic": "139730206", "ActiveState": "inactive", "After": "systemd-journald.socket auditd.service network.target system.slice basic.target -.mount", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 15:48:40 UTC", "AssertTimestampMonotonic": "99025249", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 15:48:40 UTC", "ConditionTimestampMonotonic": "99025249", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "1", "ExecMainExitTimestamp": "Wed 2022-08-03 15:49:21 UTC", "ExecMainExitTimestampMonotonic": "139956218", "ExecMainPID": "4031", "ExecMainStartTimestamp": "Wed 2022-08-03 15:48:40 UTC", "ExecMainStartTimestampMonotonic": "99025946", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 15:48:40 UTC] ; stop_time=[Wed 2022-08-03 15:49:21 UTC] ; pid=4031 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 15:49:21 UTC", "InactiveEnterTimestampMonotonic": "139956347", "InactiveExitTimestamp": "Wed 2022-08-03 15:48:40 UTC", "InactiveExitTimestampMonotonic": "99026026", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14960", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice -.mount basic.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Change the edition of MSSQL] *********** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:326 Wednesday 03 August 2022 15:49:28 +0000 (0:00:00.415) 0:02:16.298 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set-edition" ], "delta": "0:00:05.858107", "end": "2022-08-03 15:49:34.563440", "rc": 0, "start": "2022-08-03 15:49:28.705333" } STDOUT: The licensing PID was successfully processed. The new edition is [Standard Edition]. Configuring SQL Server... Please run 'sudo systemctl start mssql-server' to start SQL Server. TASK [fedora.linux_system_roles.mssql : Configure the IP address setting] ****** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:335 Wednesday 03 August 2022 15:49:34 +0000 (0:00:06.323) 0:02:22.621 ****** included: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.mssql : Get the network ipaddress setting] ***** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 15:49:34 +0000 (0:00:00.060) 0:02:22.682 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003874", "end": "2022-08-03 15:49:35.033118", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:49:35.029244" } STDOUT: ipaddress = 0.0.0.0 TASK [fedora.linux_system_roles.mssql : Configure the network ipaddress setting] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 15:49:35 +0000 (0:00:00.348) 0:02:23.031 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.ipaddress", "127.0.0.1" ], "delta": "0:00:00.049834", "end": "2022-08-03 15:49:35.424475", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:49:35.374641" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Unset the network ipaddress setting] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 15:49:35 +0000 (0:00:00.397) 0:02:23.429 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:342 Wednesday 03 August 2022 15:49:35 +0000 (0:00:00.032) 0:02:23.461 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the 1435 TCP port] ************************************************** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:349 Wednesday 03 August 2022 15:49:35 +0000 (0:00:00.047) 0:02:23.509 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the TCP port setting to 1435] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:360 Wednesday 03 August 2022 15:49:35 +0000 (0:00:00.044) 0:02:23.553 ****** included: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.mssql : Get the network tcpport setting] ******* task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 15:49:35 +0000 (0:00:00.059) 0:02:23.613 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003876", "end": "2022-08-03 15:49:35.952310", "failed_when_result": false, "rc": 1, "start": "2022-08-03 15:49:35.948434" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the network tcpport setting] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 15:49:36 +0000 (0:00:00.336) 0:02:23.949 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1435" ], "delta": "0:00:00.049390", "end": "2022-08-03 15:49:36.338257", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:49:36.288867" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Unset the network tcpport setting] ***** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 15:49:36 +0000 (0:00:00.394) 0:02:24.344 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:366 Wednesday 03 August 2022 15:49:36 +0000 (0:00:00.032) 0:02:24.376 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:384 Wednesday 03 August 2022 15:49:36 +0000 (0:00:00.043) 0:02:24.419 ****** included: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.mssql : Get the sqlagent enabled setting] ****** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 15:49:36 +0000 (0:00:00.115) 0:02:24.535 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004610", "end": "2022-08-03 15:49:36.889123", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:49:36.884513" } STDOUT: enabled = True TASK [fedora.linux_system_roles.mssql : Configure the sqlagent enabled setting] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 15:49:37 +0000 (0:00:00.357) 0:02:24.893 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "sqlagent.enabled", "False" ], "delta": "0:00:00.052920", "end": "2022-08-03 15:49:37.296780", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:49:37.243860" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Unset the sqlagent enabled setting] **** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 15:49:37 +0000 (0:00:00.408) 0:02:25.301 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the mssql-server-fts package] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:391 Wednesday 03 August 2022 15:49:37 +0000 (0:00:00.033) 0:02:25.334 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "changes": { "removed": [ "mssql-server-fts" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-server-fts.x86_64 0:14.0.3451.2-1 will be erased\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nRemoving:\n mssql-server-fts\n x86_64 14.0.3451.2-1 @packages-microsoft-com-mssql-server-2017 554 M\n\nTransaction Summary\n================================================================================\nRemove 1 Package\n\nInstalled size: 554 M\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Erasing : mssql-server-fts-14.0.3451.2-1.x86_64 1/1 \n Verifying : mssql-server-fts-14.0.3451.2-1.x86_64 1/1 \n\nRemoved:\n mssql-server-fts.x86_64 0:14.0.3451.2-1 \n\nComplete!\n" ] } TASK [fedora.linux_system_roles.mssql : Ensure the powershell package] ********* task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:398 Wednesday 03 August 2022 15:49:38 +0000 (0:00:01.312) 0:02:26.647 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the mssql-server-ha package] **** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:407 Wednesday 03 August 2022 15:49:38 +0000 (0:00:00.041) 0:02:26.689 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "changes": { "removed": [ "mssql-server-ha" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-server-ha.x86_64 0:14.0.3451.2-1 will be erased\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nRemoving:\n mssql-server-ha\n x86_64 14.0.3451.2-1 @packages-microsoft-com-mssql-server-2017 9.3 M\n\nTransaction Summary\n================================================================================\nRemove 1 Package\n\nInstalled size: 9.3 M\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Erasing : mssql-server-ha-14.0.3451.2-1.x86_64 1/1 \n Verifying : mssql-server-ha-14.0.3451.2-1.x86_64 1/1 \n\nRemoved:\n mssql-server-ha.x86_64 0:14.0.3451.2-1 \n\nComplete!\n" ] } TASK [fedora.linux_system_roles.mssql : Configure the hadrenabled setting] ***** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:413 Wednesday 03 August 2022 15:49:40 +0000 (0:00:01.217) 0:02:27.906 ****** included: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.mssql : Get the hadr hadrenabled setting] ****** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 15:49:40 +0000 (0:00:00.061) 0:02:27.968 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "grep", "^hadrenabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003980", "end": "2022-08-03 15:49:40.359369", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:49:40.355389" } STDOUT: hadrenabled = 1 TASK [fedora.linux_system_roles.mssql : Configure the hadr hadrenabled setting] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 15:49:40 +0000 (0:00:00.449) 0:02:28.418 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "hadr.hadrenabled", "0" ], "delta": "0:00:00.049323", "end": "2022-08-03 15:49:40.833304", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:49:40.783981" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Unset the hadr hadrenabled setting] **** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 15:49:40 +0000 (0:00:00.416) 0:02:28.834 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:422 Wednesday 03 August 2022 15:49:40 +0000 (0:00:00.038) 0:02:28.872 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004131", "end": "2022-08-03 15:49:41.224377", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:49:41.220246" } STDOUT: traceflag0 = 3979 TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:428 Wednesday 03 August 2022 15:49:41 +0000 (0:00:00.352) 0:02:29.224 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:434 Wednesday 03 August 2022 15:49:41 +0000 (0:00:00.048) 0:02:29.273 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "traceflag", "3979", "off" ], "delta": "0:00:00.051924", "end": "2022-08-03 15:49:41.671202", "rc": 0, "start": "2022-08-03 15:49:41.619278" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:441 Wednesday 03 August 2022 15:49:41 +0000 (0:00:00.395) 0:02:29.669 ****** included: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.mssql : Get the control alternatewritethrough setting] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 15:49:41 +0000 (0:00:00.059) 0:02:29.728 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003898", "end": "2022-08-03 15:49:42.088205", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:49:42.084307" } STDOUT: alternatewritethrough = 0 TASK [fedora.linux_system_roles.mssql : Configure the control alternatewritethrough setting] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 15:49:42 +0000 (0:00:00.356) 0:02:30.085 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the control alternatewritethrough setting] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 15:49:42 +0000 (0:00:00.055) 0:02:30.141 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:447 Wednesday 03 August 2022 15:49:42 +0000 (0:00:00.034) 0:02:30.175 ****** included: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.mssql : Get the control writethrough setting] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 15:49:42 +0000 (0:00:00.055) 0:02:30.230 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004003", "end": "2022-08-03 15:49:42.628342", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:49:42.624339" } STDOUT: writethrough = 1 TASK [fedora.linux_system_roles.mssql : Configure the control writethrough setting] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 15:49:42 +0000 (0:00:00.395) 0:02:30.626 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "control.writethrough", "0" ], "delta": "0:00:00.092326", "end": "2022-08-03 15:49:43.080239", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:49:42.987913" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Unset the control writethrough setting] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 15:49:43 +0000 (0:00:00.533) 0:02:31.159 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:458 Wednesday 03 August 2022 15:49:43 +0000 (0:00:00.064) 0:02:31.224 ****** skipping: [/cache/centos-7.qcow2c.snap] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:474 Wednesday 03 August 2022 15:49:43 +0000 (0:00:00.071) 0:02:31.295 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlskey setting] ********** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:483 Wednesday 03 August 2022 15:49:43 +0000 (0:00:00.036) 0:02:31.332 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlsprotocols setting] **** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 Wednesday 03 August 2022 15:49:43 +0000 (0:00:00.037) 0:02:31.369 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the forceencryption setting] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:499 Wednesday 03 August 2022 15:49:43 +0000 (0:00:00.034) 0:02:31.404 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:509 Wednesday 03 August 2022 15:49:43 +0000 (0:00:00.036) 0:02:31.441 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:528 Wednesday 03 August 2022 15:49:43 +0000 (0:00:00.053) 0:02:31.495 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the mssql-server-ha package] **** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:539 Wednesday 03 August 2022 15:49:43 +0000 (0:00:00.055) 0:02:31.550 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:545 Wednesday 03 August 2022 15:49:43 +0000 (0:00:00.046) 0:02:31.596 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:552 Wednesday 03 August 2022 15:49:43 +0000 (0:00:00.047) 0:02:31.644 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable AlwaysOn Health events] ********* task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:559 Wednesday 03 August 2022 15:49:43 +0000 (0:00:00.044) 0:02:31.688 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:564 Wednesday 03 August 2022 15:49:43 +0000 (0:00:00.046) 0:02:31.734 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:570 Wednesday 03 August 2022 15:49:43 +0000 (0:00:00.046) 0:02:31.780 ****** skipping: [/cache/centos-7.qcow2c.snap] => (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/centos-7.qcow2c.snap] => (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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:579 Wednesday 03 August 2022 15:49:43 +0000 (0:00:00.052) 0:02:31.832 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create and back up certificate] ******** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:584 Wednesday 03 August 2022 15:49:44 +0000 (0:00:00.045) 0:02:31.878 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:590 Wednesday 03 August 2022 15:49:44 +0000 (0:00:00.045) 0:02:31.924 ****** skipping: [/cache/centos-7.qcow2c.snap] => (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/centos-7.qcow2c.snap] => (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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:602 Wednesday 03 August 2022 15:49:44 +0000 (0:00:00.109) 0:02:32.033 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create the] **************************** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:607 Wednesday 03 August 2022 15:49:44 +0000 (0:00:00.044) 0:02:32.077 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:613 Wednesday 03 August 2022 15:49:44 +0000 (0:00:00.043) 0:02:32.121 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:618 Wednesday 03 August 2022 15:49:44 +0000 (0:00:00.047) 0:02:32.168 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to the login] ******* task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:623 Wednesday 03 August 2022 15:49:44 +0000 (0:00:00.052) 0:02:32.220 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Back up and replicate the database] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:628 Wednesday 03 August 2022 15:49:44 +0000 (0:00:00.046) 0:02:32.267 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:635 Wednesday 03 August 2022 15:49:44 +0000 (0:00:00.048) 0:02:32.316 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fail if the primary node failed] ******* task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:662 Wednesday 03 August 2022 15:49:44 +0000 (0:00:00.050) 0:02:32.366 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the mssql-server-ha package] **** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:669 Wednesday 03 August 2022 15:49:44 +0000 (0:00:00.040) 0:02:32.407 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:675 Wednesday 03 August 2022 15:49:44 +0000 (0:00:00.040) 0:02:32.448 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:682 Wednesday 03 August 2022 15:49:44 +0000 (0:00:00.042) 0:02:32.490 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable AlwaysOn Health events] ********* task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:689 Wednesday 03 August 2022 15:49:44 +0000 (0:00:00.043) 0:02:32.533 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create master key encryption] ********** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:694 Wednesday 03 August 2022 15:49:44 +0000 (0:00:00.044) 0:02:32.577 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:699 Wednesday 03 August 2022 15:49:44 +0000 (0:00:00.044) 0:02:32.622 ****** skipping: [/cache/centos-7.qcow2c.snap] => (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/centos-7.qcow2c.snap] => (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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:711 Wednesday 03 August 2022 15:49:44 +0000 (0:00:00.050) 0:02:32.673 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restore certificate] ******************* task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Wednesday 03 August 2022 15:49:44 +0000 (0:00:00.044) 0:02:32.718 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create database mirroring endpoints] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:722 Wednesday 03 August 2022 15:49:44 +0000 (0:00:00.041) 0:02:32.759 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create the login] ********************* task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:727 Wednesday 03 August 2022 15:49:44 +0000 (0:00:00.045) 0:02:32.805 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:732 Wednesday 03 August 2022 15:49:44 +0000 (0:00:00.041) 0:02:32.846 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to the login] ******* task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:737 Wednesday 03 August 2022 15:49:45 +0000 (0:00:00.045) 0:02:32.892 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the database exists on secondaries] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:742 Wednesday 03 August 2022 15:49:45 +0000 (0:00:00.041) 0:02:32.934 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Wednesday 03 August 2022 15:49:45 +0000 (0:00:00.049) 0:02:32.984 ****** skipping: [/cache/centos-7.qcow2c.snap] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:762 Wednesday 03 August 2022 15:49:45 +0000 (0:00:00.099) 0:02:33.083 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:773 Wednesday 03 August 2022 15:49:45 +0000 (0:00:00.057) 0:02:33.141 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the database exists] ******** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:778 Wednesday 03 August 2022 15:49:45 +0000 (0:00:00.045) 0:02:33.187 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:786 Wednesday 03 August 2022 15:49:45 +0000 (0:00:00.045) 0:02:33.232 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true } MSG: Block inserted TASK [fedora.linux_system_roles.mssql : Input the sql file to SQL Server] ***** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:795 Wednesday 03 August 2022 15:49:45 +0000 (0:00:00.391) 0:02:33.624 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the mssql_post_input_sql_file fact] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:801 Wednesday 03 August 2022 15:49:45 +0000 (0:00:00.035) 0:02:33.660 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "mssql_post_input_sql_file": null }, "changed": false } META: role_complete for /cache/centos-7.qcow2c.snap TASK [Flush handlers] ********************************************************** task path: /tmp/tmplq_pq1x0/tests/mssql/tests_idempotency_2017.yml:70 Wednesday 03 August 2022 15:49:45 +0000 (0:00:00.067) 0:02:33.727 ****** RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Wednesday 03 August 2022 15:49:45 +0000 (0:00:00.000) 0:02:33.727 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 15:48:40 UTC", "ActiveEnterTimestampMonotonic": "99026026", "ActiveExitTimestamp": "Wed 2022-08-03 15:49:21 UTC", "ActiveExitTimestampMonotonic": "139730206", "ActiveState": "inactive", "After": "systemd-journald.socket auditd.service network.target system.slice basic.target -.mount", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 15:48:40 UTC", "AssertTimestampMonotonic": "99025249", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 15:48:40 UTC", "ConditionTimestampMonotonic": "99025249", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "1", "ExecMainExitTimestamp": "Wed 2022-08-03 15:49:21 UTC", "ExecMainExitTimestampMonotonic": "139956218", "ExecMainPID": "4031", "ExecMainStartTimestamp": "Wed 2022-08-03 15:48:40 UTC", "ExecMainStartTimestampMonotonic": "99025946", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 15:48:40 UTC] ; stop_time=[Wed 2022-08-03 15:49:21 UTC] ; pid=4031 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 15:49:21 UTC", "InactiveEnterTimestampMonotonic": "139956347", "InactiveExitTimestamp": "Wed 2022-08-03 15:48:40 UTC", "InactiveExitTimestampMonotonic": "99026026", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14960", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice -.mount basic.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } META: ran handlers TASK [Run with the edited settings again - should report not changed] ********** task path: /tmp/tmplq_pq1x0/tests/mssql/tests_idempotency_2017.yml:73 Wednesday 03 August 2022 15:49:46 +0000 (0:00:00.448) 0:02:34.176 ****** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Wednesday 03 August 2022 15:49:46 +0000 (0:00:00.214) 0:02:34.390 ****** included: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Wednesday 03 August 2022 15:49:46 +0000 (0:00:00.117) 0:02:34.508 ****** ok: [/cache/centos-7.qcow2c.snap] TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:10 Wednesday 03 August 2022 15:49:47 +0000 (0:00:00.459) 0:02:34.967 ****** ok: [/cache/centos-7.qcow2c.snap] => (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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [/cache/centos-7.qcow2c.snap] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-7.qcow2c.snap] => (item=CentOS_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/" }, "ansible_included_var_files": [ "/tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [/cache/centos-7.qcow2c.snap] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Wednesday 03 August 2022 15:49:47 +0000 (0:00:00.074) 0:02:35.042 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:12 Wednesday 03 August 2022 15:49:47 +0000 (0:00:00.042) 0:02:35.084 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:16 Wednesday 03 August 2022 15:49:47 +0000 (0:00:00.044) 0:02:35.129 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:22 Wednesday 03 August 2022 15:49:47 +0000 (0:00:00.037) 0:02:35.166 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that the user accepts EULA variables] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:27 Wednesday 03 August 2022 15:49:47 +0000 (0:00:00.038) 0:02:35.204 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:39 Wednesday 03 August 2022 15:49:47 +0000 (0:00:00.059) 0:02:35.263 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if the mssql_upgrade variable is provided correctly] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Wednesday 03 August 2022 15:49:47 +0000 (0:00:00.055) 0:02:35.318 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:55 Wednesday 03 August 2022 15:49:47 +0000 (0:00:00.046) 0:02:35.365 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:63 Wednesday 03 August 2022 15:49:47 +0000 (0:00:00.045) 0:02:35.410 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:71 Wednesday 03 August 2022 15:49:47 +0000 (0:00:00.044) 0:02:35.455 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:80 Wednesday 03 August 2022 15:49:47 +0000 (0:00:00.045) 0:02:35.500 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:85 Wednesday 03 August 2022 15:49:48 +0000 (0:00:00.947) 0:02:36.448 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Wednesday 03 August 2022 15:49:48 +0000 (0:00:00.047) 0:02:36.495 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server 2017 repo] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:102 Wednesday 03 August 2022 15:49:49 +0000 (0:00:00.582) 0:02:37.078 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:113 Wednesday 03 August 2022 15:49:49 +0000 (0:00:00.046) 0:02:37.124 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server 2019 repository] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:119 Wednesday 03 August 2022 15:49:49 +0000 (0:00:00.050) 0:02:37.174 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the mssql-server package] ******* task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:129 Wednesday 03 August 2022 15:49:49 +0000 (0:00:00.051) 0:02:37.225 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3451.2-1.x86_64 providing mssql-server is already installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:137 Wednesday 03 August 2022 15:49:49 +0000 (0:00:00.550) 0:02:37.775 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:145 Wednesday 03 August 2022 15:49:49 +0000 (0:00:00.038) 0:02:37.814 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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.006238", "end": "2022-08-03 15:49:50.161030", "rc": 0, "start": "2022-08-03 15:49:50.154792" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:160 Wednesday 03 August 2022 15:49:50 +0000 (0:00:00.346) 0:02:38.161 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:174 Wednesday 03 August 2022 15:49:51 +0000 (0:00:00.943) 0:02:39.105 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 Wednesday 03 August 2022 15:49:51 +0000 (0:00:00.103) 0:02:39.208 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:193 Wednesday 03 August 2022 15:49:51 +0000 (0:00:00.050) 0:02:39.258 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-11.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:198 Wednesday 03 August 2022 15:49:51 +0000 (0:00:00.541) 0:02:39.800 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 15:47:10 UTC", "ActiveEnterTimestampMonotonic": "8883446", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target system.slice basic.target dbus.service systemd-journald.socket systemd-sysctl.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 15:47:10 UTC", "AssertTimestampMonotonic": "8681735", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 15:47:10 UTC", "ConditionTimestampMonotonic": "8681735", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "969", "ExecMainStartTimestamp": "Wed 2022-08-03 15:47:10 UTC", "ExecMainStartTimestampMonotonic": "8682376", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-08-03 15:47:10 UTC", "InactiveExitTimestampMonotonic": "8682753", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14960", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14960", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "969", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice dbus.service polkit.service basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 15:47:10 UTC", "WatchdogTimestampMonotonic": "8882935", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:204 Wednesday 03 August 2022 15:49:52 +0000 (0:00:00.421) 0:02:40.221 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.089645", "end": "2022-08-03 15:49:52.623948", "rc": 0, "start": "2022-08-03 15:49:52.534303" } STDOUT: Current active profile: virtual-guest mssql TASK [fedora.linux_system_roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:214 Wednesday 03 August 2022 15:49:52 +0000 (0:00:00.400) 0:02:40.621 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:227 Wednesday 03 August 2022 15:49:52 +0000 (0:00:00.033) 0:02:40.655 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:236 Wednesday 03 August 2022 15:49:52 +0000 (0:00:00.033) 0:02:40.688 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:246 Wednesday 03 August 2022 15:49:52 +0000 (0:00:00.030) 0:02:40.718 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:253 Wednesday 03 August 2022 15:49:53 +0000 (0:00:00.330) 0:02:41.049 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "mssql-tools-17.10.1.1-1.x86_64 providing mssql-tools is already installed", "unixODBC-devel-2.3.7-1.rh.x86_64 providing unixODBC-devel is already installed" ] } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:265 Wednesday 03 August 2022 15:49:53 +0000 (0:00:00.560) 0:02:41.609 ****** included: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Wednesday 03 August 2022 15:49:53 +0000 (0:00:00.101) 0:02:41.710 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 15:49:46 UTC", "ActiveEnterTimestampMonotonic": "164736694", "ActiveExitTimestamp": "Wed 2022-08-03 15:49:21 UTC", "ActiveExitTimestampMonotonic": "139730206", "ActiveState": "active", "After": "systemd-journald.socket auditd.service network.target system.slice basic.target -.mount", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 15:49:46 UTC", "AssertTimestampMonotonic": "164735686", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 15:49:46 UTC", "ConditionTimestampMonotonic": "164735686", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "8881", "ExecMainStartTimestamp": "Wed 2022-08-03 15:49:46 UTC", "ExecMainStartTimestampMonotonic": "164736614", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 15:49:46 UTC] ; stop_time=[n/a] ; pid=8881 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 15:49:21 UTC", "InactiveEnterTimestampMonotonic": "139956347", "InactiveExitTimestamp": "Wed 2022-08-03 15:49:46 UTC", "InactiveExitTimestampMonotonic": "164736694", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14960", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "8881", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice -.mount basic.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 15:49:46 UTC", "WatchdogTimestampMonotonic": "164736659", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Wednesday 03 August 2022 15:49:54 +0000 (0:00:00.419) 0:02:42.130 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003641", "end": "2022-08-03 15:49:54.462899", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:49:54.459258" } STDOUT: tcpport = 1435 TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Wednesday 03 August 2022 15:49:54 +0000 (0:00:00.331) 0:02:42.461 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003979", "end": "2022-08-03 15:49:54.798856", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:49:54.794877" } STDOUT: ipaddress = 127.0.0.1 TASK [fedora.linux_system_roles.mssql : Set a fact with a password query] ****** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Wednesday 03 August 2022 15:49:54 +0000 (0:00:00.336) 0:02:42.798 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": "/opt/mssql-tools/bin/sqlcmd -S 127.0.0.1,1435 -U sa -P p@55w0rd" }, "changed": false } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:270 Wednesday 03 August 2022 15:49:54 +0000 (0:00:00.067) 0:02:42.865 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-S", "127.0.0.1,1435", "-U", "sa", "-P", "p@55w0rd", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.027786", "end": "2022-08-03 15:49:55.229160", "rc": 0, "start": "2022-08-03 15:49:55.201374" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2017 (RTM-CU30) (KB5013756) - 14.0.3451.2 (X64) Jun 22 2022 18:20:15 Copyright (C) 2017 Microsoft Corporation Standard Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:276 Wednesday 03 August 2022 15:49:55 +0000 (0:00:00.359) 0:02:43.225 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Change the password of the sa user] **** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:283 Wednesday 03 August 2022 15:49:55 +0000 (0:00:00.039) 0:02:43.264 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input the sql file to SQL Server] ***** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Wednesday 03 August 2022 15:49:55 +0000 (0:00:00.040) 0:02:43.305 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:297 Wednesday 03 August 2022 15:49:55 +0000 (0:00:00.036) 0:02:43.341 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:306 Wednesday 03 August 2022 15:49:55 +0000 (0:00:00.040) 0:02:43.382 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Standard edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n edition_matches=false\nelse\n edition_matches=true\nfi\necho \"${edition_matches}\"\n", "delta": "0:00:00.006066", "end": "2022-08-03 15:49:55.735961", "rc": 0, "start": "2022-08-03 15:49:55.729895" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:319 Wednesday 03 August 2022 15:49:55 +0000 (0:00:00.349) 0:02:43.732 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Change the edition of MSSQL] *********** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:326 Wednesday 03 August 2022 15:49:55 +0000 (0:00:00.048) 0:02:43.780 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the IP address setting] ****** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:335 Wednesday 03 August 2022 15:49:55 +0000 (0:00:00.055) 0:02:43.835 ****** included: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.mssql : Get the network ipaddress setting] ***** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 15:49:56 +0000 (0:00:00.059) 0:02:43.895 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003829", "end": "2022-08-03 15:49:56.289515", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:49:56.285686" } STDOUT: ipaddress = 127.0.0.1 TASK [fedora.linux_system_roles.mssql : Configure the network ipaddress setting] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 15:49:56 +0000 (0:00:00.387) 0:02:44.283 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the network ipaddress setting] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 15:49:56 +0000 (0:00:00.050) 0:02:44.334 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:342 Wednesday 03 August 2022 15:49:56 +0000 (0:00:00.031) 0:02:44.366 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the 1435 TCP port] ************************************************** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:349 Wednesday 03 August 2022 15:49:56 +0000 (0:00:00.045) 0:02:44.411 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the TCP port setting to 1435] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:360 Wednesday 03 August 2022 15:49:56 +0000 (0:00:00.044) 0:02:44.456 ****** included: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.mssql : Get the network tcpport setting] ******* task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 15:49:56 +0000 (0:00:00.052) 0:02:44.508 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003876", "end": "2022-08-03 15:49:56.855710", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:49:56.851834" } STDOUT: tcpport = 1435 TASK [fedora.linux_system_roles.mssql : Configure the network tcpport setting] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 15:49:56 +0000 (0:00:00.355) 0:02:44.864 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the network tcpport setting] ***** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 15:49:57 +0000 (0:00:00.050) 0:02:44.915 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:366 Wednesday 03 August 2022 15:49:57 +0000 (0:00:00.031) 0:02:44.946 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:384 Wednesday 03 August 2022 15:49:57 +0000 (0:00:00.044) 0:02:44.991 ****** included: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.mssql : Get the sqlagent enabled setting] ****** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 15:49:57 +0000 (0:00:00.062) 0:02:45.053 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003784", "end": "2022-08-03 15:49:57.396190", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:49:57.392406" } STDOUT: enabled = False TASK [fedora.linux_system_roles.mssql : Configure the sqlagent enabled setting] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 15:49:57 +0000 (0:00:00.342) 0:02:45.396 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the sqlagent enabled setting] **** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 15:49:57 +0000 (0:00:00.050) 0:02:45.447 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the mssql-server-fts package] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:391 Wednesday 03 August 2022 15:49:57 +0000 (0:00:00.032) 0:02:45.479 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "mssql-server-fts is not installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure the powershell package] ********* task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:398 Wednesday 03 August 2022 15:49:58 +0000 (0:00:00.643) 0:02:46.123 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the mssql-server-ha package] **** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:407 Wednesday 03 August 2022 15:49:58 +0000 (0:00:00.036) 0:02:46.159 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "mssql-server-ha is not installed" ] } TASK [fedora.linux_system_roles.mssql : Configure the hadrenabled setting] ***** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:413 Wednesday 03 August 2022 15:49:58 +0000 (0:00:00.579) 0:02:46.739 ****** included: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.mssql : Get the hadr hadrenabled setting] ****** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 15:49:58 +0000 (0:00:00.056) 0:02:46.796 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "grep", "^hadrenabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003869", "end": "2022-08-03 15:49:59.141391", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:49:59.137522" } STDOUT: hadrenabled = 0 TASK [fedora.linux_system_roles.mssql : Configure the hadr hadrenabled setting] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 15:49:59 +0000 (0:00:00.342) 0:02:47.138 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the hadr hadrenabled setting] **** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 15:49:59 +0000 (0:00:00.055) 0:02:47.194 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:422 Wednesday 03 August 2022 15:49:59 +0000 (0:00:00.037) 0:02:47.232 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003934", "end": "2022-08-03 15:49:59.567680", "failed_when_result": false, "rc": 1, "start": "2022-08-03 15:49:59.563746" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:428 Wednesday 03 August 2022 15:49:59 +0000 (0:00:00.331) 0:02:47.564 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:434 Wednesday 03 August 2022 15:49:59 +0000 (0:00:00.049) 0:02:47.613 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:441 Wednesday 03 August 2022 15:49:59 +0000 (0:00:00.051) 0:02:47.664 ****** included: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.mssql : Get the control alternatewritethrough setting] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 15:49:59 +0000 (0:00:00.058) 0:02:47.723 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003765", "end": "2022-08-03 15:50:00.122574", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:50:00.118809" } STDOUT: alternatewritethrough = 0 TASK [fedora.linux_system_roles.mssql : Configure the control alternatewritethrough setting] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 15:50:00 +0000 (0:00:00.395) 0:02:48.118 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the control alternatewritethrough setting] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 15:50:00 +0000 (0:00:00.053) 0:02:48.172 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:447 Wednesday 03 August 2022 15:50:00 +0000 (0:00:00.038) 0:02:48.211 ****** included: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.mssql : Get the control writethrough setting] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 15:50:00 +0000 (0:00:00.058) 0:02:48.269 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003948", "end": "2022-08-03 15:50:00.612303", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:50:00.608355" } STDOUT: writethrough = 0 TASK [fedora.linux_system_roles.mssql : Configure the control writethrough setting] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 15:50:00 +0000 (0:00:00.341) 0:02:48.611 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the control writethrough setting] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 15:50:00 +0000 (0:00:00.054) 0:02:48.665 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:458 Wednesday 03 August 2022 15:50:00 +0000 (0:00:00.037) 0:02:48.703 ****** skipping: [/cache/centos-7.qcow2c.snap] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:474 Wednesday 03 August 2022 15:50:00 +0000 (0:00:00.041) 0:02:48.745 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlskey setting] ********** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:483 Wednesday 03 August 2022 15:50:00 +0000 (0:00:00.034) 0:02:48.779 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlsprotocols setting] **** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 Wednesday 03 August 2022 15:50:00 +0000 (0:00:00.039) 0:02:48.819 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the forceencryption setting] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:499 Wednesday 03 August 2022 15:50:00 +0000 (0:00:00.034) 0:02:48.853 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:509 Wednesday 03 August 2022 15:50:01 +0000 (0:00:00.040) 0:02:48.894 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:528 Wednesday 03 August 2022 15:50:01 +0000 (0:00:00.043) 0:02:48.938 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the mssql-server-ha package] **** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:539 Wednesday 03 August 2022 15:50:01 +0000 (0:00:00.048) 0:02:48.987 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:545 Wednesday 03 August 2022 15:50:01 +0000 (0:00:00.043) 0:02:49.031 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:552 Wednesday 03 August 2022 15:50:01 +0000 (0:00:00.047) 0:02:49.078 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable AlwaysOn Health events] ********* task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:559 Wednesday 03 August 2022 15:50:01 +0000 (0:00:00.045) 0:02:49.123 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:564 Wednesday 03 August 2022 15:50:01 +0000 (0:00:00.047) 0:02:49.171 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:570 Wednesday 03 August 2022 15:50:01 +0000 (0:00:00.046) 0:02:49.217 ****** skipping: [/cache/centos-7.qcow2c.snap] => (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/centos-7.qcow2c.snap] => (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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:579 Wednesday 03 August 2022 15:50:01 +0000 (0:00:00.050) 0:02:49.268 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create and back up certificate] ******** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:584 Wednesday 03 August 2022 15:50:01 +0000 (0:00:00.045) 0:02:49.314 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:590 Wednesday 03 August 2022 15:50:01 +0000 (0:00:00.121) 0:02:49.435 ****** skipping: [/cache/centos-7.qcow2c.snap] => (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/centos-7.qcow2c.snap] => (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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:602 Wednesday 03 August 2022 15:50:01 +0000 (0:00:00.058) 0:02:49.493 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create the] **************************** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:607 Wednesday 03 August 2022 15:50:01 +0000 (0:00:00.050) 0:02:49.544 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:613 Wednesday 03 August 2022 15:50:01 +0000 (0:00:00.045) 0:02:49.590 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:618 Wednesday 03 August 2022 15:50:01 +0000 (0:00:00.047) 0:02:49.637 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to the login] ******* task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:623 Wednesday 03 August 2022 15:50:01 +0000 (0:00:00.047) 0:02:49.685 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Back up and replicate the database] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:628 Wednesday 03 August 2022 15:50:01 +0000 (0:00:00.045) 0:02:49.730 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:635 Wednesday 03 August 2022 15:50:01 +0000 (0:00:00.050) 0:02:49.781 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fail if the primary node failed] ******* task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:662 Wednesday 03 August 2022 15:50:01 +0000 (0:00:00.054) 0:02:49.835 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the mssql-server-ha package] **** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:669 Wednesday 03 August 2022 15:50:02 +0000 (0:00:00.050) 0:02:49.886 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:675 Wednesday 03 August 2022 15:50:02 +0000 (0:00:00.042) 0:02:49.928 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:682 Wednesday 03 August 2022 15:50:02 +0000 (0:00:00.045) 0:02:49.973 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable AlwaysOn Health events] ********* task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:689 Wednesday 03 August 2022 15:50:02 +0000 (0:00:00.041) 0:02:50.014 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create master key encryption] ********** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:694 Wednesday 03 August 2022 15:50:02 +0000 (0:00:00.040) 0:02:50.055 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:699 Wednesday 03 August 2022 15:50:02 +0000 (0:00:00.041) 0:02:50.097 ****** skipping: [/cache/centos-7.qcow2c.snap] => (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/centos-7.qcow2c.snap] => (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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:711 Wednesday 03 August 2022 15:50:02 +0000 (0:00:00.054) 0:02:50.152 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restore certificate] ******************* task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Wednesday 03 August 2022 15:50:02 +0000 (0:00:00.045) 0:02:50.197 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create database mirroring endpoints] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:722 Wednesday 03 August 2022 15:50:02 +0000 (0:00:00.042) 0:02:50.240 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create the login] ********************* task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:727 Wednesday 03 August 2022 15:50:02 +0000 (0:00:00.045) 0:02:50.285 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:732 Wednesday 03 August 2022 15:50:02 +0000 (0:00:00.042) 0:02:50.328 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to the login] ******* task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:737 Wednesday 03 August 2022 15:50:02 +0000 (0:00:00.041) 0:02:50.370 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the database exists on secondaries] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:742 Wednesday 03 August 2022 15:50:02 +0000 (0:00:00.086) 0:02:50.456 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Wednesday 03 August 2022 15:50:02 +0000 (0:00:00.050) 0:02:50.506 ****** skipping: [/cache/centos-7.qcow2c.snap] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:762 Wednesday 03 August 2022 15:50:02 +0000 (0:00:00.049) 0:02:50.556 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:773 Wednesday 03 August 2022 15:50:02 +0000 (0:00:00.044) 0:02:50.600 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the database exists] ******** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:778 Wednesday 03 August 2022 15:50:02 +0000 (0:00:00.046) 0:02:50.646 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:786 Wednesday 03 August 2022 15:50:02 +0000 (0:00:00.045) 0:02:50.691 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } TASK [fedora.linux_system_roles.mssql : Input the sql file to SQL Server] ***** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:795 Wednesday 03 August 2022 15:50:03 +0000 (0:00:00.392) 0:02:51.084 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the mssql_post_input_sql_file fact] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:801 Wednesday 03 August 2022 15:50:03 +0000 (0:00:00.037) 0:02:51.121 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "mssql_post_input_sql_file": null }, "changed": false } META: role_complete for /cache/centos-7.qcow2c.snap TASK [Verify disabled settings] ************************************************ task path: /tmp/tmplq_pq1x0/tests/mssql/tests_idempotency_2017.yml:86 Wednesday 03 August 2022 15:50:03 +0000 (0:00:00.058) 0:02:51.180 ****** included: /tmp/tmplq_pq1x0/tests/mssql/tasks/verify_settings.yml for /cache/centos-7.qcow2c.snap TASK [Check if the errorlog file exists and its location] ********************** task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/verify_settings.yml:8 Wednesday 03 August 2022 15:50:03 +0000 (0:00:00.149) 0:02:51.329 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": "set -euo pipefail\nerrorlog=\"$(grep '^errorlogfile' /var/opt/mssql/mssql.conf \\\n2>&1 | sed 's\\errorlogfile : \\\\')\" || :\nif [ -f \"${errorlog}\" ]; then\n echo \"${errorlog}\"\nelif [ -f /var/opt/mssql/log/errorlog ]; then\n echo \"/var/opt/mssql/log/errorlog\"\nelse\n echo \"\"\nfi\n", "delta": "0:00:00.006421", "end": "2022-08-03 15:50:03.665474", "rc": 0, "start": "2022-08-03 15:50:03.659053" } STDOUT: /var/opt/mssql/log/errorlog TASK [Check if the set edition matches the existing edition] ******************* task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/verify_settings.yml:23 Wednesday 03 August 2022 15:50:03 +0000 (0:00:00.332) 0:02:51.661 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Standard edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n edition_matches=false\nelse\n edition_matches=true\nfi\necho \"${edition_matches}\"\n", "delta": "0:00:00.006108", "end": "2022-08-03 15:50:04.001340", "rc": 0, "start": "2022-08-03 15:50:03.995232" } STDOUT: true TASK [Verify if the edition matches] ******************************************* task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/verify_settings.yml:36 Wednesday 03 August 2022 15:50:04 +0000 (0:00:00.379) 0:02:52.041 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the IP address setting] ******************************************* task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/verify_settings.yml:40 Wednesday 03 August 2022 15:50:04 +0000 (0:00:00.056) 0:02:52.097 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the TCP port setting] ********************************************* task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/verify_settings.yml:47 Wednesday 03 August 2022 15:50:04 +0000 (0:00:00.033) 0:02:52.131 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/verify_settings.yml:57 Wednesday 03 August 2022 15:50:04 +0000 (0:00:00.032) 0:02:52.163 ****** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Wednesday 03 August 2022 15:50:04 +0000 (0:00:00.063) 0:02:52.226 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 15:49:46 UTC", "ActiveEnterTimestampMonotonic": "164736694", "ActiveExitTimestamp": "Wed 2022-08-03 15:49:21 UTC", "ActiveExitTimestampMonotonic": "139730206", "ActiveState": "active", "After": "systemd-journald.socket auditd.service network.target system.slice basic.target -.mount", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 15:49:46 UTC", "AssertTimestampMonotonic": "164735686", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 15:49:46 UTC", "ConditionTimestampMonotonic": "164735686", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "8881", "ExecMainStartTimestamp": "Wed 2022-08-03 15:49:46 UTC", "ExecMainStartTimestampMonotonic": "164736614", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 15:49:46 UTC] ; stop_time=[n/a] ; pid=8881 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 15:49:21 UTC", "InactiveEnterTimestampMonotonic": "139956347", "InactiveExitTimestamp": "Wed 2022-08-03 15:49:46 UTC", "InactiveExitTimestampMonotonic": "164736694", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14960", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "8881", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice -.mount basic.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 15:49:46 UTC", "WatchdogTimestampMonotonic": "164736659", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Wednesday 03 August 2022 15:50:04 +0000 (0:00:00.425) 0:02:52.652 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003569", "end": "2022-08-03 15:50:04.989267", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:50:04.985698" } STDOUT: tcpport = 1435 TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Wednesday 03 August 2022 15:50:05 +0000 (0:00:00.333) 0:02:52.985 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003828", "end": "2022-08-03 15:50:05.316853", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:50:05.313025" } STDOUT: ipaddress = 127.0.0.1 TASK [fedora.linux_system_roles.mssql : Set a fact with a password query] ****** task path: /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Wednesday 03 August 2022 15:50:05 +0000 (0:00:00.327) 0:02:53.313 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": "/opt/mssql-tools/bin/sqlcmd -S 127.0.0.1,1435 -U sa -P p@55w0rd" }, "changed": false } META: role_complete for /cache/centos-7.qcow2c.snap TASK [Wait for mssql-server to start and prepare for client connections] ******* task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/verify_settings.yml:65 Wednesday 03 August 2022 15:50:05 +0000 (0:00:00.086) 0:02:53.399 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "elapsed": 3, "gid": 993, "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": 6885, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/verify_settings.yml:72 Wednesday 03 August 2022 15:50:08 +0000 (0:00:03.352) 0:02:56.752 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-S", "127.0.0.1,1435", "-U", "sa", "-P", "p@55w0rd", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.025930", "end": "2022-08-03 15:50:09.175408", "rc": 0, "start": "2022-08-03 15:50:09.149478" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2017 (RTM-CU30) (KB5013756) - 14.0.3451.2 (X64) Jun 22 2022 18:20:15 Copyright (C) 2017 Microsoft Corporation Standard Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Verify if the password matched] ****************************************** task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/verify_settings.yml:78 Wednesday 03 August 2022 15:50:09 +0000 (0:00:00.418) 0:02:57.171 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify that the SQL agent is enabled] ************************************ task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/verify_settings.yml:82 Wednesday 03 August 2022 15:50:09 +0000 (0:00:00.047) 0:02:57.218 ****** included: /tmp/tmplq_pq1x0/tests/mssql/tasks/mssql_conf_verify.yml for /cache/centos-7.qcow2c.snap TASK [Get the value of the enabled setting] ************************************ task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/mssql_conf_verify.yml:7 Wednesday 03 August 2022 15:50:09 +0000 (0:00:00.054) 0:02:57.272 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": "grep '^enabled' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005166", "end": "2022-08-03 15:50:09.606479", "rc": 0, "start": "2022-08-03 15:50:09.601313" } STDOUT: enabled = False TASK [Verify the enabled setting when it is type str] ************************** task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/mssql_conf_verify.yml:14 Wednesday 03 August 2022 15:50:09 +0000 (0:00:00.330) 0:02:57.603 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the enabled setting when it is type bool] ************************* task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/mssql_conf_verify.yml:26 Wednesday 03 August 2022 15:50:09 +0000 (0:00:00.046) 0:02:57.650 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/mssql_conf_verify.yml:41 Wednesday 03 August 2022 15:50:09 +0000 (0:00:00.059) 0:02:57.710 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the mssql-server-fts package] ************************************* task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/verify_settings.yml:89 Wednesday 03 August 2022 15:50:09 +0000 (0:00:00.031) 0:02:57.742 ****** included: /tmp/tmplq_pq1x0/tests/mssql/tasks/verify_package.yml for /cache/centos-7.qcow2c.snap TASK [Gather package facts] **************************************************** task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/verify_package.yml:7 Wednesday 03 August 2022 15:50:09 +0000 (0:00:00.056) 0:02:57.798 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Verify if the mssql-server-fts package is installed] ********************* task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/verify_package.yml:12 Wednesday 03 August 2022 15:50:10 +0000 (0:00:00.895) 0:02:58.694 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the mssql-server-fts package is not installed] ***************** task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/verify_package.yml:17 Wednesday 03 August 2022 15:50:10 +0000 (0:00:00.101) 0:02:58.795 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the powershell package] ******************************************* task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/verify_settings.yml:96 Wednesday 03 August 2022 15:50:10 +0000 (0:00:00.053) 0:02:58.848 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the mssql-server-ha package is installed] ********************** task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/verify_settings.yml:107 Wednesday 03 August 2022 15:50:11 +0000 (0:00:00.038) 0:02:58.887 ****** included: /tmp/tmplq_pq1x0/tests/mssql/tasks/verify_package.yml for /cache/centos-7.qcow2c.snap TASK [Gather package facts] **************************************************** task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/verify_package.yml:7 Wednesday 03 August 2022 15:50:11 +0000 (0:00:00.057) 0:02:58.944 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Verify if the mssql-server-ha package is installed] ********************** task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/verify_package.yml:12 Wednesday 03 August 2022 15:50:11 +0000 (0:00:00.889) 0:02:59.833 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the mssql-server-ha package is not installed] ****************** task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/verify_package.yml:17 Wednesday 03 August 2022 15:50:12 +0000 (0:00:00.050) 0:02:59.884 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the hadrenabled setting] ****************************************** task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/verify_settings.yml:113 Wednesday 03 August 2022 15:50:12 +0000 (0:00:00.061) 0:02:59.945 ****** included: /tmp/tmplq_pq1x0/tests/mssql/tasks/mssql_conf_verify.yml for /cache/centos-7.qcow2c.snap TASK [Get the value of the hadrenabled setting] ******************************** task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/mssql_conf_verify.yml:7 Wednesday 03 August 2022 15:50:12 +0000 (0:00:00.063) 0:03:00.009 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": "grep '^hadrenabled' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005240", "end": "2022-08-03 15:50:12.331009", "rc": 0, "start": "2022-08-03 15:50:12.325769" } STDOUT: hadrenabled = 0 TASK [Verify the hadrenabled setting when it is type str] ********************** task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/mssql_conf_verify.yml:14 Wednesday 03 August 2022 15:50:12 +0000 (0:00:00.320) 0:03:00.329 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the hadrenabled setting when it is type bool] ********************* task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/mssql_conf_verify.yml:26 Wednesday 03 August 2022 15:50:12 +0000 (0:00:00.051) 0:03:00.381 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/mssql_conf_verify.yml:41 Wednesday 03 August 2022 15:50:12 +0000 (0:00:00.194) 0:03:00.576 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/verify_settings.yml:123 Wednesday 03 August 2022 15:50:12 +0000 (0:00:00.037) 0:03:00.613 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": "grep '^traceflag' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005336", "end": "2022-08-03 15:50:12.953246", "rc": 0, "start": "2022-08-03 15:50:12.947910" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/verify_settings.yml:128 Wednesday 03 August 2022 15:50:13 +0000 (0:00:00.339) 0:03:00.952 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/verify_settings.yml:133 Wednesday 03 August 2022 15:50:13 +0000 (0:00:00.049) 0:03:01.002 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/verify_settings.yml:139 Wednesday 03 August 2022 15:50:13 +0000 (0:00:00.063) 0:03:01.065 ****** included: /tmp/tmplq_pq1x0/tests/mssql/tasks/mssql_conf_verify.yml for /cache/centos-7.qcow2c.snap TASK [Get the value of the alternatewritethrough setting] ********************** task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/mssql_conf_verify.yml:7 Wednesday 03 August 2022 15:50:13 +0000 (0:00:00.056) 0:03:01.122 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": "grep '^alternatewritethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005315", "end": "2022-08-03 15:50:13.463446", "rc": 0, "start": "2022-08-03 15:50:13.458131" } STDOUT: alternatewritethrough = 0 TASK [Verify the alternatewritethrough setting when it is type str] ************ task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/mssql_conf_verify.yml:14 Wednesday 03 August 2022 15:50:13 +0000 (0:00:00.339) 0:03:01.462 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the alternatewritethrough setting when it is type bool] *********** task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/mssql_conf_verify.yml:26 Wednesday 03 August 2022 15:50:13 +0000 (0:00:00.049) 0:03:01.512 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/mssql_conf_verify.yml:41 Wednesday 03 August 2022 15:50:13 +0000 (0:00:00.063) 0:03:01.575 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/verify_settings.yml:145 Wednesday 03 August 2022 15:50:13 +0000 (0:00:00.038) 0:03:01.614 ****** included: /tmp/tmplq_pq1x0/tests/mssql/tasks/mssql_conf_verify.yml for /cache/centos-7.qcow2c.snap TASK [Get the value of the writethrough setting] ******************************* task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/mssql_conf_verify.yml:7 Wednesday 03 August 2022 15:50:13 +0000 (0:00:00.055) 0:03:01.669 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": "grep '^writethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004950", "end": "2022-08-03 15:50:13.985190", "rc": 0, "start": "2022-08-03 15:50:13.980240" } STDOUT: writethrough = 0 TASK [Verify the writethrough setting when it is type str] ********************* task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/mssql_conf_verify.yml:14 Wednesday 03 August 2022 15:50:14 +0000 (0:00:00.314) 0:03:01.983 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting when it is type bool] ******************** task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/mssql_conf_verify.yml:26 Wednesday 03 August 2022 15:50:14 +0000 (0:00:00.048) 0:03:02.032 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/mssql_conf_verify.yml:41 Wednesday 03 August 2022 15:50:14 +0000 (0:00:00.065) 0:03:02.097 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/verify_settings.yml:155 Wednesday 03 August 2022 15:50:14 +0000 (0:00:00.091) 0:03:02.189 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/verify_settings.yml:163 Wednesday 03 August 2022 15:50:14 +0000 (0:00:00.039) 0:03:02.229 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/verify_settings.yml:171 Wednesday 03 August 2022 15:50:14 +0000 (0:00:00.039) 0:03:02.268 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/verify_settings.yml:179 Wednesday 03 August 2022 15:50:14 +0000 (0:00:00.035) 0:03:02.303 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the ansible_managed header in the configuration file] ************** task path: /tmp/tmplq_pq1x0/tests/mssql/tests_idempotency_2017.yml:98 Wednesday 03 August 2022 15:50:14 +0000 (0:00:00.035) 0:03:02.339 ****** included: /tmp/tmplq_pq1x0/tests/mssql/tasks/check_header.yml for /cache/centos-7.qcow2c.snap TASK [Grep the ansible_managed header in /var/opt/mssql/mssql.conf] ************ task path: /tmp/tmplq_pq1x0/tests/mssql/tasks/check_header.yml:4 Wednesday 03 August 2022 15:50:14 +0000 (0:00:00.148) 0:03:02.487 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "grep", "Ansible managed\n", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004585", "end": "2022-08-03 15:50:14.871967", "rc": 0, "start": "2022-08-03 15:50:14.867382" } STDOUT: # BEGIN ANSIBLE MANAGED BLOCK # # Ansible managed # # END ANSIBLE MANAGED BLOCK [sqlagent] enabled = False [EULA] accepteula = Y [network] ipaddress = 127.0.0.1 tcpport = 1435 [hadr] hadrenabled = 0 [traceflag] [control] alternatewritethrough = 0 writethrough = 0 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-7.qcow2c.snap : ok=255 changed=34 unreachable=0 failed=0 skipped=339 rescued=0 ignored=1 Wednesday 03 August 2022 15:50:15 +0000 (0:00:00.400) 0:03:02.888 ****** =============================================================================== fedora.linux_system_roles.mssql : Ensure the mssql-server package ------ 32.80s /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:129 fedora.linux_system_roles.mssql : Ensure the mssql-server-fts package -- 20.95s /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:391 fedora.linux_system_roles.mssql : Change the edition of MSSQL ----------- 6.38s /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:326 fedora.linux_system_roles.mssql : Change the password of the sa user ---- 6.09s /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:283 fedora.linux_system_roles.mssql : Set up MSSQL -------------------------- 5.02s /tmp/tmp1kc47jky/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 --- 4.35s /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:253 fedora.linux_system_roles.mssql : Ensure the mssql-server-ha package ---- 4.30s /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:407 Wait for mssql-server to start and prepare for client connections ------- 3.47s /tmp/tmplq_pq1x0/tests/mssql/tasks/verify_settings.yml:65 --------------------- Wait for mssql-server to start and prepare for client connections ------- 3.35s /tmp/tmplq_pq1x0/tests/mssql/tasks/verify_settings.yml:65 --------------------- fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed --- 2.53s /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:193 fedora.linux_system_roles.mssql : Gather package facts ------------------ 2.16s /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:80 fedora.linux_system_roles.mssql : Gather system services facts ---------- 2.06s /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:160 fedora.linux_system_roles.mssql : Ensure the mssql-server-fts package --- 1.96s /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:391 fedora.linux_system_roles.mssql : Gather system services facts ---------- 1.93s /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:160 fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.89s /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:80 fedora.linux_system_roles.mssql : Ensure the mssql-server-ha package ---- 1.80s /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:407 fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled --- 1.66s /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:422 Reload service daemon --------------------------------------------------- 1.62s /tmp/tmplq_pq1x0/tests/mssql/tasks/mssql-sever-increase-start-limit.yml:17 ---- fedora.linux_system_roles.mssql : Add the fixed mssql profile to the list of Tuned profiles --- 1.61s /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:236 fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories --- 1.38s /tmp/tmp1kc47jky/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96