change:
msg:"Path exists and is a directory"
to:
msg: "Path exists and is a directory"
Missing space...
On Thursday, December 7, 2017 at 9:56:34 AM UTC-5, Bhautik K wrote:
>
> Looking for solution. I have write below yml for *if directory is exists
> or not* but getting below error. Could you p
Hi Smith,
Tried making space but still same error.
Regards,
Bhautik
On Thu, Dec 7, 2017 at 9:53 PM, Larry Smith wrote:
> change:
> msg:"Path exists and is a directory"
>
> to:
> msg: "Path exists and is a directory"
>
> Missing space...
>
>
> On Thursday, December 7, 2017 at 9:56:34 AM UTC-5,
On 07.12.2017 19:30, Bhautik karkar wrote:
Tried making space but still same error.
You have wrong indentation, the debug task as one space to much.
It need to be indented at the same level as the stat task.
--
Kai Stian Olstad
--
You received this message because you are subscribed to the
As @kai mentioned. Your indentation is off. Here is a workable playbook for
you https://gist.github.com/mrlesmithjr/039a7bccf342e456dc6f9cbb2474c995
On Thursday, December 7, 2017 at 1:30:27 PM UTC-5, Bhautik K wrote:
>
> Hi Smith,
>
> Tried making space but still same error.
>
>
> Regards,
> Bhau
Thanks Kai Stian Olstad,it's work but how we can identify small
syntax error ? Which editor is good to use for ansible ?
Regards,
Bhautik
On Fri, Dec 8, 2017 at 12:03 AM, Kai Stian Olstad <
ansible-project+l...@olstad.com> wrote:
> On 07.12.2017 19:30, Bhautik karkar wrote:
>
>>
>> Tried making