You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/integration/targets/prepare_eos_tests/tasks/main.yml

20 lines
435 B
YAML

- name: Enable Ethernet1 interface and disable switchport
eos_config:
lines:
- no shutdown
- no switchport
parents: int Ethernet1
authorize: yes
provider: "{{ cli }}"
connection: local
- name: Enable Ethernet2 interface and disable switchport
eos_config:
lines:
- no shutdown
- no switchport
parents: int Ethernet2
authorize: yes
provider: "{{ cli }}"
connection: local