A role to carry out housekeeping works before snapshotting a VM to create an image, heavily inspired by this post at lonesysadmin.com. Currently used to bake packer builds!
See meta/main.yml
.
See defaults/main.yml
.
None.
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
- hosts: servers
roles:
- vm-housekeeping
Licensed under CC-BY-SA 4.0.