ansible-ffrgb/roles/mesh-interfaces/tasks/main.yml

19 lines
491 B
YAML
Raw Normal View History

2017-03-27 17:40:34 +02:00
---
- name: Install dependencies
apt: name=python-pkg-resources
- name: Install ifupdown2
apt: name=ifupdown2 state=latest
2017-03-27 17:40:34 +02:00
- name: Uninstall ifupdown
apt: name=ifupdown state=absent
- name: Configure mesh interfaces
2018-02-04 18:32:45 +01:00
template: src=mesh.conf.j2 dest=/etc/network/interfaces.d/mesh.conf backup=yes
2017-03-27 17:40:34 +02:00
notify: Reload interfaces
2018-01-22 21:57:19 +01:00
- name: Configure backbone interfaces
2018-02-04 18:32:45 +01:00
template: src=backbone.conf.j2 dest=/etc/network/interfaces.d/backbone.conf backup=yes
2018-01-22 21:57:19 +01:00
notify: Reload interfaces