AZURE-211 DB connection for SQL Server

This commit is contained in:
dbacon
2020-08-26 11:05:36 +01:00
parent 3bb04c45e6
commit 0cba2213b6
5 changed files with 8 additions and 7 deletions

View File

@@ -7,7 +7,7 @@ testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner(
def test_service_file(host):
f = host.file('/usr/lib/systemd/system/bitbucket.service')
f = host.file('/lib/systemd/system/bitbucket.service')
assert f.contains("^ExecStart=/opt/atlassian/bitbucket/current/bin/start-bitbucket.sh -fg --no-search$")
assert f.contains("^UMask=0027$")
assert f.contains("^LimitNOFILE=4096$")

View File

@@ -7,7 +7,7 @@ testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner(
def test_service_file(host):
f = host.file('/usr/lib/systemd/system/jira-software.service')
f = host.file('/lib/systemd/system/jira-software.service')
assert f.contains("^ExecStart=/opt/atlassian/jira-software/current/bin/start-jira.sh -fg$")
assert f.user == 'root'
assert f.group == 'root'

View File

@@ -7,7 +7,7 @@ testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner(
def test_service_file(host):
f = host.file('/usr/lib/systemd/system/synchrony.service')
f = host.file('/lib/systemd/system/synchrony.service')
assert f.contains("^ExecStart=/opt/atlassian/bin/start-synchrony$")
assert f.contains("^EnvironmentFile=/etc/atl$")
assert f.contains("^EnvironmentFile=/etc/atl.synchrony$")

View File

@@ -1,3 +1,4 @@
---
- name: "Set the systemd_dir"
set_fact:
@@ -5,12 +6,12 @@
- name: "systemd_dir debug"
debug:
msg: "systemd_dir {{systemd_dir}}"
msg: "systemd_dir {{ systemd_dir }}"
- name: "Install systemd service file"
template:
src: "product.service.j2"
dest: "{{systemd_dir}}/{{ atl_systemd_service_name }}"
dest: "{{ systemd_dir }}/{{ atl_systemd_service_name }}"
owner: root
group: root
mode: 0640