Commit Graph

3242 Commits (82240d27e4d8de2e11155675641388fb65dbee05)
 

Author SHA1 Message Date
Damian Moore 85ed9af959 mysql_db now supports import and dump of gzip and bzip2 compressed files 11 years ago
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.
11 years ago
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.
11 years ago
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.
11 years ago
Nils Pascal Illenseer e1ff809d1a Add option 'lz4' for compression 11 years ago
Petr Svoboda de9bea0e3f Add version_added to cloudformation tags parameter 11 years ago
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.
11 years ago
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.
11 years ago
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
11 years ago
Cristobal Rosa 0cbb97bddc Added an space between code and comments in order to follow the coding standars 11 years ago
Cristobal Rosa 0b10e1d019 Added a new check to check whether an network interface is in promiscuous mode 11 years ago
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.
11 years ago
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).
11 years ago
Skylar Saveland d7e5fcf30f add executable option to subversion module 11 years ago
Skylar Saveland bb4619e716 add executable option to hg, refactor in doing so 11 years ago
Skylar Saveland 3f74c2d986 add executable option to bzr module, refactor in doing so 11 years ago
Skylar Saveland 198c4702bd executable option to git module 11 years ago
Jan Urbański b356dcbe52 The payment term param in the Linode module is an int. 11 years ago
James Cammarata 80a8ba1b51 Merge pull request #4228 from mragh/devel
Include database param if provided and valid in django_admin commands
11 years ago
James Cammarata 38487ea464 Merge pull request #4222 from lessmian/devel
Module lvol fails when decimal point is a colon
11 years ago
James Cammarata 64a4823c16 Merge pull request #4165 from jerm/devel
dest in s3 module does not work with ~username expansion for home directories
11 years ago
James Cammarata 8ba5ed4d68 Added a version_added string to the new digital_ocean module param 11 years ago
James Cammarata db1299b535 Merge branch 'digital_ocean_idempotence_take2' of https://github.com/ralphbean/ansible into ralphbean-digital_ocean_idempotence_take2 11 years ago
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
11 years ago
James Cammarata a774f686f7 Merge branch 'obsd-fix-release' of https://github.com/johanwiren/ansible into johanwiren-obsd-fix-release 11 years ago
James Cammarata d1781dad8c Doc fix in htpasswd module due to colon on the line 11 years ago
James Cammarata 920bef12a3 Merge branch 'add-scheme-to-htpasswd-params' of https://github.com/PugglePay/ansible into PugglePay-add-scheme-to-htpasswd-params 11 years ago
James Cammarata 6dbb1ff878 Fixing up some open_iscsi docs and CHANGELOG update 11 years ago
James Cammarata d920cbc25f Merge branch 'open_iscsi_bis' of https://github.com/sergevanginderachter/ansible into sergevanginderachter-open_iscsi_bis 11 years ago
abelbabel 51cebb062d typo 11 years ago
abelbabel 19db4d381c removed typo 11 years ago
abelbabel 9e88993939 add check mode support
Could it be that easy or do I have missed something?
11 years ago
James Cammarata 888d6dfe9f Merge pull request #4231 from drfickle/svn_docs
Elaborate on capabilities of subversion module
11 years ago
Steve Fox cf0ffda163 Elaborate on capabilities of subversion module 11 years ago
James Cammarata 43a5d3f008 Merge pull request #4229 from eggsby/supervisorctl
supervisorctl module: fixing typo in error handling
11 years ago
egghead 99c53981ff supervisorctl module: fixing typo in error handling 11 years ago
Jake Kreider 664aa794b0 Include database param if provided and valid in django_admin commands 11 years ago
Tomasz Lesniewski 0eb92ac852 Module lvol fails when decimal point is a colon 11 years ago
Rene Moser 9f969cd3ec host: minor doc style improvements 11 years ago
Tomasz Lesniewski 75ca71bf2c Module lvol fails when decimal point is a colon 11 years ago
Michael DeHaan eca73d3c82 Merge pull request #4220 from dagwieers/setup-dmidecode-fix
Fix for commented dmidecode output
11 years ago
Dag Wieers b4cdd15843 Fix for commented dmidecode output
This patch fixes the problem that on some system dmidecode prints out warning information as commented text. For example:

    [user@system ~]# dmidecode -s system-manufacturer
    # SMBIOS implementations newer than version 2.6 are not
    # fully supported by this version of dmidecode.
    HP

So we remove all commented lines from the output.
11 years ago
Rene Moser 497b742935 host: added another example 11 years ago
James Cammarata ff2b87f350 Merge branch 'devel' of https://github.com/volker48/ansible into volker48-devel 11 years ago
James Cammarata 28592ed64f Minor pep8 cleanup 11 years ago
James Cammarata 926c3617df Merge branch 'supervisorctl' of https://github.com/eggsby/ansible into eggsby-supervisorctl 11 years ago
James Cammarata d4ba1f9ded Fixing some bugs found during testing in the host module 11 years ago
James Cammarata 339f17d560 Merge branch 'feature/host' of https://github.com/resmo/ansible into resmo-feature/host 11 years ago
James Cammarata b37f65f9eb Added a delimiter example and a version_added string for assemble 11 years ago
James Cammarata 8c8c0d4ec4 Fixed a bug in the delimiter change for the assemble module 11 years ago