Commit graph

10836 commits

Author SHA1 Message Date
James Cammarata
c5fd3008d7 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
3929118142 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
49fb36ef83 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
4b18c46723 Merge branch 'issue_7828_rds_param_group' into devel 2014-06-19 10:31:33 -05:00
trbs
d5fa690aaf 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
d1d96b6b50 return properties of the newly created scaling policy 2014-06-19 08:09:39 +00:00
James Cammarata
d0dd4ac10c Merge branch 'dataxu-ec2_asg_info' into devel 2014-06-19 00:15:51 -05:00
James Cammarata
ffce57a8f6 Fixing doc typos and adding version_added for tags param in ec2_asg 2014-06-19 00:10:59 -05:00
James Cammarata
42e26987bf 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
853471f14d Handle integer param values that are calculated values
Fixes #7828
2014-06-19 00:04:04 -05:00
willthames
a1aec8dadd 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
aac194e639 Double check whether the parent directory really exists using stat()
Fixes #7760
2014-06-18 14:54:44 -05:00
James Cammarata
360d8b0fc2 Don't try to scan SSH signatures for non-ssh urls
Fixes #7812
2014-06-18 14:22:20 -05:00
James Cammarata
1d61b15603 Merge branch 'toddmowen-unarchive-fix-7777-simple' into devel 2014-06-18 13:52:15 -05:00
James Cammarata
5c27273ed4 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
0ab64f3f98 Merge branch 'devel' of https://github.com/ansible/ansible into devel 2014-06-18 13:26:32 -05:00
James Cammarata
7a8264a071 Merge branch 'rmarchei-7763' into devel 2014-06-18 13:26:16 -05:00
James Cammarata
2493020d9f Fix get_distribution() for platforms that may have spaces
The new CentOS 7 beta lists the distribution as "CentOS Linux", which
breaks the distribution detection and class loading. This patch fixes
that by taking just the first entry in the string when a space is
detected.
2014-06-18 13:10:39 -05:00
James Cammarata
3529b1cb33 Merge branch '7763' of https://github.com/rmarchei/ansible into rmarchei-7763 2014-06-18 12:16:01 -05:00
Michael DeHaan
45ec3318ac Merge pull request #7822 from sybeck2k/patch-1
Fixed typo in docs
2014-06-18 11:54:37 -05:00
Roberto Migli
ca5f1fcf03 Fixed error in docs 2014-06-18 18:29:06 +02:00
Roberto Migli
7a3c826f0c Fixed typo in docs 2014-06-18 18:22:50 +02:00
James Cammarata
3be063aa79 Merge branch 'sergevanginderachter-lvg_fix' into devel 2014-06-18 09:02:10 -05:00
James Cammarata
55724f876d Merge branch 'lvg_fix' of https://github.com/sergevanginderachter/ansible into sergevanginderachter-lvg_fix 2014-06-18 09:00:41 -05:00
James Cammarata
7dae6b024c 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
b5ea0246b3 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
8e0c610200 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
28c9104ed5 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
James Cammarata
006770e04c Merge pull request #7809 from rouge8/patch-1
Building Ansible deb requires setuptools
2014-06-17 15:44:43 -05:00
Scott Brown
b09a144724 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
9c5ff8c498 Set default vg_options to empty string 2014-06-17 20:42:18 +04:00
Andy Freeland
75039845db Building Ansible deb requires setuptools 2014-06-17 11:30:41 -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
Joel Crocker
3f7934cc04 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
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
Ruggero Marchei
e3f5af377f move get_distribution_version() to basic.py 2014-06-17 10:22:14 +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