Commit graph

217 commits

Author SHA1 Message Date
Matt Davis
4a74c58ead add win_shell/win_command modules + docs (#4827) 2016-09-15 11:42:10 -04:00
nitzmahone
1a0e15094f Fix win_user issue with disabled accounts/expired passwords
Disabled and password-expired accounts cannot call ValidatePassword successfully

fixed #4369
2016-09-11 20:41:54 -07:00
Matt Davis
5a5c1491ae 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-09-06 16:51:17 -07:00
Matt Davis
a746eff954 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-09-06 13:26:40 -07:00
Gennady Trafimenkov
6ac58a5832 Clarify what checksum algorithm is used by copy modules (#4198) 2016-08-27 17:11:17 +02:00
Richard Levenberg
dca3e594ac handle multiple winrm listeners (#4142)
* handle multiple winrm listeners

* use the sorterd array
2016-07-12 11:09:02 -07:00
Matt Davis
4c4a6de9d6 Merge pull request #3771 from jhawkesworth/doc_win_get_url_force_no_behaviour
document how force=no works for win_get_url and add RETURN
2016-07-08 13:38:47 -07:00
nitzmahone
4a0a9cd1fc minor win_template doc corrections 2016-07-05 15:49:13 -07:00
nitzmahone
1d0d5db97a fixes to windows setup
coerce multi-socket win32_processor to a single value
WindowsIdentity.Label doesn't exist on .NET 4.0
2016-06-29 17:32:52 -07:00
Matt Davis
3c6f2c2db1 Merge pull request #3777 from dagwieers/win_setup-updates
win_setup: Add missing properties
2016-06-27 08:58:24 -07:00
Dag Wieers
1e1b5c6597 Comment out $win32_cs.SystemFamily, cfr. @nitzmahone
Since it fails on everything pre-10/2016
2016-06-27 00:29:14 +02:00
Matt Davis
4fe583e29b Merge pull request #3747 from mixmatch/devel
fixed $source null check, reference to $Params
2016-06-22 11:49:33 -07:00
nitzmahone
d4eaeac8c9 StrictMode fixes for win_get_url 2016-06-15 14:46:56 -07:00
nitzmahone
e992cfd473 rename ansible_winrm_certificate_expires fact to avoid collision with connection vars 2016-06-14 11:33:00 -07:00
Dag Wieers
913cfb4274 Fix ansible_distribution and weekday locale (as hinted by @nitzmahone) 2016-06-09 12:54:08 +02:00
Dag Wieers
ae7efb61e3 Retain an important note regarding Win32_PhysicalMemory on virtual platforms 2016-06-09 00:52:22 +02:00
Dag Wieers
c293f7208a Ensure we are using an English locale for date formatting.
(as hinted by @nitzmahone)
2016-06-09 00:36:48 +02:00
Dag Wieers
30151bfadc Added CPU information comparable to Linux 2016-06-08 23:43:43 +02:00
Dag Wieers
6225614d5f Added more properties 2016-06-08 23:43:43 +02:00
Dag Wieers
9392851ef7 Format BIOS date string like on Linux 2016-06-08 23:43:43 +02:00
Dag Wieers
4081ab8a0a win_setup: Add missing properties
We add some basic properties for Windows that are available on other platforms.
2016-06-08 23:43:43 +02:00
Trond Hindenes
033dc54d31 Return reboot pending as true/false 2016-06-06 23:32:33 +02:00
=
1a57ac67bd double backslashed all single backslashes to keep travis happy 2016-05-31 12:40:53 +01:00
=
2cc212fb37 document how force=no works for win_get_url and add RETURN 2016-05-27 18:53:35 +01:00
Daniel Petty
a4e6e6e2ef 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-05-25 17:00:12 -06:00
Toshio Kuratomi
521370459c 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-05-19 15:34:59 -07:00
jhawkesworth
925b4c68ca fix formatting to avoid smart quotes, which breaks ability to copy and paste the jinja2 header from the web docs (#3671) 2016-05-17 08:37:58 -07:00
Toshio Kuratomi
298fd0ae56 Docs fixes 2016-05-13 11:01:19 -07:00
John R Barker
bb9572ca86 ansible-validate-modules part 4: Enable check on ansible-modules-core (#3526)
* Call ansible-validate-modules

* Correct quotes + add newline
2016-05-03 07:51:12 -07:00
Matt Davis
7ebc8bc5da Merge pull request #3376 from nitzmahone/win_reboot
docs for win_reboot action
2016-04-25 09:13:47 -07:00
Dreamcat4
b3584c5ffe fix: win_get_url - fixes for strict-mode 2016-04-20 20:26:44 +01:00
Dreamcat4
bb229c8fa2 fix: win_stat - fixes for strict-mode 2016-04-20 20:26:27 +01:00
nitzmahone
2f46c35f47 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-04-07 18:25:41 -07:00
nitzmahone
8a3e2ec20f docs for win_reboot action 2016-04-06 12:07:00 -07:00
nitzmahone
06e61cf1db fix win_stat get_checksum alias issue
made it impossible to prevent gathering checksum without setting both get_md5 and get_checksum false
2016-03-24 20:53:04 -07:00
=
dd6ad23179 Use HEAD request to determine if file should be downloaded, ensure download method is the same regardless of force mode. 2016-03-18 08:41:54 +00:00
Matt Davis
ad2b9b342d Merge pull request #1876 from davidobrien1985/devel
Custom Windows Facts
2016-03-04 17:31:24 +00:00
Brian Coca
7a2cb3ad24 Merge pull request #2822 from slimandslam/patch-3
Make it clear that the dest path delimiters must be escaped
2016-02-29 23:53:31 -05:00
Matt Martz
7823455516 Add get_checksum option to win_stat to work with new use of the stat module for checksumming 2016-02-29 14:14:01 -06:00
davidobrien1
18047506af Change fact invocation from dotsourcing to ampersand so that scripts do not execute in global scope. 2016-02-26 17:09:54 +11:00
David O'Brien
e4c2cb96ea Add documentation to setup.py and remove use of $params.fact_path in setup.ps1 2016-02-26 16:34:10 +11:00
Matt Martz
4e594a9196 Merge pull request #3050 from sivel/module-cleanup
Various simple linting type cleanups on modules
2016-02-16 16:03:34 -06:00
Matt Martz
c7845456a6 Various simple linting type cleanups on modules 2016-02-16 15:58:44 -06:00
Jose Moreira
cb712f2ba8 Fixed module doc typos 2016-02-15 15:03:40 +00:00
Toshio Kuratomi
93d02189f6 Remove duplicate documentation fields 2016-01-28 09:24:20 -08:00
J Levitt
df74fa14e8 Make it clear that the dest path delimiters must be escaped
Make it clear that the dest path delimiters must be escaped
2016-01-15 15:20:25 -06:00
Matt Davis
81e4042fa4 Merge pull request #2692 from hantonov/devel
Adding gathering environment variables to gather_facts on Windows
2016-01-15 09:33:12 -08:00
nitzmahone
0f52ad70cd fix win_get_url var renames ala xpicio fix PR #2378
reimplements #2378 sans formatting merge conflicts
2016-01-15 08:57:45 -08:00
Matt Davis
dfcd227cfe Merge pull request #2380 from blakfeld/add_facter_to_setup_ps1
Adding Facter Support to Setup.ps1
2016-01-14 17:36:44 -08:00
nitzmahone
a21ea16d47 fix version_added on win_msi wait arg 2016-01-12 13:58:11 -08:00