Is there a way to automatically cleanup backup files ansible creates when useing e.g. the copy or template modules, or to keep the last three backup files for example?
Is there a way to automatically cleanup backup files ansible creates when useing e.g. the copy or template modules, or to keep the last three backup files for example?
I've decided to create my own utility for this as any other way would require extensive Ansible scripting (which in my opinion beats the purpose of Ansible).