Check tty session for remote execution. Could explain why it worked when you were logged in. Possibly ansible is running mount command without tty. Check your settings for that user and see if they required to have tty to make remote calls such as mount.
On Mar 18, 2015 5:42 AM, "Florent B" <florent@xxxxxxxxxxx> wrote:
In fact, my problem is not related to Ansible.
For example, make a bash script :
#! /bin/bash
mountpoint /mnt/cephfs || mount /mnt/cephfs
And run it with "screen" : screen mount-me.sh
Directory is not mounted !
What is this ? :D
If you run the script without screen, all works fine !
Is there any kind of particular return system with ceph-fuse ?
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com