I've got some code that adds a rule to an AWS security group using the
ec2_group module. The problem is that if the rule I am adding already
exists, Ansible throws an error.

I am a bit puzzled as to why; normally Ansible would just say "good, it's
there already, job done", but in this case it objects. It's always going to
fail on all but the first run.

How can I field an error, inspect it, and then continue with the playbook
if I so choose?

Regards, K.

-- 
Karl Auer

Email  : [email protected]
Website: http://2pisoftware.com

GPG/PGP : 958A 2647 6C44 D376 3D63 86A5 FFB2 20BC 0257 5816
Previous: F0AB 6C70 A49D 1927 6E05 81E7 AD95 268F 2AB6 40EA

-- 
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/CA%2B%2BT08RD9%2BtE-aeA6%2BxZbA7vZbZQoOY27Oj2o2wFrqEirpxUpg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to