added a pr which migh fix this
https://github.com/ansible/ansible-modules-core/pull/1472 , maybe you can
give it a try.


On Fri, Jun 5, 2015 at 6:20 AM, Gonzalo Fernandez <[email protected]>
wrote:

> Hi
>
>  I am having the following problem
>
> If I try to run the following Sec_Rule it works ok, but if I re-run it it
> fails
>
>
> ec2_security_groups_test:
>     - sg_name: test-grup
>       sg_description: test-group
>       vpc_id: "vpc-XXXXXX"
>       region: "{{ region }}"
>       sg_rules:
>        - proto: 50
>          from_port: -1
>          to_port: -1
>          cidr_ip: 54.67.116.112/32
>        - proto: 50
>          from_port: -1
>          to_port: -1
>          cidr_ip: 54.183.92.78/32
>        - proto: 50
>          from_port: -1
>          to_port: -1
>          group_name: vpn-ap-northeast-1-production
>
>
> I have tried a number of different options : -1/all.. etc... but it always
> fails
> if I use TCP/UDP it seems to work no problem, but I need to define that
> sort of PROTOCOL..
>
> I am using ansible 1.7.1
>
> Any workaround for this??
>
> Thanks!
>
> --
> 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/b6857902-92ff-4eb0-b525-98282a245062%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/b6857902-92ff-4eb0-b525-98282a245062%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAFUV_d6fHAg_ff-D_QYT8A9jmsFRvqx1zwbBa0QbJ3HGnxy%3DjA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to