Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE3
/
ansible
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
7b102ce3
authored
Nov 02, 2025
by
Szeberényi Imre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nfs-client
parent
cfe87ea6
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
34 additions
and
0 deletions
+34
-0
.gitignore
+1
-0
roles/nfs-client/defauls/main.yml
+13
-0
roles/nfs-client/task/main.yml
+15
-0
roles/nfs-client/vars/Debian.yml
+5
-0
No files found.
.gitignore
View file @
7b102ce3
...
...
@@ -21,6 +21,7 @@ vault_pass.txt
roles/*/
!roles/common/
!roles/monitor-client/
!roles/nfs-client/
# Lokális futtatási állományok
.ansible/
...
...
roles/nfs-client/defauls/main.yml
0 → 100644
View file @
7b102ce3
# Basse settings
nfs_client_enable_automount
:
true
# systemd automount használata
nfs_client_manage_fstab
:
true
# /etc/fstab kezelése
# mounts
nfs_client_mounts
:
[]
# - src: 10.0.0.5:/export/data
# path: /mnt/data
# fstype: nfs4
# opts: rw,_netdev,noatime
# state: mounted # mounted|present|unmounted|absent
# automount_timeout: 60 # másodperc, csak automountnál
roles/nfs-client/task/main.yml
0 → 100644
View file @
7b102ce3
-
name
:
Include OS-specific vars
ansible.builtin.include_vars
:
"
{{
item
}}"
with_first_found
:
-
"
{{
ansible_os_family
}}.yml"
-
name
:
Install NFS client packages
ansible.builtin.package
:
name
:
"
{{
nfs_client_packages
}}"
state
:
present
-
name
:
Ensure rpcbind is enabled and running (needed for NFSv3)
ansible.builtin.systemd
:
name
:
rpcbind
state
:
started
enabled
:
true
roles/nfs-client/vars/Debian.yml
0 → 100644
View file @
7b102ce3
# Debian
nfs_client_packages
:
-
nfs-common
-
rpcbind
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment