Role service-radvd: update handlers

This commit is contained in:
Tobias Hachmer 2017-10-03 20:43:23 +02:00
parent 7506fae8a5
commit 937238d26e
2 changed files with 11 additions and 2 deletions

View file

@ -0,0 +1,9 @@
---
- name: reload systemd
systemd:
daemon_reload: yes
- name: restart systemd unit radvd
systemd:
name: radvd
state: restarted

View file

@ -3,15 +3,15 @@
apt:
name: radvd
state: present
notify: reload systemd
- name: enable systemd unit radvd
systemd:
name: radvd
enabled: yes
daemon_reload: yes
- name: configure radvd
template:
src: radvd.conf.j2
dest: /etc/radvd.conf
#notify: restart radvd
notify: restart systemd unit radvd