Role service-radvd: update handlers
This commit is contained in:
parent
7506fae8a5
commit
937238d26e
2 changed files with 11 additions and 2 deletions
9
roles/service-radvd/handlers/main.yml
Normal file
9
roles/service-radvd/handlers/main.yml
Normal file
|
@ -0,0 +1,9 @@
|
|||
---
|
||||
- name: reload systemd
|
||||
systemd:
|
||||
daemon_reload: yes
|
||||
|
||||
- name: restart systemd unit radvd
|
||||
systemd:
|
||||
name: radvd
|
||||
state: restarted
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue