ansible-duply-backup icon indicating copy to clipboard operation
ansible-duply-backup copied to clipboard

Templated duply scripts

Open goetzk opened this issue 2 years ago • 1 comments

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

goetzk avatar Sep 21 '23 05:09 goetzk

I have just tested again and seen the expected behaviour so hopefully this is OK to merge.

goetzk avatar Sep 21 '23 05:09 goetzk