mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-13 16:33:08 -06:00
DCD-224: Updates and fixes to jira_config from testing.
This commit is contained in:
@@ -6,8 +6,10 @@ driver:
|
||||
lint:
|
||||
name: yamllint
|
||||
platforms:
|
||||
- name: instance
|
||||
image: centos:7
|
||||
- name: amazon_linux2
|
||||
image: amazonlinux:2
|
||||
- name: ubuntu_lts
|
||||
image: ubuntu:bionic
|
||||
provisioner:
|
||||
name: ansible
|
||||
lint:
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
- name: Converge
|
||||
hosts: all
|
||||
vars:
|
||||
atl_product_user: "testuser"
|
||||
atl_product_user: "jira"
|
||||
atl_product_home: "/var/atlassian/application-data/jira"
|
||||
atl_product_installation_dir: "/opt/atlassian/jira"
|
||||
atl_installer_temp: "/opt/atlassian/tmp"
|
||||
|
||||
@@ -10,6 +10,7 @@ def test_varfile(host):
|
||||
f = host.file('/opt/atlassian/tmp/jira.varfile')
|
||||
assert f.exists
|
||||
assert f.is_file
|
||||
assert f.user == 'jira'
|
||||
assert f.contains("app.jiraHome=/var/atlassian/application-data/jira")
|
||||
assert f.contains("existingInstallationDir=/opt/atlassian/jira")
|
||||
assert f.contains("sys.installationDir=/opt/atlassian/jira")
|
||||
|
||||
@@ -4,3 +4,4 @@
|
||||
template:
|
||||
src: jira.varfile.j2
|
||||
dest: "{{ atl_installer_temp }}/jira.varfile"
|
||||
owner: "{{ atl_product_user }}"
|
||||
|
||||
Reference in New Issue
Block a user