Commit graph

99 commits

Author SHA1 Message Date
Phil
3db78457ce merge devel 2015-06-25 19:51:05 -05:00
Brian Coca
cf273bbaeb Merge pull request #1557 from jhawkesworth/win_copy_limitation_documentation
document file size limit for win_copy module
2015-06-19 10:09:07 -04:00
Brian Coca
dd0cc9d611 Merge pull request #1100 from elventear/win_setup
Add OS architecture and OS name to the Windows setup module
2015-06-19 09:30:57 -04:00
Jon Hawkesworth
93c2f9245a document file size limit for win_copy module 2015-06-19 08:52:43 +01:00
Greg DeKoenigsberg
2a5f0bde87 Proper author info for all remaining modules 2015-06-15 15:53:30 -04:00
Brian Coca
f7bcb3e9b7 Merge pull request #1504 from jhawkesworth/fix_win_file_doc_error
documentation: remove include of files options only relevant to unix from win_file.py
2015-06-11 14:14:16 -04:00
Jon Hawkesworth
d6696aca9f remove include of files options only relevant to unix from win_file.py documentation 2015-06-11 18:44:31 +01:00
Brian Coca
2c8b765cf0 minor doc fixes on win_template 2015-06-11 11:35:49 -04:00
Jon Hawkesworth
5e500c6464 corrected version added which I got wrong while rebasing 2015-06-10 18:53:22 +01:00
Jon Hawkesworth
4c917d47fc Fix win_copy problems described here: https://github.com/ansible/ansible-modules-core/issues/1404
and update documentation.
2015-06-10 18:44:55 +01:00
Brian Coca
16ba1fc0e9 updated version added 2015-06-10 11:08:29 -04:00
James Cammarata
b5399d3446 Re-reverting windows modules PR #384 2015-05-22 13:28:24 -05:00
schwartzmx
1f55b45edd updates win_msi to allow install to wait
- adds additional wait param
- updates to use Start-Process to allow -Wait
	- this will wait for install/uninstall to complete before continue
2015-04-07 21:28:47 -05:00
Pepe Barbe
fb7ff9271a Add OS architecture and OS name to the Windows setup module 2015-04-06 23:25:29 -05:00
Brian Coca
9d196f7b47 Merge pull request #535 from bcoca/revert_win_mods
Revert "Merge pull request #384
2014-12-24 08:42:02 -05:00
Chris Church
0a297e54ba Change version added in win_user docs to 1.9 for updates that didn't make it into 1.8. 2014-12-19 03:07:47 -05:00
Brian Coca
a942e5f853 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 58bfebb047, reversing
changes made to 27dee77ca0.
2014-12-17 12:48:01 -05:00
Toshio Kuratomi
51ed13b887 Fix documentation build 2014-12-16 11:50:41 -08:00
Brian Coca
54b836f0b8 Merge pull request #89 from cchurch/win_feature_updates
Updates to win_feature module
2014-12-15 20:15:13 -05:00
Brian Coca
58bfebb047 Merge pull request #384 from jhawkesworth/win_copy_file_template_ansible_modules_core_1
Win copy/file/template modules (for ansible-modules-core)
2014-12-15 20:10:18 -05:00
Jon Hawkesworth
08c5cc06c6 Switched to SHA1 checksum instead of MD5 2014-12-11 21:50:17 +00:00
Jon Hawkesworth
732491eb93 Adding first pass at win_copy, win_file and win_template modules (include new files). 2014-12-11 21:50:17 +00:00
Jon Hawkesworth
2e60425b71 Adding first pass at win_copy, win_file and win_template modules. 2014-12-11 21:50:17 +00:00
Chris Church
07faee61de Minor win_user fixes based on feedback. 2014-11-24 00:43:55 -05:00
Chris Church
c9f8dcff99 Update win_feature module to work on server 2008 and fail with error message on non-server windows, fix output messages and error handling. 2014-09-30 16:41:34 -04:00
Chris Church
3a40d79cff Update win_user module to support more user options and group membership changes. 2014-09-30 11:51:05 -04:00
Michael DeHaan
617a52b20d Fix filename error. 2014-09-26 17:06:31 -04:00
Michael DeHaan
385a037cd6 package files 2014-09-26 11:05:47 -04:00
Michael DeHaan
c8e1a2077e file extensions! 2014-09-26 10:37:56 -04:00
Michael DeHaan
417309a626 Restructuring. 2014-09-26 10:13:26 -04:00
Michael DeHaan
73123b69fa Move modules into subdirectory. 2014-09-26 09:23:50 -04:00
Jon Hawkesworth
f8a5ddb9fd This change selects the certificate from the winrm configuration and attempts to find the expiry date from that.
Trond Hindenes pointed out that simply picking the first certificate from local computer certs is not guaranteed to select the correct certificate.
2014-09-01 21:22:18 +01:00
Jon Hawkesworth
a098882fb9 Added null check in case http connection used and no cert found. 2014-08-31 16:20:50 +01:00
Trond Hindenes
9aa6c44473 All changes referenced in PRs #8767 , #8768 , #8769 :
This changes the get-attr function slightly, and lets the module specify whether a param is needed and auto-fails if it is not present. A module can now verify params like so::
 $params = Parse-Args $args;
 $result = New-Object psobject;
 Set-Attr $result "changed" $false;
 $path = Get-Attr -obj $params -name path -failifempty $true -resultobj $result

or

$params = Parse-Args $args;
 $result = New-Object psobject;
 Set-Attr $result "changed" $false;
 $path = Get-Attr -obj $params -name path -failifempty $true -emptyattributefailmessage "Oh man. You forgot the main part!" -resultobj $result

slight tweak in how the powershell module converts to json in order to support nested objects (allows for more complex facts, among others)

This script gathers some extended facts on windows hosts in a json array attribute called "ansible_interfaces". This info is needed for some network-related modules I'm working on. Required the update to powershell.ps1 to return deeply nested json objects.
2014-08-29 10:39:42 +02:00
Chris Church
1b6ef9aa2e Replace Get-FileHash with MD5 code that works on PowerShell 3. 2014-08-28 01:42:22 -04:00
Michael DeHaan
71786bbdc8 Merge pull request #8227 from trondhindenes/win_setup_improvements
win_setup improvements: Correcly outputs ansible_totalmem
2014-08-08 12:42:41 -04:00
Trond Hindenes
fc26601981 win_setup improvements: Correcly outputs ansible_totalmem on computers with multiple ram chips 2014-07-22 01:38:46 +02:00
Trond Hindenes
ba507553b0 Better result handling 2014-07-10 12:00:00 +02:00
Trond Hindenes
8e16962596 improvements to win_feature 2014-07-08 18:04:12 +02:00
Chris Church
042d5b761d Return service name, display name, start mode and state from win_service module. 2014-07-02 08:12:40 -04:00
Michael DeHaan
f777471337 Merge pull request #7889 from chrishoffman/win_group
Adding win_group module
2014-06-22 11:26:27 -05:00
Chris Hoffman
da7c617ad3 Adding win_group module 2014-06-22 09:01:04 -04:00
Chris Hoffman
3a3a285d96 Fixing bug with stopped state 2014-06-21 22:01:02 -04:00
Chris Hoffman
24ad45c8e6 Better propagation of cmdlet errors 2014-06-21 21:59:53 -04:00
Chris Hoffman
0f2c5a3472 Using generic windows service for example 2014-06-21 21:58:26 -04:00
Michael DeHaan
4e153c7584 Merge pull request #7881 from cchurch/devel
Fix typo in powershell setup module.
2014-06-21 11:31:35 -05:00
Chris Hoffman
3000614930 Adding win_service module 2014-06-21 12:04:11 -04:00
Chris Church
1780cd6fda Fix typo in powershell setup module. 2014-06-21 10:27:43 -04:00
Simon Olofsson
73c4cb4c07 win_feature: Fix Description. 2014-06-20 17:14:36 +02:00
Paul Durivage
eba5e34641 Check .GetType rather than object directly 2014-06-19 16:41:24 -05:00