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
|
|
|
|
|
|
|
- name: enable ethernet interfaces
|
|
|
|
eos_config:
|
2017-07-12 10:54:03 +00:00
|
|
|
lines:
|
|
|
|
- int Ethernet1
|
|
|
|
- no shutdown
|
2017-07-12 11:02:36 +00:00
|
|
|
- no switchport
|
2017-07-12 10:54:03 +00:00
|
|
|
- int Ethernet2
|
|
|
|
- no shutdown
|
2017-07-12 14:32:27 +00:00
|
|
|
- no switchport
|
2017-07-12 11:09:10 +00:00
|
|
|
provider: "{{ cli }}"
|
2017-07-12 10:54:03 +00:00
|
|
|
connection: local
|