community / community.general / 0.1.1 / module / netscaler_save_config Save Netscaler configuration. Authors: George Nikolopoulos (@giorgos-nikolopoulos) preview | supported by communitycommunity.general.netscaler_save_config (0.1.1) — module
Install with ansible-galaxy collection install community.general:==0.1.1
collections: - name: community.general version: 0.1.1
This module unconditionally saves the configuration on the target netscaler node.
This module does not support check mode.
This module is intended to run either on the ansible control node or a bastion (jumpserver) with access to the actual netscaler instance.
--- - name: Save netscaler configuration delegate_to: localhost netscaler_save_config: nsip: 172.18.0.2 nitro_user: nsroot nitro_pass: nsroot
- name: Setup server without saving configuration delegate_to: localhost notify: Save configuration netscaler_server: nsip: 172.18.0.2 nitro_user: nsroot nitro_pass: nsroot save_config: no name: server-1 ipaddress: 192.168.1.1
# Under playbook's handlers - name: Save configuration delegate_to: localhost netscaler_save_config: nsip: 172.18.0.2 nitro_user: nsroot nitro_pass: nsroot
nsip: description: - The ip address of the netscaler appliance where the nitro API calls will be made. - The port can be specified with the colon (:). E.g. C(192.168.1.1:555). required: true nitro_pass: description: - The password with which to authenticate to the netscaler node. required: true nitro_user: description: - The username with which to authenticate to the netscaler node. required: true nitro_timeout: default: 310 description: - Time in seconds until a timeout error is thrown when establishing a new session with Netscaler. nitro_protocol: choices: - http - https default: http description: - Which protocol to use when accessing the nitro API objects. validate_certs: default: 'yes' description: - If C(no), SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates. required: false type: bool
loglines: description: list of logged messages by the module returned: always sample: - message 1 - message 2 type: list msg: description: Message detailing the failure reason returned: failure sample: Action does not exist type: str