W3cubDocs

/Ansible

netscaler - Manages Citrix NetScaler entities

Synopsis

Manages Citrix NetScaler server and service entities.

Options

parameter required default choices comments
action
no disable
  • enable
  • 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
  • server
  • service
type of the entity
user
yes
username
validate_certs
no yes
  • yes
  • no
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.

Examples

# Disable the server
ansible host -m netscaler -a "nsc_host=nsc.example.com user=apiuser password=apipass"

# Enable the server
ansible host -m netscaler -a "nsc_host=nsc.example.com user=apiuser password=apipass action=enable"

# Disable the service local:8080
ansible host -m netscaler -a "nsc_host=nsc.example.com user=apiuser password=apipass name=local:8080 type=service action=disable"

This is an Extras Module

For more information on what this means please read Extras Modules

For help in developing on modules, should you be so inclined, please read Community Information & Contributing, developing_test_pr and Developing Modules.

© 2012–2016 Michael DeHaan
© 2016 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/netscaler_module.html