Hello all,
I have been working with a few different patterns for launching and configuring ec2 hosts, first with add_host, and more recently working with refresh_inventory. The problem I am having is that all ec2_ host variables are lost with the introduction of the refresh_inventory task. Sample playbook:
I am seeing similar behavior with 2.1. If I use refresh_inventory some of the hosts are removed and plays subsequently fail.
I should have indicated, I see the same with both 2.0.2 and 2.1.0. When I first ran into the issue, the only thing I found related was https://github.com/ansible/ansible/issues/15115, which does not seem to be the same problem.