|
|
|
@ -18,7 +18,7 @@
|
|
|
|
|
|
|
|
|
|
DOCUMENTATION = '''
|
|
|
|
|
---
|
|
|
|
|
module: nxos_get_facts
|
|
|
|
|
module: nxos_facts
|
|
|
|
|
version_added: "2.1"
|
|
|
|
|
short_description: Gets facts about NX-OS switches
|
|
|
|
|
description:
|
|
|
|
@ -29,7 +29,7 @@ author: Jason Edelman (@jedelman8), Gabriele Gerbino (@GGabriele)
|
|
|
|
|
|
|
|
|
|
EXAMPLES = '''
|
|
|
|
|
# retrieve facts
|
|
|
|
|
- nxos_get_facts: host={{ inventory_hostname }}
|
|
|
|
|
- nxos_facts: host={{ inventory_hostname }}
|
|
|
|
|
'''
|
|
|
|
|
|
|
|
|
|
RETURN = '''
|
|
|
|
@ -262,4 +262,4 @@ from ansible.module_utils.shell import *
|
|
|
|
|
from ansible.module_utils.netcfg import *
|
|
|
|
|
from ansible.module_utils.nxos import *
|
|
|
|
|
if __name__ == '__main__':
|
|
|
|
|
main()
|
|
|
|
|
main()
|
|
|
|
|