mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-17 02:13:06 -06:00
DCD-1123: Add Jira ServiceDesk standalone playbook.
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
[jira_software]
|
||||
jira-software-before.deplops.com ansible_user=ec2-user
|
||||
|
||||
[jira_servicedesk]
|
||||
jira-sd-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
|
||||
|
||||
50
jira_servicedesk_server.yml
Normal file
50
jira_servicedesk_server.yml
Normal file
@@ -0,0 +1,50 @@
|
||||
---
|
||||
|
||||
# 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 jira_servicedesk_server.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"
|
||||
# Set on commandline
|
||||
# atl_jdbc_password:
|
||||
# atl_db_root_password:
|
||||
|
||||
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
|
||||
@@ -1,5 +1,7 @@
|
||||
---
|
||||
|
||||
# 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 jira_software_server.yml
|
||||
|
||||
- hosts: jira_software
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
- name: Initialise database
|
||||
command:
|
||||
cmd: "/usr/pgsql-{{ postgres_version }}/bin/postgresql{{ postgres_version_short }}-setup initdb"
|
||||
creates: "/var/lib/pgsql/{{ postgres_version }}/data/"
|
||||
creates: "/var/lib/pgsql/{{ postgres_version }}/data/pg_hba.conf"
|
||||
|
||||
- name: Allow local network connections with password
|
||||
postgresql_pg_hba:
|
||||
|
||||
Reference in New Issue
Block a user