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:
Ricardo Carrillo Cruz 2017-07-12 16:50:13 +02:00 committed by GitHub
parent efcdc68ad2
commit e618221a0f

View file

@ -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