1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/test/integration/targets/prepare_eos_tests/tasks/main.yml
Ricardo Carrillo Cruz efcdc68ad2 Set Ethernet2 to no switchport (#26703)
Missed this in earlier commit, otherwise eos_vrf tests fail.
2017-07-12 16:32:27 +02:00

21 lines
470 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
- no switchport
provider: "{{ cli }}"
connection: local