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

@@ -12,12 +12,12 @@
atl_startup_systemd_params:
- "Environment=JDBC_DRIVER={{ atl_db_driver }}"
- "Environment=JDBC_DIALECT={{atl_jdbc_dialect}}"
- "Environment=JDBC_USER={{ atl_jdbc_user_login }}"
- "Environment=JDBC_USER={{ atl_jdbc_user }}"
- "Environment=JDBC_PASSWORD={{ atl_jdbc_password }}"
- "Environment=JDBC_URL={{ atl_jdbc_url }}"
atl_jdbc_encoding: 'UNICODE'
atl_jdbc_collation: 'C'
atl_jdbc_collation: 'Latin1_General_CS_AS'
atl_jdbc_ctype: 'C'
atl_jdbc_template: 'template0'

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