summaryrefslogtreecommitdiffstats
path: root/roles/bacula-dir/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'roles/bacula-dir/tasks')
-rw-r--r--roles/bacula-dir/tasks/main.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/bacula-dir/tasks/main.yml b/roles/bacula-dir/tasks/main.yml
index 1dd0683..f86d713 100644
--- a/roles/bacula-dir/tasks/main.yml
+++ b/roles/bacula-dir/tasks/main.yml
@@ -43,7 +43,7 @@
dest=/etc/stunnel/certs/
owner=root group=root
mode=0644
- with_items: groups['bacula-sd'] | difference([inventory_hostname]) | sort
+ with_items: "{{ groups['bacula-sd'] | difference([inventory_hostname]) | sort }}"
register: r2
notify:
- Restart stunnel
@@ -53,7 +53,7 @@
dest=/etc/stunnel/certs/
owner=root group=root
mode=0644
- with_items: groups.all | difference([inventory_hostname]) | sort
+ with_items: "{{ groups.all | difference([inventory_hostname]) | sort }}"
register: r3
notify:
- Restart stunnel