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:
|
#notify:
|
||||||
#- remount? no idea...
|
#- remount? no idea...
|
||||||
|
|
||||||
- name: check if the mountdir directory already exists
|
|
||||||
file: path={{mountdir}} state=directory
|
|
||||||
register: result
|
|
||||||
|
|
||||||
- name: mount it up
|
- name: mount it up
|
||||||
mount: >
|
mount: >
|
||||||
src=/etc/glusterfs/glusterfs.{{name}}.vol
|
src=/etc/glusterfs/glusterfs.{{name}}.vol
|
||||||
state=mounted
|
state=mounted
|
||||||
fstype=glusterfs
|
fstype=glusterfs
|
||||||
name={{mountdir}}
|
name={{mountdir}}
|
||||||
when: result|changed
|
ignore_errors: True
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue