Commit graph

3650 commits

Author SHA1 Message Date
Richard C Isaacson
7fff5abd5b unarchive module: Add creates functionality.
Closes GH-5354.

Forklift copy logic into unarchive. Provides integration unit tests.
2014-03-07 18:19:46 -06:00
Richard C Isaacson
8b19f744a3 Yum: Fix logic in yum. 2014-03-07 15:22:59 -06:00
Richard C Isaacson
55042e7c35 Look at the filename and if it has a version defined possibly process this as a downgrade. 2014-03-07 15:01:39 -06:00
Richard C Isaacson
46e613622a Spelling and formatting. 2014-03-07 13:53:31 -06:00
Cove Schneider
be9c79ac98 change order of copyright 2014-03-07 11:08:08 -06:00
Cove Schneider
ba051deabb add sponsor copyright/attribution 2014-03-07 11:07:48 -06:00
Cove Schneider
77e66cb01e add yum module downgrade support 2014-03-07 11:07:18 -06:00
Scott Anderson
8317eab937 Fixes a bug that prevents round-tripping of * and @ 2014-03-06 19:10:56 -05:00
James Cammarata
4dea5a8672 Merge pull request #6318 from jimi-c/issue_5305_ec2_elb_None_issue
Adding a wait loop to ec2_elb for the initial lb state when registering
2014-03-06 14:01:11 -06:00
Michael DeHaan
8e9f058214 Merge pull request #6305 from amree/fix-mysql-replication-port
Fixed SQL syntax error when running mysql_replication module
2014-03-06 11:08:12 -06:00
Michael DeHaan
87677c96c6 Merge pull request #6308 from muffl0n/file_fix_documentation
Module "file": Fix link to "path" in documentation
2014-03-06 11:04:47 -06:00
Michael DeHaan
bd26ade5b9 Merge pull request #6313 from phenomenes/msg-encoding-fix
Don't use keyword `error` in encode
2014-03-06 10:59:11 -06:00
James Cammarata
bdd3ccec65 Un-escape newlines in delimiters for assemble module 2014-03-06 09:44:56 -06:00
Jimena Cabrera-Notari
86e7555554 Don't use keyword error in encode
This is not supported in Python 2.6. Just use positional arguments.
2014-03-06 13:33:53 +00:00
Sven Schliesing
b55f99b803 Fix link in documentation
c(dest) -> c(path)
2014-03-06 13:16:29 +01:00
willthames
10019c13b6 Make it easier to determine whether instance creation or tagging fails 2014-03-06 16:30:39 +10:00
Will Thames
7d0e161662 Work to allow security tokens and profiles to work with Ansible
Allow security tokens and profiles to be used as arguments
to the 'common' ec2 modules

Mostly refactoring to provide two new methods,
`get_aws_connection_info`, which results in a dict that can be
passed through to the boto `connect_to_region` calls, and
`connect_to_aws` that can pass that dict through to the
`connect_to_region` method of the appropriate module.

Tidied up some variable names

Works around boto/boto#2100

profiles don't work with boto < 2.24, but this detects for that
and fails with an appropriate message. It is designed to work
if profile is not passed but boto < 2.24 is installed.

Modifications to allow empty aws auth variables to be passed
(this is useful if wanting to have the keys as an optional
parameter in ec2 calls - if set, use this value, if not set,
use boto config or env variables)

Reworked validate_certs improvements to work with refactoring

Added documentation for profile and security_token to affected modules
2014-03-06 16:28:30 +10:00
amree
59f954b349 MASTER_PORT variable for CHANGE MASTER TO command can only accept integer value 2014-03-06 12:19:54 +08:00
James Cammarata
a2dfffeac9 Create the tempdir in the accelerate module if it doesn't exist
Fixes #6047
2014-03-05 22:08:09 -06:00
jctanner
b105942654 Merge pull request #5872 from tomdymond/add-ignoreerror-to-sysctl
Add option to enable the sysctl -e option
2014-03-05 12:58:05 -05:00
jctanner
6ccdf7cba5 Merge pull request #6265 from franckcuny/gce-fixes
Add credential parameters to the GCE modules.
2014-03-05 00:11:52 -05:00
Franck Cuny
f59e832292 Add credential parameters to the GCE modules.
In order to simplify the workflow with the GCE modules, it's now
possible to add the parameters and project name as arguments to the
various GCE modules.

The inventory plugin also returns the IP of the host in
`ansible_ssh_host` so that you don't have to specify IPs into the
inventory file.

Some update to the documentation are also added.

Closes #5583.
2014-03-04 19:27:49 -08:00
Michael DeHaan
fb42d429c0 Merge pull request #6279 from techtonik/patch-1
setup: Fix KeyError: 'ipv4_secondaries' (issue #6274)
2014-03-04 14:24:36 -05:00
anatoly techtonik
63f0a644ac setup: Fix KeyError: 'ipv4_secondaries' (issue #6274) 2014-03-04 20:00:18 +02:00
Michael Scherer
fb16c9615d Fix wrong module name for exception in nova compute
failed: [127.0.0.1] => {"failed": true, "parsed": false}
  invalid output was: Traceback (most recent call last):
    File "/tmp/ansible-tmp-1393950384.39-102240090845592/nova_compute", line 1328, in <module>
      main()
    File "/tmp/ansible-tmp-1393950384.39-102240090845592/nova_compute", line 241, in main
      except exc.Unauthorized, e:
  NameError: global name 'exc' is not defined
2014-03-04 17:30:15 +01:00
jctanner
8fe1737f2e Merge pull request #6271 from jimkytola/docker-image-fix
Removes pluralization of manager tag attribute.
2014-03-04 10:37:50 -05:00
Jim Kytola
6b8913ff8a Removes pluralization of manager tag attribute. 2014-03-04 10:07:32 -05:00
ToBeReplaced
b950ad6b1c Add comment about mod_admin_extra
Fixes issue #6027.
2014-03-04 09:19:44 -05:00
willthames
5f7f52d4cc Allow ec2_tag module to list the tags of an instance
Use the list argument to state to just collect the
tags of a resource through the AWS API.
2014-03-04 23:36:17 +10:00
Quinn Slack
af111774ef Add new cloud/rds DB instance types (db.m3 and db.cr1 families) 2014-03-03 19:59:27 -08:00
Joshua Conner
bb5afe97c4 nova_compute: remove ternary statement 2014-03-03 10:55:28 -08:00
James Tanner
87f17e7e94 Fix debconf docstring indentation 2014-03-03 13:48:44 -05:00
James Tanner
b07e5742b3 Merge branch 'debconf' of git://github.com/bcoca/ansible into bcoca-debconf 2014-03-03 13:46:11 -05:00
James Tanner
5292c7050c Update cpanm module to newer module patterns 2014-03-03 13:37:32 -05:00
James Tanner
8642544221 Merge branch 'module-cpanm' of git://github.com/franckcuny/ansible into franckcuny-module-cpanm 2014-03-03 13:07:26 -05:00
jctanner
66558c350a Merge pull request #6196 from softzilla/feature/docker_py_0.3.0_ansible
docker_image: added support for docker_py >= 0.3.0, Docker API >= 1.8. Replace #6178
2014-03-03 11:58:16 -05:00
James Cammarata
8760592385 Adding a wait loop to ec2_elb for the initial lb state when registering
Fixes #5305
2014-03-03 10:12:03 -06:00
jctanner
6188f12fe7 Merge pull request #6242 from scottanderson42/rds-group-modules
Adds modules for managing Amazon RDS parameter and subnet groups.
2014-03-03 09:42:44 -05:00
Jake Kreider
0b05551bff Updated S3 metadata examples 2014-03-02 20:45:53 -06:00
Scott Anderson
20e710583a Adds modules for managing Amazon RDS parameter and subnet groups. 2014-03-02 19:36:07 -05:00
Gareth Rushgrove
89148e15ed correct name in documentation and example 2014-03-02 12:00:50 +00:00
Gareth Rushgrove
0fd5628482 correct version added 2014-03-02 11:58:22 +00:00
Brian Coca
a4f6a12181 didnt make 1.5 ... lets see 2014-03-01 22:28:51 -05:00
Brian Coca
a7444f5178 added better gentoo/funtoo support 2014-03-01 21:56:02 -05:00
Gareth Rushgrove
869f95c0a6 Added modules to manage ec2 autoscaling groups
Includes management of Launch Configuration and related Autoscaling
Groups
2014-03-01 16:06:19 +00:00
Michael DeHaan
6aadf11ff8 Fix up examples in the assert docs to match the way things work. 2014-03-01 09:34:21 -05:00
Joshua Conner
b58fbd6eb0 nova_compute: fix for partial match b/w params['name'] and an existing name
When there is an Openstack instance that has a name that's a partial match
for module.params['name'], but a server with name module.params['name']
doesn't yet exist, this module would fail with a list index out of bounds
error. This fixes that by filtering by exact name and only then getting the
server from the list if the list is still not empty.
2014-02-28 18:05:52 -08:00
Eugene Brevdo
a63d40d2e9 Tiny bugfix in ec2_vol documentation. 2014-02-28 11:56:42 -08:00
Michael DeHaan
922c51176c Make the npm production parameter in the docs list the choices. 2014-02-28 14:00:00 -05:00
Michael DeHaan
2f12c6ddf6 Simplify file module parameter description. 2014-02-28 13:55:07 -05:00