W3cubDocs

/Ansible

netscaler - Manages Citrix NetScaler entities

DEPRECATED

In 2.4 use netscaler_service and netscaler_server instead.

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
- 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.

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