Commit Graph

6857 Commits (5913f5e5e125a871f68ae8564a8e14a634b89635)
 

Author SHA1 Message Date
Toshio Kuratomi 1ca8b42770 Merge pull request #599 from bcoca/vmware_template_version
added version added for new template options
10 years ago
Brian Coca 53404c786a added version added for new template options 10 years ago
Vasyl Kaigorodov c1eb7a4c1d gce_net - creating firewall rule, src_range value seems to get lost or set to empty string -- fixes #252 10 years ago
Brian Coca 4da7f427e8 Merge pull request #596 from bcoca/dir_symlink_follow
fix for directory symlink and follow=yes
10 years ago
Brian Coca 76e75b6024 Merge pull request #2 from atlashealth/ec2_detach_volume
Ability to detach an EBS volume from an EC2 instance
10 years ago
Brian Coca 6237dab4cf fix for when state=directory, follow=yes and target is symlink to directory 10 years ago
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.
10 years ago
Andrey Trubachev 10e48d18f7 Fix python-2.4 compatibility 10 years ago
Andrey Trubachev 659c6d3a7e Fix 'wait_for' doesn't work with ipv6only host 10 years ago
Jonathan Armani f13e3c9147 Merge pull request #4 from eest/openbsd_rcctl
Handle string returned by 'default' correctly.
10 years ago
Philip Misiowiec 71d1044b8b Adds tenancy state to returning json 10 years ago
Philip Misiowiec ad7f5abf28 Ability to detach an EBS volume from an EC2 instance 10 years ago
Toshio Kuratomi 0d551d8d24 Merge pull request #567 from FabioBatSilva/devel
handle list of lists - python-apt < 0.7.9 compatibility
10 years ago
tedder c5fe40661d 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
10 years ago
fabios 9ed842e2d0 mark as upgradable and let apt-get install deal with it 10 years ago
fabios b747d9411a improve fail message and use itertools chain 10 years ago
fabios d19f7c7026 older python-apt compatibility 10 years ago
fabios 6fce4a9c3d handle list of list for python-apt < 0.7.9 compatibility 10 years ago
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()
10 years ago
Toshio Kuratomi f9574cc318 Merge pull request #571 from lorin/volumes-from
docker: fix volume[s]_from typo
10 years ago
sysadmin75 aa99eade7e ansible-modules-core #530 fix - Mount module does not accept spaces in mount point path 10 years ago
Chris Church d9360a7613 Update docs, add example of using django_manage to run other commands. 10 years ago
Johnny Robeson 50011f13d6 [hostname] rename FedoraStratgy to SystemdStrategy 10 years ago
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.
10 years ago
sysadmin75 00b4f4d543 Fix to revoke privileges for mysql user = ''
Issue #9848
10 years ago
Mick Bass 2d189f0d19 add retry with exponential backoff when we receive throttling error code from cloudformation 10 years ago
Toshio Kuratomi 170457413d Cleanup the old apt compatibility changes 10 years ago
Toshio Kuratomi 8ce5720bb0 Merge pull request #564 from FabioBatSilva/devel
Fix compatibility issues with python-apt < 0.7.9
10 years ago
Mick Bass e8a56653c1 Add support for AWS Security Token Service (temporary credentials) to all AWS cloud modules. 10 years ago
Toshio Kuratomi 925c9ab42d Merge pull request #561 from weitzj/bugfix/docker-extra-params
Fixes invalid dictionary access.
10 years ago
fabios a08165ca2e use low-level apt_pkg.Package 10 years ago
FabioBatSilva 55b85ddc46 fix compatibility issues with python-apt < 0.7.9 10 years ago
Brian Coca 1e8abd2594 Merge pull request #562 from phips/fix_vsphere_folder
vsphere_guest fix for KeyError: folder message
10 years ago
Brian Coca 9d196f7b47 Merge pull request #535 from bcoca/revert_win_mods
Revert "Merge pull request #384
10 years ago
Mark Phillips 8ede9de895 vsphere_guest fix for KeyError: folder message 10 years ago
Jan Weitz ebf9b8c6e2 Fixes invalid dictionary access. 10 years ago
Toshio Kuratomi 55b92a46db Merge pull request #560 from weitzj/bugfix/dockerpy-versioncheck
Fixes version check for docker-py
10 years ago
Jan Weitz 82601fdc54 Fixes version check for docker-py 10 years ago
Michael J. Schultz b894bc2b77 Build the db connection on `"postgres"` instead of `"template1"`
According to the postgresql docs[1], you should not have a connection with
`"template1"` when copying multiple databases.

[1]: http://www.postgresql.org/docs/9.1/static/manage-ag-templatedbs.html
10 years ago
Brian Coca a2c1daf00e Merge pull request #548 from mavit/solaris-user-groups
Fix appending to a user's group on Solaris, someone thought it was a list but it is really a set.
10 years ago
Brian Coca 62a53b1209 Merge pull request #541 from bcoca/cloudformation_china
update to use connect_to_region to avoid errors with china
10 years ago
Jeff Gonzalez 54214f83b5 Added ability to use url as key source 10 years ago
Toshio Kuratomi 8f6ae92cf8 git fetch --tags overwrites normal fetching with git < 1.8.x so do a normal fetch followed by using the refspec format for fetching tags 10 years ago
Toshio Kuratomi 8a03af6608 Fix typo in git refspec code. Change lists to tuples 10 years ago
Toshio Kuratomi 2cbe13a21d Merge pull request #371 from rohanpm/git_refspec
git: add 'refspec' argument
10 years ago
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
10 years ago
Peter Oliver 18c429d016 Fix appending to a user's group on Solaris
Without this change, you get:
    AttributeError: 'set' object has no attribute 'extend'

Tested on a Solaris 11.2 client with the included Python 2.6.8.
10 years ago
Stefan Junker 8f3b5c640b Fix bind-volumes on docker >= 1.4.0
If bind-volumes are submitted to docker >= 1.4.0 with the volumes set in addition to the binds, docker will create a regular volume and not bind-mount the specified path.
10 years ago
Toshio Kuratomi ee324fc3ad Make documentation clear about update=no vs clone=no 10 years ago
Chris Church 0a297e54ba Change version added in win_user docs to 1.9 for updates that didn't make it into 1.8. 10 years ago