Change mounting options
This commit is contained in:
parent
f48fa3d874
commit
89751a3125
|
@ -22,15 +22,13 @@
|
|||
loop:
|
||||
- /dev/mapper/{{ hdd_name }}
|
||||
- /dev/mapper/{{ ssd_name }}
|
||||
when: ansible_mounts | selectattr('device', 'eq', item) | length == 0
|
||||
|
||||
- name: Mount filesystems
|
||||
ansible.posix.mount:
|
||||
src: "{{ item.dev }}"
|
||||
path: "{{ item.path }}"
|
||||
fstype: ext4
|
||||
fstab: /tmp/fstab.ansible
|
||||
state: mounted
|
||||
state: ephemeral
|
||||
loop:
|
||||
- dev: /dev/mapper/{{ hdd_name }}
|
||||
path: "{{ hdd_mount_point }}"
|
||||
|
|
Reference in a new issue