ansible / workshops

Training Course for Ansible Automation Platform
MIT License
1.73k stars 1.14k forks source link

teardown not working when instances are stopped #169

Closed fridim closed 5 years ago

fridim commented 5 years ago
SUMMARY

In our usecase, we automatically stop the instances after a while. When teardown starts, the instances are not destroyed because of the filter used in ec2_instance_facts that select only running instances. The playbook fails later when trying to delete security groups because they are used by instances.

Here is the fix we applied in our branch: https://github.com/redhat-gpte-devopsautomation/linklight/commit/d25c2f81536ca36f7c9d78afe95cabbc9171977c

IPvSean commented 5 years ago

will look at this

IPvSean commented 5 years ago

fixed in my branch, will merge soon