From d212bcf1e7f324849d774cfb7fa36babeebc067c Mon Sep 17 00:00:00 2001 From: Julien Vey Date: Fri, 23 Feb 2018 00:24:25 +0100 Subject: [PATCH] ec2_group:documentation explicit a behaviour for sg rules (#36586) --- lib/ansible/modules/cloud/amazon/ec2_group.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lib/ansible/modules/cloud/amazon/ec2_group.py b/lib/ansible/modules/cloud/amazon/ec2_group.py index 6ac6f3aabb..43702984b9 100644 --- a/lib/ansible/modules/cloud/amazon/ec2_group.py +++ b/lib/ansible/modules/cloud/amazon/ec2_group.py @@ -167,6 +167,13 @@ EXAMPLES = ''' - proto: all # the containing group name may be specified here group_name: example + - proto: all + # in the 'proto' attribute, if you specify -1, all, or a protocol number other than tcp, udp, icmp, or 58 (ICMPv6), + # traffic on all ports is allowed, regardless of any ports you specify + from_port: 10050 # this value is ignored + to_port: 10050 # this value is ignored + cidr_ip: 10.0.0.0/8 + rules_egress: - proto: tcp from_port: 80