I currently have a job template/workflow that does the following
- create VM snapshot (vmware ESXi)
- patches a OS and all that stuff
- end
Then 1 day later (thats the policy), the VM snapshot is removed by another job template run manually
What I would like to have is this workflow if possible (number 2 is the important one):
- create VM snapshot
- create a once-off schedule back to awx/tower to run the delete snapshot template 1 day later (using the run-once schedule function)
- patch etc…
- end
Note: I do not want to set a wait for 1 day in the current workflow
Anyways, browsing through the tower module that i think it relevant (https://docs.ansible.com/ansible/latest/modules/tower_job_launch_module.html#tower-job-launch-module) i dont see a schedule option…
Any thoughts?
Appreciated.