Andrea Scarpino
c80d696cec
win_file: fix error when creating an existing dir ( #19070 )
...
If something else created the dir New-Item will throw an exception and
the task will fail. Check the existing file and as long as it's a dir,
we don't need to error out.
2017-03-17 09:33:57 -07:00
Dag Wieers
58cbf1bfe0
Implemented -WhatIf:$check_mode support ( #21628 )
2017-02-23 23:10:25 -08:00
Jordan Borean
1c885cb848
Added fix for win_file with broken symlinks ( #19146 )
2017-02-08 18:49:49 -08:00
jhawkesworth
2c70450e23
Fix 'touch' mode so it creates zero size files. ( #20876 )
2017-02-03 13:36:47 +01:00
Dag Wieers
802fbcadf8
win_file: Add check-mode support ( #20671 )
...
Also a small cleanup
2017-01-27 15:44:16 -08:00
Matt Davis
2c216cdf35
fix JSON junk in win_file state=directory case ( #5427 )
2016-12-08 11:25:24 -05:00
nitzmahone
60ca6e2f85
fix win_file to stop on errors
2016-12-08 11:23:56 -05:00
jhawkesworth@users.noreply.github.com
183430628b
Fix for ansible modules core 2147
2016-12-08 11:23:40 -05:00
Andreas Reischuck
3cc14a0a65
fixed win_file state=touch
2016-12-08 11:23:15 -05:00
Jon Hawkesworth
5b6195e613
Fix win_copy problems described here: https://github.com/ansible/ansible-modules-core/issues/1404 and update documentation.
2016-12-08 11:23:06 -05:00
James Cammarata
3e72a0657d
Re-reverting windows modules PR #384
2016-12-08 11:23:01 -05:00
Brian Coca
abdb1afa0a
Revert "Merge pull request #384 from jhawkesworth/win_copy_file_template_ansible_modules_core_1" I missed some discussion in devel, these need more work before inclusion
...
This reverts commit 58bfebb0477adda2a676381850038e0abf8c8f00, reversing
changes made to 27dee77ca0449bdb338b2db89e044d1d9b553b4a.
2016-12-08 11:22:34 -05:00
Jon Hawkesworth
67def35795
Adding first pass at win_copy, win_file and win_template modules (include new files).
2016-12-08 11:22:32 -05:00