Matt Davis
2c216cdf35
fix JSON junk in win_file state=directory case ( #5427 )
2016-12-08 11:25:24 -05:00
Matt Davis
8e97539e20
fix win_shell/win_command deadlock on large interleaved stdout/stderr ( #5384 )
...
fixes #5229
2016-12-08 11:25:24 -05:00
Matt Davis
dfc2a29bdb
fix win async tempdir deletion failure
2016-12-08 11:25:24 -05:00
Matt Davis
73f77e2af6
switch win async to use Win32 CreateProcess
...
should fix flaky async startup behavior where watchdog/module exec starts and immediately dies
2016-12-08 11:25:24 -05:00
John R Barker
25b6492d37
Bulk spelling improvement to modules-core ( #5225 )
...
* Correct spelling mistakes
* Correct more spelling issues
* merge conflict
* Revert typo in parms
2016-12-08 11:25:20 -05:00
Matt Davis
e2f66abe73
fixed windows setup to run in check_mode
2016-12-08 11:25:18 -05:00
Matt Davis
48b0cb750c
(re)add post-watchdog-launch sleep to Windows async_wrapper ( #5122 )
...
fixed apparent race where subprocess appears to never start
2016-12-08 11:25:17 -05:00
Matt Davis
66a1b15f89
remove broken ansible_user_uid fact from Windows setup
2016-12-08 11:25:15 -05:00
Trond Hindenes
0da88d4744
win_feature_docs_update ( #4421 )
2016-12-08 11:25:12 -05:00
Matt Davis
6daa34e1c5
add win_shell/win_command modules + docs ( #4827 )
2016-12-08 11:25:05 -05:00
nitzmahone
915b59a6d5
Fix win_user issue with disabled accounts/expired passwords
...
Disabled and password-expired accounts cannot call ValidatePassword successfully
fixed #4369
2016-12-08 11:25:04 -05:00
Matt Davis
009ebf619b
fix async_wrapper start suspended race ( #4718 )
...
Main thread in started-suspended process may not be immediately resumable on slow targets- poll for proper state for awhile before attempting resume
2016-12-08 11:25:02 -05:00
Matt Davis
6099e6d19e
Windows async module support ( #4710 )
...
Powershell impls of async_wrapper, async_status- associated tests and async action changes are in https://github.com/ansible/ansible/pull/17400 .
2016-12-08 11:25:02 -05:00
Gennady Trafimenkov
7ea7564bf4
Clarify what checksum algorithm is used by copy modules ( #4198 )
2016-12-08 11:24:54 -05:00
Richard Levenberg
4943d329a4
handle multiple winrm listeners ( #4142 )
...
* handle multiple winrm listeners
* use the sorterd array
2016-12-08 11:24:43 -05:00
nitzmahone
b51a1e175e
minor win_template doc corrections
2016-12-08 11:24:41 -05:00
nitzmahone
1a4804cc60
fixes to windows setup
...
coerce multi-socket win32_processor to a single value
WindowsIdentity.Label doesn't exist on .NET 4.0
2016-12-08 11:24:40 -05:00
Dag Wieers
df2ef26bc7
Comment out $win32_cs.SystemFamily, cfr. @nitzmahone
...
Since it fails on everything pre-10/2016
2016-12-08 11:24:40 -05:00
Dag Wieers
35b9810e39
Fix ansible_distribution and weekday locale (as hinted by @nitzmahone)
2016-12-08 11:24:40 -05:00
Dag Wieers
36d0bac0a3
Retain an important note regarding Win32_PhysicalMemory on virtual platforms
2016-12-08 11:24:40 -05:00
Dag Wieers
efaaa79157
Ensure we are using an English locale for date formatting. (as hinted by @nitzmahone)
2016-12-08 11:24:40 -05:00
Dag Wieers
790adc126f
Added CPU information comparable to Linux
2016-12-08 11:24:39 -05:00
jhawkesworth@users.noreply.github.com
2090304511
double backslashed all single backslashes to keep travis happy
2016-12-08 11:24:39 -05:00
Dag Wieers
dc432c5697
Added more properties
2016-12-08 11:24:39 -05:00
Dag Wieers
f8b0cf50b4
Format BIOS date string like on Linux
2016-12-08 11:24:39 -05:00
Dag Wieers
457ccc2e73
win_setup: Add missing properties
...
We add some basic properties for Windows that are available on other platforms.
2016-12-08 11:24:39 -05:00
jhawkesworth@users.noreply.github.com
d3d108e13e
document how force=no works for win_get_url and add RETURN
2016-12-08 11:24:39 -05:00
Daniel Petty
6441556b98
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-12-08 11:24:39 -05:00
nitzmahone
363ff55445
StrictMode fixes for win_get_url
2016-12-08 11:24:37 -05:00
nitzmahone
e7075f3e93
rename ansible_winrm_certificate_expires fact to avoid collision with connection vars
2016-12-08 11:24:37 -05:00
Trond Hindenes
7747be71b4
Return reboot pending as true/false
2016-12-08 11:24:35 -05:00
Toshio Kuratomi
7d9fb08e1a
Py3 exclude list ( #3698 )
...
* Fix a few modules to pass syntax checks under python3
* Move from a whitelist of modules to check for python3 compat to a blacklist
2016-12-08 11:24:29 -05:00
jhawkesworth
2042d948db
fix formatting to avoid smart quotes, which breaks ability to copy and paste the jinja2 header from the web docs ( #3671 )
2016-12-08 11:24:28 -05:00
Toshio Kuratomi
291e00d43a
Docs fixes
2016-12-08 11:24:28 -05:00
John R Barker
d13046a905
ansible-validate-modules part 4: Enable check on ansible-modules-core ( #3526 )
...
* Call ansible-validate-modules
* Correct quotes + add newline
2016-12-08 11:24:26 -05:00
nitzmahone
bc4510b0d4
docs for win_reboot action
2016-12-08 11:24:20 -05:00
Dreamcat4
eeabebdd6c
fix: win_get_url - fixes for strict-mode
2016-12-08 11:24:20 -05:00
Dreamcat4
c85a82ad00
fix: win_stat - fixes for strict-mode
2016-12-08 11:24:19 -05:00
nitzmahone
64cd7903f2
fix win_user type checking
...
Fixed type checking to be more idiomatic powershell, also fixes a slew of StrictMode issues and gets error handling back to originally-intended behavior.
2016-12-08 11:24:16 -05:00
nitzmahone
eb3243c15a
fix win_stat get_checksum alias issue
...
made it impossible to prevent gathering checksum without setting both get_md5 and get_checksum false
2016-12-08 11:24:14 -05:00
jhawkesworth@users.noreply.github.com
63f8bdf782
Use HEAD request to determine if file should be downloaded, ensure download method is the same regardless of force mode.
2016-12-08 11:24:13 -05:00
davidobrien1
a874e1e25e
Change fact invocation from dotsourcing to ampersand so that scripts do not execute in global scope.
2016-12-08 11:24:10 -05:00
David O'Brien
ce7a86b4ce
Add documentation to setup.py and remove use of $params.fact_path in setup.ps1
2016-12-08 11:24:09 -05:00
Matt Martz
b85d3f32da
Add get_checksum option to win_stat to work with new use of the stat module for checksumming
2016-12-08 11:24:08 -05:00
Matt Martz
aaf762573e
Various simple linting type cleanups on modules
2016-12-08 11:24:06 -05:00
Jose Moreira
cc173b445e
Fixed module doc typos
2016-12-08 11:24:06 -05:00
J Levitt
9456ece4b1
Make it clear that the dest path delimiters must be escaped
...
Make it clear that the dest path delimiters must be escaped
2016-12-08 11:24:02 -05:00
Toshio Kuratomi
f6aa1ff9a4
Remove duplicate documentation fields
2016-12-08 11:24:01 -05:00
nitzmahone
821fb6c0ab
fix win_get_url var renames ala xpicio fix PR #2378
...
reimplements #2378 sans formatting merge conflicts
2016-12-08 11:23:58 -05:00
nitzmahone
fef6e5102e
fix version_added on win_msi wait arg
2016-12-08 11:23:58 -05:00