DCD-803: Ignore COMMENT ON EXTENSION errors when restoring to RDS

This commit is contained in:
Adam Brokes
2019-11-13 14:52:44 +11:00
parent f82e4e483b
commit f4badd4667

View File

@@ -97,6 +97,10 @@
# Depends on fetch_backup roles
state: restore
target: "{{ atl_backup_db_dest }}"
register: result
failed_when:
- result.rc != 0
- "COMMENT ON EXTENSION" not in result.msg
when: db_created.changed and atl_backup_db_dest is defined