DCD-224: Var rename for clarity

This commit is contained in:
Steve Smith
2019-04-09 12:07:47 +10:00
parent 643a44a26e
commit 5ffdf0cb33
3 changed files with 11 additions and 2 deletions

View File

@@ -4,7 +4,16 @@ postgres_version: "9.6"
git_version: "2.14.4" git_version: "2.14.4"
atl_shared_mountpoint: "/media/atl" atl_shared_mountpoint: "/media/atl"
# FIXME: Some of these could be overridden from the environment.
atl_home_base: "/var/atlassian/application-data"
atl_product_home: "{{ atl_home_base }}/{{ atl_product }}"
atl_product_installation_base: "/opt/atlassian"
atl_product_installation_dir: "{{ atl_product_installation_base }}/{{ atl_product }}"
atl_installer_temp: "{{ atl_product_installation_base }}/tmp"
# The following are imports from the environment. These are generally # The following are imports from the environment. These are generally
# set in /etc/atl by the CloudFormation template and sourced before # set in /etc/atl by the CloudFormation template and sourced before
# Ansible is run. See bin/ansible-with-atl-env for a convenient wrapper # Ansible is run. See bin/ansible-with-atl-env for a convenient wrapper
atl_efs_id: "{{ lookup('env', 'ATL_EFS_ID') }}" atl_efs_id: "{{ lookup('env', 'ATL_EFS_ID') }}"

View File

@@ -4,6 +4,6 @@
vars: vars:
atl_product_user: "testuser" atl_product_user: "testuser"
atl_product_home: "/opt/atlassian/product" atl_product_home: "/opt/atlassian/product"
atl_temp_dir: "/opt/atlassian/temp" atl_installer_temp: "/opt/atlassian/temp"
roles: roles:
- role: product_base - role: product_base

View File

@@ -13,4 +13,4 @@
owner: "{{ atl_product_user }}" owner: "{{ atl_product_user }}"
with_items: with_items:
- "{{ atl_product_home }}" - "{{ atl_product_home }}"
- "{{ atl_temp_dir }}" - "{{ atl_installer_temp }}"