Commit graph

2923 commits

Author SHA1 Message Date
Michael DeHaan
1f4b63c566 Merge pull request #4345 from jlund/fetch-typo
Fixed a typo in the fetch module documentation
2013-10-02 16:17:33 -07:00
Daniel Koch
a650b899c6 Add "virtio" and "private_networking" options for DigitalOcean droplets
The dopy manager defaults to False for virtio, but the DigitalOcean web interface defaults to True, which is a pretty safe default and sensible considering the performance gains.

Private networks are a new feature currently available only in the NYC2 region as of Oct 2, 2013.

NOTE: dopy >= 0.2.2 is required for these options to work.
2013-10-02 18:06:35 -04:00
Joshua Lund
dce712e12d Fixed a typo in the fetch module documentation 2013-10-02 16:02:18 -06:00
Andy Kluger
8f43db3167 Fix for Issue #2470 - gem version string processing
This fix assumes that no sane gem version has spaces in it, so when one like that is encountered, it will get truncated at the first space.
2013-10-02 17:55:30 -04:00
James Cammarata
3cd459faf7 Fix for network byte order issues in accelerate 2013-10-02 15:37:15 -05:00
Dylan Martin
3c7f8d6272 switch to DictCursor 2013-10-02 13:00:07 -07:00
ryanaudiencepi
350db0cacf Monit fix - Use case insensitive comparison 2013-10-03 02:46:35 +08:00
Michael DeHaan
a42d45872b Merge pull request #4338 from jlaska/ec2_group_idempotency
Add idempotency support to ec2_group
2013-10-02 10:01:28 -07:00
James Laska
3d64578131 Add idempotency support to ec2_group 2013-10-02 11:29:59 -04:00
Nace Oroz
1f39663a97 Fixes service update-rc.d functionality on debian 2013-10-02 14:27:38 +02:00
Michael DeHaan
c2feda1eb1 htpasswd documentation formatting fix 2013-10-02 08:24:21 -04:00
bennojoy
78d1af3607 minor fixes 2013-10-02 13:27:54 +05:30
bennojoy
78b6c525bb support for google cloud storage module 2013-10-02 12:39:45 +05:30
James Cammarata
88b9bc5de8 Merge branch 'accelerate_improvements' into devel
Conflicts:
	library/utilities/accelerate
2013-10-01 21:22:17 -05:00
jctanner
e65794946c Merge pull request #4163 from lorin/htpasswd-doc
htpasswd docs: add notes about depending on python-passlib
2013-10-01 19:19:40 -07:00
Michael DeHaan
b391872781 Merge pull request #4330 from tgerla/ec2_eip-docs
ec2_eip module: note that there may be a delay reaching the instance
2013-10-01 15:12:07 -07:00
James Cammarata
3b87b2c56c Make recv_data less greedy so it doesn't eat other packets 2013-10-01 16:50:32 -05:00
Tim Gerla
1eef27294a ec2_eip module: note that there may be a delay before the reassigned instance is reachble. 2013-10-01 14:50:06 -07:00
James Cammarata
6ea83779e3 Merge branch 'devel' of https://github.com/ansible/ansible into devel 2013-10-01 15:59:29 -05:00
James Tanner
550b1a8ee0 typo in ec2_eip docstring 2013-10-01 16:58:35 -04:00
James Cammarata
95f035ca4a Merge branch 'devel' of https://github.com/digi691/ansible into digi691-devel 2013-10-01 15:51:51 -05:00
James Tanner
1a9a6da4f7 fix docstring indentation on scc modules 2013-10-01 16:46:17 -04:00
James Cammarata
13f28d31fa Adding an accelerate_timeout parameter for plays
This setting makes the timeout for each play configurable, rather than
hard-coding it at 300 seconds (now the default if left unspecified)

Fixes #4162
2013-10-01 15:26:50 -05:00
Peter Sprygada
96f7fd5c60 initial ejabberd_user module 2013-10-01 16:21:25 -04:00
James Cammarata
d3f1c89470 Added keepalive packets to accelerate mode
Commands will now be started up in a separate task from the main
handler thread, so that it can be monitored for completeness while
sending a keepalive packet back to the controller to avoid a socket
receive timeout.
2013-10-01 15:19:21 -05:00
James Cammarata
18379701f0 Use atomic_move to put the file, rather than shelling out
Fixes #4321
2013-10-01 14:47:50 -05:00
James Cammarata
5bed67aa61 Merge branch 'sha256sum-updates' of https://github.com/jlund/ansible into jlund-sha256sum-updates 2013-09-30 23:16:12 -05:00
James Cammarata
ccafe66778 Merge branch 'source_control-executable' of https://github.com/skyl/ansible into skyl-source_control-executable 2013-09-30 21:57:47 -05:00
Jim Dalton
aec4ece779 Add AWS ElastiCache module 2013-09-30 16:34:16 -07:00
cdigiovanni
6720d0cf70 Added support to disable and enable upstart jobs 2013-09-30 14:50:47 -05:00
ryanaudiencepi
3b89891dfe Fix monit module. Monit restart bug 2013-10-01 03:41:17 +08:00
ryanaudiencepi
2b4f53c455 Fix monit module. Use lowercase letters check instead of uppercase 2013-10-01 03:39:43 +08:00
James Cammarata
42449a3901 Add more verbose debugging options for accelerate 2013-09-30 14:08:07 -05:00
Damian Moore
85ed9af959 mysql_db now supports import and dump of gzip and bzip2 compressed files 2013-09-30 19:09:32 +01:00
Brian Harring
487aa9a1ec Enforce umask for cron module, so cron_file generated files are 0644.
Certain cron implementations get cranky if files in cron.* are group
writable.
2013-09-30 13:21:07 -04:00
Petr Svoboda
14a1a780cd Fail cloudformation operation when it is not completed successfully
When cloudformation operation is successfully submitted but some step
during stack creation or update fails, operation result should be
failed=True.
2013-09-30 15:47:43 +02:00
Petr Svoboda
bbd8205da2 Fix check for ROLLBACK_COMPLETE in cloudformation module
When stack creation is rolled back, final status is not
CREATE_ROLLBACK_COMPLETE but ROLLBACK_COMPLETE.
2013-09-30 15:15:19 +02:00
Nils Pascal Illenseer
e1ff809d1a Add option 'lz4' for compression 2013-09-30 14:20:21 +02:00
Petr Svoboda
de9bea0e3f Add version_added to cloudformation tags parameter 2013-09-30 10:20:39 +02:00
Petr Svoboda
ce4ec5e7ee Add Boto version check for tags parameter of cloudformation module
Tags parameter requires at least version 2.6.0 of Boto module. When tags
parameter is used with older version, error is raised. When tags
parameter is unused, module works as before.
2013-09-30 10:20:39 +02:00
Blair Zajac
a5cdf49184 apt: do not consider not-removed and not-upgraded packages as changes.
If one pins a package and does a 'apt-get dist-upgrade' then the
output looks like:

    # apt-get dist-upgrade
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Calculating upgrade... Done
    The following packages have been kept back:
      cassandra
    0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

The check for any changes made should only be on the 'upgraded' and
'newly installed' values and not include the 'to remove' and 'not
upgraded' values.
2013-09-28 16:50:50 -07:00
Blair Zajac
4a6c68e98a apt: pass child process stdout and stdout to m.fail_json() and m.exit_json().
Without this, this fails:

    - name: apt-get dist-upgrade
      action: apt upgrade=dist
      register: apt_get_contents

    - name: apt-get clean
      action: command apt-get clean
      when: apt_get_contents.stdout.find("0 upgraded") == -1

TASK: [apt-get clean] *********************************************************

fatal: [192.168.2.2] => error while evaluating conditional: {% if apt_get_contents.stdout.find("0 upgraded") == -1 %} True {% else %} False {% endif %}

FATAL: all hosts have already failed -- aborting
2013-09-28 16:28:18 -07:00
Cristobal Rosa
0cbb97bddc Added an space between code and comments in order to follow the coding standars 2013-09-28 00:02:43 +02:00
Cristobal Rosa
0b10e1d019 Added a new check to check whether an network interface is in promiscuous mode 2013-09-28 00:02:06 +02:00
Joshua Lund
bf5a4cbea4 * Updated SHA-256 functionality in the get_url module
(fixes issue #4277)

* The sha256sum error message now displays the invalid
  destination checksum if it doesn't match the one that
  is specified in the arguments. This is useful for
  debugging purposes.

* Non-alphanumeric characters, including the infamous
  Unicode zero-width space, are removed from the sha256sum
  argument prior to the check.
2013-09-27 14:37:21 -06:00
Petr Svoboda
67c786462f Add support for tags parameter to cloudformation module
Expose boto.cloudformation.create_stack() tags parameter. Supplied tags
will be applied to stack and all it's resources on stack creation.
Cannot be updated later (not supported by UpdateStack CloudFormation
API).
2013-09-27 13:39:01 +02:00
Skylar Saveland
d7e5fcf30f add executable option to subversion module 2013-09-26 14:27:40 -07:00
Skylar Saveland
bb4619e716 add executable option to hg, refactor in doing so 2013-09-26 14:27:16 -07:00
Skylar Saveland
3f74c2d986 add executable option to bzr module, refactor in doing so 2013-09-26 14:26:46 -07:00
Skylar Saveland
198c4702bd executable option to git module 2013-09-26 14:15:28 -07:00