ansible/test/legacy/roles/netscaler_cs_vserver/tasks/testbed.yaml
Matt Clay 781fd7099a Reorganize integration tests:
- Move legacy tests into a separate directory.
- Reduce common dependencies between targets.
2017-09-14 07:14:30 -07:00

67 lines
1.3 KiB
YAML

---
- name: setup push lb vserver
delegate_to: localhost
netscaler_lb_vserver:
nitro_user: "{{nitro_user}}"
nitro_pass: "{{nitro_pass}}"
nsip: "{{nsip}}"
state: "{{ state }}"
name: push_lb_vserver
servicetype: PUSH
- name: setup http lb vserver
delegate_to: localhost
netscaler_lb_vserver:
nitro_user: "{{nitro_user}}"
nitro_pass: "{{nitro_pass}}"
nsip: "{{nsip}}"
state: "{{ state }}"
name: lb-vserver-1
servicetype: HTTP
ipv46: 10.60.60.60
port: 80
- name: setup http lb vserver
delegate_to: localhost
netscaler_lb_vserver:
nitro_user: "{{nitro_user}}"
nitro_pass: "{{nitro_pass}}"
nsip: "{{nsip}}"
state: "{{ state }}"
name: lb-vserver-2
servicetype: HTTP
ipv46: 10.60.60.62
port: 80
- name: setup cs policy
delegate_to: localhost
netscaler_cs_policy:
nitro_user: "{{nitro_user}}"
nitro_pass: "{{nitro_pass}}"
nsip: "{{nsip}}"
state: "{{ state }}"
policyname: policy-1
url: /example.com/basket
- name: setup cs policy
delegate_to: localhost
netscaler_cs_policy:
nitro_user: "{{nitro_user}}"
nitro_pass: "{{nitro_pass}}"
nsip: "{{nsip}}"
state: "{{ state }}"
policyname: policy-2
url: /example.com/basket2