|
|
@ -86,33 +86,33 @@ EXAMPLES = '''
|
|
|
|
# Radius Server Basic settings
|
|
|
|
# Radius Server Basic settings
|
|
|
|
- name: "Radius Server Basic settings"
|
|
|
|
- name: "Radius Server Basic settings"
|
|
|
|
nxos_aaa_server:
|
|
|
|
nxos_aaa_server:
|
|
|
|
server_type=radius
|
|
|
|
server_type: radius
|
|
|
|
server_timeout=9
|
|
|
|
server_timeout: 9
|
|
|
|
deadtime=20
|
|
|
|
deadtime: 20
|
|
|
|
directed_request=enabled
|
|
|
|
directed_request: enabled
|
|
|
|
host={{ inventory_hostname }}
|
|
|
|
host: inventory_hostname }}
|
|
|
|
username={{ un }}
|
|
|
|
username: un }}
|
|
|
|
password={{ pwd }}
|
|
|
|
password: pwd }}
|
|
|
|
|
|
|
|
|
|
|
|
# Tacacs Server Basic settings
|
|
|
|
# Tacacs Server Basic settings
|
|
|
|
- name: "Tacacs Server Basic settings"
|
|
|
|
- name: "Tacacs Server Basic settings"
|
|
|
|
nxos_aaa_server:
|
|
|
|
nxos_aaa_server:
|
|
|
|
server_type=tacacs
|
|
|
|
server_type: tacacs
|
|
|
|
server_timeout=8
|
|
|
|
server_timeout: 8
|
|
|
|
deadtime=19
|
|
|
|
deadtime: 19
|
|
|
|
directed_request=disabled
|
|
|
|
directed_request: disabled
|
|
|
|
host={{ inventory_hostname }}
|
|
|
|
host: inventory_hostname }}
|
|
|
|
username={{ un }}
|
|
|
|
username: un }}
|
|
|
|
password={{ pwd }}
|
|
|
|
password: pwd }}
|
|
|
|
|
|
|
|
|
|
|
|
# Setting Global Key
|
|
|
|
# Setting Global Key
|
|
|
|
- name: "AAA Server Global Key"
|
|
|
|
- name: "AAA Server Global Key"
|
|
|
|
nxos_aaa_server:
|
|
|
|
nxos_aaa_server:
|
|
|
|
server_type=radius
|
|
|
|
server_type: radius
|
|
|
|
global_key=test_key
|
|
|
|
global_key: test_key
|
|
|
|
host={{ inventory_hostname }}
|
|
|
|
host: inventory_hostname }}
|
|
|
|
username={{ un }}
|
|
|
|
username: un }}
|
|
|
|
password={{ pwd }}
|
|
|
|
password: pwd }}
|
|
|
|
'''
|
|
|
|
'''
|
|
|
|
|
|
|
|
|
|
|
|
RETURN = '''
|
|
|
|
RETURN = '''
|
|
|
@ -564,4 +564,4 @@ def main():
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if __name__ == '__main__':
|
|
|
|
if __name__ == '__main__':
|
|
|
|
main()
|
|
|
|
main()
|
|
|
|