Justin Ludwig
26374d89a0
Fix AWS credential params for s3 and other modules
...
The `ec2_ami`, `ec2_elb`, `ec2_tag`, `ec2_vpc`, `route53`, and `s3` modules
all canonicalize the AWS access and secret key params as
`aws_access_key` and `aws_secret_key`. However, following the fixes for #4540 ,
those modules now use `get_ec2_creds` from `lib/ansible/module_utils/ec2.py`,
which requires access/secret key params to be canonicalized as
`ec2_access_key` and `ec2_secret_key`. As a result, AWS credentials passed
to those six modules as parameters are ignored (they instead always use
the AWS credentials specified via environment variables, or nothing).
So this change fixes those six modules to canonicalize the
AWS access and secret key params as `ec2_access_key` and `ec2_secret_key`,
allowing them to again accept AWS credentials passed via module params.
2013-11-26 19:29:06 -08:00
Sam Hartsfield
ae7735b45d
Fixed hostname module for RHEL6 Workstation
2013-11-26 11:36:10 -05:00
James Tanner
7be13faae8
Fix comment yaml escaping in authorized_key module
2013-11-26 08:54:19 -05:00
Michael DeHaan
82c9f5bfe4
Merge pull request #5060 from bcoca/assemble_fix
...
fixed typo for assemble function
2013-11-26 05:30:22 -08:00
Brian Coca
65885feeeb
fixed typo for assemble function
2013-11-26 08:30:28 -05:00
James Tanner
4ba51eef6f
Save comment hashes in sshkeys
2013-11-25 23:46:48 -05:00
James Tanner
16b22d0d64
Cleanup debug statements
2013-11-25 22:16:04 -05:00
James Tanner
b938554311
Fixes #5032 escape and safely split key options in authorized_keys module
2013-11-25 22:13:42 -05:00
Josh Kuhn
b1a6bc6e7f
Added note about .rsync-filter files, with example
2013-11-25 15:12:58 -05:00
James Tanner
d187066339
Fixes #5010 Add user to all defined supplementary groups
2013-11-25 14:56:46 -05:00
Michael DeHaan
d308aa584a
Merge pull request #5050 from greenbrian/devel
...
Update unarchive
2013-11-25 10:39:52 -08:00
Bruce Pennypacker
9abca424ea
Added promote command to promote read-replicas to standalone databases ( http://aws.amazon.com/about-aws/whats-new/2012/10/11/amazon-rds-mysql-rr-promotion/ ). Added ability for the modify command to rename a database instance via the optional new_instance_name parameter
2013-11-25 13:16:41 -05:00
Josh Kuhn
517e4af2cf
Added -FF flag to rsync invocation in synchronize
...
The `-FF` option causes rsync to look for files in the source directory named `.rsync-filter` and uses them to filter directories underneath them. If no `.rsync-filter` files are found, the behavior is identical to the command run without the -FF option. This flag does not sync the .rsync-filter files themselves.
This change should be backwards compatible and not produce surprising behavior for users, since they are unlikely to create `.rsync-filter` files unintentionally.
2013-11-25 12:27:58 -05:00
greenbrian
d80eb4a7fd
Update unarchive
...
Modified argument order provided to unzip command as the -o was being interpreted as a file.
2013-11-25 10:44:39 -06:00
Michael DeHaan
41e83d9df1
Merge pull request #5045 from junegunn/wait_for-python2.4
...
Remove Python 2.4-incompatible 'with' statement
2013-11-25 08:28:14 -08:00
James Tanner
b8146e3bc7
Fixes #4979 Check for the correct context when inside the inventory_hostnames plugin
2013-11-25 10:57:10 -05:00
James Tanner
903c4cae7b
Fixes #5031 Template the delay value and cast to float for loops
2013-11-25 10:13:55 -05:00
James Tanner
5c1fbcc9d2
Addresses #5036 fix typo in git module
2013-11-25 09:55:05 -05:00
James Tanner
d950a3d1b5
Fixes 5036 add missing parameter to git module function call
2013-11-25 09:51:07 -05:00
Serge van Ginderachter
2f9470ec1d
synchronize: allow ansible_ssh_host to be templated
...
This is already enabled in the runner also.
2013-11-25 15:33:04 +01:00
Jens Rantil
883f37e404
Improved documentation of mount
module
...
Mentioning the fact that mount point directories are created and
removed.
2013-11-25 13:58:00 +01:00
Junegunn Choi
9c798b119c
Remove Python 2.4-incompatible 'with' statement
2013-11-25 17:01:24 +09:00
Michael DeHaan
828b9f872f
Merge pull request #5033 from tgerla/vagrantguide
...
Add a basic guide describing Vagrant and Ansible
2013-11-24 08:15:58 -08:00
Tim Gerla
fb3d5d6589
elaborate on a couple of sections
2013-11-23 14:59:35 -08:00
Michael DeHaan
0d4c690111
Merge pull request #5034 from zanardo/fix-typo
...
fix typo in deprecation warning
2013-11-23 13:24:45 -08:00
Antonio Zanardo
8dbd91b5ad
fix typo in deprecation warning
2013-11-23 19:15:51 -02:00
Tim Gerla
461afa2b25
remove Vagrant from the list of pending topics
2013-11-23 11:13:56 -08:00
Tim Gerla
1cd71b7899
fix up word wrapping
2013-11-23 11:10:43 -08:00
Tim Gerla
7adf33ed41
add a topical guide for Vagrant integration
2013-11-23 11:07:51 -08:00
John Dewey
15613de6f5
Nova doesn't attempt to auth on obj instantiation
...
Need to call nova.authenticate() to validate credentials.
2013-11-22 21:57:02 -08:00
Aleksey Ovcharenko
2814828bc9
Added existing_only options to skip creating new files on receiver
2013-11-22 23:59:57 +02:00
James Tanner
32986c4d64
Fixes #5021 safely split hostkeys with quotes
2013-11-22 16:36:31 -05:00
Michael DeHaan
e54a574bb2
Merge pull request #5020 from damycra/django_manage_migrate_changed_filter
...
Reports changed status from django_manage migrate
2013-11-22 13:22:07 -08:00
Steven Davidson
f5d9679abc
Reports changed status from django_manage migrate
2013-11-22 19:35:19 +00:00
jctanner
815b32685b
Merge pull request #4985 from zakkie/devel
...
fix typo in document
2013-11-22 09:25:44 -08:00
James Tanner
bca2634d54
Fix missing eval for string search in ssh controlpersist
2013-11-22 12:22:53 -05:00
James Tanner
a16fe923ed
Addresses #5011 check for proper string in smartos ssh error output
2013-11-22 12:13:24 -05:00
Michael DeHaan
1aa1e53d12
Merge pull request #5015 from mscherer/fix_5006
...
Do not use construct not compatible with python 2.4, fix #5006
2013-11-22 07:35:53 -08:00
Michael Scherer
9731f388c1
Do not use construct not compatible with python 2.4, fix #5006
2013-11-22 16:06:41 +01:00
jctanner
5c84d7e445
Merge pull request #5002 from ovcharenko/devel
...
Allow to specify ansible_ssh_private_key_file location related to user home directory
2013-11-22 06:39:07 -08:00
Akihiro YAMAZAKI
9c2032a840
test
2013-11-22 16:22:48 +09:00
James Tanner
512ebdb971
Revert "Merge pull request #5001 from ovcharenko/devel"
...
This reverts commit d6c3103a00
, reversing
changes made to b11f96eaa4
.
2013-11-22 00:09:37 -05:00
Aleksey Ovcharenko
9af44b1b42
Update to 4 space indent
2013-11-22 04:20:14 +02:00
Aleksey Ovcharenko
30678e04ac
Make tests happy
2013-11-22 04:06:10 +02:00
Michael DeHaan
e0b0a89231
Merge pull request #4998 from berenddeboer/portinstall-fix
...
When name has digits in it, we may incorrectly determine package is already installed
2013-11-21 16:00:11 -08:00
Michael DeHaan
d6c3103a00
Merge pull request #5001 from ovcharenko/devel
...
Allow to specify ansible_ssh_private_key_file location related to user home directory
2013-11-21 15:58:45 -08:00
Aleksey Ovcharenko
2222f6df58
Allow to specify ansible_ssh_private_key_file location related to user home directory
2013-11-22 01:47:03 +02:00
jctanner
b11f96eaa4
Merge pull request #4999 from jlund/unarchive-typo
...
Fixed a typo in the 'unarchive' module documentation
2013-11-21 15:33:54 -08:00
Joshua Lund
02adc1fdcf
Fixed a typo in the 'unarchive' module documentation
2013-11-21 16:22:20 -07:00
Berend de Boer
2222532745
Don't use pkg_glob when guessing name, else we may think the package
...
is installed when it isn't.
2013-11-22 11:13:21 +13:00