Commit graph

3001 commits

Author SHA1 Message Date
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
Jan Urbański
b356dcbe52 The payment term param in the Linode module is an int. 2013-09-26 18:23:21 +02:00
James Cammarata
80a8ba1b51 Merge pull request #4228 from mragh/devel
Include database param if provided and valid in django_admin commands
2013-09-25 14:58:29 -07:00
James Cammarata
38487ea464 Merge pull request #4222 from lessmian/devel
Module lvol fails when decimal point is a colon
2013-09-25 14:54:58 -07:00
James Cammarata
64a4823c16 Merge pull request #4165 from jerm/devel
dest in s3 module does not work with ~username expansion for home directories
2013-09-25 14:54:11 -07:00
James Cammarata
8ba5ed4d68 Added a version_added string to the new digital_ocean module param 2013-09-25 16:49:48 -05:00
James Cammarata
db1299b535 Merge branch 'digital_ocean_idempotence_take2' of https://github.com/ralphbean/ansible into ralphbean-digital_ocean_idempotence_take2 2013-09-25 16:47:13 -05:00
James Cammarata
e14d857037 Make the ec2 wait code a little smarter
The code to determine the number of running instances could blow up
if the response from AWS did not actually contain any data. This code
makes it a bit smarter in handling, so that it will wait for a valid
response regardless of the wait condition.

Fixes #3980
2013-09-25 16:16:52 -05:00
James Cammarata
a774f686f7 Merge branch 'obsd-fix-release' of https://github.com/johanwiren/ansible into johanwiren-obsd-fix-release 2013-09-25 14:49:57 -05:00
James Cammarata
d1781dad8c Doc fix in htpasswd module due to colon on the line 2013-09-25 14:46:16 -05:00
James Cammarata
920bef12a3 Merge branch 'add-scheme-to-htpasswd-params' of https://github.com/PugglePay/ansible into PugglePay-add-scheme-to-htpasswd-params 2013-09-25 14:39:14 -05:00
James Cammarata
6dbb1ff878 Fixing up some open_iscsi docs and CHANGELOG update 2013-09-25 14:37:56 -05:00
James Cammarata
d920cbc25f Merge branch 'open_iscsi_bis' of https://github.com/sergevanginderachter/ansible into sergevanginderachter-open_iscsi_bis 2013-09-25 14:35:01 -05:00
abelbabel
51cebb062d typo 2013-09-25 18:50:41 +02:00
abelbabel
19db4d381c removed typo 2013-09-25 18:38:46 +02:00
abelbabel
9e88993939 add check mode support
Could it be that easy or do I have missed something?
2013-09-25 17:51:17 +02:00
James Cammarata
888d6dfe9f Merge pull request #4231 from drfickle/svn_docs
Elaborate on capabilities of subversion module
2013-09-24 11:15:52 -07:00
Steve Fox
cf0ffda163 Elaborate on capabilities of subversion module 2013-09-24 11:10:09 -05:00
James Cammarata
43a5d3f008 Merge pull request #4229 from eggsby/supervisorctl
supervisorctl module: fixing typo in error handling
2013-09-24 08:48:15 -07:00
egghead
99c53981ff supervisorctl module: fixing typo in error handling 2013-09-24 15:36:16 +00:00
Jake Kreider
664aa794b0 Include database param if provided and valid in django_admin commands 2013-09-24 10:05:45 -05:00
Tomasz Lesniewski
0eb92ac852 Module lvol fails when decimal point is a colon 2013-09-24 16:19:07 +02:00
Rene Moser
9f969cd3ec host: minor doc style improvements 2013-09-24 15:47:39 +02:00