mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-14 00:43:06 -06:00
Merged in no-issue-fix-service-name-slingshot-playbook (pull request #80)
Fix service name in slingshot playbook Approved-by: Steve Smith
This commit is contained in:
@@ -1,8 +1,7 @@
|
|||||||
# Runs atlassian-slingshot to backup your product instance. Should be run when there is only 1 app node (i.e server or single node cluster)
|
# Runs atlassian-slingshot to backup your product instance. Should be run when there is only 1 app node (i.e server or single node cluster)
|
||||||
# Params
|
# Params
|
||||||
# Required
|
# Required
|
||||||
# atl_product_edition - one of "confluence", "jira", or "bitbucket".
|
# atl_product_family - should be "jira", "confluence", or "stash"
|
||||||
# atl_product_family - should be the same as the "atl_product_edition"
|
|
||||||
# atl_slingshot_backup_dir - working directory for the backup, should be large enough to fit database and shared home dumps
|
# atl_slingshot_backup_dir - working directory for the backup, should be large enough to fit database and shared home dumps
|
||||||
# atl_s3_backup_bucket - s3 bucket to upload your backup to
|
# atl_s3_backup_bucket - s3 bucket to upload your backup to
|
||||||
# atl_s3_backup_region - AWS region where the s3 bucket is deployed
|
# atl_s3_backup_region - AWS region where the s3 bucket is deployed
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
atl_db_port: 5432
|
atl_db_port: 5432
|
||||||
atl_systemd_service_name: "{{ atl_product_edition }}.service"
|
atl_systemd_service_name: "{{ atl_product_family }}.service"
|
||||||
|
|
||||||
atl_slingshot_yum_repo_url: 'https://packages.atlassian.com/atlassian-slingshot-rpm'
|
atl_slingshot_yum_repo_url: 'https://packages.atlassian.com/atlassian-slingshot-rpm'
|
||||||
atl_amazon_extras_postgresql_version: '9.6'
|
atl_amazon_extras_postgresql_version: '9.6'
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
- name: Install distro-specific backup support packages
|
- name: Install distro-specific backup support packages
|
||||||
include_tasks: "{{ ansible_distribution|lower }}.yml"
|
include_tasks: "{{ ansible_distribution|lower }}.yml"
|
||||||
|
|
||||||
- name: Stop the {{ atl_product_edition }} service
|
- name: Stop the {{ atl_product_family }} service
|
||||||
service:
|
service:
|
||||||
name: "{{ atl_systemd_service_name }}"
|
name: "{{ atl_systemd_service_name }}"
|
||||||
state: stopped
|
state: stopped
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
environment:
|
environment:
|
||||||
ATL_DB_PASSWORD: "{{ atl_jdbc_password }}"
|
ATL_DB_PASSWORD: "{{ atl_jdbc_password }}"
|
||||||
|
|
||||||
- name: Restart the {{ atl_product_edition }} service
|
- name: Restart the {{ atl_product_family }} service
|
||||||
service:
|
service:
|
||||||
name: "{{ atl_systemd_service_name }}"
|
name: "{{ atl_systemd_service_name }}"
|
||||||
state: restarted
|
state: restarted
|
||||||
|
|||||||
Reference in New Issue
Block a user