DCD-1123: Add Jira ServiceDesk standalone playbook.

This commit is contained in:
Steve Smith
2020-10-22 13:30:00 +11:00
parent 845cced6bb
commit f7c181889c
4 changed files with 57 additions and 1 deletions

View File

@@ -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

View 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

View File

@@ -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

View File

@@ -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: