Commit Graph

1579 Commits (1e4bd62af5c9669c2a5e54eac6b389d54d4d8410)

Author SHA1 Message Date
Andrea Mandolo 1e4bd62af5 Add "block_device_mapping" parameter on EC2_AMI Amazon module - ugraded 9 years ago
Bruce Pennypacker 51bc602f42 Added delobj command to delete an object within a bucket 9 years ago
Benno Joy e7203514ea Merge pull request #870 from tpounds/fix-issue-869
Instance deregistration should try all associated ELBs. Fixes #869
9 years ago
Benno Joy 85e9ccd17b Merge pull request #1030 from jsmartin/asg_rolling_optimizations
ec2_asg: Streamlined rolling udpate algorithm.
9 years ago
Benno Joy b9d0185cd8 Merge pull request #959 from wimnat/hotfix/issue-958
Fixes rds_subnet_group never reports changed
9 years ago
Brian Coca 92a4512b0b Merge pull request #887 from defionscode/iam_policy
iam_policy
9 years ago
Benno Joy 2562f72183 Merge pull request #859 from tpounds/fetch-asg-elbs
Use auto scaling group managed ELBs if present.
9 years ago
Trevor Pounds 4b9b047878 Use auto scaling group managed ELBs if present. 9 years ago
Benno Joy c25fe3438b Merge pull request #737 from raags/devel
Creating ami should be idempotent
9 years ago
Alex Gandy b91a232fe6 Added volumes dict to ec2_lc example 9 years ago
Benno Joy f5bafe2463 Merge pull request #355 from h3biomed/route_table_tags
ec2_vpc module: add route table resource tagging
9 years ago
toninog 9f3658d901 Fixed bug in example where updating a user to a group
Fixed bug in create_group and update_group whereby paramaters were not being set correctly.
9 years ago
Brian Coca ccfc9d2f6b Merge pull request #1436 from emonty/feature/os_client_config
Add OpenStack Client Config module
9 years ago
Brian Coca 84d839e058 Merge pull request #1042 from emonty/feature/os_image
Add OpenStack Image module
9 years ago
Brian Coca 32102f7e69 Merge pull request #1472 from bennojoy/fix_11177
fix for 11177 where module readds rule even if the rules exists
9 years ago
Monty Taylor 86fc12e279 Update doc params and version_added 9 years ago
Monty Taylor 3ffebeac5b Use the delete method from shade
Sigh. Turns out glance v1 and glance v2 delete images differently too.
9 years ago
Monty Taylor bd26df1c57 Don't update image properties if we're deleting 9 years ago
Monty Taylor 0bdf9f4d27 Add OpenStack Image module
Also deprecate old glance_image module
9 years ago
Brian Coca fc255fbd21 minor doc fixes 9 years ago
Brian Coca cae1f30e95 Merge pull request #756 from defionscode/iam_module
iam_module
9 years ago
Jonathan Davila 801a5e8ed0 iam module with fixes
iam module. fix policy issue.

bugfix

allow for modifying path without declaring new_path
9 years ago
Brian Coca f5ff5ba348 reverting pep changes that were breaking documentation 9 years ago
Brian Coca 837bd04f95 minor doc fixes 9 years ago
Brian Coca 182e7c7fc6 made non exec 9 years ago
Brian Coca 37ecabbf6a Merge pull request #1137 from timmahoney/elasticache_subnet_group_management
Elasticache subnet group management
9 years ago
Benno Joy 6b9e9fe05d fix for 11177 where module readds rule even if the rules exists 9 years ago
Tim Mahoney 8c13ac894a Elasticache Subnet Group 9 years ago
Monty Taylor 1b5b1cbfe8 Add missing state parameter 9 years ago
Monty Taylor 9e56b42574 AnsibleModule takes a dict as a param 9 years ago
Sankalp Khare f9f17b5e04 Fixed a typo in ec2_vpc module documentation 9 years ago
Brian Coca 273abeb8ee Merge pull request #1435 from civisanalytics/cloudformation_yaml
cloudformation: accept local templates in yaml format
9 years ago
billwanjohi 61741b60c6 cloudformation: accept local templates in yaml format
Since the YAML data format is a subset of JSON, it is trivial to convert
the former to the latter. This means that we can use YAML templates to
build cloudformation stacks, as long as we translate them before passing
them to the AWS API. I figure this could potentially be quite popular in
the Ansible world, since we already use so much YAML for our playbooks.
9 years ago
tedder b138411671 feature pull request: catch and retry recoverable errors
boto can throw SSLError when timeouts occur (among other SSL errors). Catch these so proper JSON can be returned, and also add the ability to retry the operation.

There's an open issue in boto for this: https://github.com/boto/boto/issues/2409

Here's a sample stacktrace that inspired me to work on this. I'm on 1.7, but there's no meaningful differences in the 1.8 release that would affect this. I've added line breaks to the trace for readability.

    failed to parse: Traceback (most recent call last):
      File "/home/ubuntu/.ansible/tmp/ansible-tmp-1419895753.17-160808281985012/s3", line 2031, in <module> main()
      File "/home/ubuntu/.ansible/tmp/ansible-tmp-1419895753.17-160808281985012/s3", line 353, in main download_s3file(module, s3, bucket, obj, dest)
      File "/home/ubuntu/.ansible/tmp/ansible-tmp-1419895753.17-160808281985012/s3", line 234, in download_s3file key.get_contents_to_filename(dest)
      File "/usr/local/lib/python2.7/dist-packages/boto/s3/key.py", line 1665, in get_contents_to_filename response_headers=response_headers)
      File "/usr/local/lib/python2.7/dist-packages/boto/s3/key.py", line 1603, in get_contents_to_file response_headers=response_headers)
      File "/usr/local/lib/python2.7/dist-packages/boto/s3/key.py", line 1435, in get_file query_args=None)
      File "/usr/local/lib/python2.7/dist-packages/boto/s3/key.py", line 1488, in _get_file_internal for bytes in self:
      File "/usr/local/lib/python2.7/dist-packages/boto/s3/key.py", line 368, in next data = self.resp.read(self.BufferSize)
      File "/usr/local/lib/python2.7/dist-packages/boto/connection.py", line 416, in read return httplib.HTTPResponse.read(self, amt)
      File "/usr/lib/python2.7/httplib.py", line 567, in read s = self.fp.read(amt)
      File "/usr/lib/python2.7/socket.py", line 380, in read data = self._sock.recv(left)
      File "/usr/lib/python2.7/ssl.py", line 341, in recv return self.read(buflen)
      File "/usr/lib/python2.7/ssl.py", line 260, in read return self._sslobj.read(len) ssl.SSLError: The read operation timed out
9 years ago
Feanil Patel fbaeee5dba Output the Internet Gatewoy id directly instead of in a dict. 9 years ago
Benno Joy 4e206e3790 Fixes issue 1197 for s3 module, where the file gets downloaded even if checksums match 9 years ago
Feanil Patel d796e8f54f Tell me what the igw id is if we created an igw. 9 years ago
James Cammarata 3256db99e2 Fixing digital_ocean documentation and a bug in os_subnet 9 years ago
Toshio Kuratomi 55d48a7a82 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
9 years ago
Brian Coca 145361aea3 Revert "Add deprecated documentation for _quantum_subnet"
cause it was already added

This reverts commit 3fa32c4984.
9 years ago
Toshio Kuratomi 9927e109b7 Add deprecated documentation for _quantum_subnet 9 years ago
Brian Coca 4348475ed3 doc fixes 9 years ago
David Shrewsbury 3692518643 Update os_subnet module for latest shade
Shade can now handle creating, updating and deleting subnets.
This cleans up the module to take advantage of that.
9 years ago
David Shrewsbury abbf8a40ca Rename os_subnet to os_subnet.py 9 years ago
Monty Taylor ef1c7eef5b Add OpenStack Subnet module
Also deprecated old quantum_subnet module
9 years ago
xiaclo 1fb035a346 Update route53.py 9 years ago
xiaclo 2aa793ec0e Fix issue #1156
Fix as suggested in the issue.

https://github.com/ansible/ansible-modules-core/issues/1156
9 years ago
Monty Taylor ce556a053e Return a list of OpenStack clouds
The main use of this is to feed jinja templating, so structure the
data returned slightly better for that purpose.
9 years ago
Monty Taylor 718c13bdf2 Add OpenStack Client Config module
All of the ansible OpenStack modules are driven by a clouds.yaml config
file which is processed by os-client-config. Expose the data returned by
that library to enable playbooks to iterate over available clouds.
9 years ago
Benno Joy 415815ef45 Merge pull request #678 from Jimdo/handle-cfn-rollback-failure
Handle the case where a Cloudformation stack rollback fails.
9 years ago