Add quick hacked version of Jira setup with VPC and EC2 creation.

This commit is contained in:
Steve Smith
2020-12-07 13:43:29 +11:00
parent c960f8f0a9
commit d06f105b44

View File

@@ -0,0 +1,61 @@
---
# 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