diff --git a/migration-video-instances.yml b/migration-video-instances.yml deleted file mode 100644 index 4426a61..0000000 --- a/migration-video-instances.yml +++ /dev/null @@ -1,36 +0,0 @@ ---- -- hosts: localhost - connection: local - gather_facts: True - become: False - - 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" - - roles: - - role: aws-vpc - - role: ec2-instance - vars: - instance_name: "Jira Software Migration Source Instance" - instance_hostname: "jira-software-before" - - role: ec2-instance - vars: - instance_name: "Jira ServiceDesk Migration Source Instance" - instance_hostname: "jira-sd-before" - - role: ec2-instance - vars: - instance_name: "Confluence Migration Source Instance" - instance_hostname: "confluence-before" - - role: ec2-instance - vars: - instance_name: "Bitbucket Migration Source Instance" - instance_hostname: "bitbucket-before" - - role: ec2-instance - vars: - instance_name: "Crowd Migration Source Instance" - instance_hostname: "crowd-before" diff --git a/standalone_jira_software_dc_node.yml b/standalone_jira_software_dc_node.yml new file mode 100644 index 0000000..af65e57 --- /dev/null +++ b/standalone_jira_software_dc_node.yml @@ -0,0 +1,35 @@ +--- + +# This is simple proof-of-concept for a playbook that uses our roles in a generalised manner. +# +# ansible-playbook -v -i inv/standalone_instances -e atl_db_root_password=XXX -e atl_jdbc_password=XXX standalone_jira_software_dc_node.yml + +- hosts: jira_software_node + become: true + + vars: + atl_proxy_name: "jira.internal.my-company.com" + + atl_product_family: "jira" + atl_product_user: "jira" + atl_product_edition: "jira-software" + + atl_product_version: "8.13.0" + atl_enable_clustering: true + + atl_db_host: "jiradb.internal.my-company.com" + atl_jdbc_user: "jira" + atl_jdbc_db_name: "jira" + + atl_jvm_heap: "12288m" + atl_use_system_jdk: true + atl_download_format: "tarball" + atl_systemd_service_name: "jira.service" + + roles: + - role: linux_common + - role: database_init + - role: product_common + - role: product_install + - role: jira_config + - role: product_startup diff --git a/test_migration_bitbucket.yml b/test_migration_bitbucket.yml deleted file mode 100644 index aa1ef88..0000000 --- a/test_migration_bitbucket.yml +++ /dev/null @@ -1,54 +0,0 @@ ---- - -# 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_bitbucket.yml - -- hosts: bitbucket - become: true - - vars: - atl_proxy_name: "bitbucket-before.deplops.com" - atl_bitbucket_baseurl: "http://{{ atl_proxy_name }}" - - atl_product_family: "stash" - atl_product_edition: "bitbucket" - atl_product_user: "bitbucket" - - atl_product_version: "7.6.0" - atl_enable_clustering: false - atl_external_elasticsearch: false - - atl_db_host: "localhost" - atl_jdbc_user: "bitbucket" - atl_jdbc_db_name: "bitbucket" - - atl_jvm_heap: "12288m" - atl_use_system_jdk: true - atl_download_format: "tarball" - atl_systemd_service_name: "bitbucket.service" - - atl_write_tags: false - - atl_proxy_map: - "": "http://localhost:7990" - - atl_startup_systemd_params: - - "UMask=0027" - - "LimitNOFILE=4096" - - "Environment=JAVA_HOME={{ atl_java_home }}" - - "Environment=BITBUCKET_HOME={{ atl_product_home }}" - - "Environment=JVM_MAXIMUM_MEMORY={{ atl_jvm_heap }}" - - "Environment=JVM_MINIMUM_MEMORY={{ atl_jvm_heap }}" - - roles: - - role: linux_common - - role: aws_common - - role: postgres_install - - role: database_init - - role: product_common - - role: product_install - - role: bitbucket_config - - role: product_startup - - role: nginx diff --git a/test_migration_confluence.yml b/test_migration_confluence.yml deleted file mode 100644 index 879e272..0000000 --- a/test_migration_confluence.yml +++ /dev/null @@ -1,46 +0,0 @@ ---- - -# 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_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 diff --git a/test_migration_crowd.yml b/test_migration_crowd.yml deleted file mode 100644 index cf41cad..0000000 --- a/test_migration_crowd.yml +++ /dev/null @@ -1,55 +0,0 @@ ---- - -# 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_crowd.yml - -- hosts: crowd - become: true - - vars: - atl_proxy_name: "crowd-before.deplops.com" - atl_proxy_port: "80" - - atl_product_user: "crowd" - atl_product_family: "crowd" - atl_product_edition: "crowd" - atl_product_version: "4.2.0" - atl_enable_clustering: false - - atl_db_host: "localhost" - atl_jdbc_user: "crowd" - atl_jdbc_db_name: "crowd" - - atl_startup_systemd_params: - - "Environment=JDBC_DRIVER={{ atl_db_driver }}" - - "Environment=JDBC_DIALECT=org.hibernate.dialect.PostgreSQLDialect" - - "Environment=JDBC_USER={{ atl_jdbc_user }}" - - "Environment=JDBC_PASSWORD={{ atl_jdbc_password }}" - - "Environment=JDBC_URL={{ atl_jdbc_url }}" - - atl_jvm_heap: "12288m" - atl_use_system_jdk: true - atl_download_format: "tarball" - atl_systemd_service_name: "crowd.service" - - atl_write_tags: false - - atl_proxy_map: - "": "http://localhost:8080" - - # Quick hack to avoid clash - atl_product_home_shared: "{{ atl_product_home }}/dummy_shared" - - - roles: - - role: linux_common - - role: aws_common - - role: postgres_install - - role: database_init - - role: product_common - - role: product_install - - role: crowd_config - - role: product_startup - - role: nginx diff --git a/test_migration_jira_servicedesk.yml b/test_migration_jira_servicedesk.yml deleted file mode 100644 index 119aa35..0000000 --- a/test_migration_jira_servicedesk.yml +++ /dev/null @@ -1,48 +0,0 @@ ---- - -# 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_servicedesk.yml - -- hosts: jira_servicedesk - become: true - - vars: - atl_proxy_name: "jira-sd-before.deplops.com" - - atl_product_family: "jira" - atl_product_user: "jira" - atl_product_edition: "jira-servicedesk" - atl_product_version: "4.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: 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 diff --git a/test_migration_jira_software.yml b/test_migration_jira_software.yml deleted file mode 100644 index c2078df..0000000 --- a/test_migration_jira_software.yml +++ /dev/null @@ -1,48 +0,0 @@ ---- - -# 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: - 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: 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