There is something wonky in the ansible directory logic here.

This commit is contained in:
Ralph Bean 2014-03-13 19:08:36 +00:00
parent 1f61dad229
commit 2847eda4dd

View file

@ -15,14 +15,10 @@
#notify:
#- remount? no idea...
- name: check if the mountdir directory already exists
file: path={{mountdir}} state=directory
register: result
- name: mount it up
mount: >
src=/etc/glusterfs/glusterfs.{{name}}.vol
state=mounted
fstype=glusterfs
name={{mountdir}}
when: result|changed
ignore_errors: True