d88c07a037
* Add netscaler_gslb_service * Lowercase enabled, disabled option values * Add fixes in netscaler module utils needed for unit test success
34 lines
688 B
YAML
34 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
|