mirror of
https://github.com/dredx/prole.git
synced 2026-09-24 15:04:31 +00:00
15 lines
345 B
YAML
15 lines
345 B
YAML
---
|
|
- name: Ensure mountpoint exists
|
|
ansible.builtin.file:
|
|
path: "{{ m.path }}"
|
|
state: directory
|
|
mode: "0755"
|
|
|
|
- name: Mount {{ m.path }}
|
|
ansible.builtin.mount:
|
|
path: "{{ m.path }}"
|
|
src: "{{ m.src }}"
|
|
fstype: "{{ m.fstype | default('ext4') }}"
|
|
opts: "{{ m.opts | default('_netdev,noatime') }}"
|
|
state: mounted
|