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
ce09a6dd47
Merge pull request #7836 from trbs/file_symlink_notexists_checkmode
...
OSError in file module for non existing symlink in check mode.
2014-06-19 10:48:09 -05:00
James Cammarata
43e661df0b
Merge pull request #7829 from bennojoy/asg_policy
...
return properties of the newly created scaling policy
2014-06-19 10:38:38 -05:00
James Cammarata
56583f6006
Merge pull request #7827 from willthames/delay_tagging_in_ec2
...
ec2 module: Delay instance tagging to later in the instance creation process
2014-06-19 10:37:59 -05:00
James Cammarata
606ad373da
Merge branch 'issue_7828_rds_param_group' into devel
2014-06-19 10:31:33 -05:00
trbs
6567e40b6d
In check mode if a symlink does not exist there is no need to check the ownership properties (which causes an exception)
2014-06-19 15:47:46 +02:00
Benno Joy
ce939b77a2
return properties of the newly created scaling policy
2014-06-19 08:09:39 +00:00
James Cammarata
a3c79eebb7
Fixing doc typos and adding version_added for tags param in ec2_asg
2014-06-19 00:10:59 -05:00
James Cammarata
ff6d21919f
Merge branch 'ec2_asg_info' of https://github.com/dataxu/ansible into dataxu-ec2_asg_info
2014-06-19 00:09:11 -05:00
James Cammarata
46ba655cfa
Handle integer param values that are calculated values
...
Fixes #7828
2014-06-19 00:04:04 -05:00
willthames
e45858ba7f
Delay instance tagging to later in the instance creation process
...
Tagging recently created instances can result in
InvalidInstanceID.NotFound errors.
By delaying the tagging until the last part of instance creation,
we should be typically more fortunate (avoiding all such race
conditions might need more work)
2014-06-19 11:21:28 +10:00
James Cammarata
abe3655cec
Double check whether the parent directory really exists using stat()
...
Fixes #7760
2014-06-18 14:54:44 -05:00
James Cammarata
bdf84b4e73
Merge branch 'unarchive-fix-7777-simple' of https://github.com/toddmowen/ansible into toddmowen-unarchive-fix-7777-simple
2014-06-18 13:48:57 -05:00
James Cammarata
0cde767a31
Merge branch 'devel' of https://github.com/ansible/ansible into devel
2014-06-18 13:26:32 -05:00
James Cammarata
2c22cf46cf
Merge branch '7763' of https://github.com/rmarchei/ansible into rmarchei-7763
2014-06-18 12:16:01 -05:00
Roberto Migli
ab9d6ad38b
Fixed error in docs
2014-06-18 18:29:06 +02:00
Roberto Migli
0353ccb603
Fixed typo in docs
2014-06-18 18:22:50 +02:00
James Cammarata
34405ea905
Merge branch 'lvg_fix' of https://github.com/sergevanginderachter/ansible into sergevanginderachter-lvg_fix
2014-06-18 09:00:41 -05:00
James Cammarata
5349b2b06d
Merge pull request #7814 from scottbrown/bugfix-7811-mysql_import_does_not_perform_dump_existence_check
...
BUGFIX for Issue 7811: Adding file existence check when performing mysql import on...
2014-06-17 16:51:14 -05:00
James Cammarata
c3297bcda5
Merge pull request #7810 from rivik/lvg_options_fix
...
Set default vg_options to empty string
2014-06-17 16:47:02 -05:00
James Cammarata
5568b50960
Merge pull request #7808 from joelcrocker/patch-1
...
Updates django_manage so it populates VIRTUAL_ENV
2014-06-17 16:45:51 -05:00
Scott Brown
34d960ef20
BUGFIX 1178: Adding better existence check in one place. db_import now fails fast if target does not exist b/c no point going further without the target.
2014-06-17 14:37:14 -07:00
Scott Brown
1853a3f565
BUGFIX 7811: Adding file existence check when performing mysql import on a .gz or .bz2 file, otherwise Ansible will not notice that the underlying *nix command silently died.
2014-06-17 13:08:53 -07:00
Ilya Rusalowski
b1a31ebb84
Set default vg_options to empty string
2014-06-17 20:42:18 +04: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
Joel Crocker
df0f2b9c52
Updates django_manage so it populates VIRTUAL_ENV
...
Virtualenv's activate script sets the VIRTUAL_ENV environment variable to the path of the virtualenv. Checking this variable is a reasonably common way to verify that execution is happening in a virtualenv. It would be convenient if this module's virtualenv handling set this environment variable.
2014-06-17 12:01:14 -04: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
Ruggero Marchei
f522425415
move get_distribution_version() to basic.py
2014-06-17 10:22:14 +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