Commit Graph

191 Commits (8030f6fd453063a8ef8a4fae255352219e00ebd7)

Author SHA1 Message Date
Toshio Kuratomi 8ce7348d52 Rename powershell versions of setup and slurp so they don't shadow the python versions of these modules.
This change goes along with https://github.com/ansible/ansible/02502c5727753d02819cb32b94dc2035b65d81a7
2016-12-08 11:23:35 -05:00
Chris Church 9ed0a5a920 * Update core modules to fix strict mode errors. * Also fix creates parameter issue in win_msi as described in https://github.com/ansible/ansible-modules-core/issues/129, slightly different fix from https://github.com/ansible/ansible-modules-core/pull/1482 * Fix setup.ps1 module issue described in https://github.com/ansible/ansible-modules-core/issues/1927 2016-12-08 11:23:34 -05:00
nitzmahone 51154a6991 added windows facts ansible_lastboot, ansible_uptime_seconds
switched OS object to Get-CimInstance since we need a DateTime object for lastbootuptime
2016-12-08 11:23:32 -05:00
Brian Lloyd e6ffb60855 Windows implementation of lineinfile and related documentation 2016-12-08 11:23:31 -05:00
Andrew Briening bd531f87bc Show the exception messages 2016-12-08 11:23:31 -05:00
Brian Coca 4856f78031 updated win_file version_added fixes #1893 2016-12-08 11:23:30 -05:00
Chris Church 1b6edab87c Add check mode support for Windows modules that don't modify the remote system. 2016-12-08 11:23:29 -05:00
Andrew Briening a886690309 Adds basic authentication & skip certificate validation to win_get_url module 2016-12-08 11:23:29 -05:00
Trond Hindenes 1ee2ddcbf4 updated win_feature.ps1 with improvements 2016-12-08 11:23:29 -05:00
brannon 824503fc19 Fix windows feature example to actually install IIS 2016-12-08 11:23:27 -05:00
Mike Putnam 9623cd570c Add missing GPLv3 License header
Fixes #1643
2016-12-08 11:23:25 -05:00
Chris Church d8f5a34d85 Save user after creating before trying to read/set other properties. Fixes #1241 2016-12-08 11:23:24 -05:00
Constantin 7a7b8b913a Added additional stat output values
Included in the output as well:
 - file extension
 - file attributes
 - file owner
 - creation, last access and last write timestamps (in UNIX format)
2016-12-08 11:23:24 -05:00
Chris Church 31a01305ba Set force=yes as the default, add force parameter to module docs. 2016-12-08 11:23:20 -05:00
Tal Auslander 8766641871 use ConvertTo-Bool for the force parameter 2016-12-08 11:23:19 -05:00
Tal Auslander 64f19fc4c6 stop reading from url on error 2016-12-08 11:23:19 -05:00
Tal Auslander 9c6d829991 add force parameter to win_get_url 2016-12-08 11:23:19 -05:00
Tal Auslander 26a54897a2 win_get_url re-download file only if modified 2016-12-08 11:23:19 -05:00
Matt Martz f33a8b09a9 Remove unnecessary imports in a docs only file for win_copy 2016-12-08 11:23:16 -05:00
Andreas Reischuck 3cc14a0a65 fixed win_file state=touch 2016-12-08 11:23:15 -05:00
Ian Clegg f9c294f1ad Added support for comma seperated feature names in the name parameter of the win_feature module 2016-12-08 11:23:13 -05:00
Jon Hawkesworth a00d86946d document file size limit for win_copy module 2016-12-08 11:23:10 -05:00
Greg DeKoenigsberg eb881d7d5d Proper author info for all remaining modules 2016-12-08 11:23:07 -05:00
Pepe Barbe 5dc322b911 Add OS architecture and OS name to the Windows setup module 2016-12-08 11:23:07 -05:00
Jon Hawkesworth c86ed93f67 remove include of files options only relevant to unix from win_file.py documentation 2016-12-08 11:23:06 -05:00
Brian Coca f66ed3a85e minor doc fixes on win_template 2016-12-08 11:23:06 -05:00
Jon Hawkesworth a9b77e8480 corrected version added which I got wrong while rebasing 2016-12-08 11:23:06 -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
Brian Coca 523b4d638e updated version added 2016-12-08 11:23:05 -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
Chris Church 9d0830a181 Change version added in win_user docs to 1.9 for updates that didn't make it into 1.8. 2016-12-08 11:22:34 -05:00
Jon Hawkesworth 44cc1a75ba Switched to SHA1 checksum instead of MD5 2016-12-08 11:22:32 -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
Chris Church ff193241b1 Minor win_user fixes based on feedback. 2016-12-08 11:22:30 -05:00
Chris Church 262624ca12 Update win_feature module to work on server 2008 and fail with error message on non-server windows, fix output messages and error handling. 2016-12-08 11:22:30 -05:00
Chris Church c81c192dcb Update win_user module to support more user options and group membership changes. 2016-12-08 11:22:30 -05:00
Michael DeHaan c7e9139a1b Fix filename error. 2016-12-08 11:22:22 -05:00
Michael DeHaan ef2a2b9093 package files 2016-12-08 11:22:22 -05:00
Michael DeHaan 213e518165 file extensions! 2016-12-08 11:22:22 -05:00
Michael DeHaan c7eec45b73 Restructuring. 2016-12-08 11:22:22 -05:00