Reload Ansible's dynamic inventory

前端 未结 5 1170
-上瘾入骨i
-上瘾入骨i 2020-12-05 06:43

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

5条回答
  •  感动是毒
    2020-12-05 06:48

    You can also edit the ec2.ini file and set the option:

    cache_max_age = 0

    to prevent the need for reload by making sure that nothing is cached in the first place.

提交回复
热议问题