mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
fixed an issue with parameter breaking idempotency (#50117)
* fixed an issue with parameter breaking idempotency * Update bigip_pool_member.py
This commit is contained in:
parent
0a55805ede
commit
e9d7c8f328
1 changed files with 16 additions and 0 deletions
|
@ -670,6 +670,22 @@ class ApiParameters(Parameters):
|
|||
return None
|
||||
return matches.group('least')
|
||||
|
||||
@property
|
||||
def fqdn_auto_populate(self):
|
||||
if self._values['fqdn'] is None:
|
||||
return None
|
||||
if 'autopopulate' in self._values['fqdn']:
|
||||
if self._values['fqdn']['autopopulate'] == 'enabled':
|
||||
return True
|
||||
return False
|
||||
|
||||
@property
|
||||
def fqdn(self):
|
||||
if self._values['fqdn'] is None:
|
||||
return None
|
||||
if 'tmName' in self._values['fqdn']:
|
||||
return self._values['fqdn']['tmName']
|
||||
|
||||
|
||||
class NodeApiParameters(Parameters):
|
||||
pass
|
||||
|
|
Loading…
Reference in a new issue