mirror of https://github.com/ansible/ansible.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
688 B
YAML
35 lines
688 B
YAML
7 years ago
|
---
|
||
|
|
||
|
- 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
|