Commit Graph

20640 Commits (353f6be273dcdc09e13d94de4885071afc51fbed)
 

Author SHA1 Message Date
Petr Svoboda 19fb4f861c 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.
13 years ago
Petr Svoboda e8a5c6f58a Fix check for ROLLBACK_COMPLETE in cloudformation module
When stack creation is rolled back, final status is not
CREATE_ROLLBACK_COMPLETE but ROLLBACK_COMPLETE.
13 years ago
Michael DeHaan 9b5fb9ad6b Merge pull request #4298 from illenseer/devel
Add option 'lz4' for compression in zfs module
13 years ago
Nils Pascal Illenseer 4ee6c6d5df Add option 'lz4' for compression 13 years ago
Michael DeHaan fcc84a3daa Merge pull request #4294 from ferringb/fixes/constants
For defaults that are integers, enforce it for config supplied values.
13 years ago
Petr Svoboda 5e4fff98f2 Add version_added to cloudformation tags parameter 13 years ago
Petr Svoboda d294669dec 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.
13 years ago
Brian Harring d0ad6c581b For defaults that are integers, enforce it for config supplied values.
If a user supplies a string in the config (rather than an int), the code
should fix that- or blow up immediately- rather than allowing that value to
work it's way down and break w/in the connection object; when that happens,
the actual error is opaque and requires pdb.set_trace() to run down.
13 years ago
Brian Harring 2174230315 USE subprocess.Popen API correctly.
When collecting stdout/stderr *and* feeding data into a Popen instance,
communicate() must be used to avoid a known deadlocking scenario
when data sizes cross PIPE_BUF (which can be as small as 512, although should
be much larger in practice on linux).
13 years ago
Michael DeHaan 7ecb2b6728 Reinstate missing dynamic inventory content. Edits pending. 13 years ago
Michael DeHaan b64edfe791 "make webdocs" sphinx output is now clean. Edit passes and additional content in docs still pending. 13 years ago
Michael DeHaan 5d6deb68ae More work fixing doc links. 13 years ago
Michael DeHaan df8b8fc4d6 Fixing some more doc links. Still not done. 13 years ago
Michael DeHaan 4a0e06dc80 Resolving some doc errors. 13 years ago
Michael DeHaan 71ddb80524 Tweaking doc titles. 13 years ago
Michael DeHaan ad2736b253 Update tags and async sections, among other changes. 13 years ago
Michael DeHaan c10904bcef Prompts chapter 13 years ago
Michael DeHaan d494691398 Start of organizing variable section. This is all still in progress and not done, need to fix links between sections and re-add see-also sections, etc, etc. 13 years ago
Michael DeHaan 4cd3c5472f Refactor looping docs 13 years ago
Michael DeHaan 00c2c0b11c Conditionals chapter and some misc tweaks elsewhere 13 years ago
Michael DeHaan ddf51154fd Delegation documentation split 13 years ago
Michael DeHaan c4af4c65c3 Update check mode docs 13 years ago
Michael DeHaan a0ec399f35 Consolidate docs on accelerated mode 13 years ago
Michael DeHaan 19ac7cfe2a Refactor the roles information and provide a good example of the case for using roles. 13 years ago
Michael DeHaan 102b745b31 Add lots of docs on configuration settings, explaining what goes into ansible.cfg 13 years ago
Michael DeHaan 70dc1ef4e4 Update the /usr/bin/ansible example docs 13 years ago
Michael DeHaan e0ea3decae The patterns document is now it's own chapter since it applies to playbooks and /usr/bin/ansible alike. 13 years ago
Michael DeHaan 65a7ddc824 Organize dynamic inventory documentation. 13 years ago
Michael DeHaan 1e5edb2e0f Clean up inventory section. 13 years ago
Michael DeHaan 720abcb9ed Cleaunup to the getting started section. 13 years ago
Michael DeHaan 87702d50d8 Add missing file (stub) 13 years ago
Michael DeHaan 74e77bf1d8 Refactor install guide 13 years ago
Michael DeHaan 824a8b9136 Fix index formatting. 13 years ago
Michael DeHaan 759430d1e8 Add new topics to index 13 years ago
Michael DeHaan 858b6c4e64 Restructure the documentation index. 13 years ago
Ustun Ozgur 977b31249a Update cache check in find_plugin
I am not familiar with the internals, but this line looked suspicious.
13 years ago
Blair Zajac 3a8c9f04da 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.
13 years ago
Blair Zajac d133c0aeee 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
13 years ago
Michael DeHaan ef28d62846 Update TestUtils.py
tests shouldn't be making symlinks to system dirs, also fixes unit test report on OS X.
13 years ago
Michael DeHaan 05b3aaa39b Merge pull request #4280 from angstwad/devel
Use set_setting in rax.py inventory module
13 years ago
Cristobal Rosa 617f7bb0a0 Added an space between code and comments in order to follow the coding standars 13 years ago
Cristobal Rosa be279295b6 Added a new check to check whether an network interface is in promiscuous mode 13 years ago
Paul Durivage 532c7db03b Update example to use RAX_CREDS_FILE env var 13 years ago
Paul Durivage e366712aca Use set_setting; alleviates pyrax requiring the ~/pyrax.cfg in order to establish identity_type 13 years ago
Joshua Lund 20489f1346 * 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.
13 years ago
Julien Phalip 44aeea7afc In the script action: Get around a bug in that's been fixed in Python 2.7 but not Python 2.6.
See: http://bugs.python.org/issue6988
Fixes #4256.
13 years ago
James Cammarata 039d4c95d9 Merge pull request #4221 from ashorin/unicode-md5
Prevent UnicodeEncodeError: 'ascii' codec can't encode characters in pos...
13 years ago
Petr Svoboda b5ae761070 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).
13 years ago
Brian Coca 771435deb4 now ini vars are typed
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
13 years ago
Skylar Saveland b339485da8 add executable option to subversion module 13 years ago