mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-14 08:53:07 -06:00
Merged in DCD-803-ignore-extension-comment (pull request #43)
DCD-803: Ignore extension comment when restoring to RDS Approved-by: Ben Partridge
This commit is contained in:
@@ -97,6 +97,11 @@
|
|||||||
# Depends on fetch_backup roles
|
# Depends on fetch_backup roles
|
||||||
state: restore
|
state: restore
|
||||||
target: "{{ atl_backup_db_dest }}"
|
target: "{{ atl_backup_db_dest }}"
|
||||||
|
register: result
|
||||||
|
# managed DBs in cloud providers are not allowing full root access to the DB engine, we can safely ignore the COMMENT ON EXTENSION error
|
||||||
|
failed_when:
|
||||||
|
- result.rc != 0
|
||||||
|
- '"COMMENT ON EXTENSION" not in result.msg'
|
||||||
when: db_created.changed and atl_backup_db_dest is defined
|
when: db_created.changed and atl_backup_db_dest is defined
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user