Hi This patch seems to have fixed the problem. I am working on some more rules topping up and they seem to get through all right. So far as I am using protocols 50 and 51 and ALL for all ports it works.
Thanks you so much for helping out on this On Friday, 5 June 2015 06:24:58 UTC-7, benno joy wrote: > > 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] > <javascript:>> 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] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> 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/fd9e6805-39fc-4bea-b87d-81af2a7dffec%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
