Private
Public Access
2
0

First version in Galaxy

This commit is contained in:
2026-01-21 15:29:56 +03:00
parent ebe4f15c0f
commit b923810fe3
79 changed files with 235 additions and 299 deletions

View File

@@ -0,0 +1,23 @@
- name: Installation de NFS Common
ansible.builtin.apt:
name:
- "nfs-common"
- name: Création des points de montage
loop: "{{ nfs_client_mounts }}"
ansible.builtin.file:
path: "{{ item.mount_point }}"
state: "directory"
owner: "{{ item.owner }}"
group: "{{ item.group }}"
mode: "{{ item.mode | default('0750') }}"
- name: Mount filesystems
loop: "{{ nfs_client_mounts }}"
ansible.posix.mount:
path: "{{ item.mount_point }}"
src: "{{ item.server }}"
fstype: "nfs4"
opts: "{{ item.options | default('rw,sync,hard') }}"
state: "mounted"
boot: true