mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
bigip_pool_member: fix idempotency with session_state argument (#2745)
This commit is contained in:
parent
68d819e342
commit
692fb45e26
1 changed files with 1 additions and 1 deletions
|
@ -506,7 +506,7 @@ def main():
|
||||||
if not module.check_mode:
|
if not module.check_mode:
|
||||||
set_member_session_enabled_state(api, pool, address, port, session_state)
|
set_member_session_enabled_state(api, pool, address, port, session_state)
|
||||||
result = {'changed': True}
|
result = {'changed': True}
|
||||||
elif session_state == 'disabled' and session_status != 'force_disabled':
|
elif session_state == 'disabled' and session_status != 'forced_disabled':
|
||||||
if not module.check_mode:
|
if not module.check_mode:
|
||||||
set_member_session_enabled_state(api, pool, address, port, session_state)
|
set_member_session_enabled_state(api, pool, address, port, session_state)
|
||||||
result = {'changed': True}
|
result = {'changed': True}
|
||||||
|
|
Loading…
Reference in a new issue