From 9dba7220b089a329c24998d8d7456387ec39a04d Mon Sep 17 00:00:00 2001
From: Simon Michnowicz <simon.michnowicz@monash.edu>
Date: Tue, 7 Jun 2016 16:39:30 +1000
Subject: [PATCH] white space around mount commands removed as this broke my
 test cluster

---
 roles/nfs-client/tasks/mountFileSystem.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/roles/nfs-client/tasks/mountFileSystem.yml b/roles/nfs-client/tasks/mountFileSystem.yml
index 1e5c7e99..76506d50 100644
--- a/roles/nfs-client/tasks/mountFileSystem.yml
+++ b/roles/nfs-client/tasks/mountFileSystem.yml
@@ -10,7 +10,7 @@
   when: nfsMounts is defined
 
 - name: "Mounting NFS mounts"
-  mount: name={{ item.name }} src="{{ item.ipv4 }}:{{ item.src }} " fstype={{ item.fstype }} opts={{ item.opts }} state=mounted
+  mount: name={{ item.name }} src="{{ item.ipv4 }}:{{ item.src }}" fstype={{ item.fstype }} opts={{ item.opts }} state=mounted
   with_items: "{{ nfsMounts }}"
   notify: "restart rpcbind"
   notify: "restart idmap"
@@ -25,7 +25,7 @@
   when: firstMount | failed
 
 - name: "Mounting NFS mounts after failure"
-  mount: name={{ item.name }} src=" {{ item.ipv4 }}:{{ item.src }} " fstype={{ item.fstype }} opts={{ item.opts }} state=mounted
+  mount: name={{ item.name }} src="{{ item.ipv4 }}:{{ item.src }}" fstype={{ item.fstype }} opts={{ item.opts }} state=mounted
   with_items: "{{ nfsMounts }}"
   notify: "restart idmap"
   notify: "restart rpcbind"
-- 
GitLab