mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-14 00:43:06 -06:00
DCD-686: Rename role to reflect updated functionality and exand restore functionality.
This commit is contained in:
@@ -21,9 +21,9 @@
|
||||
- role: linux_common
|
||||
- role: aws_common
|
||||
- role: aws_shared_fs_config
|
||||
- role: fetch_backups
|
||||
- role: product_common
|
||||
- role: product_install
|
||||
- role: database_init
|
||||
- role: restore_backups
|
||||
- role: jira_config
|
||||
- role: product_startup
|
||||
|
||||
@@ -108,6 +108,8 @@
|
||||
path: "{{ atl_backup_home_restore_canary_path }}"
|
||||
register: restore_canary
|
||||
|
||||
- block:
|
||||
|
||||
- name: Create shared home if necessary
|
||||
file:
|
||||
path: "{{ atl_product_home_shared }}"
|
||||
@@ -115,7 +117,6 @@
|
||||
mode: 0750
|
||||
owner: "{{ atl_product_user }}"
|
||||
group: "{{ atl_product_user }}"
|
||||
when: restore_canary.stat.exists
|
||||
|
||||
- name: Restore the shared-home backup
|
||||
unarchive:
|
||||
@@ -123,7 +124,13 @@
|
||||
dest: "{{ atl_product_home_shared }}"
|
||||
owner: "{{ atl_product_user }}"
|
||||
group: "{{ atl_product_user }}"
|
||||
when: restore_canary.stat.exists
|
||||
|
||||
- name: Create restore-canary if necessary
|
||||
copy:
|
||||
dest: "{{ atl_backup_home_restore_canary_path }}"
|
||||
content: "{{ atl_backup_id }}"
|
||||
|
||||
when: not restore_canary.stat.exists
|
||||
|
||||
|
||||
when: atl_backup_manifest_url is defined and atl_backup_manifest_url != ''
|
||||
Reference in New Issue
Block a user