Hi, we have an catalog bundle with multiple resources
- create machine in Azure based on orchestration template
- Ansible tower job 1
- Ansible tower job 2
When we retire the service we also want to retire the ansible jobs (execute the ansible tower job again with another state=absent) . I already wrote so code to execute the ansible tower jobs with the state to absent. This is working ok.
What I am looking for is the place to execute that code. When I retire the service now I see all resources are retired one by one, but when it is an ansible resource I want my code to be executed. Can some point me where I should do this?
Thx