Skip to content

Commit

Permalink
Fixes the default assignment of values (ansible#41672)
Browse files Browse the repository at this point in the history
Fixes: ansible#41640

The defaults should be inherited from the parent during initial
creation. This patch fixes that.
  • Loading branch information
caphrim007 authored Jun 18, 2018
1 parent f71ad4e commit 6c654b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions lib/ansible/modules/network/f5/bigip_profile_client_ssl.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
ciphers:
description:
- 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:
description:
- One or more certificates and keys to associate with the SSL profile. This
Expand Down Expand Up @@ -402,8 +402,6 @@ def present(self):

def create(self):
self._set_changed_options()
if self.want.ciphers is None:
self.want.update({'ciphers': 'DEFAULT'})
if self.module.check_mode:
return True
self.create_on_device()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def test_create(self, *args):
chain='bigip_ssl_cert1'
)
],
password='passsword',
password='password',
server='localhost',
user='admin'
))
Expand Down

0 comments on commit 6c654b6

Please sign in to comment.