1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
Commit graph

8537 commits

Author SHA1 Message Date
Michael DeHaan
ac0a7d965a Merge pull request #4306 from sivel/3563-glob
Add fileglob Jinja2 filter. Fixes #3563
2013-09-30 11:17:31 -07:00
Damian Moore
3c57168aaa mysql_db now supports import and dump of gzip and bzip2 compressed files 2013-09-30 19:09:32 +01:00
Matt Martz
535ce97067 Add fileglob Jinja2 filter. Fixes #3563 2013-09-30 12:55:13 -05:00
Brian Harring
f88fed2060 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
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.
2013-09-30 15:47:43 +02:00
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.
2013-09-30 15:15:19 +02:00
Michael DeHaan
9b5fb9ad6b Merge pull request #4298 from illenseer/devel
Add option 'lz4' for compression in zfs module
2013-09-30 05:38:41 -07:00
Nils Pascal Illenseer
4ee6c6d5df Add option 'lz4' for compression 2013-09-30 14:20:21 +02:00
Michael DeHaan
fcc84a3daa Merge pull request #4294 from ferringb/fixes/constants
For defaults that are integers, enforce it for config supplied values.
2013-09-30 04:59:23 -07:00
Petr Svoboda
5e4fff98f2 Add version_added to cloudformation tags parameter 2013-09-30 10:20:39 +02:00
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.
2013-09-30 10:20:39 +02:00
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.
2013-09-29 23:56:41 -04:00
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).
2013-09-29 23:22:09 -04:00
Michael DeHaan
7ecb2b6728 Reinstate missing dynamic inventory content. Edits pending. 2013-09-29 20:39:29 -04:00
Michael DeHaan
b64edfe791 "make webdocs" sphinx output is now clean. Edit passes and additional content in docs still pending. 2013-09-29 20:10:37 -04:00
Michael DeHaan
5d6deb68ae More work fixing doc links. 2013-09-29 20:09:30 -04:00
Michael DeHaan
df8b8fc4d6 Fixing some more doc links. Still not done. 2013-09-29 19:30:10 -04:00
Michael DeHaan
4a0e06dc80 Resolving some doc errors. 2013-09-29 19:16:59 -04:00
Michael DeHaan
71ddb80524 Tweaking doc titles. 2013-09-29 19:10:28 -04:00
Michael DeHaan
ad2736b253 Update tags and async sections, among other changes. 2013-09-29 19:03:51 -04:00
Michael DeHaan
c10904bcef Prompts chapter 2013-09-29 18:44:46 -04:00
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. 2013-09-29 17:19:35 -04:00
Michael DeHaan
4cd3c5472f Refactor looping docs 2013-09-29 17:02:53 -04:00
Michael DeHaan
00c2c0b11c Conditionals chapter and some misc tweaks elsewhere 2013-09-29 16:47:34 -04:00
Michael DeHaan
ddf51154fd Delegation documentation split 2013-09-29 16:22:54 -04:00
Michael DeHaan
c4af4c65c3 Update check mode docs 2013-09-29 16:19:59 -04:00
Michael DeHaan
a0ec399f35 Consolidate docs on accelerated mode 2013-09-29 16:18:01 -04:00
Michael DeHaan
19ac7cfe2a Refactor the roles information and provide a good example of the case for using roles. 2013-09-29 16:11:36 -04:00
Michael DeHaan
102b745b31 Add lots of docs on configuration settings, explaining what goes into ansible.cfg 2013-09-29 15:51:26 -04:00
Michael DeHaan
70dc1ef4e4 Update the /usr/bin/ansible example docs 2013-09-29 14:54:53 -04:00
Michael DeHaan
e0ea3decae The patterns document is now it's own chapter since it applies to playbooks and /usr/bin/ansible alike. 2013-09-29 14:45:00 -04:00
Michael DeHaan
65a7ddc824 Organize dynamic inventory documentation. 2013-09-29 14:24:36 -04:00
Michael DeHaan
1e5edb2e0f Clean up inventory section. 2013-09-29 13:50:10 -04:00
Michael DeHaan
720abcb9ed Cleaunup to the getting started section. 2013-09-29 13:29:11 -04:00
Michael DeHaan
87702d50d8 Add missing file (stub) 2013-09-29 13:13:19 -04:00
Michael DeHaan
74e77bf1d8 Refactor install guide 2013-09-29 13:13:05 -04:00
Michael DeHaan
824a8b9136 Fix index formatting. 2013-09-29 12:39:09 -04:00
Michael DeHaan
759430d1e8 Add new topics to index 2013-09-29 12:36:02 -04:00
Michael DeHaan
858b6c4e64 Restructure the documentation index. 2013-09-29 12:12:31 -04:00
Ustun Ozgur
977b31249a Update cache check in find_plugin
I am not familiar with the internals, but this line looked suspicious.
2013-09-29 14:03:10 +03:00
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.
2013-09-28 16:50:50 -07:00
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
2013-09-28 16:28:18 -07:00
Michael DeHaan
ef28d62846 Update TestUtils.py
tests shouldn't be making symlinks to system dirs, also fixes unit test report on OS X.
2013-09-28 11:01:21 -04:00
Michael DeHaan
05b3aaa39b Merge pull request #4280 from angstwad/devel
Use set_setting in rax.py inventory module
2013-09-27 20:19:43 -07:00
Cristobal Rosa
617f7bb0a0 Added an space between code and comments in order to follow the coding standars 2013-09-28 00:02:43 +02:00
Cristobal Rosa
be279295b6 Added a new check to check whether an network interface is in promiscuous mode 2013-09-28 00:02:06 +02:00
Paul Durivage
532c7db03b Update example to use RAX_CREDS_FILE env var 2013-09-27 15:51:07 -05:00
Paul Durivage
e366712aca Use set_setting; alleviates pyrax requiring the ~/pyrax.cfg in order to establish identity_type 2013-09-27 15:50:32 -05:00
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.
2013-09-27 14:37:21 -06:00
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.
2013-09-27 08:57:07 -07:00