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
|
group: bacula
|
||||||
mode: u=rw,g=r,o=
|
mode: u=rw,g=r,o=
|
||||||
backup: true
|
backup: true
|
||||||
|
register: bacula_config
|
||||||
- name: Configure master cert
|
- name: Configure master cert
|
||||||
copy:
|
copy:
|
||||||
content: "{{ master_cert_content }}"
|
content: "{{ master_cert_content }}"
|
||||||
|
@ -45,4 +46,5 @@
|
||||||
- name: Restart Bacula FD service
|
- name: Restart Bacula FD service
|
||||||
service:
|
service:
|
||||||
name: bacula-fd
|
name: bacula-fd
|
||||||
state: restarted
|
state: restarted
|
||||||
|
when: bacula_config.changed
|
Loading…
Reference in New Issue