Refs #8025 Rol debian-base. bacula task - don´t restart if no changes
This commit is contained in:
parent
ce7f8503f1
commit
72e30fa606
|
@ -28,6 +28,7 @@
|
|||
group: bacula
|
||||
mode: u=rw,g=r,o=
|
||||
backup: true
|
||||
register: bacula_config
|
||||
- name: Configure master cert
|
||||
copy:
|
||||
content: "{{ master_cert_content }}"
|
||||
|
@ -45,4 +46,5 @@
|
|||
- name: Restart Bacula FD service
|
||||
service:
|
||||
name: bacula-fd
|
||||
state: restarted
|
||||
state: restarted
|
||||
when: bacula_config.changed
|
Loading…
Reference in New Issue