From 1a77c97a3a2122119f5aa0db88f1bcfa1c0caf5d Mon Sep 17 00:00:00 2001
From: Chris Hines <chris.hines@monash.edu>
Date: Wed, 12 Aug 2015 06:37:41 +0000
Subject: [PATCH] I think these are the depenencies for a CentOS 7 node to be
 an NFS client

---
 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 e1512485..799e9da4 100644
--- a/roles/nfs-client/tasks/main.yml
+++ b/roles/nfs-client/tasks/main.yml
@@ -1,2 +1,11 @@
 ---
+- name: install dependencies
+  yum: name={{ item }} state=installed
+  sudo: true
+  with_items:
+    - libnfsidmap 
+    - nfs-utils
+    - nfs-utils-lib
+  when: ansible_os_family == "RedHat" and ansible_distribution_major_version == "7"
+
 - include: mountFileSystem.yml
-- 
GitLab