summaryrefslogtreecommitdiffstats
path: root/roles/bacula-dir
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2016-03-02 21:36:31 +0100
committerGuilhem Moulin <guilhem@fripost.org>2016-03-02 21:38:37 +0100
commit59eb4f8df3ac8c58c28b2068678e1ce97dd58b6d (patch)
tree2e8e22cf8bcf90ec4fb188bb46dfe700cff69396 /roles/bacula-dir
parent9f8644f96e3226e7792a5db73ea7c35dfa09c13e (diff)
Ansible: Using bare variables is deprecated, and will be removed in a future release.
Diffstat (limited to 'roles/bacula-dir')
-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