2016-10-28 18:50:29 +00:00
|
|
|
- name: enable cli on remote device
|
|
|
|
eos_eapi:
|
|
|
|
enable_http: yes
|
|
|
|
enable_https: yes
|
|
|
|
enable_local_http: yes
|
|
|
|
enable_socket: yes
|
|
|
|
provider: "{{ cli }}"
|
|
|
|
register: eos_eapi_output
|
|
|
|
connection: local
|
2017-07-12 10:45:18 +00:00
|
|
|
|
2017-07-12 14:50:13 +00:00
|
|
|
- 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
|