Varun Arbatti
20a9c08979
Merged in DCD-797-restore_independent-of_db_init_role (pull request #61 )
...
DCD-797: Make restore work without requiring database_init role to be run
* DCD-797: Make restore work without requiring database_init role to be run
* DCD-797: Fixes error with yaml lint
* DCD-797: Adds check before running restore database tasks
* DCD-797: Restore a database when either db_creted.changed is true or when `atl_force_db_restore` variable is set to true
* DCD-797: set default filter to return a default value when the argument is a python false-y value. Update readme to reflect name of extra var env variable
Approved-by: Ben Partridge <bpartridge@atlassian.com >
Approved-by: Steve Smith <ssmith@atlassian.com >
2019-12-31 00:37:50 +00:00
Ben Partridge
d3774a338e
DCD-879: add "set empty" parameter to default filter for
...
atl_backup_home_is_server and a filter to set is as a bool
2019-12-31 11:18:04 +11:00
Ben Partridge
aabbc4dfed
DCD-879: Add default(false) for serverHome property of shared home manifest artifact
2019-12-30 15:22:11 +11:00
Steve Smith
b17ec2d236
DCD-861: Use native tar rather than unarchive to avoid unnecessary idempotence checks with large archives.
2019-12-17 12:02:52 +11:00
Steve Smith
199cca264d
DCD-828: Initial attempt at tar-based server-to-DC transform
2019-12-02 14:49:33 +11:00
Ben Partridge
cb6647ba8e
DCD-802: Fix file mode preservation in restore and add test for file
...
mode
2019-11-20 15:53:16 +11:00
Ben Partridge
096549edad
Preserve file permissions when restoring the shared home backup
2019-11-20 13:55:59 +11:00
Ben Partridge
b12d26c282
DCD-802: Fix reference to home_restore task in include task in
...
restore_backups main.yml
2019-11-19 16:01:23 +11:00
Ben Partridge
688be1f5d7
DCD-802: Add test and logic for setting version file owner to root in
...
shared home
2019-11-18 16:59:56 +11:00
Ben Partridge
4827ae8423
DCD-802: Fix test and implementation for setting shared home owner and
...
group to application user
2019-11-18 16:37:26 +11:00
Ben Partridge
41cd616a60
Merge remote-tracking branch 'origin/master' into DCD-802-create-shared-home-with-product-user-ownership
2019-11-18 13:44:26 +11:00
Ben Partridge
e648c97221
DCD-798: Fix saving shared home archive as tar instead of db dump when
...
fetchin from S3
2019-11-18 10:39:28 +11:00
Ben Partridge
b1643eccee
DCD-802: become product user when unarchiving shared home. Implement
...
test that shared home is owned by correct user
2019-11-13 17:31:06 +11:00
Ben Partridge
6f596c47dc
DCD-798: name dump as tar file and specify custom format in db_restore to workaround module not supporting custom pg_dump format
2019-11-13 16:23:51 +11:00
Adam Brokes
e85b906019
Merged in DCD-803-ignore-extension-comment (pull request #43 )
...
DCD-803: Ignore extension comment when restoring to RDS
Approved-by: Ben Partridge
2019-11-13 05:11:10 +00:00
Adam Brokes
c1486e14ec
DCD-803: Add explaining comment
2019-11-13 15:49:00 +11:00
Adam Brokes
a0496644d4
DCD-803: Quote the statement
2019-11-13 15:28:47 +11:00
Adam Brokes
f4badd4667
DCD-803: Ignore COMMENT ON EXTENSION errors when restoring to RDS
2019-11-13 14:52:44 +11:00
Ben Partridge
96e006cbb3
Sets python environment for amazon-linux-extras to system python
2019-11-13 11:55:56 +11:00
Steve Smith
6304b10cd4
DCD-727: Update for new manifest format.
2019-11-08 12:29:21 +11:00
Steve Smith
1ea30531b6
DCD-686: Remove HTTP manifest download for now.
2019-10-31 10:30:17 +11:00
Steve Smith
4c0cec4509
DCD-686: Check for no-op when no manifest URL specified.
2019-10-30 11:01:34 +11:00
Varun Arbatti
7e4d1301e1
DCD-686: Changes case of shared home from snakeCase to lower camel case
2019-10-21 11:08:28 +11:00
Varun Arbatti
46a2bad4b8
DCD-742: Updates manifest structure in ansible
2019-10-10 14:51:06 +11:00
Steve Smith
8254482761
DCD-686: Fix tarball location.
2019-10-10 11:28:56 +11:00
Steve Smith
8a343f7e8c
DCD-686: Fix unarchive operation.
2019-10-10 11:26:47 +11:00
Steve Smith
93c359d029
DCD-686: Rename role to reflect updated functionality and exand restore functionality.
2019-10-10 11:12:18 +11:00