[ansible-project] Re: How to check if the current user has write access to a given path ?

2016-07-31 Thread ishan jain
Directly it didn't help me. What i did is a 3 step process - create a folder with timestamp in name (for uniqueness), check if it was created and then delete it. On Friday, 29 July 2016 00:02:40 UTC+5:30, Alli wrote: > > Would stat achieve this for you? > > http://docs.ansible.com/ansible/stat_

[ansible-project] Re: How to check if the current user has write access to a given path ?

2016-07-28 Thread Alli
Would stat achieve this for you? http://docs.ansible.com/ansible/stat_module.html On Thursday, 28 July 2016 21:36:56 UTC+12, ishan jain wrote: > > I am trying to check via Ansible that whether the user (being used to > connect) has write access to a given path - both on *linux hosts and > wind