2017-07-12 16:50:13 +02:00
|
|
|
- name: Enable Ethernet1 interface and disable switchport
|
|
|
|
eos_config:
|
|
|
|
lines:
|
|
|
|
- no shutdown
|
|
|
|
- no switchport
|
|
|
|
parents: int Ethernet1
|
2017-12-19 21:49:49 +01:00
|
|
|
become: yes
|
|
|
|
connection: network_cli
|
2017-07-12 16:50:13 +02:00
|
|
|
|
|
|
|
- name: Enable Ethernet2 interface and disable switchport
|
|
|
|
eos_config:
|
|
|
|
lines:
|
|
|
|
- no shutdown
|
|
|
|
- no switchport
|
|
|
|
parents: int Ethernet2
|
2017-12-19 21:49:49 +01:00
|
|
|
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
|