ansible-playbook -i inventories/staging myawesomeplaybook.yml
*Runs playbook on staging instances as expected
ansible-playbook -i inventories/production myawesomeplaybook.yml
!Runs playbook on staging instances when should actually be production
Clearing out the ec2 cache resulted in the correct behavior, but this seems like a very dangerous characteristic. Is there an idiomatic way of handling differing staging from production inventories in EC2?
--
You received this message because you are subscribed to a topic in the Google Groups "Ansible Project" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ansible-project/WtuTEIRDxCU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAJ5XC8muJvcigU8Yob8O%2BZHaVy368H1%2BrGsfNyfUBr3mK9XxYg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.