summaryrefslogtreecommitdiffstats
path: root/roles/common/tasks/bacula.yml
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2017-05-31 17:39:57 +0200
committerGuilhem Moulin <guilhem@fripost.org>2017-05-31 17:39:57 +0200
commite136d3edbdb6749d4559939dc9fcbc11d166e34c (patch)
tree36e051f5675b003c38bac4fc6eec738698125437 /roles/common/tasks/bacula.yml
parent789f4f2e1b01873b200b973584d1501ba32e3bfd (diff)
/lib/systemd/system → /etc/systemd/system
Diffstat (limited to 'roles/common/tasks/bacula.yml')
-rw-r--r--roles/common/tasks/bacula.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/common/tasks/bacula.yml b/roles/common/tasks/bacula.yml
index 35666bd..73a2fa1 100644
--- a/roles/common/tasks/bacula.yml
+++ b/roles/common/tasks/bacula.yml
@@ -38,35 +38,35 @@
--privkey=/etc/bacula/ssl/{{ inventory_hostname_short }}.pem
--ou=BaculaFD --cn={{ inventory_hostname }} --dns={{ inventory_hostname }}
-t rsa -b 4096 -h sha512
register: r
changed_when: r.rc == 0
failed_when: r.rc > 1
notify:
- Restart bacula-fd
tags:
- genkey
- name: Copy the master public key for data encryption
copy: src=certs/bacula/data-master.pem
dest=/etc/bacula/ssl/master.pem
owner=root group=root
mode=0644
tags:
- genkey
- name: Copy bacula-fd.service
- copy: src=lib/systemd/system/bacula-fd.service
- dest=/lib/systemd/system/bacula-fd.service
+ copy: src=etc/systemd/system/bacula-fd.service
+ dest=/etc/systemd/system/bacula-fd.service
owner=root group=root
mode=0644
notify:
- systemctl daemon-reload
- Restart bacula-fd
- meta: flush_handlers
- name: Enable bacula-fd
service: name=bacula-fd enabled=yes
- name: Start bacula-fd
service: name=bacula-fd state=started