From a9dc976c98c3c11b79cf5e05e179d823f931ea4e Mon Sep 17 00:00:00 2001 From: Roei Dalmedigos Date: Sat, 22 Mar 2025 15:46:57 +0200 Subject: [PATCH] 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. --- roles/prereq/tasks/main.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/roles/prereq/tasks/main.yml b/roles/prereq/tasks/main.yml index 9161f7b..bc02e20 100644 --- a/roles/prereq/tasks/main.yml +++ b/roles/prereq/tasks/main.yml @@ -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