hi, I think when I was trying the ec2_group module for some reason it will only fail if the security group already exists but was not created by the module, if you create a new security group using the ec2_group module it wont fail when you run the same playbook again.
On Wednesday, January 14, 2015 at 10:22:35 AM UTC+2, Tzach Livyatan wrote: > > newbie Ansible ec2 question: > I'm successfully using ec2_group_module [1] to create EC2 security group. > However, the operation fail if the group is already there > What is the idiomatic to conditionally skip it if the group is already > there? > > Thanks > > > [1] http://docs.ansible.com/ec2_group_module.html > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/c9b008e5-69cd-4a19-8db7-6c3395915bad%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
