mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-04 15:40:20 -07:00
Add Show Interface Example (#41863)
<!--- Your description here --> +label: docsite_pr
This commit is contained in:
parent
44e9ea30c9
commit
c309381f19
1 changed files with 9 additions and 0 deletions
|
@ -73,6 +73,15 @@ EXAMPLES = '''
|
||||||
commit: true
|
commit: true
|
||||||
description: "Ansible - add swps1-48"
|
description: "Ansible - add swps1-48"
|
||||||
|
|
||||||
|
- name: Fetch Status Of Interface
|
||||||
|
nclu:
|
||||||
|
commands:
|
||||||
|
- show interface swp1
|
||||||
|
register: output
|
||||||
|
- name: Print Status Of Interface
|
||||||
|
debug:
|
||||||
|
var: output
|
||||||
|
|
||||||
- name: Fetch Details From All Interfaces In JSON Format
|
- name: Fetch Details From All Interfaces In JSON Format
|
||||||
nclu:
|
nclu:
|
||||||
commands:
|
commands:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue