ansible-duply-backup
ansible-duply-backup copied to clipboard
Templated duply scripts
Templated pre and post run scripts
Allows one to configure 'tpre' and 'tpost' values which allow for dynamic script creation. No templates are provided since they're likely to be closely tied to the related inventory.
I've lightly tested this to confirm it works with templates, is properly optional, and those sorts of things.
I'm not sure I got the logic for "remove obsolete pre scripts" (or post scripts) correct so more testing is required there.
Closes https://github.com/Oefenweb/ansible-duply-backup/issues/24
I have just tested again and seen the expected behaviour so hopefully this is OK to merge.