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),