summaryrefslogtreecommitdiffstats
path: root/ansible_collections/infoblox/nios_modules/playbooks
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-18 05:52:22 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-18 05:52:22 +0000
commit38b7c80217c4e72b1d8988eb1e60bb6e77334114 (patch)
tree356e9fd3762877d07cde52d21e77070aeff7e789 /ansible_collections/infoblox/nios_modules/playbooks
parentAdding upstream version 7.7.0+dfsg. (diff)
downloadansible-38b7c80217c4e72b1d8988eb1e60bb6e77334114.tar.xz
ansible-38b7c80217c4e72b1d8988eb1e60bb6e77334114.zip
Adding upstream version 9.4.0+dfsg.upstream/9.4.0+dfsg
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'ansible_collections/infoblox/nios_modules/playbooks')
-rw-r--r--ansible_collections/infoblox/nios_modules/playbooks/create_dtc_monitor_http.yaml19
-rw-r--r--ansible_collections/infoblox/nios_modules/playbooks/create_dtc_monitor_icmp.yaml17
-rw-r--r--ansible_collections/infoblox/nios_modules/playbooks/create_dtc_monitor_pdp.yaml17
-rw-r--r--ansible_collections/infoblox/nios_modules/playbooks/create_dtc_monitor_sip.yaml17
-rw-r--r--ansible_collections/infoblox/nios_modules/playbooks/create_dtc_monitor_snmp.yaml17
-rw-r--r--ansible_collections/infoblox/nios_modules/playbooks/create_dtc_monitor_tcp.yaml18
-rw-r--r--ansible_collections/infoblox/nios_modules/playbooks/create_dtc_topology.yml31
-rw-r--r--ansible_collections/infoblox/nios_modules/playbooks/delete_cname_record.yaml2
-rw-r--r--ansible_collections/infoblox/nios_modules/playbooks/delete_dtc_monitor_http.yaml16
-rw-r--r--ansible_collections/infoblox/nios_modules/playbooks/delete_dtc_monitor_icmp.yaml16
-rw-r--r--ansible_collections/infoblox/nios_modules/playbooks/delete_dtc_monitor_pdp.yaml16
-rw-r--r--ansible_collections/infoblox/nios_modules/playbooks/delete_dtc_monitor_sip.yaml17
-rw-r--r--ansible_collections/infoblox/nios_modules/playbooks/delete_dtc_monitor_snmp.yaml16
-rw-r--r--ansible_collections/infoblox/nios_modules/playbooks/delete_dtc_monitor_tcp.yaml16
-rw-r--r--ansible_collections/infoblox/nios_modules/playbooks/delete_dtc_topology.yml16
-rw-r--r--ansible_collections/infoblox/nios_modules/playbooks/delete_mx_record.yaml2
-rw-r--r--ansible_collections/infoblox/nios_modules/playbooks/delete_txt_record.yaml2
-rw-r--r--ansible_collections/infoblox/nios_modules/playbooks/restart_services.yml2
-rw-r--r--ansible_collections/infoblox/nios_modules/playbooks/update_member.yml2
19 files changed, 254 insertions, 5 deletions
diff --git a/ansible_collections/infoblox/nios_modules/playbooks/create_dtc_monitor_http.yaml b/ansible_collections/infoblox/nios_modules/playbooks/create_dtc_monitor_http.yaml
new file mode 100644
index 000000000..2d2afc3ee
--- /dev/null
+++ b/ansible_collections/infoblox/nios_modules/playbooks/create_dtc_monitor_http.yaml
@@ -0,0 +1,19 @@
+---
+
+- hosts: localhost
+ vars:
+ nios_provider:
+ host: 10.36.118.2
+ username: cloudadmin
+ password: admin
+
+ connection: local
+ tasks:
+ - name: Create Nios DTC HTTPS monitor Test
+ infoblox.nios_modules.nios_dtc_monitor_http:
+ name: https_monitor
+ port: 443
+ secure: true
+ comment: Created with Ansible
+ state: present
+ provider: "{{ nios_provider }}"
diff --git a/ansible_collections/infoblox/nios_modules/playbooks/create_dtc_monitor_icmp.yaml b/ansible_collections/infoblox/nios_modules/playbooks/create_dtc_monitor_icmp.yaml
new file mode 100644
index 000000000..f792cfa64
--- /dev/null
+++ b/ansible_collections/infoblox/nios_modules/playbooks/create_dtc_monitor_icmp.yaml
@@ -0,0 +1,17 @@
+---
+
+- hosts: localhost
+ vars:
+ nios_provider:
+ host: 10.36.118.2
+ username: cloudadmin
+ password: admin
+
+ connection: local
+ tasks:
+ - name: Create Nios DTC ICMP monitor Test
+ infoblox.nios_modules.nios_dtc_monitor_icmp:
+ name: icmp_monitor
+ comment: Created with Ansible
+ state: present
+ provider: "{{ nios_provider }}"
diff --git a/ansible_collections/infoblox/nios_modules/playbooks/create_dtc_monitor_pdp.yaml b/ansible_collections/infoblox/nios_modules/playbooks/create_dtc_monitor_pdp.yaml
new file mode 100644
index 000000000..ea2bc9b9b
--- /dev/null
+++ b/ansible_collections/infoblox/nios_modules/playbooks/create_dtc_monitor_pdp.yaml
@@ -0,0 +1,17 @@
+---
+
+- hosts: localhost
+ vars:
+ nios_provider:
+ host: 10.36.118.2
+ username: cloudadmin
+ password: admin
+
+ connection: local
+ tasks:
+ - name: Create Nios DTC PDP monitor Test
+ infoblox.nios_modules.nios_dtc_monitor_pdp:
+ name: pdp_monitor
+ comment: Created with Ansible
+ state: present
+ provider: "{{ nios_provider }}"
diff --git a/ansible_collections/infoblox/nios_modules/playbooks/create_dtc_monitor_sip.yaml b/ansible_collections/infoblox/nios_modules/playbooks/create_dtc_monitor_sip.yaml
new file mode 100644
index 000000000..4caa32ea2
--- /dev/null
+++ b/ansible_collections/infoblox/nios_modules/playbooks/create_dtc_monitor_sip.yaml
@@ -0,0 +1,17 @@
+---
+
+- hosts: localhost
+ vars:
+ nios_provider:
+ host: 10.36.118.2
+ username: cloudadmin
+ password: admin
+
+ connection: local
+ tasks:
+ - name: Create Nios DTC SIP monitor Test
+ infoblox.nios_modules.nios_dtc_monitor_sip:
+ name: sip_monitor
+ comment: Created with Ansible
+ state: present
+ provider: "{{ nios_provider }}"
diff --git a/ansible_collections/infoblox/nios_modules/playbooks/create_dtc_monitor_snmp.yaml b/ansible_collections/infoblox/nios_modules/playbooks/create_dtc_monitor_snmp.yaml
new file mode 100644
index 000000000..b8b796ee2
--- /dev/null
+++ b/ansible_collections/infoblox/nios_modules/playbooks/create_dtc_monitor_snmp.yaml
@@ -0,0 +1,17 @@
+---
+
+- hosts: localhost
+ vars:
+ nios_provider:
+ host: 10.36.118.2
+ username: cloudadmin
+ password: admin
+
+ connection: local
+ tasks:
+ - name: Create Nios DTC SNMP monitor Test
+ infoblox.nios_modules.nios_dtc_monitor_snmp:
+ name: snmp_monitor
+ comment: Created with Ansible
+ state: present
+ provider: "{{ nios_provider }}"
diff --git a/ansible_collections/infoblox/nios_modules/playbooks/create_dtc_monitor_tcp.yaml b/ansible_collections/infoblox/nios_modules/playbooks/create_dtc_monitor_tcp.yaml
new file mode 100644
index 000000000..95a824a1b
--- /dev/null
+++ b/ansible_collections/infoblox/nios_modules/playbooks/create_dtc_monitor_tcp.yaml
@@ -0,0 +1,18 @@
+---
+
+- hosts: localhost
+ vars:
+ nios_provider:
+ host: 10.36.118.2
+ username: cloudadmin
+ password: admin
+
+ connection: local
+ tasks:
+ - name: Create Nios DTC TCP monitor Test
+ infoblox.nios_modules.nios_dtc_monitor_tcp:
+ name: tcp_monitor
+ port: 8080
+ comment: Created with Ansible
+ state: present
+ provider: "{{ nios_provider }}"
diff --git a/ansible_collections/infoblox/nios_modules/playbooks/create_dtc_topology.yml b/ansible_collections/infoblox/nios_modules/playbooks/create_dtc_topology.yml
new file mode 100644
index 000000000..01c50bd49
--- /dev/null
+++ b/ansible_collections/infoblox/nios_modules/playbooks/create_dtc_topology.yml
@@ -0,0 +1,31 @@
+---
+- hosts: localhost
+ vars:
+ nios_provider:
+ host: 10.196.205.10
+ username: cloudadmin
+ password: infoblox
+ wapi_version: "2.12"
+
+ connection: local
+ tasks:
+ - name: Create a DTC Topology
+ infoblox.nios_modules.nios_dtc_topology:
+ name: a_topology
+ rules:
+ - dest_type: POOL
+ destination_link: web_pool1
+ return_type: REGULAR
+ sources:
+ - source_op: IS
+ source_type: EA0
+ source_value: DC1
+ - dest_type: POOL
+ destination_link: web_pool2
+ return_type: REGULAR
+ sources:
+ - source_op: IS
+ source_type: EA0
+ source_value: DC2
+ state: present
+ provider: "{{ nios_provider }}"
diff --git a/ansible_collections/infoblox/nios_modules/playbooks/delete_cname_record.yaml b/ansible_collections/infoblox/nios_modules/playbooks/delete_cname_record.yaml
index 50c551053..f7f753a7e 100644
--- a/ansible_collections/infoblox/nios_modules/playbooks/delete_cname_record.yaml
+++ b/ansible_collections/infoblox/nios_modules/playbooks/delete_cname_record.yaml
@@ -9,7 +9,7 @@
connection: local
tasks:
- - name: Create Nios CNAME record
+ - name: Delete Nios CNAME record
infoblox.nios_modules.nios_cname_record:
name: cname.ansible.com
canonical: realhost.ansible.com
diff --git a/ansible_collections/infoblox/nios_modules/playbooks/delete_dtc_monitor_http.yaml b/ansible_collections/infoblox/nios_modules/playbooks/delete_dtc_monitor_http.yaml
new file mode 100644
index 000000000..29427ebd1
--- /dev/null
+++ b/ansible_collections/infoblox/nios_modules/playbooks/delete_dtc_monitor_http.yaml
@@ -0,0 +1,16 @@
+---
+
+- hosts: localhost
+ vars:
+ nios_provider:
+ host: 10.36.118.2
+ username: cloudadmin
+ password: admin
+
+ connection: local
+ tasks:
+ - name: Delete Nios DTC HTTPS monitor Test
+ infoblox.nios_modules.nios_dtc_monitor_http:
+ name: https_monitor
+ state: absent
+ provider: "{{ nios_provider }}"
diff --git a/ansible_collections/infoblox/nios_modules/playbooks/delete_dtc_monitor_icmp.yaml b/ansible_collections/infoblox/nios_modules/playbooks/delete_dtc_monitor_icmp.yaml
new file mode 100644
index 000000000..eca2975fa
--- /dev/null
+++ b/ansible_collections/infoblox/nios_modules/playbooks/delete_dtc_monitor_icmp.yaml
@@ -0,0 +1,16 @@
+---
+
+- hosts: localhost
+ vars:
+ nios_provider:
+ host: 10.36.118.2
+ username: cloudadmin
+ password: admin
+
+ connection: local
+ tasks:
+ - name: Delete Nios DTC ICMP monitor Test
+ infoblox.nios_modules.nios_dtc_monitor_icmp:
+ name: icmp_monitor
+ state: absent
+ provider: "{{ nios_provider }}"
diff --git a/ansible_collections/infoblox/nios_modules/playbooks/delete_dtc_monitor_pdp.yaml b/ansible_collections/infoblox/nios_modules/playbooks/delete_dtc_monitor_pdp.yaml
new file mode 100644
index 000000000..b69fb4627
--- /dev/null
+++ b/ansible_collections/infoblox/nios_modules/playbooks/delete_dtc_monitor_pdp.yaml
@@ -0,0 +1,16 @@
+---
+
+- hosts: localhost
+ vars:
+ nios_provider:
+ host: 10.36.118.2
+ username: cloudadmin
+ password: admin
+
+ connection: local
+ tasks:
+ - name: Delete Nios DTC PDP monitor Test
+ infoblox.nios_modules.nios_dtc_monitor_pdp:
+ name: pdp_monitor
+ state: absent
+ provider: "{{ nios_provider }}"
diff --git a/ansible_collections/infoblox/nios_modules/playbooks/delete_dtc_monitor_sip.yaml b/ansible_collections/infoblox/nios_modules/playbooks/delete_dtc_monitor_sip.yaml
new file mode 100644
index 000000000..1fbc0e290
--- /dev/null
+++ b/ansible_collections/infoblox/nios_modules/playbooks/delete_dtc_monitor_sip.yaml
@@ -0,0 +1,17 @@
+---
+
+- hosts: localhost
+ vars:
+ nios_provider:
+ host: 10.36.118.2
+ username: cloudadmin
+ password: admin
+
+ connection: local
+ tasks:
+ - 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/ansible_collections/infoblox/nios_modules/playbooks/delete_dtc_monitor_snmp.yaml b/ansible_collections/infoblox/nios_modules/playbooks/delete_dtc_monitor_snmp.yaml
new file mode 100644
index 000000000..972751a64
--- /dev/null
+++ b/ansible_collections/infoblox/nios_modules/playbooks/delete_dtc_monitor_snmp.yaml
@@ -0,0 +1,16 @@
+---
+
+- hosts: localhost
+ vars:
+ nios_provider:
+ host: 10.36.118.2
+ username: cloudadmin
+ password: admin
+
+ connection: local
+ tasks:
+ - name: Delete Nios DTC SNMP monitor Test
+ infoblox.nios_modules.nios_dtc_monitor_snmp:
+ name: snmp_monitor
+ state: absent
+ provider: "{{ nios_provider }}"
diff --git a/ansible_collections/infoblox/nios_modules/playbooks/delete_dtc_monitor_tcp.yaml b/ansible_collections/infoblox/nios_modules/playbooks/delete_dtc_monitor_tcp.yaml
new file mode 100644
index 000000000..662df448a
--- /dev/null
+++ b/ansible_collections/infoblox/nios_modules/playbooks/delete_dtc_monitor_tcp.yaml
@@ -0,0 +1,16 @@
+---
+
+- hosts: localhost
+ vars:
+ nios_provider:
+ host: 10.36.118.2
+ username: cloudadmin
+ password: admin
+
+ connection: local
+ tasks:
+ - name: Delete Nios DTC TCP monitor Test
+ infoblox.nios_modules.nios_dtc_monitor_tcp:
+ name: tcp_monitor
+ state: absent
+ provider: "{{ nios_provider }}"
diff --git a/ansible_collections/infoblox/nios_modules/playbooks/delete_dtc_topology.yml b/ansible_collections/infoblox/nios_modules/playbooks/delete_dtc_topology.yml
new file mode 100644
index 000000000..1782aa676
--- /dev/null
+++ b/ansible_collections/infoblox/nios_modules/playbooks/delete_dtc_topology.yml
@@ -0,0 +1,16 @@
+---
+- hosts: localhost
+ vars:
+ nios_provider:
+ host: 10.196.205.10
+ username: cloudadmin
+ password: infoblox
+ wapi_version: "2.12"
+
+ connection: local
+ tasks:
+ - name: delete a DTC Topology
+ infoblox.nios_modules.nios_dtc_topology:
+ name: a_topology
+ state: absent
+ provider: "{{ nios_provider }}"
diff --git a/ansible_collections/infoblox/nios_modules/playbooks/delete_mx_record.yaml b/ansible_collections/infoblox/nios_modules/playbooks/delete_mx_record.yaml
index 3b269a255..9a4475ecb 100644
--- a/ansible_collections/infoblox/nios_modules/playbooks/delete_mx_record.yaml
+++ b/ansible_collections/infoblox/nios_modules/playbooks/delete_mx_record.yaml
@@ -9,7 +9,7 @@
connection: local
tasks:
- - name: Create Nios MX record
+ - name: delete Nios MX record
infoblox.nios_modules.nios_mx_record:
name: ansible.com
mx: mailhost.ansible.com
diff --git a/ansible_collections/infoblox/nios_modules/playbooks/delete_txt_record.yaml b/ansible_collections/infoblox/nios_modules/playbooks/delete_txt_record.yaml
index 376e29734..ea9269afd 100644
--- a/ansible_collections/infoblox/nios_modules/playbooks/delete_txt_record.yaml
+++ b/ansible_collections/infoblox/nios_modules/playbooks/delete_txt_record.yaml
@@ -9,7 +9,7 @@
connection: local
tasks:
- - name: Create Nios TXT record
+ - name: delete Nios TXT record
infoblox.nios_modules.nios_txt_record:
name: fqdn.txt.ansible.com
text: example_text
diff --git a/ansible_collections/infoblox/nios_modules/playbooks/restart_services.yml b/ansible_collections/infoblox/nios_modules/playbooks/restart_services.yml
index 23bbe590b..b8b8fe61a 100644
--- a/ansible_collections/infoblox/nios_modules/playbooks/restart_services.yml
+++ b/ansible_collections/infoblox/nios_modules/playbooks/restart_services.yml
@@ -10,6 +10,6 @@
connection: local
tasks:
- name: Restart Services
- nios_restartservices:
+ infoblox.nios_modules.nios_restartservices:
provider: "{{ nios_provider }}"
...
diff --git a/ansible_collections/infoblox/nios_modules/playbooks/update_member.yml b/ansible_collections/infoblox/nios_modules/playbooks/update_member.yml
index 0d8603219..391569138 100644
--- a/ansible_collections/infoblox/nios_modules/playbooks/update_member.yml
+++ b/ansible_collections/infoblox/nios_modules/playbooks/update_member.yml
@@ -8,7 +8,7 @@
password: cloudadmin
connection: local
tasks:
- - name: create member
+ - name: update member host name
infoblox.nios_modules.nios_member:
host_name: {old_name: block1.localdomain, new_name: member01.localdomain}
master_candidate: false