mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fixes the default assignment of values (#41672)
Fixes: #41640 The defaults should be inherited from the parent during initial creation. This patch fixes that.
This commit is contained in:
parent
f71ad4e315
commit
6c654b6947
2 changed files with 2 additions and 4 deletions
|
@ -33,7 +33,7 @@ options:
|
||||||
ciphers:
|
ciphers:
|
||||||
description:
|
description:
|
||||||
- Specifies the list of ciphers that the system supports. When creating a new
|
- Specifies the list of ciphers that the system supports. When creating a new
|
||||||
profile, the default cipher list is C(DEFAULT).
|
profile, the default cipher list is provided by the parent profile.
|
||||||
cert_key_chain:
|
cert_key_chain:
|
||||||
description:
|
description:
|
||||||
- One or more certificates and keys to associate with the SSL profile. This
|
- One or more certificates and keys to associate with the SSL profile. This
|
||||||
|
@ -402,8 +402,6 @@ class ModuleManager(object):
|
||||||
|
|
||||||
def create(self):
|
def create(self):
|
||||||
self._set_changed_options()
|
self._set_changed_options()
|
||||||
if self.want.ciphers is None:
|
|
||||||
self.want.update({'ciphers': 'DEFAULT'})
|
|
||||||
if self.module.check_mode:
|
if self.module.check_mode:
|
||||||
return True
|
return True
|
||||||
self.create_on_device()
|
self.create_on_device()
|
||||||
|
|
|
@ -107,7 +107,7 @@ class TestManager(unittest.TestCase):
|
||||||
chain='bigip_ssl_cert1'
|
chain='bigip_ssl_cert1'
|
||||||
)
|
)
|
||||||
],
|
],
|
||||||
password='passsword',
|
password='password',
|
||||||
server='localhost',
|
server='localhost',
|
||||||
user='admin'
|
user='admin'
|
||||||
))
|
))
|
||||||
|
|
Loading…
Reference in a new issue