ansible / ansible.builtin / v2.8.11 / module / nxos_aaa_server_host Manages AAA server host-specific configuration. | "added in version" 2.2 of ansible.builtin" Authors: Jason Edelman (@jedelman8) preview | supported by networkansible.builtin.nxos_aaa_server_host (v2.8.11) — module
pip
Install with pip install ansible==2.8.11
Manages AAA server host-specific configuration.
# Radius Server Host Basic settings - name: "Radius Server Host Basic settings" nxos_aaa_server_host: state: present server_type: radius address: 1.2.3.4 acct_port: 2084 host_timeout: 10
# Radius Server Host Key Configuration - name: "Radius Server Host Key Configuration" nxos_aaa_server_host: state: present server_type: radius address: 1.2.3.4 key: hello encrypt_type: 7
# TACACS Server Host Configuration - name: "Tacacs Server Host Configuration" nxos_aaa_server_host: state: present server_type: tacacs tacacs_port: 89 host_timeout: 10 address: 5.6.7.8
key: description: - Shared secret for the specified host or keyword 'default'. state: choices: - present - absent default: present description: - Manage the state of the resource. address: description: - Address or name of the radius or tacacs host. required: true acct_port: description: - Alternate UDP port for RADIUS accounting or keyword 'default'. auth_port: description: - Alternate UDP port for RADIUS authentication or keyword 'default'. server_type: choices: - radius - tacacs description: - The server type is either radius or tacacs. required: true tacacs_port: description: - Alternate TCP port TACACS Server or keyword 'default'. encrypt_type: choices: - '0' - '7' description: - The state of encryption applied to the entered key. O for clear text, 7 for encrypted. Type-6 encryption is not supported. host_timeout: description: - Timeout period for specified host, in seconds or keyword 'default. Range is 1-60.
changed: description: check to see if a change was made on the device returned: always sample: true type: bool end_state: description: k/v pairs of configuration after module execution returned: always sample: address: 1.2.3.4 auth_port: '2084' host_timeout: '10' server_type: radius type: dict existing: description: - k/v pairs of existing configuration returned: always sample: {} type: dict proposed: description: k/v pairs of parameters passed into module returned: always sample: address: 1.2.3.4 auth_port: '2084' host_timeout: '10' server_type: radius type: dict updates: description: command sent to the device returned: always sample: - radius-server host 1.2.3.4 auth-port 2084 timeout 10 type: list