From 1b92c2871ca3f7dbc0b953b6d36cc7d931c2630d Mon Sep 17 00:00:00 2001
From: Jafar Lie <jafar.lie@monash.edu>
Date: Wed, 11 Mar 2020 15:05:32 +1100
Subject: [PATCH] install nfs-client for ubuntu nodes

---
 roles/nfs-client/tasks/main.yml | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/roles/nfs-client/tasks/main.yml b/roles/nfs-client/tasks/main.yml
index 1a3ea5fd..23ac6d08 100644
--- a/roles/nfs-client/tasks/main.yml
+++ b/roles/nfs-client/tasks/main.yml
@@ -15,4 +15,13 @@
     - nfs-utils-lib
   when: ansible_os_family == "RedHat" and ansible_distribution_major_version < "7"
 
+- name: install dependencies nfs-common ubuntu
+  apt:
+    name: nfs-common
+    state: present
+    update_cache: yes
+  become: true
+  become_user: root
+  when: ansible_distribution == 'Ubuntu'
+
 - include: mountFileSystem.yml
-- 
GitLab