blob: 1f2e2fc5b9180cffd00ab55696d2e47e5112e4cf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
- name: Enable Ethernet1 interface and disable switchport
eos_config:
lines:
- no shutdown
- no switchport
parents: int Ethernet1
become: yes
connection: network_cli
- name: Enable Ethernet2 interface and disable switchport
eos_config:
lines:
- no shutdown
- no switchport
parents: int Ethernet2
become: yes
connection: network_cli
- name: enable eapi
eos_eapi:
http: yes
https: yes
local_http: no
enable_socket: yes
become: yes
connection: network_cli
tags: eapi
|