summaryrefslogtreecommitdiffstats
path: root/roles/common/handlers/main.yml
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2015-06-03 21:13:10 +0200
committerGuilhem Moulin <guilhem@fripost.org>2015-06-07 02:54:20 +0200
commit00d6d904dc26592553ba93710c205603757e3faf (patch)
tree09ce9d1f3257da4303362317b04a596f4e0df741 /roles/common/handlers/main.yml
parentab03c7c75d91667dbc30f9ce1f66fe343fb9f93b (diff)
Configure Bacula File Daemon / Storage Daemon / Director.
Using client-side data signing/encryption and wrapping inter-host communication into stunnel.
Diffstat (limited to 'roles/common/handlers/main.yml')
-rw-r--r--roles/common/handlers/main.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/roles/common/handlers/main.yml b/roles/common/handlers/main.yml
index ddfe86b..b7ecaab 100644
--- a/roles/common/handlers/main.yml
+++ b/roles/common/handlers/main.yml
@@ -2,6 +2,9 @@
# corresponding state=restarted handler. (Register the task notifying
# the handler, and add a conditional.)
---
+- name: systemctl daemon-reload
+ command: /bin/systemctl daemon-reload
+
- name: Refresh hostname
service: name=hostname.sh state=restarted
@@ -35,5 +38,11 @@
- name: Reload Postfix
service: name=postfix state=reloaded
+- name: Restart stunnel
+ service: name=stunnel4 pattern=/usr/bin/stunnel4 state=restarted
+
+- name: Restart bacula-fd
+ service: name=bacula-fd state=restarted
+
- name: Update certificate
command: update-ca-certificates