Separate service and config handlers, set default actions

This commit is contained in:
Alex 2020-06-05 15:47:44 +02:00
parent 695d1a5b91
commit 7673aac11f
Signed by: caskd
GPG Key ID: F92BA85F61F4C173
11 changed files with 15 additions and 15 deletions

View File

@ -17,8 +17,8 @@
systemd:
services:
- { name: "netfilter-persistent", enabled: true, action: restarted }
- { name: "fail2ban", enabled: true, action: restarted }
- { name: "ssh", enabled: true, action: restarted }
- { name: "fail2ban", enabled: true, action: reloaded }
- { name: "ssh", enabled: true, action: reloaded }
vault:
roles:
- "common"

View File

@ -12,7 +12,7 @@
systemd:
services:
- { name: "systemd-resolved", action: stopped }
- { name: "unbound", enabled: true, action: restarted }
- { name: "unbound", enabled: true, action: reloaded }
# - { name: "nsd", enabled: true, action: restarted }
apt:
packages:

View File

@ -15,9 +15,9 @@
- { package: "varnish", state: present }
systemd:
services:
- { name: "haproxy", enabled: true, action: restarted }
- { name: "hitch", enabled: true, action: restarted }
- { name: "varnish", enabled: true, action: restarted }
- { name: "haproxy", enabled: true, action: reloaded }
- { name: "hitch", enabled: true, action: reloaded }
- { name: "varnish", enabled: true, action: reloaded }
overrides:
- "haproxy"
- "hitch"

View File

@ -16,7 +16,7 @@
systemd:
services:
- { name: "grafana-server", enabled: true, action: restarted }
- { name: "telegraf", enabled: true, action: restarted }
- { name: "telegraf", enabled: true, action: reloaded }
overrides:
- "grafana-server"
- "telegraf"

@ -1 +1 @@
Subproject commit 8e9736435e7270b843384be581f9844027d543a6
Subproject commit 1d011d0afd98cec7beabd6436226978fb2b7d2df

@ -1 +1 @@
Subproject commit a92fbc43f24cb03e99308de5cd35d960f4fa330f
Subproject commit 7f80dca6c6c4aa1eda2ccc5a53398889fa20e0f9

@ -1 +1 @@
Subproject commit a8694d4ad841480a928f213d61f59b5e2648e605
Subproject commit 7673b681180a53349d5e0948b1b72d2e2ef430ef

@ -1 +1 @@
Subproject commit dceb77dc260f360c5d14ef59bad489e799bc75e6
Subproject commit 7c3d4f36374df3a81adf6ff9b9eb43c392859214

@ -1 +1 @@
Subproject commit 4fc8822849cb753d95dfbceb086f00c0103a4f21
Subproject commit 935c7c3c1c3c9eb26f9676adcc9790c0c3a68882

@ -1 +1 @@
Subproject commit 64e64e6b03af48899d73098eb7de78a53e28386a
Subproject commit b6f5c6a4f151f6ba27aa2ae534b882ee7b521940

View File

@ -10,8 +10,8 @@
systemd:
services:
- { name: "darkhttpd", enabled: true, action: restarted }
- { name: "transmission-daemon", enabled: true, action: restarted }
- { name: "sshd", enabled: true, action: restarted }
- { name: "transmission-daemon", enabled: true, action: reload }
- { name: "sshd", enabled: true, action: reloaded }
overrides:
- "transmission-daemon"
file: