Please find my YAML below
*******************************************************
---
- hosts: all
vars:
tasks:
- name: Save the result of 'whoami' in 'whoami_out'
win_command: groovy c:\AnsibletestWorkspace\deploy_latest.groovy
register: whoami_out
************************************************************************************************
It adds an additional
slash(c:\\AnsibleMaximoWorkspace\\deploy_latest.groovy) to the windows path
the tell cannot find the path specified. I tried with backslash then it's
not add the double slash but still trown the error path to the file not
found.
I tried all the different combinations for specfy the path but no luck.
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/f34a8b64-a5ac-49a8-9918-e425d45ec44b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.