Commit graph

3611 commits

Author SHA1 Message Date
James Tanner
fc33860e5d Force command action to not be executed by the shell unless specifically enabled 2014-03-10 16:13:30 -05:00
James Cammarata
4c709767ac Validate SSL certs accessed through urllib*
* Adds another module utility file which generalizes the
  access of urls via the urllib* libraries.
* Adds a new spec generator for common arguments.
* Makes the user-agent string configurable.

Fixes #6211
2014-03-10 16:09:59 -05:00
James Cammarata
a1b1182662 Validate SSL certs accessed through urllib*
* Adds another module utility file which generalizes the
  access of urls via the urllib* libraries.
* Adds a new spec generator for common arguments.
* Makes the user-agent string configurable.

Fixes #6211
2014-03-10 16:06:52 -05:00
James Cammarata
5c58766f33 Un-escape newlines in delimiters for assemble module 2014-03-10 15:58:43 -05:00
amree
1a3c43bf65 MASTER_PORT variable for CHANGE MASTER TO command can only accept integer value 2014-03-10 15:55:52 -05:00
James Cammarata
84747dfc9f Create the tempdir in the accelerate module if it doesn't exist
Fixes #6047
2014-03-10 15:55:46 -05:00
anatoly techtonik
50512db710 setup: Fix KeyError: 'ipv4_secondaries' (issue #6274) 2014-03-10 15:55:21 -05:00
Michael Scherer
646be91bb2 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-10 15:54:16 -05:00
Jim Kytola
2c08251fee Removes pluralization of manager tag attribute. 2014-03-10 15:54:11 -05:00
James Cammarata
8cf5fa3e47 Adding a wait loop to ec2_elb for the initial lb state when registering
Fixes #5305
2014-03-10 15:53:59 -05:00
Pavel Antonov
633c3dc991 Support docker_py >= 0.3.0, Docker API >= 1.8, extended error reporting 2014-03-10 15:53:25 -05:00
jctanner
143f18c49d Merge pull request #5872 from tomdymond/add-ignoreerror-to-sysctl
Add option to enable the sysctl -e option
2014-03-10 15:53:04 -05:00
Matthew Riedel
d21a8f6ddc Returning 'NA' when no virtualization found 2014-03-10 11:58:04 -04:00
Federico Feroldi
53f9e96189 Fix for #6365: cloudformation module fails to update if stack exists 2014-03-10 13:11:09 +01:00
Michael DeHaan
87d4bd771f Merge pull request #6344 from alimony/patch-1
Touch up documentation strings for DigitalOcean.
2014-03-08 18:41:48 -06:00
Markus Amalthea Magnuson
a26d118859 Touch up documentation strings for DigitalOcean. 2014-03-08 12:40:45 +01:00
Dolph Mathews
289f8f7ed9 spelling correction for "separate"
s/seperate/separate/

http://en.wiktionary.org/wiki/separate
2014-03-08 04:51:34 -06:00
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