Commit graph

10832 commits

Author SHA1 Message Date
James Cammarata
e5ef0eca03 Merge pull request #6507 from brdo/patch-1
Set keepalive to 5 seconds in paramiko_ssh.py
2014-06-09 23:44:06 -05:00
James Cammarata
05fdd664fe Merge pull request #7707 from rrgomes/devel
Fix incorrect argument ordering in error message
2014-06-09 23:38:30 -05:00
James Cammarata
3fe7d53688 Merge pull request #7705 from smoothify/random-nocache
Ensure random jinja filter doesn't get cached in loops.
2014-06-09 23:35:46 -05:00
Ron Gomes
bcf3e29e14 Fix incorrect argument ordering in error message, which provokes a
printf-related TypeError.
2014-06-09 15:03:51 -04:00
smoothify
e3530dcbc2 Add environmentfilter to random filter, to ensure the result doesn't get cached. Mirrors default jinja filter. 2014-06-09 18:52:39 +01:00
Ahti Kitsik
1caf9be109 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.
2014-06-09 19:58:45 +03:00
James Cammarata
2c9cba0631 Merge branch 'kcghost-7645' into devel 2014-06-09 10:49:58 -05:00
James Cammarata
61325f5817 Cleaning up svr4pkg commit fix for #7645 2014-06-09 10:48:06 -05:00
James Cammarata
19d6f4d177 Merge branch '7645' of https://github.com/kcghost/ansible into kcghost-7645 2014-06-09 10:45:29 -05:00
James Cammarata
989e4770d0 Merge pull request #7684 from JeanFred/patch-2
Fix documentation of deb option in apt module
2014-06-09 10:03:36 -05:00
Michael DeHaan
9de1e57ebb Merge pull request #7698 from gsker/patch-1
Update intro_installation.rst
2014-06-09 10:58:20 -04:00
James Cammarata
7ff3282e39 Merge pull request #7682 from sergevanginderachter/bigip_monitor_http_checkmode_fix
bigip_monitor bugfix for check mode
2014-06-09 09:39:33 -05:00
James Cammarata
4c30b3d68a Fixing mysql master replication boolean
Fixes #7528
2014-06-09 08:58:55 -05:00
Casey Fitzpatrick
fdbb77da51 fix for svr4pkg module failure reporting, issue #7645 2014-06-08 19:59:44 -04:00
Gerry Skerbitz
b616f4b98f Update intro_installation.rst
This is different wording for using the PPA to install.  I also added the installation of apt-add-repository package which isn't always installed.

(I'm a newbie but while running these I wished whatever style was being used on the docs pages would have let me  cut and paste the commands without having to edit out the $ characters manually....)
2014-06-08 16:16:13 -05:00
Martin Joehren
98ff559fa0 azure - fixed missing return statement 2014-06-08 21:39:31 +02:00
Martin Joehren
188a13efc0 azure - fix for: temporary redirect, not deleted vhds, missing locations and role types, async api calls 2014-06-08 00:36:55 +02:00
James Cammarata
aaa16acdf1 Adding the new azure module to the CHANGELOG list 2014-06-06 22:00:02 -05:00
James Cammarata
5637426f51 Merge branch 'devel' of https://github.com/ansible/ansible into devel 2014-06-06 21:56:32 -05:00
James Cammarata
5f92989012 Merge branch 'jwhitbeck-devel' into devel 2014-06-06 21:56:08 -05:00
Ryan Petrello
bb0ca4c1aa Fix neutron floating IP allocation for networks with a v4 *and* v6 subnet.
For networks that have both a v4 and a v6 subnet, the floating IP plugin
currently has two problems:

* When determining the subnet for the provided `internal_network_name`, it
assumes that the first item in the list of subnets is the one you want.
Instead, it should pick the first v4 subnet.

* When multiple fixed IP's exist for a given port (as is the case in a network
a v4 and a v6 subnet), neutron needs a hint as to which fixed IP to associate
to the floating IP address (the v4 one).
2014-06-06 17:03:26 -04:00
James Cammarata
5bd8cd6e00 Cleaning up azure module
* Fixed error messages to be more descriptive
* Removed direct use of subprocess module and replaced it with calls
  to module.run_command
* Changed AZURE_MANAGEMENT_CERT_PATH to be just AZURE_CERT_PATH, which
  matches what is expected by the inventory script
2014-06-06 15:58:28 -05:00
Matt Martz
ad5cf5d55d Add Rackspace Autoscale modules
- rax_scaling_group
- rax_scaling_policy
2014-06-06 11:30:07 -05:00
James Cammarata
e083168773 Merge branch 'devel' of https://github.com/jwhitbeck/ansible into jwhitbeck-devel 2014-06-06 11:19:43 -05:00
Jean-Frédéric
c42f8907fd Fix documentation of deb option in apt module
The apt module may install a .deb package on the remote machine, not on the local.
Fix the misleading documentation.
2014-06-06 18:18:44 +02:00
James Cammarata
bd5cf57e76 Merge pull request #7653 from evanccopengeo/devel
ec2_group: Fix for 500 error when creating new security groups
2014-06-06 10:34:42 -05:00
Serge van Ginderachter
ceb1ba1687 bigip_monitor bugfix for check mode
Fixes case where properties are retrieved for a non existent monitor
which happens in check mode.
2014-06-06 16:48:36 +02:00
Michael DeHaan
2e9cfaaba3 Update README.md 2014-06-06 09:24:33 -04:00
James Cammarata
9cb05a0845 Catch failed connection due to a bad region in ec2_scaling_policy
Fixes #7505
2014-06-05 19:40:21 -05:00
James Cammarata
a760299170 Catch failed connection due to a bad region in ec2_scaling_policy
Fixes #7506
2014-06-05 16:44:55 -05:00
Kevin Bell
e0a4c389f3 Fixed asg instance count polling 2014-06-05 16:18:31 -05:00
Kevin Bell
426a827b46 Fix default availability zone list 2014-06-05 16:18:31 -05:00
Kevin Bell
73c1ccf53e Added an integration test for the ec2_asg module 2014-06-05 16:18:31 -05:00
James Cammarata
26aaa7bcdd Fix typo in nova_keypair import of exceptions from novaclient
Fixes #7640
2014-06-05 15:42:38 -05:00
James Cammarata
4c5a765986 Merge pull request #7678 from hacosta/devel
Show friendlier error message if nova.ini is not found.
2014-06-05 13:50:49 -05:00
Hector Acosta
a080873e7c Show friendlier error message if nova.ini is not found.
Signed-off-by: Hector Acosta <hector.acosta@gmail.com>
2014-06-05 13:07:38 -05:00
James Cammarata
ab956e8e4a Merge pull request #7676 from jimi-c/fix_symlinks
Fix issue with symlink path detection
2014-06-05 12:47:42 -05:00
James Cammarata
05e227eda5 Merge pull request #7675 from eludom/patch-1
Update developing_modules.rst
2014-06-05 12:47:00 -05:00
eludom
b1b17ce15a Update developing_modules.rst 2014-06-05 13:00:05 -04:00
James Cammarata
11b72df27b Merge pull request #7667 from alexclear/devel
ansible-pull should respect inventory file settings because, say, Python...
2014-06-04 23:41:14 -05:00
James Cammarata
43f96a636b Fix issue with symlink path detection
Fixes #7627
Fixes #7664
2014-06-04 23:31:59 -05:00
James Cammarata
7483acde5d Fix linking issue to directories in file module
The os.path.isdir() returns True for symlinks that point to directories,
so we also need to check to make sure it's not a symlink too.

Fixes #7657
2014-06-04 22:48:08 -05:00
Alex Chistyakov
bb1941a906 ansible-pull should respect inventory file settings because, say, Python interpreter path can be non-default on a host 2014-06-05 01:37:41 +04:00
James Cammarata
ad97c618cf Add support for relative paths in the file lookup plugin for roles
Fixes #7628
2014-06-04 15:20:59 -05:00
James Cammarata
b3bbca03d5 Add additional params to get_target_from_rule method in ec2_group
Fixes #7592
2014-06-04 13:52:44 -05:00
James Cammarata
9f0d496d67 Fixing version_added strings for new features in ec2_elb_lb
Fixes #7631
2014-06-04 13:37:04 -05:00
James Cammarata
6708ea887a Merge pull request #7662 from billcarlson/devel
Clarified, remote_user config item does override ansible current user
2014-06-04 13:30:46 -05:00
Bill Carlson
974ccc3486 Clarified, remote_user config item does override ansible current user if defined. 2014-06-04 13:26:16 -05:00
James Cammarata
82a784931e Fix error passing play vars to an included playbook with empty vars
Fixes #7658
2014-06-04 13:22:50 -05:00
James Cammarata
8ff0c0f253 Tweaking make_su_cmd test
Fixes #7652
2014-06-04 13:03:50 -05:00