ypsman.cleanup
Ansible Cleanup
This tool cleans a server to create a clean base image.
After running the cleanup, shut down the machine and create a clean base image.
What It Clears:
- Mail directories
- Temporary files
- Postfix log files
- User and root bash history
- All logs in /var/log
Example Playbook
- hosts: all
roles:
- role: ypsman.cleanup