Commit Graph

141 Commits (a95fee40793666b534898bacb2fb145b361d86d9)

Author SHA1 Message Date
Tal Auslander 1730764531 add force parameter to win_get_url 10 years ago
Tal Auslander 9074aa4c93 win_get_url re-download file only if modified 10 years ago
Constantin 06aeabc5fb 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)
10 years ago
James Cammarata b5399d3446 Re-reverting windows modules PR #384 10 years ago
Pepe Barbe fb7ff9271a Add OS architecture and OS name to the Windows setup module 10 years ago
Ian Clegg bdc28a6bb3 Added support for comma seperated feature names in the name parameter of the win_feature module 10 years ago
Brian Coca 9d196f7b47 Merge pull request #535 from bcoca/revert_win_mods
Revert "Merge pull request #384
10 years ago
Chris Church 0a297e54ba Change version added in win_user docs to 1.9 for updates that didn't make it into 1.8. 10 years ago
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.
10 years ago
Toshio Kuratomi 51ed13b887 Fix documentation build 10 years ago
Brian Coca 54b836f0b8 Merge pull request #89 from cchurch/win_feature_updates
Updates to win_feature module
10 years ago
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)
10 years ago
Jon Hawkesworth 08c5cc06c6 Switched to SHA1 checksum instead of MD5 10 years ago
Jon Hawkesworth 732491eb93 Adding first pass at win_copy, win_file and win_template modules (include new files). 10 years ago
Jon Hawkesworth 2e60425b71 Adding first pass at win_copy, win_file and win_template modules. 10 years ago
Chris Church 07faee61de Minor win_user fixes based on feedback. 10 years ago
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. 10 years ago
Chris Church 3a40d79cff Update win_user module to support more user options and group membership changes. 10 years ago
Michael DeHaan 617a52b20d Fix filename error. 10 years ago
Michael DeHaan 385a037cd6 package files 10 years ago
Michael DeHaan c8e1a2077e file extensions! 10 years ago
Michael DeHaan 417309a626 Restructuring. 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 11 years ago
Trond Hindenes 8e16962596 improvements to win_feature 11 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
Chris Church d1423254d0 Update slurp/win_ping/win_stat to use Get-Attr. 11 years ago
Paul Durivage e0f618b27a Remove unnecessary obj 11 years ago
Chris Church 2a20dfe963 Add data option to docs for win_ping. 11 years ago
Chris Church a13b2dd3b3 Add tests for win_stat module. 11 years ago
Paul Durivage c218a125bb Fix variable reference 11 years ago
Paul Durivage c83e5d0890 Ensure state is present if no value provided 11 years ago
Paul Durivage 03526456fa Fix logic to ensure state is either present or absent 11 years ago
Paul Durivage 376d1cc0a4 Add prelim version of win_feature module (for installing packages, roles, features, etc) 11 years ago
Michael DeHaan 2944962915 Add explanation of windows upgrade details. 11 years ago
Don Schenck 755da95e15 Added logging to UpgradeToPS3.ps1
UpgradeToPS3.ps1 failed when tested with Ansible. Added logging output
to file C:\powershell\install.log.
11 years ago
Chris Church e9c9cab3c8 Add integration tests for fetch/slurp, make powershell fetch/slurp work as close as possible to existing fetch/slurp modules. 11 years ago
Paul Durivage 9a52ee4753 Make non-executable 11 years ago
Paul Durivage ec6a386967 Add win_get_url module documentation 11 years ago
Paul Durivage 9eeb4c39f7 Add win_get_url module 11 years ago
Matt Martz 3238268ea3 Remove unneeded code, document creates param and ensure creates only affects state=present 11 years ago
Matt Martz fed9e9087e At state for win_msi and add documentation 11 years ago
Matt Martz 499031ef47 First pass at win_msi.ps1 msi installer module 11 years ago
Paul Durivage cb129b444a Add memory and IP information to setup 11 years ago
Matt Martz b0ef377a09 Add Exit-Json and Fail-Json powershell helper functions 11 years ago
Matt Martz 57f43ae518 Clean up how we initialize the result psobject 11 years ago
Matt Martz 70936bbf8b A couple of DOCUMENTATION fixes for win_ping and win_stat 11 years ago
Michael DeHaan 289b77d6da Update windows docs in progress. 11 years ago
Michael DeHaan b9f8aac85e Add doc stubs 11 years ago
Michael DeHaan 10706180a7 Add a docs stub for the module. 11 years ago
Matt Martz d30f0e384a setup.ps1 willnot support fact_path and filter to start 11 years ago
Michael DeHaan 3bba3be68b Remove stubs. 11 years ago
Matt Martz 2e3a44d835 Need to call ToString Platform to get the string 11 years ago
Michael DeHaan bbd8228d21 Rename some modules so they can have seperate doc stubs. 11 years ago
Matt Martz ddb7e6669e Add start for powershell setup module 11 years ago
Matt Martz b3b52800f3 Add license header to powersell modules 11 years ago
Matt Martz 4268cb6a2d Add shared functions to module_utils/powershell.ps1 and refactor powershell modules to utilize the common powershell code 11 years ago
Matt Martz 3b5c568b10 Use more simple check for existence of member 11 years ago
Matt Martz fb43772429 Instantiate psobject directly 11 years ago
Chris Church 54e5289f79 Add shell_plugins to abstract shell-specific functions out of runner, add winrm connection plugin, add initial Windows modules. 11 years ago