Migrate the code for mount_device
This commit is contained in:
9
roles/mount_device/tasks/main.yml
Normal file
9
roles/mount_device/tasks/main.yml
Normal file
@@ -0,0 +1,9 @@
|
||||
---
|
||||
- name: "Mount devices"
|
||||
with_items: "{{ devices }}"
|
||||
ansible.posix.mount:
|
||||
fstype: "{{ item.fstype }}"
|
||||
path: "{{ item.where }}"
|
||||
src: "{{ item.what }}"
|
||||
opts: "{{ item.opts | join(',') }}"
|
||||
state: "{{ item.state }}"
|
||||
Reference in New Issue
Block a user