From bd05070be061df44ac9cd01fb0d2c1d92bed6529 Mon Sep 17 00:00:00 2001 From: JchhatbarInfoblox Date: Tue, 5 Dec 2023 14:19:31 +0530 Subject: [PATCH] added required param port in example for TCP monitor --- playbooks/delete_dtc_monitor_sip.yaml | 1 + plugins/modules/nios_dtc_monitor_tcp.py | 2 ++ 2 files changed, 3 insertions(+) diff --git a/playbooks/delete_dtc_monitor_sip.yaml b/playbooks/delete_dtc_monitor_sip.yaml index 10cc49dd..1fbc0e29 100644 --- a/playbooks/delete_dtc_monitor_sip.yaml +++ b/playbooks/delete_dtc_monitor_sip.yaml @@ -12,5 +12,6 @@ - name: Delete Nios DTC SIP monitor Test infoblox.nios_modules.nios_dtc_monitor_sip: name: sip_monitor + port: 8080 state: absent provider: "{{ nios_provider }}" diff --git a/plugins/modules/nios_dtc_monitor_tcp.py b/plugins/modules/nios_dtc_monitor_tcp.py index 7708baea..e812f13c 100644 --- a/plugins/modules/nios_dtc_monitor_tcp.py +++ b/plugins/modules/nios_dtc_monitor_tcp.py @@ -96,6 +96,7 @@ - name: Add a comment to an existing DTC TCP monitor infoblox.nios_modules.nios_dtc_monitor_tcp: name: tcp_monitor + port: 8080 comment: this is a test comment state: present provider: @@ -107,6 +108,7 @@ - name: Remove a DTC TCP monitor from the system infoblox.nios_modules.nios_dtc_monitor_tcp: name: tcp_monitor + port: 8080 state: absent provider: host: "{{ inventory_hostname_short }}"