20 lines
447 B
YAML
20 lines
447 B
YAML
- 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
|
|
|
|
- name: enable ethernet interfaces
|
|
eos_config:
|
|
lines:
|
|
- int Ethernet1
|
|
- no shutdown
|
|
- no switchport
|
|
- int Ethernet2
|
|
- no shutdown
|
|
provider: "{{ cli }}"
|
|
connection: local
|