Commit graph

10868 commits

Author SHA1 Message Date
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
Matt Bray
578e881142 fix for urls like ssh://git@github.com/ansible/ansible.git 2014-06-16 11:58:59 +01:00
Michael DeHaan
fafc35911a Merge pull request #7761 from debrice/devel
Fix task description
2014-06-15 16:22:19 -04:00
Michael DeHaan
a8fb2d7ead Merge pull request #7750 from nbrl/changelog-duplicates
Removed duplicate entries (1.6.1-1.6.3) in changelog.
2014-06-15 16:08:41 -04:00
Michael DeHaan
0c1233b612 Update CHANGELOG.md 2014-06-15 12:08:39 -04:00
Todd Owen
a4fe91050b unarchive: improve failure detection and reporting
Related to #7777
2014-06-15 13:13:18 +08:00
Todd Owen
247f70cf5c 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
127201559f [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
Jakub Kramarz
df3188cef0 Added missing fallback from physical_block_size to hw_sector_size in sectorsize fact discovery for kernels older than May 2009.
References #5761
2014-06-14 19:42:41 +02:00
Brice Leroy
50d8047c6e Fix task description 2014-06-13 15:15:29 -07:00
Matt Martz
b2d24aba61 Perform safe normalization of nics to use uuid 2014-06-13 12:17:42 -05:00
Nathan Burrill
623fe17c68 Removed duplicate entries (1.6.1-1.6.3) in changelog. 2014-06-13 09:29:43 +01:00
James Cammarata
3fb3e7e6dc Properly parse urls for ssh-keyscan use
Previously, the get_fqdn() function in known_hosts.py only worked
with urls that started with git@, and ignored any urls that started
with a normal schema type (ie. http:// or ssh://). This patch corrects
that by using urlparse to parse the hostname portion out of urls that
have a proper schema.

Fixes #7474
2014-06-12 16:16:42 -05:00