mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 21:00:22 -07:00
Fix eos_vrf and eos_vlan interfaces param idempotent issue (#34921)
Fixes # 34917 * Remove spaces from in between interface name * Convert interface name to lower case as interface name is case insensitive wrt configuring on remote device.
This commit is contained in:
parent
6fe0215c8f
commit
c386ae9498
5 changed files with 29 additions and 17 deletions
|
@ -109,7 +109,7 @@
|
|||
- assert:
|
||||
that:
|
||||
- "result.changed == true"
|
||||
- "'interface Ethernet2' in result.commands"
|
||||
- "'interface ethernet2' in result.commands"
|
||||
- "'vrf forwarding test' in result.commands"
|
||||
# Ensure sessions contains epoc. Will fail after 18th May 2033
|
||||
- "'ansible_1' in result.session_name"
|
||||
|
@ -121,7 +121,7 @@
|
|||
state: present
|
||||
authorize: yes
|
||||
interfaces:
|
||||
- Ethernet2
|
||||
- ethernet 2 # interface name modified to test case insensitive and space scenario
|
||||
provider: "{{ cli }}"
|
||||
become: yes
|
||||
register: result
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue