feat(prereq): add installation tasks for libnfs-utils and nfs-common

This commit introduces tasks to install `libnfs-utils` and `nfs-common` using the apt package manager, ensuring they are present and the package cache is updated.
This commit is contained in:
Roei Dalmedigos 2025-03-22 15:46:57 +02:00
parent 422621c69c
commit a9dc976c98
1 changed files with 12 additions and 0 deletions

View File

@ -67,3 +67,15 @@
path: /etc/sudoers
validate: visudo -cf %s
when: ansible_os_family in [ "RedHat", "Suse" ]
- name: install libnfs-utils
apt:
name: libnfs-utils
state: present
update_cache: true
- name: install nfs-common
apt:
name: nfs-common
state: present
update_cache: true