mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-15 17:33:06 -06:00
62 lines
1.6 KiB
YAML
62 lines
1.6 KiB
YAML
---
|
|
|
|
# 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_jira_software.yml
|
|
|
|
- hosts: jira_software
|
|
become: true
|
|
|
|
vars:
|
|
vpc_name: "DCD-Migration-Video"
|
|
business_unit: "Engineering-Server"
|
|
resource_owner: "{{ ansible_user_id }}"
|
|
aws_region: "us-west-2"
|
|
ec2_termination_protection: True
|
|
dns_domain: "deplops.com"
|
|
|
|
atl_proxy_name: "jira-software-before.deplops.com"
|
|
|
|
atl_product_family: "jira"
|
|
atl_product_user: "jira"
|
|
atl_product_edition: "jira-software"
|
|
atl_product_version: "8.13.0"
|
|
atl_enable_clustering: false
|
|
|
|
atl_db_host: "localhost"
|
|
atl_jdbc_user: "jira"
|
|
atl_jdbc_db_name: "jira"
|
|
|
|
atl_jdbc_encoding: 'UNICODE'
|
|
atl_jdbc_collation: 'C'
|
|
atl_jdbc_ctype: 'C'
|
|
atl_jdbc_template: 'template0'
|
|
|
|
atl_jvm_heap: "12288m"
|
|
atl_use_system_jdk: true
|
|
atl_download_format: "tarball"
|
|
atl_systemd_service_name: "jira.service"
|
|
|
|
atl_write_tags: false
|
|
|
|
atl_proxy_map:
|
|
"": "http://localhost:8080"
|
|
|
|
roles:
|
|
- role: aws-vpc
|
|
- role: ec2-instance
|
|
vars:
|
|
instance_name: "Jira Software Migration Source Instance"
|
|
instance_hostname: "jira-software-before"
|
|
|
|
- role: linux_common
|
|
- role: aws_common
|
|
- role: postgres_install
|
|
- role: database_init
|
|
- role: product_common
|
|
- role: product_install
|
|
- role: jira_config
|
|
- role: product_startup
|
|
- role: nginx
|