aboutsummaryrefslogtreecommitdiff
path: root/roles/host/tasks/mounts.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/host/tasks/mounts.yml')
-rw-r--r--roles/host/tasks/mounts.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/roles/host/tasks/mounts.yml b/roles/host/tasks/mounts.yml
new file mode 100644
index 0000000..05ddcc0
--- /dev/null
+++ b/roles/host/tasks/mounts.yml
@@ -0,0 +1,9 @@
+- name: Manage mounts
+ ansible.posix.mount:
+ path: "{{ item.path }}"
+ src: "{{ item.src }}"
+ fstype: "{{ item.fstype }}"
+ opts: "{{ item.opts }}"
+ state: "{{ item.state }}"
+ loop: "{{ host_mounts }}"
+ when: host_mounts is defined