ansible/roles/mounts/tasks/mountpoint.yml

16 lines
299 B
YAML
Raw Permalink Normal View History

2022-09-20 13:51:20 +02:00
---
- name: create mountpoint directory
file:
path: "{{ item.path }}"
state: directory
- name: create mountpoint
mount:
path: "{{ item.path }}"
src: "{{ item.src }}"
fstype: "{{ item.fstype }}"
opts: "{{ item.opts }}"
passno: "{{ item.passno }}"
state: mounted