Migrate the code for mount_device

This commit is contained in:
Alexander Gorelyshev
2025-12-04 11:57:29 +04:00
parent 7270684562
commit 008505079e
11 changed files with 149 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
---
- name: "Mount devices"
with_items: "{{ devices }}"
ansible.posix.mount:
fstype: "{{ item.fstype }}"
path: "{{ item.where }}"
src: "{{ item.what }}"
opts: "{{ item.opts | join(',') }}"
state: "{{ item.state }}"