I\'m using Ansible to setup EC2 instances and deploy an app. There\'s a hosts script which gathers tags related servers and groups info. I\'d like to run these actions as a
With Ansible 2.0+, you can refresh your inventory mid-play by running the task:
- meta: refresh_inventory