In 2.4 use netscaler_service and netscaler_server instead.
parameter | required | default | choices | comments |
---|---|---|---|---|
action |
no | disable |
|
the action you want to perform on the entity
|
name |
yes | hostname |
name of the entity
|
|
nsc_host |
yes |
hostname or ip of your netscaler
|
||
nsc_protocol |
no | https |
protocol used to access netscaler
|
|
password |
yes |
password
|
||
type |
no | server |
|
type of the entity
|
user |
yes |
username
|
||
validate_certs |
no | yes |
|
If
no , SSL certificates for the target url will not be validated. This should only be used on personally controlled sites using self-signed certificates. |
# Disable the server - netscaler: nsc_host: nsc.example.com user: apiuser password: apipass # Enable the server - netscaler: nsc_host: nsc.example.com user: apiuser password: apipass action: enable # Disable the service local:8080 - netscaler: nsc_host: nsc.example.com user: apiuser password: apipass name: 'local:8080' type: service action: disable
For help in developing on modules, should you be so inclined, please read Community Information & Contributing, Testing Ansible and Developing Modules.