Commit graph

3632 commits

Author SHA1 Message Date
Michael DeHaan
ea2f11e986 Merge pull request #6306 from willthames/ec2_module_clearer_failures
Make it easier to determine whether instance creation or tagging fails
2014-03-11 10:18:50 -05:00
Michael DeHaan
7c2f57f6a2 Merge pull request #6324 from scottanderson42/bugfix/route53-characters
BUGFIX: route53 module won't round-trip * and @ in records
2014-03-11 10:18:23 -05:00
Michael DeHaan
1cc6a591c5 Merge pull request #6366 from cloudify/devel
Fix for #6365: cloudformation module fails to update if stack exists
2014-03-11 10:17:47 -05:00
Michael DeHaan
e767de4978 Merge pull request #6372 from mriedelumab/devel
Returning 'NA' when no virtualization found
2014-03-11 10:17:22 -05:00
Michael DeHaan
5b54cc2156 Merge pull request #6233 from garethr/aws-autoscaling-groups
Added modules to manage ec2 autoscaling groups
2014-03-11 10:15:40 -05:00
Michael DeHaan
11146a52f1 Fix other reference to APT_ENV_VARS. 2014-03-11 10:47:53 -04:00
Michael DeHaan
4c7ff55102 Update apt module so that environment variables are set correctly since not going through shell. Very sorry folks, it will be addressed. 2014-03-11 08:39:28 -04:00
Michael DeHaan
f2a288adbb Missing comma in argument spec. 2014-03-10 19:37:34 -04:00
James Tanner
5a24d19a06 Fix merge conflicts from 1.5.1 release notes 2014-03-10 18:55:17 -04:00
James Tanner
ef789865bb Force command action to not be executed by the shell unless specifically enabled 2014-03-10 16:13:48 -05:00
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
Jarno Keskikangas
19fb807824 Recognize rule changes even if ufw is in disabled state.
See http://askubuntu.com/questions/30781/see-configured-rules-even-when-inactive
for the details.
2014-03-09 12:56:52 +02:00
Jarno Keskikangas
9abdacc725 Insert rule to a specific num. 2014-03-09 12:56:51 +02:00
Jarno Keskikangas
76eb4969fb Fix typo: 'reseted' -> 'reset'. 2014-03-09 12:56:51 +02:00
Jarno Keskikangas
b8f37df8e7 Add protocol options 'esp' and 'ah'. 2014-03-09 12:56:51 +02:00
Jarno Keskikangas
767cfcb0bd Add functionality and reduce complexity.
* Separate 'state', 'policy' and 'rule' commands
* Support for 'logging' command
* Support for 'direction' and 'interface' attributes
* Reliable change notifications based on 'ufw status verbose' diff
* Update documentation
* Cleanup
2014-03-09 12:56:51 +02:00
Aleksey Ovcharenko
4754bf47be New module [ufw]: this module handles Ubuntu UFW operations
* Updated documentation related to IPv6 usage.

BugFixes:
* Solved the default_policy and state mutual exclusive status.
* Fixed changed status for IPv6 addresses.

Added @otnateos patch.
2014-03-09 12:56:51 +02: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