1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
Commit graph

11250 commits

Author SHA1 Message Date
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
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
Ruggero Marchei
c53c6a507a use different strategy for RHEL >= 7. Fixes 7763 2014-06-14 19:29:04 +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
James Cammarata
ac349dce96 Fixing typo in integration Makefile from an earlier change 2014-06-12 13:14:01 -05:00
James Cammarata
12f7c9871e Merge pull request #7555 from icebourg/softlayer_inventory
SoftLayer Inventory script
2014-06-12 12:42:22 -05:00
James Cammarata
b174b1a536 Merge branch 'matlockx-devel' into devel 2014-06-12 10:26:39 -05:00
James Cammarata
1173a8d6af Catch error in azure related to a failed deployment when creating a vm 2014-06-12 10:25:31 -05:00
James Cammarata
0b8c8b0581 Merge branch 'devel' of https://github.com/matlockx/ansible into matlockx-devel 2014-06-12 09:32:03 -05:00
James Cammarata
8a1741e2d8 Merge branch 'ahtik-fix-lineinfile-eof-newline' into devel 2014-06-12 09:15:12 -05:00
James Cammarata
d90f0bdfad Merge branch 'fix-lineinfile-eof-newline' of https://github.com/ahtik/ansible into ahtik-fix-lineinfile-eof-newline 2014-06-12 09:13:49 -05:00
James Cammarata
db4a5c6046 Merge pull request #7741 from mgcrea/devel
Add support for Linaro distribution in hostname module
2014-06-12 08:58:56 -05:00
James Cammarata
395192ffbc Merge pull request #7740 from jkramarz/issue-5761
changed sector size fact source
2014-06-12 08:56:03 -05:00
James Cammarata
c548d0fb3b Merge pull request #7737 from toddmowen/zfs-fix-7696
zfs: fix incompatibility - share.nfs vs sharenfs (issue #7696)
2014-06-12 08:53:21 -05:00
James Cammarata
ac40465f80 Merge pull request #7734 from WyriHaximus/patch-1
Made it a bit more obvious that 45 are 45 seconds
2014-06-12 08:19:15 -05:00
James Cammarata
ccf47577c4 Merge branch 'sivel-rax-autoscale' into devel 2014-06-12 08:14:39 -05:00
James Cammarata
8151746bf3 Adding new rax_scaling* modules to the CHANGELOG 2014-06-12 08:00:33 -05:00
James Cammarata
b4d130d086 Add a new password pattern to the run_command filter 2014-06-12 07:42:25 -05:00
Jakub Kramarz
4e4c9235e8 changed sector size fact source from hw_sector_size to physical_block_size, fixes issue 5761 2014-06-12 12:14:40 +02:00
Olivier Louvignes
8051e12490 Add support for Linaro distribution in hostname module 2014-06-12 12:06:59 +02:00
Todd Owen
4230a9a462 zfs: work around incompatibility by renaming share.nfs to sharenfs
Fixes #7696
2014-06-12 16:21:16 +08:00