bigip_pool_member: fix idempotency with session_state argument (#2745)
This commit is contained in:
parent
fc34f17871
commit
19107086f4
1 changed files with 1 additions and 1 deletions
|
@ -506,7 +506,7 @@ def main():
|
|||
if not module.check_mode:
|
||||
set_member_session_enabled_state(api, pool, address, port, session_state)
|
||||
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:
|
||||
set_member_session_enabled_state(api, pool, address, port, session_state)
|
||||
result = {'changed': True}
|
||||
|
|
Loading…
Reference in a new issue