mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2026-02-02 01:03:17 -06:00
DCD-1123: Add product installation support via group-vars.
This commit is contained in:
12
group_vars/standalone_instances.yml
Normal file
12
group_vars/standalone_instances.yml
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
atl_home_base: "/var/atlassian/application-data"
|
||||||
|
atl_product_home: "/home/{{ atl_product_user }}"
|
||||||
|
atl_product_home_shared: "{{ atl_product_home }}"
|
||||||
|
atl_product_home_shared_download_dir: "{{ atl_product_home }}/downloads"
|
||||||
|
|
||||||
|
atl_installation_base: "/opt/atlassian"
|
||||||
|
atl_product_installation_base: "{{ atl_installation_base }}/{{ atl_product_edition }}"
|
||||||
|
atl_product_installation_versioned: "{{ atl_product_installation_base }}/{{ atl_product_version }}"
|
||||||
|
atl_product_installation_current: "{{ atl_product_installation_base }}/current"
|
||||||
|
atl_installer_temp: "{{ atl_installation_base }}/tmp"
|
||||||
@@ -1,3 +1,5 @@
|
|||||||
[jira_software]
|
[jira_software]
|
||||||
jira-software-before.deplops.com ansible_user=ec2-user
|
jira-software-before.deplops.com ansible_user=ec2-user
|
||||||
|
|
||||||
|
[standalone_instances]
|
||||||
|
jira-software-before.deplops.com ansible_user=ec2-user
|
||||||
|
|||||||
@@ -1,8 +1,16 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
|
# ansible-playbook -v -i inv/standalone_instances -e atl_db_root_password=XXX -e atl_jdbc_password=XXX jira_software_server.yml
|
||||||
|
|
||||||
- hosts: jira_software
|
- hosts: jira_software
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
vars:
|
vars:
|
||||||
|
atl_product_family: "jira"
|
||||||
|
atl_product_user: "jira"
|
||||||
|
atl_product_edition: "jira-software"
|
||||||
|
atl_systemd_service_name: "jira.service"
|
||||||
|
|
||||||
atl_db_host: "localhost"
|
atl_db_host: "localhost"
|
||||||
atl_jdbc_user: "jira"
|
atl_jdbc_user: "jira"
|
||||||
atl_jdbc_db_name: "jira"
|
atl_jdbc_db_name: "jira"
|
||||||
@@ -16,9 +24,9 @@
|
|||||||
atl_jdbc_ctype: 'C'
|
atl_jdbc_ctype: 'C'
|
||||||
atl_jdbc_template: 'template0'
|
atl_jdbc_template: 'template0'
|
||||||
|
|
||||||
|
|
||||||
atl_product_user: 'jira'
|
atl_product_user: 'jira'
|
||||||
atl_use_system_jdk: true
|
atl_use_system_jdk: true
|
||||||
|
atl_download_format: "tarball"
|
||||||
|
|
||||||
atl_write_tags: false
|
atl_write_tags: false
|
||||||
|
|
||||||
@@ -27,12 +35,9 @@
|
|||||||
- role: aws_common
|
- role: aws_common
|
||||||
- role: postgres_install
|
- role: postgres_install
|
||||||
- role: database_init
|
- role: database_init
|
||||||
|
- role: product_common
|
||||||
|
- role: product_install
|
||||||
|
|
||||||
# - role: product_common
|
|
||||||
|
|
||||||
# - role: product_install
|
|
||||||
# tags: [skip_on_stack_update]
|
|
||||||
# tags: [skip_on_stack_update]
|
|
||||||
# - role: restore_backups
|
# - role: restore_backups
|
||||||
# - role: jira_config
|
# - role: jira_config
|
||||||
# - role: product_startup
|
# - role: product_startup
|
||||||
|
|||||||
Reference in New Issue
Block a user