diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2015-06-03 21:13:10 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2015-06-07 02:54:20 +0200 |
commit | 00d6d904dc26592553ba93710c205603757e3faf (patch) | |
tree | 09ce9d1f3257da4303362317b04a596f4e0df741 /roles/common/handlers | |
parent | ab03c7c75d91667dbc30f9ce1f66fe343fb9f93b (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')
-rw-r--r-- | roles/common/handlers/main.yml | 9 |
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 |