separating out nfs_setup - conflict with hosts and vars_prompt when used with include_task

This commit is contained in:
Aritra Dalal
2026-04-20 23:43:08 +01:00
parent 908d7233fa
commit 77958ce155
4 changed files with 34 additions and 35 deletions

13
nfs_config.yml Normal file
View File

@@ -0,0 +1,13 @@
- name: setup_nfs_mount
hosts: all
become: true
vars_prompt:
- name: nfs_server
prompt: "Enter NFS Server IP or hostname"
private: no
- name: nfs_server_path
prompt: "Enter remote path on the NFS server (e.g. /exports/media)"
private: no
- name: nfs_client_path
prompt: "Enter local mount path (e.g. /mnt/media)"
private: no