Matt Martz
97f4f56286
Add Exit-Json and Fail-Json powershell helper functions
2014-06-19 14:24:15 -05:00
Chris Church
74c43c94cf
Allow specifying remote powershell version via environment variable.
2014-06-19 14:24:14 -05:00
Matt Martz
51a50dee3e
Clean up how we initialize the result psobject
2014-06-19 14:24:14 -05:00
Matt Martz
bf400d3c23
Mention that with windows target hosts, fact_path and filter are not currently supported
2014-06-19 14:24:14 -05:00
Chris Church
8f762a7d15
Update logging based on verbosity, add vvvvv support to show details of put/fetch file.
2014-06-19 14:24:14 -05:00
Matt Martz
9ca83446a2
A couple of DOCUMENTATION fixes for win_ping and win_stat
2014-06-19 14:24:14 -05:00
Michael DeHaan
e3cc1eaefc
Update windows docs in progress.
2014-06-19 14:24:14 -05:00
Michael DeHaan
618e8dee78
Add doc stubs
2014-06-19 14:24:14 -05:00
Michael DeHaan
e4ff74ebbd
Add a docs stub for the module.
2014-06-19 14:24:14 -05:00
Matt Martz
4f764fd3e7
setup.ps1 willnot support fact_path and filter to start
2014-06-19 14:24:14 -05:00
Chris Church
c0c9ff23b2
Fix win_ping integration test.
2014-06-19 14:24:14 -05:00
Chris Church
21ba529fbe
Fixes/notes related to slashes in remote paths.
2014-06-19 14:24:14 -05:00
Michael DeHaan
4991c77479
Remove stubs.
2014-06-19 14:24:14 -05:00
Matt Martz
f92f739366
Need to call ToString Platform to get the string
2014-06-19 14:24:14 -05:00
Michael DeHaan
02caebb08f
Rename some modules so they can have seperate doc stubs.
2014-06-19 14:24:13 -05:00
Matt Martz
09e538f954
Add start for powershell setup module
2014-06-19 14:24:13 -05:00
Chris Church
7e8cc65829
Refactor common args used for building PowerShell commands.
2014-06-19 14:24:13 -05:00
Chris Church
0c938562a7
Add winrm integration tests for raw, script and ping modules.
2014-06-19 14:24:13 -05:00
Matt Martz
fa0943a9b3
Add license header to powersell modules
2014-06-19 14:24:13 -05:00
Matt Martz
e7e95721b9
powershell modules will have a .ps1 extension
2014-06-19 14:24:13 -05:00
Matt Martz
a25c441300
Add shared functions to module_utils/powershell.ps1 and refactor powershell modules to utilize the common powershell code
2014-06-19 14:24:13 -05:00
Michael DeHaan
bafa63b424
Revise documentation on powershell module replacer code.
2014-06-19 14:24:13 -05:00
Chris Church
f7af29680b
Add default license boilerplate, refactor common powershell code, fixes for raw/script modules.
2014-06-19 14:24:13 -05:00
Michael DeHaan
35a7c93c76
Added comment about implementation line.
2014-06-19 14:24:13 -05:00
Michael DeHaan
3ac86e57f4
FIXME comment cleanup
2014-06-19 14:24:13 -05:00
Michael DeHaan
80499346d1
Remove stray FIXME
2014-06-19 14:24:13 -05:00
Matt Martz
6cda35e1d3
Use more simple check for existence of member
2014-06-19 14:24:13 -05:00
Matt Martz
14dab9870b
Instantiate psobject directly
2014-06-19 14:24:12 -05:00
Michael DeHaan
ac6ccb77cc
Intro windows docs.
2014-06-19 14:24:12 -05:00
Michael DeHaan
ab10d91881
Add start of introductory windows documentation.
2014-06-19 14:24:12 -05:00
Chris Church
5dcaa30476
Add shell_plugins to abstract shell-specific functions out of runner, add winrm connection plugin, add initial Windows modules.
2014-06-19 14:24:12 -05:00
Michael DeHaan
627ff30a6f
Add module replacer capability for powershell files.
2014-06-17 12:30:34 -05:00
James Cammarata
9c7ea82ad2
Merge pull request #7802 from victorcoder/devel
...
Fixes password lookup docs
2014-06-17 11:17:30 -05:00
James Cammarata
57a2104c40
Merge pull request #7801 from koenpunt/npm-rbenv-exec
...
Allow gem executable to contain spaces
2014-06-17 11:16:42 -05:00
James Cammarata
b300bf4053
Merge pull request #7798 from koenpunt/npm-nvm-exec
...
Allow npm executable to contain spaces
2014-06-17 10:52:11 -05:00
Victor Castell
8fe3678b60
Numbers is not a string module
2014-06-17 12:58:07 +02:00
Victor Castell
4f949f3bc7
ascii should be ascii_letters
2014-06-17 12:57:29 +02:00
Koen Punt
d9f9234084
Allow gem executable to contain spaces
...
rbenv has a special exec function which loads the correct ruby version before executing a command.
The syntax for this is `/usr/local/rbenv/bin/rbenv exec gem ...` for example.
But previously when specifying executable='/usr/local/rbenv/bin/rbenv exec gem' this would not work because the string was treated as one executable. This PR fixes that by splitting the executable on spaces.
2014-06-17 11:58:10 +02:00
Koen Punt
2748095a8e
Allow executable to contain spaces
...
NVM has a special script which loads the correct node version before executing a command.
The syntax for this is `/usr/local/nvm/nvm-exec ...`, so `nvm-exec npm list --json` for example.
But previously when specifying `executable='/usr/local/nvm/nvm-exec nvm'` this would not work because the string was treated as one executable.
2014-06-17 01:31:24 +02:00
James Cammarata
4be33b6a63
Merge pull request #7793 from wenottingham/patch-1
...
Update tower.rst
2014-06-16 16:11:53 -05:00
James Cammarata
cb13b30362
Use file documentation fragement for the copy module
2014-06-16 15:36:15 -05:00
James Cammarata
9b17e8a555
Merge pull request #7771 from jkramarz/issue-5761
...
Added missing fallback to hw_sector_size
2014-06-16 15:15:41 -05:00
Bill Nottingham
e74991de98
Update tower.rst
...
Point to current URLs, fix a Ansible/Tower reference.
2014-06-16 15:51:25 -04:00
James Cammarata
b7a5ce37a4
Merge pull request #7755 from sivel/rax-asg-normalize-nic
...
module rax_scaling_group: safe normalization of nics
2014-06-16 11:42:44 -05:00
James Cammarata
ddb946beb1
Minor cleanup of openbsd_pkg example comment
2014-06-16 11:35:57 -05:00
James Cammarata
df15990e0c
Merge pull request #7774 from mwpher/devel
...
[openbsd-pkg] Add note regarding package flavors
2014-06-16 11:33:53 -05:00
James Cammarata
d1c9c943cb
Merge pull request #7776 from toddmowen/pkgutil-quote-fix
...
Fix in pkgutil: don't call pipes.quote() on None
2014-06-16 10:06:09 -05:00
James Cammarata
3baed58eed
Merge pull request #7778 from toddmowen/unarchive-detect-error
...
unarchive: improve failure detection and reporting
2014-06-16 10:04:03 -05:00
James Cammarata
6d9cc64e0f
Add role_names to valid keys entry for plays
...
Prevents a "not a legal parameter" error for play ds structures that
may be passed into the Play() constructor, which really is mainly a
concern during tests.
2014-06-16 10:00:43 -05:00
James Cammarata
ab965879c7
Merge pull request #7789 from mattjbray/fix-get-fqdn
...
fix for repo urls like ssh://git@github.com/ansible/ansible.git
2014-06-16 07:23:33 -05:00