There is something wonky in the ansible directory logic here.
This commit is contained in:
parent
1f61dad229
commit
2847eda4dd
1 changed files with 1 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue