Skip to content

Commit

Permalink
Fix eos_vlans docs (#67335)
Browse files Browse the repository at this point in the history
wording in examples changed ios to eos (#66131)

wrong module was used in examples: should be eos_vlans not ios_vlans

(cherry picked from commit 506e2da)

Add changelog for eos_vlans docs fix

Co-authored-by: qoreQyaS <github@gucke.net>
  • Loading branch information
NilashishC and qoreQyaS authored Mar 3, 2020
1 parent ed30858 commit 7051a7f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions changelogs/fragments/66131_backport_eos_vlans_doc_fix.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
bugfixes:
- Fix examples in eos_vlans (https://github.com/ansible/ansible/pull/66131).
8 changes: 4 additions & 4 deletions lib/ansible/modules/network/eos/eos_vlans.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
# name twenty
- name: Delete attributes of the given VLANs.
ios_vlans:
eos_vlans:
config:
- vlan_id: 20
state: deleted
Expand All @@ -119,7 +119,7 @@
# name twenty
- name: Merge given VLAN attributes with device configuration
ios_vlans:
eos_vlans:
config:
- vlan_id: 20
state: suspend
Expand Down Expand Up @@ -150,7 +150,7 @@
# name twenty
- name: Override device configuration of all VLANs with provided configuration
ios_vlans:
eos_vlans:
config:
- vlan_id: 20
state: suspend
Expand All @@ -177,7 +177,7 @@
# name twenty
- name: Replace all attributes of specified VLANs with provided configuration
ios_vlans:
eos_vlans:
config:
- vlan_id: 20
state: suspend
Expand Down

0 comments on commit 7051a7f

Please sign in to comment.