From 1f4d15fc550a3823bba497fe79cf3d2c54aaa9a0 Mon Sep 17 00:00:00 2001 From: Michael Shen Date: Mon, 4 Nov 2019 11:47:55 -0500 Subject: [PATCH] [FIX] graceful is not an immutable attribute --- lib/ansible/modules/network/netscaler/netscaler_service.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/ansible/modules/network/netscaler/netscaler_service.py b/lib/ansible/modules/network/netscaler/netscaler_service.py index 01634b81da3..f7ffba573bd 100644 --- a/lib/ansible/modules/network/netscaler/netscaler_service.py +++ b/lib/ansible/modules/network/netscaler/netscaler_service.py @@ -444,6 +444,8 @@ def service_identical(client, module, service_proxy): # of the retrieved object if 'ip' in diff_dict: del diff_dict['ip'] + if 'graceful' in diff_dict: + del diff_dict['graceful'] if len(diff_dict) == 0: return True else: @@ -828,7 +830,6 @@ def main(): 'td', 'monitor_name_svc', 'riseapbrstatsmsgcode', - 'graceful', 'all', 'Internal', 'newname',