Matt Clay
ac7edef2be
Fix modules with documentation errors.
2016-12-09 16:08:26 -07:00
Fabio Alessandro Locati
60f6bab430
Remove x bit - windows/win_copy.py ( #18824 )
2016-12-09 08:30:27 -05:00
Matt Clay
c709b22e5c
Fix differences with devel.
2016-12-08 11:35:21 -05:00
James Cammarata
fa5386c488
Some additional module cleanup of mistakes made during merging
2016-12-08 11:35:20 -05:00
Matt Davis
cb1888125d
add metadata to doc support ( #18802 )
...
fix broken module docs
change doc AST id extraction to use == instead of in
2016-12-08 11:35:20 -05:00
James Cammarata
011ea55a8f
Relocating extras into lib/ansible/modules/ after merge
2016-12-08 11:35:18 -05:00
James Cammarata
8afa090417
Resolving differences in core modules post-merge
2016-12-08 11:25:36 -05:00
Toshio Kuratomi
7319104552
Refreshed metadata for core modules
2016-12-08 11:25:35 -05:00
Fabio Alessandro Locati
2b0bdd45e8
Unquote urls in YAML - windows ( #5798 )
2016-12-08 11:25:34 -05:00
Matt Davis
ce0412aa85
Fix test failures in win_command/win_shell on Powershell 3
...
Switched to use Exit-Json to avoid JSON escaping bugs in ConvertTo-Json formatter without -Compress option.
2016-12-08 11:25:33 -05:00
Sam Doran
c0c26f83a8
Examples syntax batch7 ( #5624 )
...
* Change example syntax on nxos_feature module
* Change example syntax on nxos_hsrp module
* Change example syntax on nxos_igmp module
* Change example syntax on nxos_interface module
* Change example syntax on nxos_interface_ospf module
* Change example syntax on nxos_ip_interface module
* Change example syntax on nxos_ping module
* Change example syntax on nxos_switchport module
* Change example syntax on nxos_vlan module
* Change example syntax on nxos_vrf module
* Change example syntax on nxos_vrf_interface module
* Change example syntax on nxos_vrrp module
* Change example syntax on meta module
* Change example syntax on set_fact module
* Change example syntax on win_copy module
* Change example syntax on win_file module
* Change example syntax on win_get_url module
Remove escaping of \ characeter in Windows paths since it's no longer required for single quoted or unquoted values when using multi-line YAML syntax.
* Change example syntax on win_lineinfile module
* Change example syntax on win_msi module
* Change example syntax on win_stat module
* Remove nxos_bgp example from nxos_igmp module
* Mark examples as regexp to avoid syntax error
* Cleanup win_copy.py examples
* Cleanup win_file.py examples
* Remove quotes in win_get_url.py examples
* Cleanup quotes and languare in win_lineinfile.py
* Cleanup examples in win_group.py
* Cleanup examples in win_service.py
* Don't use : in documentation because it breaks the YAML syntax check
* Cleanup win_copy.py examples
* Cleanup win_copy.py examples
* Minor change to fix test failure
* Use single quotes
2016-12-08 11:25:33 -05:00
John R Barker
b1c6b9272f
win_msi - Don't list choices twice ( #5684 )
...
* win_msi - Dont list choices twise
http://docs.ansible.com/ansible/win_msi_module.html shows
Choices:
True
True
False
False
As the yes/no are expanded to true/false by the docs generation
* Update win_msi.py
2016-12-08 11:25:32 -05:00
Matt Davis
13a9b98565
Prevent handle inheritance from blocking Windows async_wrapper ( #5666 )
2016-12-08 11:25:32 -05:00
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