ansible/roles/ifupdown2/handlers/main.yml

9 lines
158 B
YAML

---
- name: Restart networking
systemd:
name: networking.service
state: restarted
- name: Bring all interfaces up
command: /usr/sbin/ifup -a
...