---

- name: Install Network-Manager
  apt: name=network-manager state=latest

- name: Create entry to clone/pull git repository
  template: src=nm-dispatcher.j2 dest=/etc/NetworkManager/dispatcher.d/ansiblePullUpdate
    owner=root group=root mode=0755

- name: Force ethernet interface to run at 100Mbits
  copy: src=mii-tool dest=/etc/NetworkManager/dispatcher.d/mii-tool owner=root group=root mode=755
---

- name: Install Network-Manager
  apt: name=network-manager state=latest

- name: Create entry to clone/pull git repository
  template: src=nm-dispatcher.j2 dest=/etc/NetworkManager/dispatcher.d/ansiblePullUpdate
    owner=root group=root mode=0755

- name: Force ethernet interface to run at 100Mbits
  copy: src=mii-tool dest=/etc/NetworkManager/dispatcher.d/mii-tool owner=root group=root mode=755
  when: ansible_architecture == "armhf" or ansible_architecture == "armv7l"
Add condition to use the hack only when this is an ARM board
Add condition to use the hack only when this is an ARM board
