From 63d2575f9fd4d853d85562d09ced8b0879f8341e Mon Sep 17 00:00:00 2001 From: Selivanov Pavel Date: Tue, 22 Sep 2015 16:56:13 +0300 Subject: [PATCH] ec2_group.py: added ICMP rule example --- lib/ansible/modules/cloud/amazon/ec2_group.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/ansible/modules/cloud/amazon/ec2_group.py b/lib/ansible/modules/cloud/amazon/ec2_group.py index d2fe04c968d..c79008f53aa 100644 --- a/lib/ansible/modules/cloud/amazon/ec2_group.py +++ b/lib/ansible/modules/cloud/amazon/ec2_group.py @@ -116,6 +116,10 @@ EXAMPLES = ''' from_port: 10051 to_port: 10051 group_id: sg-12345678 + - proto: icmp + from_port: 8 # icmp type, -1 = any type + to_port: -1 # icmp subtype, -1 = any subtype + cidr_ip: 10.0.0.0/8 - proto: all # the containing group name may be specified here group_name: example