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_lb_vserver/tests/nitro/lb_vserver_http/setup.yaml

72 lines
1.7 KiB
YAML

---
- name: setup http lb vserver
register: result
check_mode: "{{ check_mode }}"
delegate_to: localhost
netscaler_lb_vserver:
nitro_user: "{{nitro_user}}"
nitro_pass: "{{nitro_pass}}"
nsip: "{{nsip}}"
state: present
name: lb-vserver-1
ipv46: 10.79.1.1
port: 80
range: 2
servicetype: HTTP
persistencetype: COOKIEINSERT
timeout: 100
persistencebackup: SOURCEIP
backuppersistencetimeout: 110
lbmethod: URLHASH
cookiename: COOKIE
listenpolicy: "CLIENT.IP.DST.IN_SUBNET(192.0.2.0/24)"
listenpriority: 66
persistmask: 255.255.0.0
v6persistmasklen: 64
m: IP
tosid: 6
sessionless: disabled
redirurl: http://somewhere.com
cacheable: no
clttimeout: 111
somethod: CONNECTION
sopersistence: disabled
sopersistencetimeout: 222
sothreshold: 4096
healththreshold: 55
sobackupaction: DROP
redirectportrewrite: disabled
downstateflush: disabled
disableprimaryondown: disabled
insertvserveripport: VIPADDR
vipheader: vip
authenticationhost: authenticate.me
authentication: off
authn401: off
authnvsname: somename
push: disabled
pushmulticlients: no
comment: Vserver comment
l2conn: "OFF"
appflowlog: disabled
icmpvsrresponse: PASSIVE
rhistate: PASSIVE
newservicerequest: 11
newservicerequestunit: PER_SECOND
newservicerequestincrementinterval: 5
minautoscalemembers: 8
maxautoscalemembers: 10
macmoderetainvlan: disabled
dns64: disabled
bypassaaaa: no
processlocal: disabled
backuplbmethod: LEASTCONNECTION
hashlength: 100
servicebindings:
- servicename: service-http-1
weight: 50
- servicename: service-http-2
weight: 50