mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
258d2058cd
Enabling EAPI is not common on CLI *and* EAPI tests, therefore enabling it should be put at the eapi.yaml task level.
17 lines
383 B
YAML
17 lines
383 B
YAML
- 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
|