Commit a8756085 by Jocelyn Delalande

cifs-client: Fix ansible syntax

With ansible >= 2.0
parent c7994cfe
......@@ -7,7 +7,7 @@
dest: "/etc/fstab.{{ item.name }}.creds"
mode: 0600
owner: root
with_items: cifs_mounts
with_items: "{{ cifs_mounts }}"
- name: Ensure CIFS mount is present
mount:
......@@ -16,4 +16,4 @@
fstype: cifs
opts: "credentials=/etc/fstab.{{ item.name }}.creds,iocharset=utf8,uid={{ item.localuser }},gid={{ item.localgroup }}"
state: mounted
with_items: cifs_mounts
with_items: "{{ cifs_mounts }}"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment