Refs #8025 Rol debian-base. bacula task - don´t restart if no changes

This commit is contained in:
Xavi Lleó 2024-10-15 15:58:24 +02:00
parent ce7f8503f1
commit 72e30fa606
1 changed files with 3 additions and 1 deletions

View File

@ -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 }}"
@ -46,3 +47,4 @@
service: service:
name: bacula-fd name: bacula-fd
state: restarted state: restarted
when: bacula_config.changed