Commit Graph

84 Commits (6f2b61d2d88294ea7938020183ea613b7e5e878d)

Author SHA1 Message Date
Ernst Kuschke 3761052597 Allow any custom chocolatey source
This is to allow for a local source (for instance in the form of artifactory)
10 years ago
Brian Coca e5d59d2014 Merge pull request #494 from jhawkesworth/set_windows_environment_variables
Set windows environment variables
10 years ago
Toshio Kuratomi 88eff11c04 Many more doc fixes 10 years ago
Jon Hawkesworth ccd9a4eb6a Update attribution 10 years ago
Jon Hawkesworth 44fa32f2dc Add win_environment module 10 years ago
Greg DeKoenigsberg efd307903c Adding author's github id 10 years ago
Greg DeKoenigsberg 8ec8cd182a Adding author's github id 10 years ago
Greg DeKoenigsberg 9a1e35e1db Adding author's github id 10 years ago
Brian Coca 24734db807 corrected version added 10 years ago
net 33585d14a3 package file 10 years ago
Brian Coca b5a0d10925 changed to use ansible standard 'name' instead of 'package' 10 years ago
Toshio Kuratomi 19e688b017 Fixes to documentation 10 years ago
Brian Coca 12e419bb4b Merge pull request #37 from petemounce/chocolatey
win_chocolatey: Windows package management with Chocolatey
10 years ago
Peter Mounce 9fb500480b Windows package management with Chocolatey 10 years ago
Peter Mounce 7f2732782d Add module to install windows updates
Supports specifying which category to install all updates from.
NEEDS: `choco install PSWindowsUpdate` beforehand - does not attempt to install it (or detect it's missing, yet)
PSWindowsUpdate: http://gallery.technet.microsoft.com/scriptcenter/2d191bcd-3308-4edd-9de2-88dff796b0bc#content
10 years ago
Michael DeHaan 73123b69fa Move modules into subdirectory. 10 years ago
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.
10 years ago
Jon Hawkesworth a098882fb9 Added null check in case http connection used and no cert found. 10 years ago
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.
10 years ago
Chris Church 1b6ef9aa2e Replace Get-FileHash with MD5 code that works on PowerShell 3. 10 years ago
Michael DeHaan 71786bbdc8 Merge pull request #8227 from trondhindenes/win_setup_improvements
win_setup improvements: Correcly outputs ansible_totalmem
10 years ago
Trond Hindenes fc26601981 win_setup improvements: Correcly outputs ansible_totalmem on computers with multiple ram chips 10 years ago
Trond Hindenes ba507553b0 Better result handling 10 years ago
Trond Hindenes 8e16962596 improvements to win_feature 10 years ago
Chris Church 042d5b761d Return service name, display name, start mode and state from win_service module. 11 years ago
Michael DeHaan f777471337 Merge pull request #7889 from chrishoffman/win_group
Adding win_group module
11 years ago
Chris Hoffman da7c617ad3 Adding win_group module 11 years ago
Chris Hoffman 3a3a285d96 Fixing bug with stopped state 11 years ago
Chris Hoffman 24ad45c8e6 Better propagation of cmdlet errors 11 years ago
Chris Hoffman 0f2c5a3472 Using generic windows service for example 11 years ago
Michael DeHaan 4e153c7584 Merge pull request #7881 from cchurch/devel
Fix typo in powershell setup module.
11 years ago
Chris Hoffman 3000614930 Adding win_service module 11 years ago
Chris Church 1780cd6fda Fix typo in powershell setup module. 11 years ago
Simon Olofsson 73c4cb4c07 win_feature: Fix Description. 11 years ago
Paul Durivage eba5e34641 Check .GetType rather than object directly 11 years ago
Paul Durivage 1fee46270c Move check down for access to 11 years ago
Paul Durivage 44fcebc5aa Rename variable 11 years ago
Paul Durivage 42834963cc Update documentation 11 years ago
Paul Durivage ce0909035b Fix so it only deletes users that exist 11 years ago
Paul Durivage 6f87380248 Remove commented out lines 11 years ago
Paul Durivage ac1d1b509b Fix incorrect name 11 years ago
Paul Durivage 5636f2b033 Move functions to top for correct scope 11 years ago
Paul Durivage f8f1b7e922 Refactor of win_user module 11 years ago
Matt Martz 0ac996fbaa Add documentation for win_user module 11 years ago
Matt Martz 53497d90da Make sure the doc stubs for windows modules have proper license headers 11 years ago
Matt Martz 1f9121911c Make sure the module name is specified correctly in the win_feature docs 11 years ago
Paul Durivage 52ffcfb1ea Add documentation for win_feature module 11 years ago
Paul Durivage 8b0cc1a87b Add comments 11 years ago
Paul Durivage ebbf356b30 Add restart functionality 11 years ago
Paul Durivage a8dff668dd Renaming and refactoring of names, variables 11 years ago