mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02: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
|
||||
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
|
||||
nclu:
|
||||
commands:
|
||||
|
|
Loading…
Reference in a new issue