The backup system returns the 'backup_file' information so you can then operate on the built in backup, like moving it to a central location on the target, copying it to a backup server and/or managing the number/recency of backups.
I would not 'manage it beforehand' as you do not know if a backup is needed until after the task that creates the backup runs, mtime is not the best indicator. -- ---------- Brian Coca -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CACVha7fwrfeeatAO%3DwvtKG3eVPuH0x-LPtRnfZ_o0sem2B%3DGOQ%40mail.gmail.com.
