Bret Martin
bc0c1692b5
ec2: make group only match group names in this VPC
2015-02-19 11:28:13 -05:00
Edward
3fbfd7351b
Fixes #816 Backups not enabled on new droplets.
...
Convert backups_enabled string to lowercase. Similar to fix for private
networking.
2015-02-18 21:23:11 -05:00
Brian Coca
b787792908
Merge pull request #679 from marqc/fix_dns_create_container_issue
...
Fixes docker.errors.DockerException: 'dns' parameter has no effect on create_container()...
2015-02-18 15:44:16 -05:00
Brian Coca
53ef859ae4
fix instance=None documentation
2015-02-18 13:32:50 -05:00
Brian Coca
77241123a7
Revert "Revert "Don't use 'tenancy' in ec2 spot requests""
2015-02-18 11:07:13 -05:00
Brian Coca
7c42182f47
Revert "Don't use 'tenancy' in ec2 spot requests"
2015-02-18 08:59:26 -05:00
Matt Martz
5824f78773
Merge pull request #798 from sivel/rax-boot-vol-v2
...
rax: add boot from volume support
2015-02-17 12:31:32 -06:00
Brian Coca
7e71121da5
Merge pull request #730 from SergeyZh/devel
...
Fixed broken volumes_from for client API >= 1.10
2015-02-17 11:49:16 -05:00
Matt Martz
3dbf65f63c
DRY up duplicate code
2015-02-17 10:45:29 -06:00
Brian Coca
706be79f8f
Merge pull request #528 from lander2k2/password_required
...
TODO: check if instance already exists and this is not meant to create it but modify it, not supported by current code which always tries to create when 'present'.
2015-02-16 19:04:09 -05:00
Brian Coca
ed8ded7127
Merge pull request #519 from lander2k2/public_ips
...
set network_config.public_ips attribute
2015-02-16 19:02:18 -05:00
Matt Martz
f1667ba53b
Don't hardcode minimum for boot_volume_size
2015-02-16 17:58:47 -06:00
Matt Martz
d0e82fa3af
Fix order of logic to determine required args
2015-02-16 17:58:47 -06:00
Matt Martz
b0dcff214a
Add boot from volume functionality to rax and rax_cbs modules
2015-02-16 17:58:47 -06:00
Matt Martz
98d86529f4
Merge pull request #797 from sivel/rax-cbs-no-min-check
...
rax_cbs: Don't hardcode a minimum size of a volume
2015-02-16 17:54:51 -06:00
Brian Coca
6c4804e413
Merge pull request #22 from teamdoug/devel
...
Pull SSL certificate IDs from existing ELBs
2015-02-16 18:49:37 -05:00
Matt Martz
188138a40f
Merge pull request #788 from sivel/rax-clb-100plus
...
rax_clb: Support accounts with more than 100 load balancers
2015-02-16 15:35:23 -06:00
Matt Martz
b4ce4f3722
Don't hardcode a minimum size of a volume
2015-02-16 15:33:14 -06:00
mcameron
24f8792bab
More general output.
2015-02-16 15:08:39 +00:00
mcameron
8eb7870a5e
Useful log output.
2015-02-16 14:58:53 +00:00
Matt Martz
d03e9540a6
Support accounts with more than 100 load balancers
2015-02-13 15:12:24 -06:00
Robert Marsa
584f210eea
Added the ability to set an instance to forward ip.
2015-02-12 14:24:03 -08:00
Robert Marsa
ea1122d49f
Added target_tags to gce_module.
2015-02-12 10:01:41 -08:00
Toshio Kuratomi
5165ff4e15
Merge pull request #769 from tpaz/devel
...
resolve issue 764
2015-02-11 07:29:05 -08:00
Tomer Paz
374dd06c8e
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...
2015-02-11 09:25:24 +02:00
moussa taifi
ab8b4c0270
Adds the currently available instance types for azure to the available dict(choices.....
2015-02-10 11:14:28 -05:00
Luc Bourlier
df53b85259
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.
2015-02-10 13:43:11 +00:00
Capi Etheriel
5854f53cdc
add ec2 instance tags and groups info
2015-02-09 18:46:20 -02:00
Coderah
aa2b1f033b
add alias support to route53 module
2015-02-06 15:23:01 -08:00
Coderah
d92cd07156
add hosted_zone information to ec2_elb_lb return
2015-02-06 15:23:01 -08:00
Jean-Baptiste Barth
6090c4e109
Improve formatting after previous commit
2015-02-04 10:22:24 +01:00
Jean-Baptiste Barth
b451cbd37b
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.
2015-02-04 10:22:24 +01:00
moe
0d0205ad54
Woops, make collect/delete loop more efficient.
2015-02-04 06:13:52 +01:00
moe
047bd6f651
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.
2015-02-04 05:56:19 +01:00
Sergey Zhukov
7baaf97a8b
Fixed broken volumes_from for client API >= 1.10
2015-01-30 19:58:12 +03:00
Matt Ferrante
e1f2c570eb
check keys is in dim2 before evaluating
2015-01-29 16:36:35 -05:00
Peter Mooshammer
0c49d9f6c6
adding disk_type option to choose from pd-ssd or pd-standard
2015-01-29 10:19:01 -08:00
Brian Coca
e2083bbe8a
corrected version added for latest features
2015-01-28 12:55:05 -05:00
Brian Coca
82afff31a9
Merge pull request #718 from bcoca/rds_refactor_fixes
...
minor fixes on new rds refactor
2015-01-28 12:49:20 -05:00
Matt Martz
835f762cbb
Merge pull request #672 from sivel/rax-cdb-db-fixups
...
rax_cdb_database: Remove unnecessary logic, return the database on delete
2015-01-28 11:46:58 -06:00
Brian Coca
a28ad0db83
minor fixes on new rds refactor
2015-01-28 12:36:04 -05:00
Brian Coca
c5d7f07aa0
Merge pull request #5 from willthames/rds_refactor
...
Rds refactor
2015-01-28 12:34:12 -05:00
Joel Thompson
01c4ff922f
Fixes issue 697 -- only purge the grants that need to be purged
2015-01-24 00:52:37 -05:00
Toshio Kuratomi
670098af2d
Spelling and grammar fix
2015-01-22 23:08:24 -08:00
calmera
d2c6791082
Update docker.py
...
Added some more documentation for the memory_limit and volume options.
2015-01-22 23:08:24 -08:00
Toshio Kuratomi
6f47416cec
Merge pull request #641 from ansible/fix-640
...
Potential fix for 640
2015-01-22 21:45:10 -08:00
Toshio Kuratomi
ed15a71162
Merge pull request #677 from ryanobjc/devel
...
Fixes #581 - digitalocean module cannot create private_networking=true d...
2015-01-22 21:39:07 -08:00
Phillip Holmes
c5cb352262
Merge branch 'devel' of https://github.com/ansible/ansible-modules-core into ansible-devel
2015-01-22 15:04:55 -06:00
Toshio Kuratomi
1dca812662
Merge pull request #685 from bcoca/ec2_doc_form_fix
...
ec2 fix docs format
2015-01-21 23:40:06 -08:00
Brian Coca
9e1847ed03
ec2 fix docs format
2015-01-21 20:09:46 -05:00
Brian Coca
d66c3fcf51
moved defaulting to module constant to after when it is defined
2015-01-21 19:50:34 -05:00
Ryan Rawson
0162fc525d
Fixes #581 - digitalocean module cannot create private_networking=true droplets
2015-01-21 16:04:15 -08:00
Doug Ellwanger
10aaa1137c
Pull SSL certificate IDs from existing ELBs
2015-01-21 15:29:46 -08:00
Brian Coca
95d4b796c0
updated tenancy version added
2015-01-21 17:27:40 -05:00
Brian Coca
68a49bc6fb
Merge pull request #4 from atlashealth/ec2_tenancy
...
Support for EC2 dedicated tenancy option
2015-01-21 17:18:34 -05:00
Marek Chodor
13685fb91b
Fixes docker.errors.DockerException: 'dns' parameter has no effect on create_container(). It has been moved to start()
2015-01-21 13:37:24 +01:00
Matt Martz
d4074ccd96
Remove unnecessary logic, return the database on delete
2015-01-20 14:07:35 -06:00
Matt Martz
1668f45447
Merge pull request #667 from sivel/rax-identity-fixups
...
rax_identity: Small fix ups
2015-01-20 10:38:16 -06:00
Matt Martz
4db7ef6c2d
Merge pull request #666 from sivel/rax-cbs-attach-fixups
...
rax_cbs_attachments: Small Fix-ups
2015-01-20 10:37:56 -06:00
Matt Martz
3278b9824b
Merge pull request #665 from sivel/rax-cbs-delete-resp
...
rax_cbs: make sure to return the volume details after deletion
2015-01-20 10:37:44 -06:00
Alex Clifford
df2088377b
ttl should always be used during a delete
2015-01-20 10:43:22 +11:00
Matt Martz
c526a695de
Remove unnecessary required arg logic, and remove 'absent' as a valid choice since it isn't implemented
2015-01-19 13:08:56 -06:00
Matt Martz
32ef72df2e
Small fix-ups to convert objects to dicts, update volume details at the appropriate time, and remove unnecessary required argument logic
2015-01-19 12:43:30 -06:00
Matt Martz
f3d8d0f83f
Remove some broken and unnecessary required args logic
2015-01-19 10:58:22 -06:00
Matt Martz
d8032ecc81
Use rax_to_dict and make sure to return the volume details after deletion
2015-01-19 10:54:22 -06:00
Brian Coca
0794597c7e
corrected release when this feature was added
2015-01-19 09:34:27 -05:00
Matt Martz
09b3c20c07
Merge pull request #654 from sivel/rax-mods-required
...
rax_keypair / rax_network: Clean up some required argument logic
2015-01-16 16:33:53 -06:00
Matt Martz
6ca357198e
Clean up some required argument logic
2015-01-16 15:33:41 -06:00
Matt Martz
ee928dc000
Merge pull request #650 from sivel/rax-clb-nodes-bad-logic
...
rax_clb_nodes: It is not correct that you need at least 1 primary node
2015-01-16 08:55:37 -06:00
Matt Martz
8609a50450
Merge pull request #652 from sivel/rax-clb-required
...
rax_clb: Just use built in required functionality for arguments
2015-01-16 08:54:34 -06:00
Matt Martz
d2829c2510
Just use built in required functionality for arguments
2015-01-15 19:27:34 -06:00
Matt Martz
b2fd4d18e0
It is not correct that you need at least 1 primary node
2015-01-15 19:20:36 -06:00
Toshio Kuratomi
6cbce4d911
Potential fix for 640
2015-01-13 22:39:20 -08:00
Alex Clifford
d2ae2e6cc6
Fix slight typo in doco
2015-01-14 12:12:02 +11:00
Brian Coca
7fc142cc13
Merge pull request #634 from br0ziliy/fix-gce-net-src-tags-param-parsing
...
gce_net - creating firewall rule, src_range value seems to get lost or set to empty string
2015-01-13 11:10:36 -05:00
Brian Coca
0edfdca58b
Merge pull request #105 from luisguilherme/devel
...
ec2_lc does not create valid launch configuration for EC2-Classic
2015-01-13 11:04:21 -05:00
Michael DeHaan
d3297dc8a8
Merge pull request #598 from jsmartin/fix_asg_zone_identifier
...
vpc_zone_identifier must be a csv string when an asg is updated.
2015-01-08 13:46:16 -05:00
James Martin
242aa9f81b
vpc_zone_identifier must be a csv string when an asg is updated.
2015-01-07 14:39:28 -05:00
Toshio Kuratomi
1ca8b42770
Merge pull request #599 from bcoca/vmware_template_version
...
added version added for new template options
2015-01-06 13:38:18 -08:00
Brian Coca
53404c786a
added version added for new template options
2015-01-06 16:06:45 -05:00
Vasyl Kaigorodov
c1eb7a4c1d
gce_net - creating firewall rule, src_range value seems to get lost or set to empty string -- fixes #252
2015-01-06 20:44:09 +01:00
Luís Guilherme F. Pereira
cfda942376
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.
2015-01-06 09:30:44 -02:00
Philip Misiowiec
71d1044b8b
Adds tenancy state to returning json
2014-12-31 00:45:57 -08:00
Philip Misiowiec
ad7f5abf28
Ability to detach an EBS volume from an EC2 instance
2014-12-30 23:17:49 -08:00
Lorin Hochstein
48ce8bb564
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()
2014-12-27 22:05:55 -05:00
Lorin Hochstein
3665c92856
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.
2014-12-25 23:31:06 -05:00
Mick Bass
2d189f0d19
add retry with exponential backoff when we receive throttling error code from cloudformation
2014-12-25 14:37:08 -07:00
Toshio Kuratomi
925c9ab42d
Merge pull request #561 from weitzj/bugfix/docker-extra-params
...
Fixes invalid dictionary access.
2014-12-24 14:58:57 -08:00
Brian Coca
1e8abd2594
Merge pull request #562 from phips/fix_vsphere_folder
...
vsphere_guest fix for KeyError: folder message
2014-12-24 08:52:22 -05:00
Mark Phillips
8ede9de895
vsphere_guest fix for KeyError: folder message
2014-12-24 12:39:48 +00:00
Jan Weitz
ebf9b8c6e2
Fixes invalid dictionary access.
2014-12-24 13:15:40 +01:00
Jan Weitz
82601fdc54
Fixes version check for docker-py
2014-12-24 03:04:04 +01:00
Brian Coca
62a53b1209
Merge pull request #541 from bcoca/cloudformation_china
...
update to use connect_to_region to avoid errors with china
2014-12-23 13:40:49 -05:00
Brian Coca
0ab5682b87
Merge pull request #260 from willthames/aws_frankfurt
...
Added better region handling and enabled eu-central-1, leaving centralizing the list on these modules to a subsequent patch
2014-12-22 08:47:27 -05:00
Toshio Kuratomi
c4f9366e91
Newstyle class
2014-12-18 13:43:55 -08:00
Toshio Kuratomi
f65d9ab793
Make insecure_registry feature version check against the client API
2014-12-18 12:45:13 -08:00
Maksim Losev
4172d445d3
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
2014-12-18 12:36:17 -08:00
Toshio Kuratomi
fa0fa9d221
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
2014-12-18 11:23:44 -08:00
Ingo Gottwald
80d45c78a3
Add support for new docker restart policies
2014-12-18 10:27:53 +01:00
Brian Coca
d564569910
update to use connect_to_region to avoid errors with china
2014-12-17 19:55:54 -05:00
Brian Coca
8e5a849c66
Merge pull request #3 from atlashealth/ec2_vol_ssd_ebs
...
Ability to specify new SSD EBS option
2014-12-17 19:08:41 -05:00
Brian Coca
3ee8e2840f
Merge pull request #6 from willthames/ec2_snapshot_remove
...
Added the ability to remove snapshots
2014-12-17 17:28:47 -05:00
Brian Coca
978204aaa2
Merge pull request #496 from haraldsk/devel
...
add support for stack policies in cloudformation
2014-12-17 16:46:56 -05:00
Kale Franz
73172fae47
#531 correction
...
correct list comprehension for older versions of python (back to python 2.4)
2014-12-17 09:01:50 -08:00
Kale Franz
e174c9b474
fixes #529 ec2_group module bug
2014-12-17 03:34:47 -08:00
Toshio Kuratomi
c853bb5a0f
Merge pull request #518 from likwid/devel
...
Fixed formatting in cloudformation example
2014-12-16 23:18:01 -08:00
Richard Lander
73e32db22f
password required
2014-12-16 17:28:12 -05:00
Toshio Kuratomi
51ed13b887
Fix documentation build
2014-12-16 11:50:41 -08:00
Brian Coca
4cfc8d6950
Merge pull request #72 from stewrutledge/vmtemplate
...
Added support for deploying virtual machine from a virtual template
2014-12-15 20:01:54 -05:00
Richard Lander
0ab3b30b2f
set network_config.public_ips attribute
2014-12-15 16:26:33 -05:00
Jeff Gonzalez
369eeb2666
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.
2014-12-15 10:18:31 -06:00
Mike Putnam
5c6f375c17
Type fix on delete_snapshot docs.
2014-12-12 13:29:51 -06:00
Toshio Kuratomi
f4625a3dd1
Fixup the directory name at a higher level so it can be used by both conditional branches
...
Fixes #500
2014-12-12 11:23:17 -08:00
Matt Martz
7a6a30abbe
Merge pull request #492 from sivel/rax-asg-improvements
...
Make a few enhancements to the rax_scaling_group module
2014-12-11 12:59:16 -06:00
Matt Martz
9eb2bff946
Make a few enhancements to the rax_scaling_group module
...
* Cast loadbalancer id and port to integers
* Do not attempt to base64 encode NoneType values
2014-12-11 12:58:12 -06:00
Harri Hämäläinen
b354423bae
Fixed typo in comment
2014-12-11 18:59:42 +02:00
Harald Skoglund
5bc8d5b96e
add support for stack policies in cloudformation
2014-12-11 16:41:25 +01:00
Peter Gehres
05ca85a172
Issue #489 : s3 should not fail on checksum mismtach when overwrite=no
2014-12-10 10:50:16 -08:00
PikachuEXE
6ce7e63c5f
~ Add missing documentation for option email
2014-12-10 10:23:59 +08:00
Mike Putnam
55a51f4ca9
Clarify possible variable value in the docs.
2014-12-09 10:09:05 -06:00
Michael DeHaan
95aa8481b2
Merge pull request #466 from marcus-ahle/devel
...
Preventing Nonetype is not iterable error when no tags are set for new ASG
2014-12-08 14:26:16 -08:00
Marcus Ahle
ba5c36ce5a
Preventing Nonetype is not iterable error when no tags are passed in for a newly created ASG
2014-12-08 12:55:27 -05:00
Ben Whaley
cf24e7d56c
vpc_zone_identifier should be a list as per the docs
2014-12-05 18:04:16 -08:00
Scott Miller
53afd359f6
fix documentation
...
AWS does not recognize the subnet if it is presented in a comma delimited format with spaces. you must remove the space for Amazon to recognize the second subnet.
2014-12-03 11:45:42 -05:00
Toshio Kuratomi
5af4463823
Gixes to doc formatting
2014-12-03 08:17:15 -08:00
Brian Coca
71224c8678
Merge pull request #420 from drfickle/route53_float_fix
...
route53 module retry_interval needs to be a float before passing to time.sleep
2014-12-03 11:10:32 -05:00
Francois Deppierraz
f69a7553f7
Fix auto_floating_ip documentation
...
The default value is 'no' instead of the currently documented 'yes'.
See cloud/openstack/nova_compute.py line 543:
auto_floating_ip = dict(default=False, type='bool'),
2014-12-03 16:06:50 +01:00
willthames
b287e7c0a6
Added the ability to remove snapshots
...
Added state option, and accompanying snapshot_id option for
when state=absent.
2014-12-02 11:18:53 +10:00
Will Thames
565fa9a0ae
Fixed tagging
2014-12-02 11:12:40 +10:00
Denver Janke
0edb9f51e8
Fix few bugs around renaming db instances.
2014-12-02 11:11:30 +10:00
Will Thames
a1a6201b82
Improved error handling
...
More tests, particular for failure testing
2014-12-02 11:11:30 +10:00
Will Thames
7a8586c53c
RDS rewrite to use boto.rds and boto.rds2
...
Using rds2 allows tags and the control over whether or not DBs are
publicly accessible.
Move RDS towards a pair of interfaces implementing the details of rds
and rds2
Added tests to ensure that all operations work correctly as well as
requirements files that allow virtualenvs to test either boto.rds or
boto.rds2
2014-12-02 11:11:30 +10:00
Steve Fox
c03ec202a7
retry_interval needs to be a float before passing to time.sleep
2014-12-01 14:21:52 -06:00
Michael DeHaan
9de0045d00
Remove potentially out of date or specific product references.
2014-12-01 15:16:22 -05:00
Michael DeHaan
e7c92a6bc6
More EC2 doc tweaks
2014-12-01 15:14:57 -05:00
Michael DeHaan
c6b0d469ac
Misc EC2 doc tweaks.
2014-12-01 14:46:07 -05:00
Philip Misiowiec
59701feadb
added version
2014-12-01 10:55:22 -08:00
Philip Misiowiec
f5789e8eda
Support for EC2 dedicated tenancy option
2014-12-01 10:55:22 -08:00
Philip Misiowiec
c241e9dd9c
added version
2014-12-01 10:52:22 -08:00
Philip Misiowiec
b37a2328c0
Ability to specify new SSD EBS option
2014-12-01 10:52:22 -08:00
follower
a6e0d9d613
Fix typo of "rules_egress"
...
Or is "rules_egree" supposed to be a plural? The sentence is difficult to parse.
Maybe the correct fix is to "Purge existing rules on security group that are not found in rules_egress"?
2014-11-29 18:05:22 +13:00
Will Thames
30c7f9a7d3
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
2014-11-22 11:35:46 +10:00
Achilleas Pipinellis
cab378bff6
Add note about using version 1 of DigitalOcean API.
2014-11-17 17:01:26 +02:00
IndyMichaelB
5a628aacd4
docfix for vsphere_guest.py
...
Corrected parameter name from user to username in documentation
2014-11-16 16:59:57 -05:00
Sam Kottler
7b875dbda5
Remove trailing whitespace in digital_ocean_domain
2014-11-15 16:21:07 -05:00
Nejc Zupan
6f6eca5b4e
digital ocean: Remove unsupported states
2014-11-15 16:12:46 -05:00
Toshio Kuratomi
c6522620c5
Clean up the docker module just a little so that we can unittest the get_split_image_tag function
2014-11-14 08:46:32 -08:00
Robert Estelle
4dd099fe7a
Remove incorrect executable permissions.
2014-11-13 18:08:48 -05:00
Adam Miller
01db13e3ad
fix gce_net add firewall rule example
2014-11-13 15:27:10 -06:00
Stewart Rutledge
6d79518d67
Fixed a typo on power options
2014-11-13 22:01:26 +01:00