mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Split Eth1 and Eth2 configs of prepare_eos_tests (#26704)
Previous single block wasn't working for Eth2, despite not erroring out.
This commit is contained in:
committed by
GitHub
parent
efcdc68ad2
commit
e618221a0f
@@ -8,14 +8,20 @@
|
||||
register: eos_eapi_output
|
||||
connection: local
|
||||
|
||||
- name: enable ethernet interfaces
|
||||
eos_config:
|
||||
lines:
|
||||
- int Ethernet1
|
||||
- no shutdown
|
||||
- no switchport
|
||||
- int Ethernet2
|
||||
- no shutdown
|
||||
- no switchport
|
||||
provider: "{{ cli }}"
|
||||
connection: local
|
||||
- name: Enable Ethernet1 interface and disable switchport
|
||||
eos_config:
|
||||
lines:
|
||||
- no shutdown
|
||||
- no switchport
|
||||
parents: int Ethernet1
|
||||
authorize: yes
|
||||
connection: local
|
||||
|
||||
- name: Enable Ethernet2 interface and disable switchport
|
||||
eos_config:
|
||||
lines:
|
||||
- no shutdown
|
||||
- no switchport
|
||||
parents: int Ethernet2
|
||||
authorize: yes
|
||||
connection: local
|
||||
|
||||
Reference in New Issue
Block a user