mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
35 lines
688 B
YAML
35 lines
688 B
YAML
|
---
|
||
|
|
||
|
- name: Setup gslb site
|
||
|
delegate_to: localhost
|
||
|
netscaler_gslb_site:
|
||
|
nitro_user: "{{nitro_user}}"
|
||
|
nitro_pass: "{{nitro_pass}}"
|
||
|
nsip: "{{nsip}}"
|
||
|
|
||
|
state: "{{ state }}"
|
||
|
|
||
|
sitename: gslb-site-1
|
||
|
siteipaddress: 192.168.1.1
|
||
|
sitetype: LOCAL
|
||
|
publicip: 192.168.1.1
|
||
|
metricexchange: ENABLED
|
||
|
nwmetricexchange: ENABLED
|
||
|
sessionexchange: ENABLED
|
||
|
triggermonitor: ALWAYS
|
||
|
|
||
|
- name: setup lb monitor
|
||
|
delegate_to: localhost
|
||
|
netscaler_lb_monitor:
|
||
|
nitro_user: "{{nitro_user}}"
|
||
|
nitro_pass: "{{nitro_pass}}"
|
||
|
nsip: "{{nsip}}"
|
||
|
|
||
|
state: "{{ state }}"
|
||
|
|
||
|
monitorname: lb-monitor-1
|
||
|
type: TCP-ECV
|
||
|
|
||
|
send: sendstring
|
||
|
recv: recvstring
|