Commit Graph

6222 Commits (e7203514ea24327c5b13792aaa323dc325bd62c8)
 

Author SHA1 Message Date
Brian Coca e2dcb5fc9b now captures cache fetch failures 10 years ago
Toshio Kuratomi 44ec0d735e Merge pull request #642 from ansible/apache2-module-better-error
Better error messages if a2enmod/a2dismod are not found
10 years ago
Toshio Kuratomi 6159b5c423 Implement user,group,mode,selinux settings for unarchive.
This is a partial fix for #234.  Still have to figure out how to
make change reporting work as we can no longer rely on tar's --compare
option
10 years ago
Toshio Kuratomi 7f527eefbb Merge pull request #638 from alexclifford/devel
Fix slight typo in doco
10 years ago
Toshio Kuratomi 477391bb24 Better error messages if a2enmod/a2dismod are not found 10 years ago
Toshio Kuratomi 4c50fbedf4 Merge pull request #632 from mscherer/fix_uneeded_echo
Do not use echo shell builtin for password
10 years ago
Toshio Kuratomi 6cbce4d911 Potential fix for 640 10 years ago
Tim G 68b5b7be72 distutils is not available on some non-Linux OS's 10 years ago
Alex Clifford d2ae2e6cc6 Fix slight typo in doco 10 years ago
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
10 years ago
Brian Coca 0edfdca58b Merge pull request #105 from luisguilherme/devel
ec2_lc does not create valid launch configuration for EC2-Classic
10 years ago
Toshio Kuratomi fbb9dcc69a Also catch mysql errors so we can give the error message back through json rather than tracebacking 10 years ago
Toshio Kuratomi c9c08f885a Merge pull request #619 from bpennypacker/requiressl
mysql_user module: Added support for 'REQUIRE SSL' grant option
10 years ago
Michael Scherer 826d313aad Do not use echo shell builtin for password
Using \t in a password may result in a different password
being set :

    $ echo 'a\ta'
    a   a

Problem report originally found by Pilou-
( https://github.com/ansible/ansible-modules-extras/pull/198 )
10 years ago
Brian Coca 8c8be0e48c Merge pull request #572 from jrobeson/rename-fedora-hostname-strategy
[hostname] rename FedoraStratgy to SystemdStrategy
10 years ago
Michael Scherer bcfba0c050 Remove unused code
There is no call to yum_base using 'cachedir' argument, so
while it work fine from a cursory look, that's useless code,
and so should be removed to clarify the code.
10 years ago
Michael Scherer 0b2d190f72 Use the rpm python module rather than execing rpm
Using the rpm module prevent a uneeded fork, and permit
to skip the signature checking which slow down a bit the
operation, and which would be done by yum on installation
anyway.
10 years ago
Michael Scherer e025b591d3 Remove unused option in the repoquery call
Citing the man page:
       -q, --query
              For rpmquery compatibility, doesn't do anything.
10 years ago
Bruce Pennypacker 272bb1fa63 requested changes 10 years ago
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.
10 years ago
Bruce Pennypacker a07873d6a3 Added support for 'REQUIRE SSL' grant option 10 years ago
Toshio Kuratomi 4cf6725cab Merge pull request #93 from natefoo/hg-bugfix
Fix numerous bugs in the hg module
10 years ago
James Martin 242aa9f81b vpc_zone_identifier must be a csv string when an asg is updated. 10 years ago
Toshio Kuratomi 6339297abb Merge pull request #606 from bcoca/file_link_permissions
fix for allowing permissions on hard links and soft links + follow=yes
10 years ago
Brian Coca 78cacd0c22 fix for allowing permissions on hard links and soft links + follow=yes 10 years ago
Toshio Kuratomi 022e5274e6 Merge pull request #460 from jbinto/file_allow_touch_hardlink
Files module: Allow touch on hardlinks
10 years ago
Toshio Kuratomi 2973bac72f Clarify documented behaviour of user module's ssh_key_file parameter
Fixes #9873
10 years ago
Brian Coca 8d35d1e9df Merge pull request #162 from RickyCook/devel
Warn option left out of command module args
10 years ago
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
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
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
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