Commit Graph

4701 Commits (f0ae6204e4485472413072c23e2b5bb7a50bc55b)
 

Author SHA1 Message Date
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. 11 years ago
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. 11 years ago
Ilya Rusalowski b1a31ebb84 Set default vg_options to empty string 11 years ago
James Cammarata 9e8bbd8eac Merge pull request #7801 from koenpunt/npm-rbenv-exec
Allow gem executable to contain spaces
11 years ago
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.
11 years ago
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.
11 years ago
Ruggero Marchei f522425415 move get_distribution_version() to basic.py 11 years ago
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.
11 years ago
James Cammarata 2ac27fbbea Use file documentation fragement for the copy module 11 years ago
James Cammarata d604bb6dc6 Merge pull request #7755 from sivel/rax-asg-normalize-nic
module rax_scaling_group: safe normalization of nics
11 years ago
James Cammarata 1bec2e7eb7 Minor cleanup of openbsd_pkg example comment 11 years ago
James Cammarata adb9feaf83 Merge pull request #7774 from mwpher/devel
[openbsd-pkg] Add note regarding package flavors
11 years ago
James Cammarata 4f1353bec1 Merge pull request #7776 from toddmowen/pkgutil-quote-fix
Fix in pkgutil: don't call pipes.quote() on None
11 years ago
James Cammarata 973761cac0 Merge pull request #7778 from toddmowen/unarchive-detect-error
unarchive: improve failure detection and reporting
11 years ago
Todd Owen dc7e1fe21e 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).
11 years ago
Todd Owen 2b9402dc5c unarchive: improve failure detection and reporting
Related to #7777
11 years ago
Todd Owen 198048c356 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().
11 years ago
Matthew Pherigo 09e7cc2aa6 [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.
11 years ago
Ruggero Marchei bd69e9f265 use different strategy for RHEL >= 7. Fixes 7763 11 years ago
Brice Leroy f65f5bc4c7 Fix task description 11 years ago
Matt Martz b29535c981 Perform safe normalization of nics to use uuid 11 years ago
James Cammarata de94863eb1 Catch error in azure related to a failed deployment when creating a vm 11 years ago
James Cammarata 09b16c987d Merge branch 'devel' of https://github.com/matlockx/ansible into matlockx-devel 11 years ago
James Cammarata 0c028ad881 Merge branch 'fix-lineinfile-eof-newline' of https://github.com/ahtik/ansible into ahtik-fix-lineinfile-eof-newline 11 years ago
James Cammarata d35d5ac9d1 Merge pull request #7741 from mgcrea/devel
Add support for Linaro distribution in hostname module
11 years ago
James Cammarata 3e04d8c70c Merge pull request #7737 from toddmowen/zfs-fix-7696
zfs: fix incompatibility - share.nfs vs sharenfs (issue #7696)
11 years ago
James Cammarata acd0ab31cf Merge branch 'sivel-rax-autoscale' into devel 11 years ago
Olivier Louvignes 158d6276eb Add support for Linaro distribution in hostname module 11 years ago
Todd Owen 34517b0836 zfs: work around incompatibility by renaming share.nfs to sharenfs
Fixes #7696
11 years ago
rgbkrk 5591e8838d Error checking and reporting on interface ufw rule 11 years ago
Aleksey Khudyakov a1d76ca8d1 Escape backslash in assemble module docs 11 years ago
James Cammarata c8845cdc65 Merge pull request #7687 from ryanpetrello/devel
Fix neutron floating IP allocation for networks w/ multiple subnets
11 years ago
James Cammarata b59aded177 Merge branch 'rax-autoscale' of https://github.com/sivel/ansible into sivel-rax-autoscale 11 years ago
Paul Myjavec 267d107fe6 Docker links and required alias
If no alias is passed one will now be created for you with the same name
as the target link container, as per the documentation
11 years ago
James Cammarata 8d9da7e89f Merge pull request #7377 from mikhailguru/devel
Fixed handling of paths containing whitespaces in the synchronize module
11 years ago
Brad Pitcher 65e0bffa8e use the full list of available campfire sounds
From the list found [here](http://www.emoji-cheat-sheet.com/)
11 years ago
James Cammarata 06cc6ec6eb Merge pull request #7259 from darKoram/nova_keypair_check_keys
nova_keypair should fail if 'name' of key exists in keystore, but ssh hash value != public_key offered
11 years ago
James Cammarata 00ce3a97b0 Merge pull request #7238 from willthames/ec2_snapshot_argument_spec
Improve the ec2_snapshot argument spec and docs
11 years ago
Ron Gomes 73246a49dc Fix incorrect argument ordering in error message, which provokes a
printf-related TypeError.
11 years ago
Matt Ferrante 05632e17c9 ec2_asg module enhancements
- Added a more verbose response
  - includes its settable attributes and a list of its instances.
  - allows setting of tags, changes upon which mark the task changed
  - allow getting of information from asg module, not just setting
  - doesn't mark changed if the parameter wasn't specified
  - Availability Zones are pulled from the region
11 years ago
Ahti Kitsik 6341cc23fb Bugfix to lineinfile to properly handle files with no newline at EOF when using insertafter=EOF.
Looks like #6881 is also affected by this bug.

Currently when using lineinfile insertafter=EOF for a file that has no newline then the added line is not prefixed with a newline.
As a concrete example, ubuntu distro default /etc/ssh/sshd_config has no newline so lineinfile module cannot be used to add a new line to the end of the file.
11 years ago
James Cammarata 9d86d41741 Cleaning up svr4pkg commit fix for #7645 11 years ago
James Cammarata eb57ceee96 Merge branch '7645' of https://github.com/kcghost/ansible into kcghost-7645 11 years ago
James Cammarata ed3d0bf747 Merge pull request #7684 from JeanFred/patch-2
Fix documentation of deb option in apt module
11 years ago
James Cammarata 8b119646e4 Merge pull request #7682 from sergevanginderachter/bigip_monitor_http_checkmode_fix
bigip_monitor bugfix for check mode
11 years ago
James Cammarata 8d0d2831e6 Fixing mysql master replication boolean
Fixes #7528
11 years ago
Casey Fitzpatrick 6a5ad84656 fix for svr4pkg module failure reporting, issue #7645 11 years ago
Martin Joehren 6967d821b9 azure - fixed missing return statement 11 years ago
Martin Joehren 9b04ecec8c azure - fix for: temporary redirect, not deleted vhds, missing locations and role types, async api calls 11 years ago
James Cammarata 3c5bb759ce Merge branch 'devel' of https://github.com/ansible/ansible into devel 11 years ago