Brian Coca
953ed0aecc
avoid exception when boto is not available
2016-12-08 11:22:56 -05:00
Brian Coca
5e892b894b
removed redundant region def
2016-12-08 11:22:56 -05:00
David Shrewsbury
c29ae705f0
Update os_server_volume for latest shade
...
The shade volume API was updated to return a dict rather than the
object as returned by cinder.
2016-12-08 11:22:56 -05:00
David Shrewsbury
4ea6bded61
Update os_volume for latest shade
...
The shade volume API was updated to return a dict rather than the
object as returned by cinder.
2016-12-08 11:22:56 -05:00
mcameron
dcb8fa0cb9
Net_id already present, remove unnecessary lookup.
2016-12-08 11:22:55 -05:00
mcameron
1cc057ca97
Valodate fip is on the correct network
2016-12-08 11:22:55 -05:00
mcameron
9f30125876
Adding openstack multiregion support
2016-12-08 11:22:55 -05:00
David Shrewsbury
4699e5b905
Recognize when volume attach/detach is not necessary
...
Do not attempt to attach an already attached volume.
Likewise, do not attempt to detach a volume that is not
attached.
This version adds support for check mode.
2016-12-08 11:22:55 -05:00
Heikki Partanen
ec566d86b3
Add support for extra_hosts to docker module
...
extra_hosts parameter (maps to --add-host in 'docker run' syntax) is used
to add host-to-ip mappings to the container.
2016-12-08 11:22:55 -05:00
Monty Taylor
63a0c0999a
Add OpenStack Volume module
2016-12-08 11:22:55 -05:00
Monty Taylor
15013cde32
Add OpenStack Server facts module
2016-12-08 11:22:55 -05:00
Monty Taylor
522a28b75c
Add OpenStack Server Volume module
2016-12-08 11:22:55 -05:00
Bobby Calderwood
cd14b8115b
Fixes regression introduced by edf1ac1ea6ffd5d44bb2bb62ad320364baf310a3
2016-12-08 11:22:55 -05:00
bw-will-usher
efd2cc6089
Fixed MS SQL port number in documentation (1443->1433) per: https://support.microsoft.com/en-us/kb/287932
2016-12-08 11:22:55 -05:00
Romain Dartigues
cf86c9b29f
Issue #1161 DigitalOcean API 2 ssh_key_ids problem
...
* fix documentation: show a valid syntax
* make ssh_key_ids a list and not a string
2016-12-08 11:22:55 -05:00
Brian Coca
88e3c19e9a
added new ec2_ami_find as per #905
2016-12-08 11:22:54 -05:00
Brian Coca
2733705a19
deprecated ec2_ami_search
2016-12-08 11:22:54 -05:00
sisso
17a409f20d
fixed bug where scaling policy return a random policy if many autoscale group have policies with same name.
2016-12-08 11:22:54 -05:00
Jan Brauer
31abdc7ace
Add missing comma
2016-12-08 11:22:54 -05:00
Daekwon Kim
a22bdd8356
Fix indent of "register" key
2016-12-08 11:22:54 -05:00
Daekwon Kim
4591761c73
Fix typo (volue -> volume)
2016-12-08 11:22:54 -05:00
Jaanus Torp
0f0cb9dc16
Added support for tagging images in ec2_ami.py
2016-12-08 11:22:53 -05:00
Andrey Trubachev
ac5b0ca59b
Fix mess of ipv6 and ipv4 addresses in private_ip
2016-12-08 11:22:53 -05:00
Kyle Johnson
cf61778689
Fix typo in rds_subnet_group.py
...
aws_connection_kwargs should be aws_connect_kwargs
2016-12-08 11:22:53 -05:00
Matt Martz
0b4fec0a06
Don't use a dict comprehension, be more verbose
2016-12-08 11:22:53 -05:00
Brian Coca
7f618bd787
minor docfixes
2016-12-08 11:22:53 -05:00
Monty Taylor
0283791d5f
Add OpenStack Auth module
...
Use this to pre-auth or to get a copy of the service catalog.
2016-12-08 11:22:53 -05:00
Jesse Rusak
9d93f052c2
Update rds module for RDS2 parameter name change.
...
boto's rds2 renamed `vpc_security_groups` to `vpc_security_group_ids`
and changed from a list of `VPCSecurityGroupMembership` to just a
list of ids. This accommodates that change when rds2 is being used.
2016-12-08 11:22:53 -05:00
steenzout
67f769d9a6
issue #994 : use HAS_BOTO to determine if import was successful: - removed import of sys module. - HAS_BOTO constant to check if import was successful. - trigger a failure when import fails. - removed unnecessary imports.
2016-12-08 11:22:53 -05:00
Richard Tier
0a48d54c1c
added version to docstring
2016-12-08 11:22:53 -05:00
Monty Taylor
ea809efe7b
Revert "Add OpenStack Router Gateway module"
2016-12-08 11:22:52 -05:00
Monty Taylor
c4db70a133
Add OpenStack Router Gateway module
...
Also deprecate old quantum_router_gateway module
2016-12-08 11:22:52 -05:00
Ash Wilson
c6b0656c1c
Record facts for each changed container.
2016-12-08 11:22:52 -05:00
Brian Coca
7985682c94
added support for postgres9.4 which is now available from amazon
2016-12-08 11:22:52 -05:00
Brian Coca
706db441b4
really fixed docs this time
2016-12-08 11:22:52 -05:00
Brian Coca
2dafff3f97
fixed doc issues on cloudformation
2016-12-08 11:22:52 -05:00
Richard Tier
0c1624f9b7
allow setting header
2016-12-08 11:22:52 -05:00
Tor Åke Fransson
459fd81435
Remove all reference to obsolete client_id and rename api_key to the for v2 more correct api_token
2016-12-08 11:22:52 -05:00
Tor Åke Fransson
02883a460b
Make digital_ocean ssh command use API v2
2016-12-08 11:22:52 -05:00
Tor Åke Fransson
5faa882138
WIP: DigitalOcean API version 2 with user_data option
2016-12-08 11:22:52 -05:00
Richard Lander
2091278ff0
azure check for hosted service and vm before creating
2016-12-08 11:22:52 -05:00
Rob Johnson
d8af3f3b67
allow both template and template_url parameters
2016-12-08 11:22:52 -05:00
Mick Bass
5de4c053b6
clean rebase of https://github.com/ansible/ansible-modules-core/pull/1024 on a new branch
2016-12-08 11:22:51 -05:00
Brian Coca
4f7bc895d2
removed requirements/boto as it broke documentation as it is duplicated in shared aws fragements
2016-12-08 11:22:51 -05:00
Adam Chainz
21339664ce
Make cloudformation module's template argument not required in case of stack deletion
2016-12-08 11:22:51 -05:00
Jonathan Davila
de85294d2d
allow boto profile use with s3
2016-12-08 11:22:51 -05:00
Lorin Hochstein
5224375a5a
Use the correct alias syntax
2016-12-08 11:22:51 -05:00
Lorin Hochstein
17e6be671b
ec2 module: add instance_id alias
...
Create an alias named instance_id for the instance_ids parameter.
2016-12-08 11:22:51 -05:00
Robert Estelle
268763995c
ec2_group allow empty rules.
2016-12-08 11:22:51 -05:00
Kohei YOSHIDA
f0db5c0cd0
support secure connection on fakes3
2016-12-08 11:22:51 -05:00
Ryan Trauntvein
eaa0ce0ceb
Specify that "state: reloaded" was added in Ansible 1.9
2016-12-08 11:22:51 -05:00
Scott Miller
751434de9d
describe choices in alias documentation
2016-12-08 11:22:51 -05:00
Mick Bass
9980205edc
Add support for AWS Security Token Service (temporary credentials) to all AWS cloud modules.
2016-12-08 11:22:51 -05:00
Toshio Kuratomi
e710e46ff2
Make lack of boto call fail_json instead of sys.exit
...
Fixes #994
2016-12-08 11:22:51 -05:00
Brandon W Maister
c1571928e5
Make cache_subnet_group default to empty security groups
...
Since they can't be specified together, it seems like setting the
default to no security groups is the right option.
2016-12-08 11:22:51 -05:00
Tom Wadley
ad248376b1
use aws connect call in rds_subnet_group that allows boto profile use
2016-12-08 11:22:50 -05:00
Dan Abel
2250a95638
use simpler ec2_connect ec2 util call
...
This allows boto profile use
2016-12-08 11:22:50 -05:00
Mick Bass
e9a0fad36b
add retry with exponential backoff when we receive throttling error code from cloudformation
2016-12-08 11:22:50 -05:00
Brandon W Maister
cffb2bdee9
Add cache_subnet_group
to elasticache module
...
According to the [docs] cache subnet groups are required inside a VPC.
[docs]: http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/CacheSubnetGroups.html
2016-12-08 11:22:50 -05:00
Brian Coca
7cd7bad2e8
added patch to workaround some s3 connection faliures
2016-12-08 11:22:50 -05:00
Brian Coca
252df8685a
refactrored connection exception handling, added check to see if we actually get a connection before proceeding
...
Fixes #964
2016-12-08 11:22:50 -05:00
Ash Wilson
2dde45cea9
Only fetch details when necessary.
2016-12-08 11:22:50 -05:00
Ash Wilson
93b620ea8a
Compare container images to Config.Image.
2016-12-08 11:22:50 -05:00
Sarah Zelechoski
17334b21ea
fix syntax in last example
2016-12-08 11:22:50 -05:00
James Martin
57cf6e8bb4
Re-wording of feature.
2016-12-08 11:22:50 -05:00
Toshio Kuratomi
e5149f3b30
Fix review comments from @bcoca in #745
2016-12-08 11:22:50 -05:00
Toshio Kuratomi
5378b5db98
Minor code formatting
2016-12-08 11:22:50 -05:00
Rowan Wookey
04fcfdad2c
Fixed group name not being passed to wait_for_new_instances when replacing instances
...
Fixed group_name not being passed to wait_for_elb
Minor code clean up
2016-12-08 11:22:49 -05:00
moe
bd09ebe5b4
Woops, make collect/delete loop more efficient.
2016-12-08 11:22:49 -05:00
moe
5e1e1a4dff
Fixes #744 .
...
The following cases work for me now:
- Create new ASG with tags
- Update tags on ASG (create/change/delete)
In short, the module should now work as expected
wrt tagging. The previous code did not work at all
with latest boto for me (serialization errors) and
the logic was buggy anyway; e.g. removed tags
would never get deleted from ec2.
2016-12-08 11:22:49 -05:00
James Martin
cadfd56304
check lb for instance healthy and some refactoring of rolling replace functions.
...
Optionally waiting for new instances to be in viable state on ASG creation/update.
Properly updating properties and terminating group.
2016-12-08 11:22:49 -05:00
Brian Coca
7f8094e977
undeprecated openstack modules as new ones are not making into release
2016-12-08 11:22:49 -05:00
moncho
0156188a54
Update docker.py
...
Fix typo that prevents use_tls 'encrypt' option from working properly.
2016-12-08 11:22:49 -05:00
Toshio Kuratomi
5262d768e0
Add another valid status from downloading images
2016-12-08 11:22:49 -05:00
nemunaire
7eebab43ae
Convert tuple items to string before format
2016-12-08 11:22:49 -05:00
Robert Marsa
b7649cc5ca
Added multiple allowed ranges.
2016-12-08 11:22:49 -05:00
Julien Syx
c676adde0b
Fix the issue #931
...
Checking that the parameter doesn't exist. The old code had a bug when the parameter was 0.
2016-12-08 11:22:49 -05:00
Toshio Kuratomi
d5e3abc5d5
Some code cleanup (removed unused variables and imports)
2016-12-08 11:22:49 -05:00
Toshio Kuratomi
f892ca5b8f
Also use DOCKER_TLS_VERIFY env var to turn on tls verification
2016-12-08 11:22:49 -05:00
Toshio Kuratomi
1bb98542d3
Fix a potential bug in docker pull
2016-12-08 11:22:49 -05:00
Toshio Kuratomi
0ad023a0ac
When no use_tls is not specified and no tls parameters are given we need to not attempt tls.
2016-12-08 11:22:49 -05:00
Alex Rowley
eeb867daf0
cloud/amazon/s3: update documentation
...
update description to show that module can do more than just put files into s3
2016-12-08 11:22:48 -05:00
Toshio Kuratomi
2e93f8e9f7
Make state=running work for backwards compatibility with 1.8
2016-12-08 11:22:48 -05:00
Toshio Kuratomi
1946f05baf
Fix lookup of parameter name to be pid instead of pid_mode
2016-12-08 11:22:48 -05:00
Toshio Kuratomi
09a0db1e1f
Make pid_mode parameter do minimum docker-py/docker server version checks
2016-12-08 11:22:48 -05:00
Toshio Kuratomi
95df4bcbee
Fix for problems found by @dguerri
...
* TLSConfig['verify'] has to be set to False if we're only encrypting the
connection, not verifying the host.
* tls_hostname was not set if tls_ca_cert was not present
https://github.com/ansible/ansible-modules-core/pull/926#issuecomment-78573877
2016-12-08 11:22:48 -05:00
Toshio Kuratomi
7c261b3954
Implement comments from @smashwilson:
...
* if tls_ca_cert is set then use tls to verify the server
* take tls_hostname from the environment variable DOCKER_TLS_HOSTNAME
if it's not specified in the playbook
https://github.com/ansible/ansible-modules-core/pull/926#issuecomment-78542210
2016-12-08 11:22:48 -05:00
Ian Babrou
3bfe9a7b50
fixed: global name 'e' is not defined
2016-12-08 11:22:48 -05:00
Toshio Kuratomi
3284359894
Alternative implementation of tls for docker
...
Alternative to #854
2016-12-08 11:22:48 -05:00
Toshio Kuratomi
c9b33d5de2
Fix for py2.6 (no dict comprehensions on py2.6)
2016-12-08 11:22:48 -05:00
Toshio Kuratomi
c9cc8d0b70
Initialize the value of vpc_id variable
2016-12-08 11:22:48 -05:00
Toshio Kuratomi
ba90eea165
Also don't fail if files are different and overwrite is false for uploads (this mimics copy and template).
...
Related to #489
2016-12-08 11:22:48 -05:00
Hagai Kariti
7d16ec283e
Fix KeyError in public zones in route53
2016-12-08 11:22:48 -05:00
Toshio Kuratomi
a02641b4f3
Documentation style changes
2016-12-08 11:22:48 -05:00
Matt Martz
bcd9f83521
Prevent an empty error message
2016-12-08 11:22:48 -05:00
Ian Babrou
005d02b185
not triggering reload for links and not string env variables
2016-12-08 11:22:47 -05:00
Ash Wilson
7c4e8774d8
Use {0}, {1} style format indices for 2.6 compat
2016-12-08 11:22:47 -05:00
Ash Wilson
ff0d0ceb70
Expect module env vars to override Dockerfile ones.
2016-12-08 11:22:47 -05:00
Ash Wilson
4e7d766e8f
Include bind mounts in VOLUMES check.
2016-12-08 11:22:47 -05:00
Ash Wilson
959d135b60
Exposed ports, env vars, volumes from the image.
...
This will account for settings that are provided by the hierarchy of
Dockerfiles used to construct your image, rather than only accounting
for settings provided to the module directly.
2016-12-08 11:22:47 -05:00
Ash Wilson
0d822c0c02
Full image inspection and just repo tags
...
Hat tip to @bobrik.
2016-12-08 11:22:47 -05:00
Toshio Kuratomi
bba322a10e
Sort subnets by the order they are specified in the play
...
Fixes #172
2016-12-08 11:22:47 -05:00
Bret Martin
650a7365f9
Allow vpc_subnet_id to remain unspecified (see bc0c169)
2016-12-08 11:22:47 -05:00
Sam Yaple
42fd85f041
Updated version and fixed default
2016-12-08 11:22:47 -05:00
Sam Yaple
24f1cf80bd
Add pid mode support to docker module
...
This allows setting the pid namespace for a container. Currently only
the 'host' pid namespace is supported.
This requires Docker 1.4.1 and docker-py 1.0.0
2016-12-08 11:22:47 -05:00
Ash Wilson
1c5601a0b5
Connect to Docker with optional TLS.
2016-12-08 11:22:47 -05:00
Ash Wilson
4224dd1acb
Rework docker module states.
...
Organize each state into a distinct function for readability and composability.
Rework `present` to create but not start containers. Add a `restarted` state
to unconditionally restart a container and a `reloaded` state to restart a
container if and only if its configuration is incorrect. Store our most recent
knowledge about container states in a ContainerSet object. Improve the value
registered by this task to include not only the inspect data from any changed
containers, but also action counters in their native form, a summary message
for all actions taken, and a `reload_reasons` key to store a human-readable
diagnostic to determine why each container was reloaded.
2016-12-08 11:22:47 -05:00
Matt Ferrante
aaca9b5127
check keys is in dim2 before evaluating
2016-12-08 11:22:47 -05:00
Lorin Hochstein
09e10ea031
Don't pass volumes_from to create_container
...
Don't pass the volumes_from argument to the Docker create_container method.
If the volumes_from argument is passed to the create_container method, Docker
raises the following exception:
docker.errors.DockerException: 'volumes_from' parameter has no effect on
create_container(). It has been moved to start()
2016-12-08 11:22:47 -05:00
Ash Wilson
338bbf6efc
Pull newer image versions when requested.
2016-12-08 11:22:46 -05:00
Ash Wilson
6505ce3940
Another documentation commit.
2016-12-08 11:22:46 -05:00
Lev Popov
5f31654704
Allow to keep instance boot disk after instance deletion in google cloud module
2016-12-08 11:22:46 -05:00
Toshio Kuratomi
49511ea078
Small code cleanup
2016-12-08 11:22:46 -05:00
Brandon W Maister
2121bbc208
ec2: Apply all security groups at instance-creation
...
The code was picking out the first instance from the security groups
specified, even when multiple groups were specified. Now we use all of
them.
2016-12-08 11:22:46 -05:00
Lev Popov
6d1fd1afcc
Allow to spawn instances without external ip in google cloud module
2016-12-08 11:22:46 -05:00
Michael Laccetti
8efb138fdc
Moving the import to the top of the file and getting rid of the redundancy
...
I sure do wish I knew where the whitespace change was coming from, though. Frustrating.
2016-12-08 11:22:46 -05:00
Michael Laccetti
0bd25a9a38
Change s3 to use connect_to_region
...
* Allows us to use Ansible/s3 for GovCloud when accessing a pre-existing bucket
2016-12-08 11:22:46 -05:00
Peter Gehres
878ff1e929
Issue #489 : s3 should not fail on checksum mismtach when overwrite=no
2016-12-08 11:22:46 -05:00
Achilleas Pipinellis
302c6f9b82
Add note about using version 1 of DigitalOcean API.
2016-12-08 11:22:45 -05:00
Feanil Patel
a0caaf7f42
Compare DNS names case insensitively.
2016-12-08 11:22:45 -05:00
James Cammarata
7fd7cffb61
Updating version added fields for new alias parameters in route53
2016-12-08 11:22:45 -05:00
Monty Taylor
3e3486b813
One more OpenStack deprecation notice
...
Fixes #858
2016-12-08 11:22:45 -05:00
James Cammarata
657d9d1f25
Add private_zone parameter for route53
...
Fixes #473
2016-12-08 11:22:45 -05:00
Monty Taylor
411c7e22b6
Add deprecation notices for old OpenStack modules
2016-12-08 11:22:45 -05:00
Monty Taylor
7c9a36a999
Deprecate old OpenStack modules
...
There are a completely new set of modules that do all of the things like
keystone v3 and auth_plugins and the like correctly. Structurally
upgrading these would have been massively disruptive and there is no
real good way to do so without breaking people.
These modules should be kept around for several releases - they still
work for people - and they should get bug fixes. But they should not
take new features. New features should go to the os_ modules.
2016-12-08 11:22:45 -05:00
Brian Coca
5c90040626
undeprecated docker_image until replacement actually arives
2016-12-08 11:22:45 -05:00
Brian Coca
49c10e4359
now captures connection exceptions and returns in 'nicer' module failure
2016-12-08 11:22:44 -05:00
Coderah
0fbe26273d
add alias support to route53 module
2016-12-08 11:22:44 -05:00
Coderah
40c41ed4ec
add hosted_zone information to ec2_elb_lb return
2016-12-08 11:22:44 -05:00
Capi Etheriel
103caa2853
add ec2 instance tags and groups info
2016-12-08 11:22:44 -05:00
Joel Thompson
646657e325
Fixes issue 697 -- only purge the grants that need to be purged
2016-12-08 11:22:44 -05:00
Jorge-Rodriguez
ad9379ad7d
Added optional parameter scheduler_hints.
2016-12-08 11:22:44 -05:00
Bret Martin
ed3f1a133b
ec2: make group only match group names in this VPC
2016-12-08 11:22:43 -05:00
Edward
bad5aafd30
Fixes #816 Backups not enabled on new droplets.
...
Convert backups_enabled string to lowercase. Similar to fix for private
networking.
2016-12-08 11:22:43 -05:00
Brian Coca
70856d5228
fix instance=None documentation
2016-12-08 11:22:43 -05:00
Brian Coca
cd7f498755
Revert "Revert "Don't use 'tenancy' in ec2 spot requests""
2016-12-08 11:22:43 -05:00
Brian Coca
6e55a0324b
Revert "Don't use 'tenancy' in ec2 spot requests"
2016-12-08 11:22:43 -05:00
Matt Martz
8e4755728e
DRY up duplicate code
2016-12-08 11:22:43 -05:00
Matt Martz
cf50526cb5
Don't hardcode minimum for boot_volume_size
2016-12-08 11:22:43 -05:00
Sergey Zhukov
d013652dc7
Fixed broken volumes_from for client API >= 1.10
2016-12-08 11:22:43 -05:00
Marek Chodor
35ab6d15df
Fixes docker.errors.DockerException: 'dns' parameter has no effect on create_container(). It has been moved to start()
2016-12-08 11:22:43 -05:00
Matt Martz
724ae97898
Fix order of logic to determine required args
2016-12-08 11:22:43 -05:00
Richard Lander
a0dad8e683
password required
2016-12-08 11:22:43 -05:00
Richard Lander
f5532b7904
set network_config.public_ips attribute
2016-12-08 11:22:43 -05:00
Matt Martz
1f51a5effd
Add boot from volume functionality to rax and rax_cbs modules
2016-12-08 11:22:42 -05:00
Matt Martz
cce6cb8d7f
Don't hardcode a minimum size of a volume
2016-12-08 11:22:42 -05:00
mcameron
f799180a58
More general output.
2016-12-08 11:22:42 -05:00
mcameron
751e268f0d
Useful log output.
2016-12-08 11:22:42 -05:00
Robert Marsa
4737b41f26
Added the ability to set an instance to forward ip.
2016-12-08 11:22:42 -05:00
Matt Martz
a078a99fae
Support accounts with more than 100 load balancers
2016-12-08 11:22:42 -05:00
Doug Ellwanger
cc6cc6e302
Pull SSL certificate IDs from existing ELBs
2016-12-08 11:22:42 -05:00
Robert Marsa
bf3cb32c1b
Added target_tags to gce_module.
2016-12-08 11:22:41 -05:00
Tomer Paz
76ee9a6a04
resolve issue 764
...
https://github.com/ansible/ansible-modules-core/issues/764
added 'domainname' attribute in addition to existing 'hostname'.
That's the most elegant way to delegate domain name to docker-py...
2016-12-08 11:22:41 -05:00
moussa taifi
742c10a1a0
Adds the currently available instance types for azure to the available dict(choices.....
2016-12-08 11:22:41 -05:00
Luc Bourlier
ae97d76a12
Don't use 'tenancy' in ec2 spot requests
...
The problem was introduced in commit f5789e8e. 'tenancy' is a parameter of
ec2.run_instances, but not in ec2.request_spot_instances. So it was breaking
the support for spot requests.
2016-12-08 11:22:41 -05:00
Jean-Baptiste Barth
c0b2960892
Improve formatting after previous commit
2016-12-08 11:22:41 -05:00
Jean-Baptiste Barth
58ff9bece2
EC2: move logic about terminated instances up ( #423 )
...
As stated in #423 , the commit 7f11c3d broke ec2 spot instance launching
after 1.7.2. This is because it acts on the 'res' variable which have 2
different types in the method, and in case we request spot instances,
the resulting object is not a result of ec2.run_instances() but
ec2.request_spot_instances(). Actually this fix doesn't seem to be
relevant in the spot instances case, because by construction we won't
retrieve 'terminated' instances in the end.
2016-12-08 11:22:40 -05:00
Peter Mooshammer
d741b57b91
adding disk_type option to choose from pd-ssd or pd-standard
2016-12-08 11:22:40 -05:00
Brian Coca
b853ad6c90
corrected version added for latest features
2016-12-08 11:22:40 -05:00
Brian Coca
83e0516478
minor fixes on new rds refactor
2016-12-08 11:22:40 -05:00
Toshio Kuratomi
dd79a27e73
Spelling and grammar fix
2016-12-08 11:22:39 -05:00
Matt Martz
ff90273021
Remove unnecessary logic, return the database on delete
2016-12-08 11:22:39 -05:00
Brian Coca
f90da6b2ba
ec2 fix docs format
2016-12-08 11:22:39 -05:00
Brian Coca
ed0f5045eb
moved defaulting to module constant to after when it is defined
2016-12-08 11:22:39 -05:00
Brian Coca
1f1ebf248f
updated tenancy version added
2016-12-08 11:22:39 -05:00
Ryan Rawson
e318ef2d70
Fixes #581 - digitalocean module cannot create private_networking=true droplets
2016-12-08 11:22:39 -05:00
Alex Clifford
4097cbf317
ttl should always be used during a delete
2016-12-08 11:22:38 -05:00
Matt Martz
8b60fb7181
Remove unnecessary required arg logic, and remove 'absent' as a valid choice since it isn't implemented
2016-12-08 11:22:38 -05:00
Matt Martz
5ae50eb8cf
Small fix-ups to convert objects to dicts, update volume details at the appropriate time, and remove unnecessary required argument logic
2016-12-08 11:22:38 -05:00
Matt Martz
19d99e0da6
Remove some broken and unnecessary required args logic
2016-12-08 11:22:38 -05:00
Matt Martz
63e5d5dcc4
Use rax_to_dict and make sure to return the volume details after deletion
2016-12-08 11:22:38 -05:00
Brian Coca
02a1cb62df
corrected release when this feature was added
2016-12-08 11:22:38 -05:00
Matt Martz
3a46c79451
Clean up some required argument logic
2016-12-08 11:22:38 -05:00
Matt Martz
db5f2bf3df
Just use built in required functionality for arguments
2016-12-08 11:22:38 -05:00
Matt Martz
617048b717
It is not correct that you need at least 1 primary node
2016-12-08 11:22:38 -05:00
Toshio Kuratomi
f3d41cdb06
Potential fix for 640
2016-12-08 11:22:38 -05:00
Alex Clifford
d4c4dd31d8
Fix slight typo in doco
2016-12-08 11:22:37 -05:00
Brian Coca
c5dfc66cb1
added version added for new template options
2016-12-08 11:22:37 -05:00
Vasyl Kaigorodov
d41ec7027f
gce_net - creating firewall rule, src_range value seems to get lost or set to empty string -- fixes #252
2016-12-08 11:22:37 -05:00
James Martin
07dbc333b2
vpc_zone_identifier must be a csv string when an asg is updated.
2016-12-08 11:22:37 -05:00
Philip Misiowiec
f3abfa0f19
Adds tenancy state to returning json
2016-12-08 11:22:37 -05:00
Luís Guilherme F. Pereira
b347875de0
Allow ec2_lc to create EC2-Classic Launch Configs
...
Removes default value from ec2_lc so it can create launch configurations valid on a EC2-Classic environment. AWS API will not accept a assign_public_ip when creating an ASG outside of VPC.
2016-12-08 11:22:36 -05:00
Philip Misiowiec
c57c1ea419
added version
2016-12-08 11:22:35 -05:00
Phillip Holmes
0d3b144eb2
Route53 fix - forcing zone_in, record_in to lower case
...
Fixed the .tolower to .lower() for correct syntax (copied change from older notes).
2016-12-08 11:22:35 -05:00
Philip Misiowiec
23668e41b0
Support for EC2 dedicated tenancy option
2016-12-08 11:22:35 -05:00
Philip Misiowiec
d30881a461
Ability to detach an EBS volume from an EC2 instance
2016-12-08 11:22:35 -05:00
Lorin Hochstein
88d5f15025
docker: fix volume[s]_from typo
...
Code makes reference to volume_from instead of volumes_from. If volumes_from is
passed as an argument, generates a KeyError.
2016-12-08 11:22:35 -05:00
Jan Weitz
8146b45203
Fixes invalid dictionary access.
2016-12-08 11:22:35 -05:00
Mark Phillips
786aceb43b
vsphere_guest fix for KeyError: folder message
2016-12-08 11:22:34 -05:00
Jan Weitz
1b9d0c5987
Fixes version check for docker-py
2016-12-08 11:22:34 -05:00
Brian Coca
945909bf67
update to use connect_to_region to avoid errors with china
2016-12-08 11:22:34 -05:00
Toshio Kuratomi
d28cd02ab7
Newstyle class
2016-12-08 11:22:34 -05:00
Toshio Kuratomi
4aaba45e29
Make insecure_registry feature version check against the client API
2016-12-08 11:22:34 -05:00
Maksim Losev
807d964a48
Add insecure_registry to docker-py pull method
...
Starting from docker-py>=0.5.0 it is impossible to work with private registries based on HTTP.
So we need additional parameter to allow pull from insecure registry
Related to ansible/ansible#9111
2016-12-08 11:22:34 -05:00
Toshio Kuratomi
7b74e451d9
Make docker ver checks issue failures rather than silently ignoring
...
Also:
* make client version checks robust for two digit version pieces and
alpha versions
* consolidate version checking code
2016-12-08 11:22:33 -05:00
Will Thames
834c8d2f59
Added better region handling and enabled eu-central-1
...
Make use of improved connect_to_aws that throws an exception
if a region can't be connected to (e.g. eu-central-1 requires
boto 2.34 onwards)
Add eu-central-1 to the two modules that hardcode their regions
Add us-gov-west-1 to ec2_ami_search to match documentation!
This pull request makes use of the changes in ansible/ansible#9419
2016-12-08 11:22:33 -05:00
Ingo Gottwald
f88107bc9b
Add support for new docker restart policies
2016-12-08 11:22:33 -05:00
Kale Franz
7c8f0b99af
#531 correction
...
correct list comprehension for older versions of python (back to python 2.4)
2016-12-08 11:22:33 -05:00
Kale Franz
eac743dc39
fixes #529 ec2_group module bug
2016-12-08 11:22:33 -05:00
Jeff Gonzalez
8eedd915cd
Fixed formatting in documentation
...
The example was using mixed shorthand and long form yaml (region: "us-east-1 disable_rollback=true"
I modified the entire example to be long form.
2016-12-08 11:22:33 -05:00