Commit graph

2393 commits

Author SHA1 Message Date
Brian Coca
5129ef5590 Merge pull request #2993 from berlic/devel
Fix docker container restart
2016-03-01 00:01:12 -05:00
Brian Coca
76669fa16c Merge pull request #2992 from dusdanig/devel
Adds ulimit to the docker module
2016-03-01 00:00:57 -05:00
Brian Coca
e50a674190 Merge pull request #2977 from scottbrown/bugfix-missing-interpolation-var
BUGFIX: Fixing missing interpolation variable
2016-03-01 00:00:33 -05:00
Brian Coca
b9020155ee Merge pull request #2939 from Shrews/os_server
Fix for os_server module when specifying region
2016-02-29 23:58:24 -05:00
Toshio Kuratomi
876b91eb3d Merge pull request #3113 from Constantin07/update_cloudformation
cloudformation.py - Added explicit type for 'tags' option
2016-02-28 22:35:34 -08:00
Brian Coca
edf3aa336f Merge pull request #3129 from defionscode/lc_doc
Updated ec2_lc docs
2016-02-26 17:34:18 -05:00
Jonathan Davila
51d2f49ae0 Updated ec2_lc docs 2016-02-26 16:21:33 -06:00
Constantin07
bc94e691e8 Added explicit type for 'tags' option 2016-02-24 23:33:42 +00:00
Toshio Kuratomi
e9454fa44f Merge pull request #2352 from bermudezjd/feature/iam_policy_present_state_includes_policy_changes
Feature/iam policy present state includes policy changes
2016-02-24 08:50:50 -08:00
James Cammarata
4bc2a189ba Merge pull request #3058 from Constantin07/update_ec2_tag1
ec2_tag.py - Fixing issue #3057 - AttributeError: 'str' object has no attribute 'i…
2016-02-24 11:16:55 -05:00
Brian Coca
814527fca9 tolerate environment not being set
default will be the same as before, None/null
2016-02-23 12:36:50 -05:00
Matt Martz
a7e399955f Merge pull request #3037 from immanetize/rax-expanduser
use expanduser() before testing user_data as file
2016-02-23 10:51:38 -06:00
Brian Coca
d540342984 Merge pull request #3007 from jasonk/vsphere_guest-env-vars
Enable env vars for vsphere_guest
2016-02-23 10:52:10 -05:00
Brian Coca
78f4f8c9bc Merge pull request #2728 from sysreq0/devel
vsphere_guest: Added support for resizing disks when state is 'reconfigured'
2016-02-23 10:47:02 -05:00
Brian Coca
c9cfde4d0c Merge pull request #3069 from mixmatch/devel
replaced sudo with become
2016-02-20 18:37:22 -05:00
Brian Coca
369806de25 fixed rax_cdb argument spec
now we pull the actual arguments and added aliases to be nice
fixes #3075
2016-02-19 06:55:38 -08:00
Daniel Petty
e256ae0683 replaced sudo with become 2016-02-18 16:18:59 -07:00
Daniel Petty
4bdd755412 replaced sudo with become 2016-02-18 16:18:22 -07:00
Daniel Petty
bf04a0fe0e replaced sudo with become 2016-02-18 08:00:27 -07:00
Constantin07
9e42b2a684 Fixing issue #3057 - AttributeError: 'str' object has no attribute 'items' 2016-02-17 22:09:02 +00:00
Matt Martz
4e594a9196 Merge pull request #3050 from sivel/module-cleanup
Various simple linting type cleanups on modules
2016-02-16 16:03:34 -06:00
Matt Martz
c7845456a6 Various simple linting type cleanups on modules 2016-02-16 15:58:44 -06:00
Brian Coca
7fb2818048 Merge pull request #3002 from MikeCaspar/devel
Documentation Adjustments for Digital Ocean module
2016-02-15 15:46:44 -05:00
Pete Travis
363e459cb9 quote fail 2016-02-13 20:34:18 -06:00
Pete Travis
d5242e4016 expand when opening too 2016-02-13 20:33:19 -06:00
Pete Travis
7cfa625a31 use expanduser() before testing user_data as file
I like to use ~/somepath instead of absolute paths because
that's more shareable.  Without expansion, the path wasn't
considered a file, and the resulting cloud-config user_data
contained a string for the file path instead of the file context.
So, expand it.
2016-02-13 20:22:13 -06:00
David Shrewsbury
f71542ccf2 Fix parameters where type is assumed.
A change is coming to Ansible where module params will default to str.
Many of our modules were taking advantage of this by not being explicit
about the type, so they will break when that change merges. This hopefully
catches those cases.
2016-02-12 12:30:52 -05:00
Jason Kohles
80d8277521 Enable env vars for vsphere_guest
This commit allows the connection information for
the vsphere_guest module to be provided as environment
variables, which makes it possible to use Cloud
Credentials from Ansible Tower in playbooks that utilize
vsphere_guest.

| ENV VAR         | vsphere_guest param    |
| --------------- | ---------------------- |
| VMWARE_HOST     | vcenter_hostname       |
| VMWARE_USER     | username               |
| VMWARE_PASSWORD | password               |
2016-02-10 12:42:44 -05:00
Mike Caspar
7cc00bddc0 Documentation updates to use complete YAML : syntax instead of key=val syntax.
Adjusted example to use "" where appropriate to pass YAML Syntax checker per Contribution guidelines.

See Issue [# 2879](https://github.com/ansible/ansible-modules-core/issues/2879)
2016-02-10 10:02:38 -05:00
Daan Oosterveld
90153a2ca5 Adds ulimit to the docker module
The ulimit will be specified as a list and separated by colons. The
hard limit is optional, in which case it is equal to the soft limit.

The ulimits are compared to the ulimits of the container and added
or adjusted accordingly on by a reload.

The module ensures that ulimits are available in the capabilities
iff ulimits is passes as a parameter.
2016-02-10 10:31:54 +01:00
Monty Taylor
5f925d061b Add user_data alias for userdata in os_server
The old nova_compute module called the parameter user_data - having an
alias to the old name is friendly.

Fixes Issue #2920
2016-02-09 07:51:08 -06:00
Konstantin Suvorov
d9f13a0bbc Fix docker container restart
restart_containers(containers.running) may try to restart containers
that are deleted when looping through get_differing_containers()
fix this by refreshing list after first loop
2016-02-09 15:34:30 +03:00
jjshoe
b0cbae51b5 Less engrish 2016-02-08 19:03:35 -06:00
Michael Baydoun
98c16a4f1f Update ec2.py
Documentation is not clear that tag used in count_tags must be an existing instance_tag
2016-02-08 19:14:19 -05:00
Brian Coca
c68a790369 corrected description key spelling 2016-02-08 13:33:33 -05:00
James Cammarata
b804edfbe3 Merge pull request #2852 from awasilyev/check_tag
docker: fix failing in case of empty image tag
2016-02-08 12:44:24 -05:00
James Cammarata
e2f8ed1609 Merge pull request #2735 from noqcks/no-default-sec-groups
Elasticache Module: changing default cache_security_group to none
2016-02-07 21:43:35 -05:00
James Cammarata
4089f4af30 Fixing user_data version_added
Fixes #2634
2016-02-07 15:27:27 -05:00
Scott Brown
2f329f832e Fixing missing interpolation variable 2016-02-05 14:35:50 -08:00
Toshio Kuratomi
f5cdcfa1d9 Make validate_certs for vsphere_guest work with older python2 2016-02-05 13:17:18 -08:00
Stewart Rutledge
c24f758a02 Changed insecure to validate_certs, with a default to true from false (reversing behavior) 2016-02-04 08:16:35 +01:00
Stewart Rutledge
c13efdbd2b Added support for insecure parameter 2016-02-04 08:16:35 +01:00
David Shrewsbury
092791dc2c Fix for os_server module when specifying region
Fix the OpenStack os_server module for when region_name is specified.
This should not be passed through to the shade create_server() call
as it's only used with the auth parameters.

Fixes bug: https://github.com/ansible/ansible-modules-core/issues/2797
2016-02-03 09:52:18 -05:00
Toshio Kuratomi
29b81a4153 Merge pull request #2826 from shawnsilva/cloudformation-req-params
The parameters 'template' and 'template_url' are incorrectly required in all cases in the cloudformation module
2016-02-02 13:27:30 -08:00
Toshio Kuratomi
93d02189f6 Remove duplicate documentation fields 2016-01-28 09:24:20 -08:00
Brian Coca
cdfb578b60 Merge pull request #2646 from h1ppo/patch-2
updating choices for rds parameter engines
2016-01-25 23:46:12 -05:00
Brian Coca
382ae8f15f Merge pull request #2800 from noqcks/iam-grammar-issue
IAM Module: fixed grammatical issue in iam.py. exit -> exist.
2016-01-25 23:39:57 -05:00
Brian Coca
a75fa8df05 added missing version_added 2016-01-25 23:43:46 -05:00
Brian Coca
d2c50688de Merge pull request #2814 from Shrews/purge_fip
Add purge option to os_floating_ip module
2016-01-25 23:38:58 -05:00
Brian Coca
5e38b0e0c1 added missing version_Added 2016-01-25 23:42:04 -05:00