From 530f12035b660c616f4de2c3939658e781c561cb Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Mon, 6 Jul 2015 18:52:11 -0400 Subject: [PATCH] Update docstring to show port ranges as optional --- .../modules/cloud/openstack/os_security_group_rule.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/lib/ansible/modules/cloud/openstack/os_security_group_rule.py b/lib/ansible/modules/cloud/openstack/os_security_group_rule.py index 742efb9c88..bc0ae59793 100644 --- a/lib/ansible/modules/cloud/openstack/os_security_group_rule.py +++ b/lib/ansible/modules/cloud/openstack/os_security_group_rule.py @@ -40,16 +40,18 @@ options: protocol: description: - IP protocol - choices: ['tcp', 'udp', 'icmp'] - default: tcp + choices: ['tcp', 'udp', 'icmp', None] + default: None port_range_min: description: - Starting port - required: true + required: false + default: None port_range_max: description: - Ending port - required: true + required: false + default: None remote_ip_prefix: description: - Source IP address(es) in CIDR notation (exclusive with remote_group)