|
|
@ -12,14 +12,14 @@
|
|
|
|
# type of the netscaler object you want to manipulate
|
|
|
|
# type of the netscaler object you want to manipulate
|
|
|
|
type: service
|
|
|
|
type: service
|
|
|
|
# netscaler object name
|
|
|
|
# netscaler object name
|
|
|
|
name: ${facter_fqdn}:8080
|
|
|
|
name: "{{facter_fqdn}}:8080"
|
|
|
|
|
|
|
|
|
|
|
|
tasks:
|
|
|
|
tasks:
|
|
|
|
- name: disable service in the lb
|
|
|
|
- name: disable service in the lb
|
|
|
|
action: netscaler nsc_host=${nsc_host} user=${nsc_user} password=${nsc_pass} name=${name} type=${type} action=disable
|
|
|
|
action: netscaler nsc_host={{nsc_host}} user={{nsc_user}} password={{nsc_pass}} name={{name}} type={{type}} action=disable
|
|
|
|
|
|
|
|
|
|
|
|
- name: deploy new code
|
|
|
|
- name: deploy new code
|
|
|
|
action: shell yum upgrade -y
|
|
|
|
action: shell yum upgrade -y
|
|
|
|
|
|
|
|
|
|
|
|
- name: enable in the lb
|
|
|
|
- name: enable in the lb
|
|
|
|
action: netscaler nsc_host=${nsc_host} user=${nsc_user} password=${nsc_pass} name=${name} type=${type} action=enable
|
|
|
|
action: netscaler nsc_host={{nsc_host}} user={{nsc_user}} password={{nsc_pass}} name={{name}} type={{type}} action=enable
|
|
|
|