--- - name: Up interface shell: | ifdown {{ item }} ; ifup {{ item }} loop: "{{ reload_interfaces | unique }}" - name: Reload interface with nmcli command: nmcli conn up {{ item }} loop: "{{ reload_interfaces | unique }}"