community.network.netscaler_service – Manage service configuration in Netscaler¶
This plugin is part of the community.network collection (version 3.0.0).
To install it use:
ansible-galaxy collection install community.network.
To use it in a playbook, specify:
Manage service configuration in Netscaler.
This module allows the creation, deletion and modification of Netscaler services.
This module is intended to run either on the ansible control node or a bastion (jumpserver) with access to the actual netscaler instance.
This module supports check mode.
The below requirements are needed on the host that executes this module.
nitro python sdk
For more information on using Ansible to manage Citrix NetScaler Network devices see https://www.ansible.com/ansible-netscaler.
# Monitor monitor-1 must have been already setup - name: Setup http service gather_facts: False delegate_to: localhost community.network.netscaler_service: nsip: 172.18.0.2 nitro_user: nsroot nitro_pass: nsroot state: present name: service-http-1 servicetype: HTTP ipaddress: 10.78.0.1 port: 80 monitor_bindings: - monitor-1
Common return values are documented here, the following are the fields unique to this module: