library/roles/data_disk/tasks/main.yml: Make the tasks ansible 2 compliant.

This commit is contained in:
Andrea Dell'Amico 2016-03-01 17:24:22 +01:00
parent b0aebf0e6f
commit 4f911c74d8
1 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@
- name: Manage the additional file systems
mount: name={{ item.mountpoint }} src=/dev/{{ item.device }} fstype={{ item.fstype }} opts={{ item.opts }} state={{ item.state }}
with_items: disks_and_mountpoints_list
with_items: '{{ disks_and_mountpoints_list }}'
when: additional_disks
tags: [ 'data_disk', 'mountpoint' ]