---
- name: testing win_get_url
hosts: all
tasks:
- name: Create Directory if not exist
win_file:
path: c:\temp
state: directory
TASK [Create Directory if not exist]
******************************************************************************************************************************************************************************
task path: /home/tony/windows/download.yml:5
Using module file
/usr/lib/python2.7/dist-packages/ansible/modules/windows/win_file.ps1
Pipelining is enabled.
<devsp2016> ESTABLISH WINRM CONNECTION FOR USER: adm-tkw@xxxxon PORT 5986
TO devsp2016
EXEC (via pipeline wrapper)
fatal: [devsp2016]: FAILED! => {
"changed": false,
"msg": "path c:\\temp is not a directory"
any idea why I cannot create the directory?
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/CALmkhkpu7K4k0u27d3kXtNtAziRfXztXKM8e%3DggoqwhaShCtuw%40mail.gmail.com.