vn-ansible/roles/debian-base/tasks/bacula.yml

21 lines
458 B
YAML

- name: Install Bacula FD packages
apt:
name: bacula-fd
state: present
- name: Load Bacula default passwords
slurp:
src: /etc/bacula/common_default_passwords
register: bacula_passwords
- name: Configure Bacula FD
template:
src: bacula-fd.conf
dest: /etc/bacula/bacula-fd.conf
owner: root
group: bacula
mode: '0640'
backup: true
- name: Restart Bacula FD service
service:
name: bacula-fd
state: restarted