Commit Graph

1479 Commits (f620a0ac41c82edc1e894734f4e0c4dbf63dfd3f)

Author SHA1 Message Date
HelenaTian f620a0ac41 Update gce.py to correctly handle propagated metadata type from a mother template
My project is using Ansible to automate cloud build process. Ansible has a core module gce.py for managing GCE instances. 
  We've come across a use case that's not yet supported - when executing ansible-playbook, if a child template is included, then metadata which is defined in and propagated from the mother template is treated as string type and not parsed correctly(which instead is dictionary type), and triggers release flow failure.
   We currently put some fix by explicitly casting metadata to string type in our own branch, but would like to contribute the fix to Ansible so that everyone onboarding GCE and using Ansible for release management could benefit from it, or hear owner's opinion on fixing the issue if there's a better fix in owner's mind:)
11 years ago
James Cammarata 576ca33bdc Fixing digital_ocean documentation and a bug in os_subnet 11 years ago
Jell 6b27cdc08e [ec2_vol] Find or Create volume by name 11 years ago
Toshio Kuratomi 1f99382dfb Finish up cleanups to modules:
* Add python>= 2.6 to documented requirements when a module's deps need
  python>= 2.6 so we know when a module can use python2.6+ syntax
* Remove BabyJSON usage
* Change modules to use if __name__ == '__main__' so that they can
  potentially be unittested

The BabJSON changes Fixes #1211
11 years ago
Toshio Kuratomi 60a66a544d Several cleanups to many modules:
* Fix docs to specify when python2.6+ is required (due to a library
  dep).  This helps us know when it is okay to use python2.6+ syntax in
  the file.
* remove BabyJson returns.  See #1211  This commit fixes all but the
  openstack modules.
* Use if __name__ == '__main__' to only run the main part of the module
  if the module is run as a program.  This allows for the potential to
  unittest the code later.
11 years ago
Brian Coca 18ccced5fe Merge pull request #1274 from bennojoy/issue-122
fixes issue 122, where the module recreates the route table in each run
11 years ago
Brian Coca bc22ee9069 Merge pull request #1015 from jml/ec2-eip
Make ec2_eip idempotent
11 years ago
Chris Lundquist 4670e1285b [ec2_ami_find] fix ami_search doc copy pasta 11 years ago
Benno Joy e2deee66d3 fixes issue 122, where the module recreates the route table in each run 11 years ago
Ratnadeep Debnath be66acb436 Fixed typo in cloud docker module. 11 years ago
Brian Coca ec5cd89d7c Revert "Add deprecated documentation for _quantum_subnet"
cause it was already added

This reverts commit 3fa32c4984.
11 years ago
Toshio Kuratomi 3fa32c4984 Add deprecated documentation for _quantum_subnet 11 years ago
Brian Coca a9781b3712 Merge pull request #1250 from afeinberg/patch-1
Fix a typo in create_instances
11 years ago
Sam Doiron de76c797ab Fix Issue #1216 (ValueError with Amazon RDS)
Fix typo where wrong variable was used, causing ValueError.
11 years ago
Brian Coca 9d25d88b9a Merge pull request #1187 from chrismeyersfsu/feature-azure_delete_disks
correctly delete disks associated with vms
11 years ago
Herby Gillot 6ce3ef36e3 Use existing ec2_eip address if already associated
If an EC2 instance is already associated with an EIP address, we use
that, rather than allocating a new EIP address and associating it with
that.

Fixes #35.
11 years ago
Alex Feinberg e749184bc7 Fix a typo in create_instances
Fix a typo in create_instances: use 'placement_group' instead of placement_group
when calling boto_siupports_param_in_spot_request().
11 years ago
Brian Coca 2dc0343d63 added deprecated doc entry 11 years ago
Toshio Kuratomi f444e49dfa Fix error when container has no names.
Rename loop variable from "i" to more informative "container"

Fixes #1188
11 years ago
Brian Coca a6eafb87c8 minor doc fixes 11 years ago
David Shrewsbury 28488f1b84 Update os_server for shade flavor API changes
Latest shade fixes the flavor API so that raw objects are not
returned.
11 years ago
Monty Taylor 3834680f43 Add OpenStack Server module
Also deprecated old nova_compute module
11 years ago
Brian Coca 9a216915e9 doc fixes 11 years ago
Brian Coca 3496bac18d Merge pull request #1057 from emonty/feature/os_server_volume
Add OpenStack Server Volume module
11 years ago
Brian Coca 0060c47b8c Merge pull request #1058 from emonty/feature/os_subnet
Add OpenStack Subnet module
11 years ago
Brian Coca 6ed317df7c Merge pull request #1059 from emonty/feature/os_volume
Add OpenStack Volume module
11 years ago
Brian Coca 75319519cc Merge pull request #1182 from sky-shiny/os_validate_fip_network
Validate openstack floating ip against provided network name.
11 years ago
Pascal Borreli f29a6ec54d Fixed typos 11 years ago
Brian Coca 9028e9d4be minor doc fixes, set version added for new tags: parameter
should Fix #10894
11 years ago
Toshio Kuratomi e971543bd4 Merge pull request #1231 from xiaclo/patch-1
Fix route53 TTL validation
11 years ago
xiaclo 946af50b22 Update route53.py 11 years ago
Toshio Kuratomi 1fdf75d49d Second try at fixing #1227 -- set e default value earlier 11 years ago
Toshio Kuratomi e51ea29d8f Return empty list if an image has no repo_tags 11 years ago
Toshio Kuratomi e356692c74 Get docker's default api version definition from both 1.2 location and pre-1.2 location
Fixes #1227
11 years ago
Brian Coca 09aa79c58f Merge pull request #1102 from heiparta/extra_hosts
Add support for extra_hosts to docker module
11 years ago
Brian Coca 1fe7da5bea Merge pull request #1180 from sky-shiny/os_multi_region_support
Adding openstack multiregion support for floating ip module.
11 years ago
xiaclo 5d1a3ee0ac Fix issue #1156
Fix as suggested in the issue.

https://github.com/ansible/ansible-modules-core/issues/1156
11 years ago
Brian Coca a811b9f12e removed deprecated docs, not true anymore 11 years ago
Toshio Kuratomi e95c0b2df3 Only split on the first colon.
Fixes #1214
11 years ago
Brian Coca 78de8bbd99 removed unused and undefined aws_regions 11 years ago
Brian Coca e137aea5d3 Merge pull request #1195 from bcoca/ec2_scaling_policy_fix
removed redundant region def
11 years ago
Brian Coca 0e23dd6c55 avoid exception when boto is not available 11 years ago
Brian Coca a905edd536 removed redundant region def 11 years ago
David Shrewsbury c451fbdd61 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.
11 years ago
David Shrewsbury f4600edeb8 Update os_volume for latest shade
The shade volume API was updated to return a dict rather than the
object as returned by cinder.
11 years ago
Chris Meyers c66de51b16 better timeout logic when deleting vm disks. Python 2.4 safe excepts 11 years ago
Chris Meyers 797a617a1d correctly delete disks associated with vms 11 years ago
Brian Coca 178d3ea133 minor doc fixes 11 years ago
Brian Coca b0cf0ae912 Merge pull request #1056 from emonty/feature/os_server_facts
Add OpenStack Server facts module
11 years ago
Brian Coca 70e24f1f4d Merge pull request #540 from lander2k2/hosted_service
azure check for hosted service and vm before creating
11 years ago