mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
update netscaler example
This commit is contained in:
parent
8d0b8c70ce
commit
6ae99cdc7a
1 changed files with 3 additions and 3 deletions
|
@ -12,14 +12,14 @@
|
|||
# type of the netscaler object you want to manipulate
|
||||
type: service
|
||||
# netscaler object name
|
||||
name: ${facter_fqdn}:8080
|
||||
name: "{{facter_fqdn}}:8080"
|
||||
|
||||
tasks:
|
||||
- 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
|
||||
action: shell yum upgrade -y
|
||||
|
||||
- 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
|
||||
|
|
Loading…
Reference in a new issue