mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00: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:
committed by
Tim Rupp
parent
0a55805ede
commit
e9d7c8f328
@@ -670,6 +670,22 @@ class ApiParameters(Parameters):
|
|||||||
return None
|
return None
|
||||||
return matches.group('least')
|
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):
|
class NodeApiParameters(Parameters):
|
||||||
pass
|
pass
|
||||||
|
|||||||
Reference in New Issue
Block a user