Skip to content

Commit

Permalink
chore: small syntax changes tasks/main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
adf-patrickha committed Jul 18, 2024
1 parent 9e1f021 commit 639720f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,12 +106,14 @@
loop: "{{ bareos_sd_s3_profiles }}"
loop_control:
label: "{{ item.name }}"
when:
- bareos_sd_s3_profiles | length > 0
notify:
- Check configuration
- Restart bareos-sd

- name: Start bareos-sd
- name: Start and enable bareos-sd service
ansible.builtin.service:
name: bareos-sd
state: started
enabled: yes
enabled: true

0 comments on commit 639720f

Please sign in to comment.