Hello,
I am looking for a way to implement the following scenario:
- I have generic playbook I want to run against all servers in inventory
- Inventory is dynamic one and it is populated once per day per scheduled AWX job executing script from repo.
- There also other playbooks (job templates) that are being executed against the inventory, so generic playbook job will not be always the last one.
Is it possible to schedule this playbook execution only against new servers in inventory with AWX built-in functionality?
Or, ideally, to schedule playbook execution against the hosts that do not have successful execution of this playbook in their completed jobs (i.e. brand new and previously failed ones) ?
I am looking into Smart Inventories but I was not able to compose correct Smart Host Filter to have all these hosts in Smart inventory.
Thanks for your input!
Best regards,
- Igor