DCD-224: Rename product vars for clarity and create the shared home.

This commit is contained in:
Steve Smith
2019-04-11 15:19:57 +10:00
parent 5feca0132f
commit 6db317051a
5 changed files with 10 additions and 6 deletions

View File

@@ -5,6 +5,7 @@
atl_product_user: "testuser"
atl_product_home: "/opt/atlassian/product"
atl_installer_temp: "/opt/atlassian/temp"
atl_product_home_shared: "/media/atl/jira/shared"
roles:
- role: linux_common
- role: product_common

View File

@@ -14,7 +14,8 @@ def test_user_created(host):
@pytest.mark.parametrize('target', [
'/opt/atlassian/product',
'/opt/atlassian/temp'
'/opt/atlassian/temp',
'/media/atl/jira/shared'
])
def test_dirs_created(host, target):
d = host.file(target)

View File

@@ -17,3 +17,4 @@
with_items:
- "{{ atl_product_home }}"
- "{{ atl_installer_temp }}"
- "{{ atl_product_home_shared }}"