library/roles/data_disk/tasks/main.yml: Make the tasks ansible 2 compliant.
This commit is contained in:
parent
b0aebf0e6f
commit
4f911c74d8
|
@ -9,8 +9,8 @@
|
|||
|
||||
- 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' ]
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue