--- - name: Up interface shell: | ifdown {{ item.name }} ; ifup {{ item.name }} loop: "{{ network.network_scripts.iface }}" - name: Reload interface with nmcli command: nmcli conn up {{ item.conn_name }} loop: "{{ network.network_manager.iface }}"