mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-25 14:20:22 -07:00
Update f5 module utils from downstream (#45819)
* various refactoring * lgtm fixes * bigiq support to different auth providers
This commit is contained in:
parent
1ed3bd9168
commit
35e0434042
5 changed files with 255 additions and 90 deletions
|
@ -10,9 +10,9 @@ __metaclass__ = type
|
|||
def cmp_simple_list(want, have):
|
||||
if want is None:
|
||||
return None
|
||||
if have is None and want == '':
|
||||
if have is None and want in ['', 'none']:
|
||||
return None
|
||||
if have is not None and want == '':
|
||||
if have is not None and want in ['', 'none']:
|
||||
return []
|
||||
if have is None:
|
||||
return want
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue