mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
f204e7cb33
* Add netscaler_cs_vserver * Correct version_added
67 lines
1.3 KiB
YAML
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
|