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
|