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: apt:
name: radvd name: radvd
state: present state: present
notify: reload systemd
- name: enable systemd unit radvd - name: enable systemd unit radvd
systemd: systemd:
name: radvd name: radvd
enabled: yes enabled: yes
daemon_reload: yes
- name: configure radvd - name: configure radvd
template: template:
src: radvd.conf.j2 src: radvd.conf.j2
dest: /etc/radvd.conf dest: /etc/radvd.conf
#notify: restart radvd notify: restart systemd unit radvd