- 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