From 692fb45e26512676d78a39bd63456bbdfb159da4 Mon Sep 17 00:00:00 2001 From: Angus Williams Date: Tue, 23 Aug 2016 08:26:40 +0100 Subject: [PATCH] bigip_pool_member: fix idempotency with session_state argument (#2745) --- lib/ansible/modules/extras/network/f5/bigip_pool_member.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/extras/network/f5/bigip_pool_member.py b/lib/ansible/modules/extras/network/f5/bigip_pool_member.py index 99fc515ede9..25286f870c5 100644 --- a/lib/ansible/modules/extras/network/f5/bigip_pool_member.py +++ b/lib/ansible/modules/extras/network/f5/bigip_pool_member.py @@ -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}