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.
ansible/test/integration/roles/netscaler_servicegroup/tests/nitro/servicegroup_monitors/setup.yaml

24 lines
486 B
YAML

---
- name: Setup servicegroup
delegate_to: localhost
register: result
check_mode: "{{ check_mode }}"
netscaler_servicegroup:
nitro_user: "{{nitro_user}}"
nitro_pass: "{{nitro_pass}}"
nsip: "{{nsip}}"
servicegroupname: service-group-1
servicetype: HTTP
servicemembers:
- ip: 10.78.78.78
port: 80
weight: 100
monitorbindings:
- monitorname: monitor-1
weight: 50
- monitorname: monitor-2
weight: 50