aboutsummaryrefslogtreecommitdiff
path: root/roles/host/tasks/mounts.yml
diff options
context:
space:
mode:
authorspmfox <spmfox@foxwd.com>2025-04-15 15:00:52 -0400
committerspmfox <spmfox@foxwd.com>2025-04-15 15:00:52 -0400
commit33af7561882425e6e1a2d3ed56e46f2c5a10033f (patch)
treecdac4a3e31162c5f75d7517d14c246289a34edf4 /roles/host/tasks/mounts.yml
parent422bc9712219fdd4d4719fc98218c76c2a7e86bc (diff)
support for remote jobs, support for more host config, quadlet logic tweaking
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