Created
July 19, 2016 10:41
-
-
Save privateip/6d3c2eb6a7301a4d20eda17af2b19be0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- name: show mac address-table | |
register: output | |
nxos_command: | |
commands: | |
- show mac address-table | json | |
provider: "{{ cli }}" | |
register: output | |
- name: copy output to file | |
copy: | |
content: "{{ output.stdout }}" | |
dest: /var/tmp/macaddress.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment