From 3092d934aedf4a65effc1ac961d98ec4250472a0 Mon Sep 17 00:00:00 2001
From: Chris Hines <chris.hines@monash.edu>
Date: Sun, 30 Nov 2014 22:49:13 +0000
Subject: [PATCH] move the task of setting up idpam to the nfs-common role
 rather than the ldap role

---
 roles/nfs-common/tasks/main.yml                               | 4 ++++
 roles/{openLdapClient => nfs-common}/templates/idmapd.conf.j2 | 0
 2 files changed, 4 insertions(+)
 rename roles/{openLdapClient => nfs-common}/templates/idmapd.conf.j2 (100%)

diff --git a/roles/nfs-common/tasks/main.yml b/roles/nfs-common/tasks/main.yml
index c7e34d16..5f1757d5 100644
--- a/roles/nfs-common/tasks/main.yml
+++ b/roles/nfs-common/tasks/main.yml
@@ -1,2 +1,6 @@
 ---
 - include: yumPackages.yml
+
+- name: setup idmap.conf
+  template: src=idmap.conf.j2 dest=/etc/idmap.conf
+  sudo: true
diff --git a/roles/openLdapClient/templates/idmapd.conf.j2 b/roles/nfs-common/templates/idmapd.conf.j2
similarity index 100%
rename from roles/openLdapClient/templates/idmapd.conf.j2
rename to roles/nfs-common/templates/idmapd.conf.j2
-- 
GitLab