|
|
|
|
@ -27,7 +27,7 @@ options:
|
|
|
|
|
range for other systems that can communicate with this system.
|
|
|
|
|
- To specify all addresses, use the value C(all).
|
|
|
|
|
- IP address can be specified, such as 172.27.1.10.
|
|
|
|
|
- IP rangees can be specified, such as 172.27.*.* or 172.27.0.0/255.255.0.0.
|
|
|
|
|
- IP ranges can be specified, such as 172.27.*.* or 172.27.0.0/255.255.0.0.
|
|
|
|
|
type: list
|
|
|
|
|
auth_name:
|
|
|
|
|
description:
|
|
|
|
|
@ -437,11 +437,11 @@ class ModuleParameters(Parameters):
|
|
|
|
|
"ssl_protocols may not be set to 'none'"
|
|
|
|
|
)
|
|
|
|
|
if protocols == 'default':
|
|
|
|
|
protocols = ' '.join(sorted(Parameters._protocols.split(' ')))
|
|
|
|
|
protocols = ' '.join(Parameters._protocols.split(' '))
|
|
|
|
|
elif isinstance(protocols, string_types):
|
|
|
|
|
protocols = ' '.join(sorted(protocols.split(' ')))
|
|
|
|
|
protocols = ' '.join(protocols.split(' '))
|
|
|
|
|
else:
|
|
|
|
|
protocols = ' '.join(sorted(protocols))
|
|
|
|
|
protocols = ' '.join(protocols)
|
|
|
|
|
return protocols
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -489,7 +489,7 @@ class ReportableChanges(Changes):
|
|
|
|
|
|
|
|
|
|
@property
|
|
|
|
|
def ssl_protocols(self):
|
|
|
|
|
default = ' '.join(sorted(Parameters._protocols.split(' ')))
|
|
|
|
|
default = ' '.join(Parameters._protocols.split(' '))
|
|
|
|
|
if self._values['ssl_protocols'] == default:
|
|
|
|
|
return 'default'
|
|
|
|
|
else:
|
|
|
|
|
|