From 9bc5dd5d092362ad323fb347768d16066945a601 Mon Sep 17 00:00:00 2001 From: eoprede Date: Tue, 22 May 2018 23:06:17 -0400 Subject: [PATCH] fix receive_disable ignore (#40579) --- lib/ansible/modules/network/f5/bigip_monitor_http.py | 9 +++++---- lib/ansible/modules/network/f5/bigip_monitor_https.py | 9 +++++---- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/lib/ansible/modules/network/f5/bigip_monitor_http.py b/lib/ansible/modules/network/f5/bigip_monitor_http.py index 7e9e50196e..09f800a0de 100644 --- a/lib/ansible/modules/network/f5/bigip_monitor_http.py +++ b/lib/ansible/modules/network/f5/bigip_monitor_http.py @@ -201,22 +201,23 @@ class Parameters(AnsibleF5Parameters): api_map = { 'timeUntilUp': 'time_until_up', 'defaultsFrom': 'parent', - 'recv': 'receive' + 'recv': 'receive', + 'recvDisable': 'receive_disable' } api_attributes = [ 'timeUntilUp', 'defaultsFrom', 'interval', 'timeout', 'recv', 'send', - 'destination', 'username', 'password' + 'destination', 'username', 'password', 'recvDisable' ] returnables = [ 'parent', 'send', 'receive', 'ip', 'port', 'interval', 'timeout', - 'time_until_up' + 'time_until_up', 'receive_disable' ] updatables = [ 'destination', 'send', 'receive', 'interval', 'timeout', 'time_until_up', - 'target_username', 'target_password' + 'target_username', 'target_password', 'receive_disable' ] def to_return(self): diff --git a/lib/ansible/modules/network/f5/bigip_monitor_https.py b/lib/ansible/modules/network/f5/bigip_monitor_https.py index 4a53aa6ac6..29f354747c 100644 --- a/lib/ansible/modules/network/f5/bigip_monitor_https.py +++ b/lib/ansible/modules/network/f5/bigip_monitor_https.py @@ -189,22 +189,23 @@ class Parameters(AnsibleF5Parameters): api_map = { 'timeUntilUp': 'time_until_up', 'defaultsFrom': 'parent', - 'recv': 'receive' + 'recv': 'receive', + 'recvDisable': 'receive_disable' } api_attributes = [ 'timeUntilUp', 'defaultsFrom', 'interval', 'timeout', 'recv', 'send', - 'destination', 'username', 'password' + 'destination', 'username', 'password', 'recvDisable' ] returnables = [ 'parent', 'send', 'receive', 'ip', 'port', 'interval', 'timeout', - 'time_until_up' + 'time_until_up', 'receive_disable' ] updatables = [ 'destination', 'send', 'receive', 'interval', 'timeout', 'time_until_up', - 'target_username', 'target_password' + 'target_username', 'target_password', 'receive_disable' ] def to_return(self):