Commit Graph

6200 Commits (b91a232fe668efb21d3a3dcb1a9ce5cc3587b300)
 

Author SHA1 Message Date
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
Benno Joy 3a339b9906 Merge pull request #1486 from toninog/devel
Fixed bug in example where updating a user to a group
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 1621424875 Merge pull request #1467 from emonty/feature/os_network
Add missing state parameter
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
Brian Coca 5983373f29 Merge pull request #1462 from sankalp-khare/ec2-vpc-module-documentation-typo-fix
Fixed a typo in ec2_vpc module documentation
9 years ago
Sankalp Khare f9f17b5e04 Fixed a typo in ec2_vpc module documentation 9 years ago
Brian Coca abcd276955 Merge pull request #963 from u2ix/devel
Allow to add build flags for gem installation
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
Brian Coca eac87727c4 removed executable bit 9 years ago
Toshio Kuratomi c700993dd5 Fix a problem introduced with #1101 and optimize privilege handling
* If a db user belonged to a role which had a privilege, the user would
  not have the privilege added as the role gave the appearance that the
  user already had it.  Fixed to always check the privileges specific to
  the user.
* Make fewer db queries to determine if privileges need to be changed
  and change them (was four for each privilege.  Now two for each object
  that has a set of privileges changed).
9 years ago
Tristan Fisher fa9d2f56df removes bool type from validate. 9 years ago
Tristan Fisher 98061a8f33 standardizes bools in argument_spec 9 years ago
jaypei 823adbbe36 use the right way to unescape line string
Reference https://github.com/ansible/ansible/issues/10864
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
Matt Martz 2b5815efc9 Add compileall testing via travis to validate modules are python24 compatible 9 years ago
Toshio Kuratomi 8c10cc20ec Expand tildes and vars in the config file path 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
Will Thames 167e7c2b81 Perform privilege grants/revokes only when required
Use `has_table_privileges` and `has_database_privileges`
to test whether a user already has a privilege before
granting it, or whether a user doesn't have  a privilege
before revoking it.
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