vendredi 26 décembre 2014

How do you add tags to AWS security groups through Ansible?

I'm trying to manage AWS security groups through Ansible and want to add tags to them. Can someone give me an example on how to do this?


For example I have a security group 'test_security_group' and I want to add a tag 'foo' to that security group.


According to Ansible documentation the ec2_tag module will work but I have not been successful in using it with security groups so far.





Aucun commentaire:

Enregistrer un commentaire