1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Added show interface example in JSON format (#40732)

* Added show interface example in JSON format

Added show interface example in JSON format

+label: docsite_pr
+label: issue#311

* fixed whitespace
This commit is contained in:
permitanyany 2018-06-08 11:00:59 -04:00 committed by Alicia Cozine
parent d6fb00e797
commit d76ae943ed

View file

@ -73,6 +73,15 @@ EXAMPLES = '''
commit: true
description: "Ansible - add swps1-48"
- name: Fetch Details From All Interfaces In JSON Format
nclu:
commands:
- show interface json
register: output
- name: Print Interface Details
debug:
var: output["msg"]
- name: Atomically add an interface
nclu:
commands: