Toshio Kuratomi
20b9ca6e7c
Rename original_basename parameter in various file-related modules
...
original_basename is a private internal parameter so name it
_original_basename to reflect that it is internal.
2018-05-17 15:24:56 -07:00
Jordan Borean
d6eb642e88
win_template: fix issue where dest was specified as a directory ( #39887 )
2018-05-15 09:59:51 +10:00
Jordan Borean
4b57fa91d0
win_file: Handle [] in paths, fix touch in check mode ( #37901 )
...
* win_file: Handle [] in paths, fix touch in check mode
* Fixed typo for p/invoke command
2018-04-27 07:57:16 +10:00
Matt Davis
0c34cdd0f7
fix #Requires to be valid in real Powershell ( #31858 )
...
* module_utils #Requires should not have .psm1 extension if "real" Powershell will ever execute them
* updated validate-modules to enforce this
* added check to disallow multi-module syntax on Ansible.ModuleUtils #Requires
2017-10-23 11:40:54 -07:00
Dag Wieers
229a86c952
win_file: Fix check-mode issue removing dirs ( #30475 )
...
This fixed #30442
2017-09-19 06:43:49 +10:00
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