mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-17 02:13:06 -06:00
DCD-1123: Add confluence server installation playbook.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
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: "{{ atl_product_home }}/shared"
|
||||
atl_product_home_shared_download_dir: "{{ atl_product_home }}/downloads"
|
||||
atl_product_shared_plugins: "{{ atl_product_home }}/plugins"
|
||||
|
||||
@@ -15,3 +15,6 @@ atl_installer_temp: "{{ atl_installation_base }}/tmp"
|
||||
atl_db_type: "postgres72"
|
||||
atl_jdbc_url: "jdbc:postgresql://{{ atl_db_host }}/{{ atl_jdbc_db_name }}"
|
||||
atl_db_driver: "org.postgresql.Driver"
|
||||
|
||||
atl_java_home: "{{ '/usr/lib/jvm/java' if atl_use_system_jdk else (atl_product_installation_current + '/jre') }}"
|
||||
atl_java_binary: "{{ atl_java_home }}/bin/java"
|
||||
|
||||
@@ -4,6 +4,18 @@ jira-software-before.deplops.com ansible_user=ec2-user
|
||||
[jira_servicedesk]
|
||||
jira-sd-before.deplops.com ansible_user=ec2-user
|
||||
|
||||
[confluence]
|
||||
confluence-before.deplops.com ansible_user=ec2-user
|
||||
|
||||
[bitbucket]
|
||||
bitbucket-before.deplops.com ansible_user=ec2-user
|
||||
|
||||
[crowd]
|
||||
crowd-before.deplops.com ansible_user=ec2-user
|
||||
|
||||
[standalone_instances]
|
||||
jira-software-before.deplops.com ansible_user=ec2-user
|
||||
jira-sd-before.deplops.com ansible_user=ec2-user
|
||||
confluence-before.deplops.com ansible_user=ec2-user
|
||||
bitbucket-before.deplops.com ansible_user=ec2-user
|
||||
crowd-before.deplops.com ansible_user=ec2-user
|
||||
|
||||
50
test_migration_confluence.yml
Normal file
50
test_migration_confluence.yml
Normal file
@@ -0,0 +1,50 @@
|
||||
---
|
||||
|
||||
# This playbook is intended for provisioning migration 'before' server instances, and should not be considered best practice.
|
||||
# See migration-video-instances.yml for provisioning these instances.
|
||||
#
|
||||
# ansible-playbook -v -i inv/standalone_instances -e atl_db_root_password=XXX -e atl_jdbc_password=XXX test_migration_confluence.yml
|
||||
|
||||
- hosts: confluence
|
||||
become: true
|
||||
|
||||
vars:
|
||||
atl_proxy_name: "confluence-before.deplops.com"
|
||||
|
||||
atl_product_family: "confluence"
|
||||
atl_product_user: "confluence"
|
||||
atl_product_edition: "confluence"
|
||||
|
||||
atl_product_version: "7.4.5"
|
||||
atl_enable_clustering: false
|
||||
|
||||
atl_db_host: "localhost"
|
||||
atl_jdbc_user: "confluence"
|
||||
atl_jdbc_db_name: "confluence"
|
||||
|
||||
atl_jdbc_encoding: 'UTF-8'
|
||||
atl_jdbc_collation: 'en_US.UTF-8'
|
||||
atl_jdbc_template: 'template0'
|
||||
|
||||
atl_jvm_heap: "12288m"
|
||||
atl_use_system_jdk: true
|
||||
atl_download_format: "tarball"
|
||||
atl_systemd_service_name: "confluence.service"
|
||||
|
||||
atl_write_tags: false
|
||||
|
||||
atl_proxy_map:
|
||||
"": "http://localhost:8080"
|
||||
|
||||
|
||||
roles:
|
||||
- role: linux_common
|
||||
- role: aws_common
|
||||
- role: postgres_install
|
||||
- role: database_init
|
||||
- role: product_common
|
||||
- role: product_install
|
||||
- role: confluence_common
|
||||
- role: confluence_config
|
||||
- role: product_startup
|
||||
- role: nginx
|
||||
Reference in New Issue
Block a user