mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
dd8b65395f
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
19 lines
435 B
YAML
19 lines
435 B
YAML
- name: Enable Ethernet1 interface and disable switchport
|
|
eos_config:
|
|
lines:
|
|
- no shutdown
|
|
- no switchport
|
|
parents: int Ethernet1
|
|
authorize: yes
|
|
provider: "{{ cli }}"
|
|
connection: local
|
|
|
|
- name: Enable Ethernet2 interface and disable switchport
|
|
eos_config:
|
|
lines:
|
|
- no shutdown
|
|
- no switchport
|
|
parents: int Ethernet2
|
|
authorize: yes
|
|
provider: "{{ cli }}"
|
|
connection: local
|