Commit graph

10827 commits

Author SHA1 Message Date
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
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
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
43c9edad8a unarchive: do not assume tar supports -C
Fixes #7777
(But don't rewrite the tar invocation in is_unarchived(), since a
tar that supports "--diff" certainly supports "-C" as well).
2014-06-15 22:38:41 +08: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