From ecb05b03d45465c4fde3053c7968b65f133629f7 Mon Sep 17 00:00:00 2001 From: indispeq Date: Tue, 20 Sep 2016 08:39:01 -0400 Subject: [PATCH] Fix openstack security group rule vrrp choice apostrophe error (#4750) Fixes #4444 that was erroneously closed and thought fixed --- lib/ansible/modules/cloud/openstack/os_security_group_rule.py | 4 ++-- 1 file changed, 2 insertions(+), 2 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 6ea59d487cc..96e38446c58 100644 --- a/lib/ansible/modules/cloud/openstack/os_security_group_rule.py +++ b/lib/ansible/modules/cloud/openstack/os_security_group_rule.py @@ -40,7 +40,7 @@ options: protocol: description: - IP protocols TCP UDP ICMP 112 (VRRP) - choices: ['tcp', 'udp', 'icmp', 112, None] + choices: ['tcp', 'udp', 'icmp', '112', None] default: None port_range_min: description: @@ -260,7 +260,7 @@ def main(): # NOTE(Shrews): None is an acceptable protocol value for # Neutron, but Nova will balk at this. protocol = dict(default=None, - choices=[None, 'tcp', 'udp', 'icmp', 112]), + choices=[None, 'tcp', 'udp', 'icmp', '112']), port_range_min = dict(required=False, type='int'), port_range_max = dict(required=False, type='int'), remote_ip_prefix = dict(required=False, default=None),