1
0
Fork 0
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:
Angus Williams 2016-08-23 08:26:40 +01:00 committed by Matt Clay
parent 68d819e342
commit 692fb45e26

View file

@ -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}