diff --git a/inv/standalone_instances b/inv/standalone_instances index df0b533..c1aef09 100644 --- a/inv/standalone_instances +++ b/inv/standalone_instances @@ -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 diff --git a/jira_servicedesk_server.yml b/jira_servicedesk_server.yml new file mode 100644 index 0000000..63ae96e --- /dev/null +++ b/jira_servicedesk_server.yml @@ -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 diff --git a/jira_software_server.yml b/jira_software_server.yml index 075f2da..9ad7b7a 100644 --- a/jira_software_server.yml +++ b/jira_software_server.yml @@ -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 diff --git a/roles/postgres_install/tasks/amazon.yml b/roles/postgres_install/tasks/amazon.yml index 98709df..513e831 100644 --- a/roles/postgres_install/tasks/amazon.yml +++ b/roles/postgres_install/tasks/amazon.yml @@ -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: