Michael Perzel
785ebe2684
Add ansible_date_time to windows facts
9 years ago
fxfitz
6f3cbd7aa2
Fixed spelling mistake: missing
9 years ago
Matt Calhoun
73843693b7
The variable $uppercase_cert_thumbprint cannot be retrieved because it has not been set.
9 years ago
Matt Calhoun
4350188076
The variable $winrm_cert_thumbprint cannot be retrieved because it has not been set.
9 years ago
Matt Calhoun
1d8334674f
The variable $https_listener cannot be retrieved because it has not been set.
9 years ago
Matt Calhoun
d8f9c81022
The variable $winrm_https_listener_path cannot be retrieved because it has not been set
9 years ago
Chris Church
323a14808f
Revert "Improvements to win_feature"
9 years ago
James Cammarata
78e756b05d
Merge pull request #1564 from trondhindenes/win_features_improvements_v2
...
Improvements to win_feature
9 years ago
Chris Church
82c1cc7989
Revert "Rename powershell versions of setup and slurp so they don't shadow the python versions of these modules."
...
This reverts commit d4e16b0c73
.
9 years ago
Phil
bddcf876a7
uses get-attr and fixes file path issues by escaping quotes around path
9 years ago
Toshio Kuratomi
d4e16b0c73
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
9 years ago
Chris Church
0e3f7c92d7
Fix win_lineinfile to pass integration tests when strict mode is enabled.
9 years ago
Phil
21f56aef77
merge devel and fix conflicts
9 years ago
Brian Coca
14ebc19897
fixed doc issues with win_lineinfile
9 years ago
Brian Coca
05c3b3ea15
minor doc fix
9 years ago
Benno Joy
2fd511b906
Merge pull request #1839 from brianlloyd/win_lineinfile
...
Windows implementation of lineinfile and related documentation
9 years ago
Brian Coca
d55a4d59dc
Merge pull request #1956 from cchurch/strict_mode_fixes
...
Update core modules to fix strict mode errors
9 years ago
Brian Coca
d8f45bab41
Merge pull request #1607 from abriening/win_get_url_updates
...
Adds basic authentication & skip certificate validation to win_get_ur…
9 years ago
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
9 years ago
nitzmahone
2a5f3754e7
added windows facts ansible_lastboot, ansible_uptime_seconds
...
switched OS object to Get-CimInstance since we need a DateTime object for lastbootuptime
9 years ago
Bill Nottingham
c93456adc3
win_msi: document extra_args
...
The extra_args parameter was not documented. It's needed for installing some MSIs.
9 years ago
Brian Coca
7f01246bb5
updated win_file version_added
...
fixes #1893
9 years ago
Chris Church
bad636152a
Add check mode support for Windows modules that don't modify the remote system.
9 years ago
Brian Coca
697307f88c
Merge pull request #1670 from mikeputnam/issue-1643-gpl-header
...
Add missing GPLv3 License header
9 years ago
Brian Lloyd
fc2a33b966
Windows implementation of lineinfile and related documentation
9 years ago
brannon
4a30e35e53
Fix windows feature example to actually install IIS
9 years ago
Chris Church
313381981e
Save user after creating before trying to read/set other properties. Fixes #1241
9 years ago
Chris Church
a6866be882
Merge pull request #1473 from Constantin07/patch-1
...
Added additional stat output values
9 years ago
Andrew Briening
625fb1e182
Show the exception messages
9 years ago
Andrew Briening
8e7d9be02b
Adds basic authentication & skip certificate validation to win_get_url module
9 years ago
Chris Church
b106a83d0a
Set force=yes as the default, add force parameter to module docs.
9 years ago
Greg DeKoenigsberg
b1f8f0d48d
Merge pull request #1485 from talcloudshare/win_get_url-modified
...
win_get_url re-download file only if modified
9 years ago
Tal Auslander
c786202ee4
use ConvertTo-Bool for the force parameter
9 years ago
Mike Putnam
6c0e264806
Add missing GPLv3 License header
...
Fixes #1643
9 years ago
Brian Coca
d398ea18ec
Merge pull request #974 from ianclegg/devel
...
Fix support for comma seperated feature names in the name parameter of...
9 years ago
Matt Martz
c2d0fbd45b
Remove unnecessary imports in a docs only file for win_copy
10 years ago
Andreas Reischuck
02ea210db9
fixed win_file state=touch
10 years ago
Tal Auslander
e80073ff87
stop reading from url on error
10 years ago
Phil
3db78457ce
merge devel
10 years ago
Trond Hindenes
aa834fe1c1
updated win_feature.ps1 with improvements
10 years ago
Brian Coca
cf273bbaeb
Merge pull request #1557 from jhawkesworth/win_copy_limitation_documentation
...
document file size limit for win_copy module
10 years ago
Brian Coca
dd0cc9d611
Merge pull request #1100 from elventear/win_setup
...
Add OS architecture and OS name to the Windows setup module
10 years ago
Jon Hawkesworth
93c2f9245a
document file size limit for win_copy module
10 years ago
Greg DeKoenigsberg
2a5f0bde87
Proper author info for all remaining modules
10 years ago
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
10 years ago
Jon Hawkesworth
d6696aca9f
remove include of files options only relevant to unix from win_file.py documentation
10 years ago
Brian Coca
2c8b765cf0
minor doc fixes on win_template
10 years ago
Jon Hawkesworth
5e500c6464
corrected version added which I got wrong while rebasing
10 years ago
Jon Hawkesworth
4c917d47fc
Fix win_copy problems described here: https://github.com/ansible/ansible-modules-core/issues/1404
...
and update documentation.
10 years ago
Brian Coca
16ba1fc0e9
updated version added
10 years ago
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
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
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
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