diff --git a/changelogs/fragments/64397-netscaler_service-bugfix.yml b/changelogs/fragments/64397-netscaler_service-bugfix.yml new file mode 100644 index 00000000000..59f90a58cb6 --- /dev/null +++ b/changelogs/fragments/64397-netscaler_service-bugfix.yml @@ -0,0 +1,2 @@ +bugfixes: + - netscaler_service - fixed issue preventing use of graceful attribute 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',