2017-08-01 19:34:28 +02:00
|
|
|
---
|
|
|
|
|
|
|
|
- name: Setup servicegroup
|
|
|
|
delegate_to: localhost
|
|
|
|
register: result
|
|
|
|
check_mode: "{{ check_mode }}"
|
|
|
|
netscaler_servicegroup:
|
|
|
|
|
|
|
|
nitro_user: "{{nitro_user}}"
|
|
|
|
nitro_pass: "{{nitro_pass}}"
|
|
|
|
nsip: "{{nsip}}"
|
|
|
|
state: present
|
|
|
|
|
|
|
|
servicegroupname: service-group-1
|
|
|
|
servicetype: HTTP
|
|
|
|
cachetype: TRANSPARENT
|
|
|
|
maxclient: 100
|
|
|
|
maxreq: 100
|
|
|
|
cacheable: no
|
2017-08-25 19:11:48 +02:00
|
|
|
cip: enabled
|
2017-08-01 19:34:28 +02:00
|
|
|
cipheader: cip-header
|
|
|
|
usip: no
|
|
|
|
pathmonitor: no
|
|
|
|
pathmonitorindv: no
|
|
|
|
useproxyport: no
|
|
|
|
healthmonitor: no
|
|
|
|
sp: off
|
|
|
|
rtspsessionidremap: off
|
|
|
|
clttimeout: 1000
|
|
|
|
svrtimeout: 1000
|
|
|
|
cka: yes
|
|
|
|
tcpb: yes
|
|
|
|
cmp: no
|
|
|
|
maxbandwidth: 5000
|
|
|
|
monthreshold: 100
|
2017-08-25 19:11:48 +02:00
|
|
|
downstateflush: disabled
|
2017-08-01 19:34:28 +02:00
|
|
|
comment: some comment
|
2017-08-25 19:11:48 +02:00
|
|
|
appflowlog: enabled
|
2017-08-01 19:34:28 +02:00
|
|
|
autoscale: POLICY
|
|
|
|
memberport: 80
|
|
|
|
graceful: no
|
|
|
|
servicemembers:
|
|
|
|
- ip: 10.78.78.78
|
|
|
|
port: 80
|
|
|
|
weight: 50
|
|
|
|
- ip: 10.79.79.79
|
|
|
|
port: 80
|
|
|
|
weight: 50
|