Daniel Petty
a4e6e6e2ef
fixed $source null check, reference to $Params
...
$source check causes:
FAILED! => {"changed": false, "failed": true, "msg": "A parameter cannot be found that matches parameter name 'Source'."}
$Params.Remove causes:
FAILED! => {"changed": false, "failed": true, "msg": "Method invocation failed because [System.Management.Automation.PSCustomObject] does not contain a method named 'Remove'."}
2016-05-25 17:00:12 -06:00
Trond Hindenes
3cb70ebc9d
bugfix win_feature.ps1
2016-01-08 14:56:42 +01:00
Trond Hindenes
0cfffa5dbe
Add source as optional parameter
2016-01-07 19:36:32 +01:00
Chris Church
323a14808f
Revert "Improvements to win_feature"
2015-09-17 14:44:36 -04:00
James Cammarata
78e756b05d
Merge pull request #1564 from trondhindenes/win_features_improvements_v2
...
Improvements to win_feature
2015-09-17 11:25:07 -04:00
Chris Church
1d074d43aa
* 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
2015-08-22 19:01:11 -04:00
Trond Hindenes
aa834fe1c1
updated win_feature.ps1 with improvements
2015-06-22 08:06:48 +00:00
Ian Clegg
bdc28a6bb3
Added support for comma seperated feature names in the name parameter of the win_feature module
2015-03-20 10:34:36 +00: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
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
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
Paul Durivage
8b0cc1a87b
Add comments
2014-06-19 14:26:37 -05:00
Paul Durivage
ebbf356b30
Add restart functionality
2014-06-19 14:26:36 -05:00
Paul Durivage
a8dff668dd
Renaming and refactoring of names, variables
2014-06-19 14:26:36 -05:00
Paul Durivage
e0f618b27a
Remove unnecessary obj
2014-06-19 14:26:10 -05:00
Paul Durivage
c218a125bb
Fix variable reference
2014-06-19 14:25:50 -05:00
Paul Durivage
c83e5d0890
Ensure state is present if no value provided
2014-06-19 14:25:50 -05:00
Paul Durivage
03526456fa
Fix logic to ensure state is either present or absent
2014-06-19 14:25:49 -05:00
Paul Durivage
376d1cc0a4
Add prelim version of win_feature module (for installing packages, roles, features, etc)
2014-06-19 14:25:49 -05:00