[ansible-project] Options for filtering hosts

2019-01-23 Thread Adam E
If you happen to be using awx, you can enable fact caching and then create a dynamic inventory which can be based on search results including facts values -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and

[ansible-project] Options for filtering hosts

2019-01-23 Thread S C Rigler
We have a static inventory where hosts are grouped by location and purpose. I was wondering if there was a way to limit a playbook run to hosts based on cached facts as a criteria (like only run on rhel 7 hosts, or only run on virtual hosts, etc). I know I can put the tasks in a block with a