ansible/test/legacy/roles/netscaler_gslb_service/tasks/testbed.yaml

35 lines
688 B
YAML
Raw Normal View History

---
- 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