added reload and restart handlers
parent
62a74b1ed4
commit
cb3abd5574
@ -0,0 +1,10 @@
|
||||
---
|
||||
- name: reload iptables
|
||||
systemd:
|
||||
name: iptables.service
|
||||
state: reloaded
|
||||
|
||||
- name: reload ip6tables
|
||||
systemd:
|
||||
name: ip6tables.service
|
||||
state: reloaded
|
@ -0,0 +1,5 @@
|
||||
---
|
||||
- name: restart systemd-journald
|
||||
systemd:
|
||||
name: systemd-journald.service
|
||||
state: restarted
|
@ -0,0 +1,3 @@
|
||||
---
|
||||
- name: reload ff-sysctl
|
||||
command: /usr/bin/sysctl -p /etc/sysctl.d/ff.conf
|
@ -0,0 +1,5 @@
|
||||
---
|
||||
- name: reload bind
|
||||
systemd:
|
||||
name: named.service
|
||||
state: reloaded
|
@ -0,0 +1,5 @@
|
||||
---
|
||||
- name: restart dhcpd4
|
||||
systemd:
|
||||
name: dhcpd4.service
|
||||
state: restarted
|
@ -0,0 +1,10 @@
|
||||
---
|
||||
- name: reload fastd
|
||||
systemd:
|
||||
name: fastd@ffmyk.service
|
||||
state: reloaded
|
||||
|
||||
- name: restart fastd
|
||||
systemd:
|
||||
name: fastd@ffmyk.service
|
||||
state: restarted
|
@ -0,0 +1,5 @@
|
||||
---
|
||||
- name: restart munin-node
|
||||
systemd:
|
||||
name: munin-node.service
|
||||
state: restarted
|
@ -0,0 +1,5 @@
|
||||
---
|
||||
- name: reload nginx
|
||||
systemd:
|
||||
name: nginx.service
|
||||
state: reloaded
|
@ -0,0 +1,5 @@
|
||||
---
|
||||
- name: restart openvpn
|
||||
systemd:
|
||||
name: openvpn-client@mullvad.service
|
||||
state: restarted
|
Loading…
Reference in New Issue