Paul Durivage
ebbf356b30
Add restart functionality
2014-06-19 14:26:36 -05:00
Paul Durivage
a8dff668dd
Renaming and refactoring of names, variables
2014-06-19 14:26:36 -05:00
Chris Church
d1423254d0
Update slurp/win_ping/win_stat to use Get-Attr.
2014-06-19 14:26:36 -05:00
Paul Durivage
e0f618b27a
Remove unnecessary obj
2014-06-19 14:26:10 -05:00
Chris Church
2a20dfe963
Add data option to docs for win_ping.
2014-06-19 14:25:50 -05:00
Chris Church
a13b2dd3b3
Add tests for win_stat module.
2014-06-19 14:25:50 -05:00
Paul Durivage
c218a125bb
Fix variable reference
2014-06-19 14:25:50 -05:00
Paul Durivage
c83e5d0890
Ensure state is present if no value provided
2014-06-19 14:25:50 -05:00
Paul Durivage
03526456fa
Fix logic to ensure state is either present or absent
2014-06-19 14:25:49 -05:00
Paul Durivage
376d1cc0a4
Add prelim version of win_feature module (for installing packages, roles, features, etc)
2014-06-19 14:25:49 -05:00
Michael DeHaan
2944962915
Add explanation of windows upgrade details.
2014-06-19 14:25:46 -05:00
Don Schenck
755da95e15
Added logging to UpgradeToPS3.ps1
...
UpgradeToPS3.ps1 failed when tested with Ansible. Added logging output
to file C:\powershell\install.log.
2014-06-19 14:25:28 -05:00
Chris Church
e9c9cab3c8
Add integration tests for fetch/slurp, make powershell fetch/slurp work as close as possible to existing fetch/slurp modules.
2014-06-19 14:25:28 -05:00
Paul Durivage
9a52ee4753
Make non-executable
2014-06-19 14:25:28 -05:00
Paul Durivage
ec6a386967
Add win_get_url module documentation
2014-06-19 14:25:28 -05:00
Paul Durivage
9eeb4c39f7
Add win_get_url module
2014-06-19 14:25:27 -05:00
Matt Martz
3238268ea3
Remove unneeded code, document creates param and ensure creates only affects state=present
2014-06-19 14:25:27 -05:00
Matt Martz
fed9e9087e
At state for win_msi and add documentation
2014-06-19 14:25:27 -05:00
Matt Martz
499031ef47
First pass at win_msi.ps1 msi installer module
2014-06-19 14:25:27 -05:00
Paul Durivage
cb129b444a
Add memory and IP information to setup
2014-06-19 14:25:27 -05:00
Michael DeHaan
8b262d775b
Slight tweak to windows wording.
2014-06-19 14:24:15 -05:00
Matt Martz
b0ef377a09
Add Exit-Json and Fail-Json powershell helper functions
2014-06-19 14:24:15 -05:00
Matt Martz
57f43ae518
Clean up how we initialize the result psobject
2014-06-19 14:24:14 -05:00
Matt Martz
cab68bc579
Mention that with windows target hosts, fact_path and filter are not currently supported
2014-06-19 14:24:14 -05:00
Matt Martz
70936bbf8b
A couple of DOCUMENTATION fixes for win_ping and win_stat
2014-06-19 14:24:14 -05:00
Michael DeHaan
289b77d6da
Update windows docs in progress.
2014-06-19 14:24:14 -05:00
Michael DeHaan
b9f8aac85e
Add doc stubs
2014-06-19 14:24:14 -05:00
Michael DeHaan
10706180a7
Add a docs stub for the module.
2014-06-19 14:24:14 -05:00
Matt Martz
d30f0e384a
setup.ps1 willnot support fact_path and filter to start
2014-06-19 14:24:14 -05:00
Michael DeHaan
3bba3be68b
Remove stubs.
2014-06-19 14:24:14 -05:00
Matt Martz
2e3a44d835
Need to call ToString Platform to get the string
2014-06-19 14:24:14 -05:00
Michael DeHaan
bbd8228d21
Rename some modules so they can have seperate doc stubs.
2014-06-19 14:24:13 -05:00
Matt Martz
ddb7e6669e
Add start for powershell setup module
2014-06-19 14:24:13 -05:00
Matt Martz
b3b52800f3
Add license header to powersell modules
2014-06-19 14:24:13 -05:00
Matt Martz
4268cb6a2d
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
Matt Martz
3b5c568b10
Use more simple check for existence of member
2014-06-19 14:24:13 -05:00
Matt Martz
fb43772429
Instantiate psobject directly
2014-06-19 14:24:12 -05:00
Chris Church
54e5289f79
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
James Cammarata
9e8bbd8eac
Merge pull request #7801 from koenpunt/npm-rbenv-exec
...
Allow gem executable to contain spaces
2014-06-17 11:16:42 -05:00
Koen Punt
6c20fa0d6f
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
ec9e6e1cd6
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
2ac27fbbea
Use file documentation fragement for the copy module
2014-06-16 15:36:15 -05:00
James Cammarata
d604bb6dc6
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
1bec2e7eb7
Minor cleanup of openbsd_pkg example comment
2014-06-16 11:35:57 -05:00
James Cammarata
adb9feaf83
Merge pull request #7774 from mwpher/devel
...
[openbsd-pkg] Add note regarding package flavors
2014-06-16 11:33:53 -05:00
James Cammarata
4f1353bec1
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
973761cac0
Merge pull request #7778 from toddmowen/unarchive-detect-error
...
unarchive: improve failure detection and reporting
2014-06-16 10:04:03 -05:00
Todd Owen
2b9402dc5c
unarchive: improve failure detection and reporting
...
Related to #7777
2014-06-15 13:13:18 +08:00
Todd Owen
198048c356
Fix in pkgutil: don't call pipes.quote() on None.
...
In this function, 'site' may be None, which will cause an exception
if it is passed to pipes.quote().
2014-06-15 10:20:35 +08:00
Matthew Pherigo
09e7cc2aa6
[openbsd-pkg] Add note regarding package flavors
...
This adds a note to the openbsd-pkg module which explains how to specify
package flavors as well as how to avoid ambiguity errors on a package
with multiple flavors.
Technically, this is not Ansible-specific, but it's pretty likely the
user will encounter this problem.
2014-06-14 19:42:09 -05:00