Commit Graph

1994 Commits (d58f5a23ae1a0d257c8d55c96d27a193f6747a06)

Author SHA1 Message Date
Michael DeHaan 3f968ff46a Check one more skipped scenario in with_subelements. 12 years ago
James Cammarata 9124ebb4f1 Clear out complex_args before running async_status
When using complex args with an async task, the subsequent runs of
async_status would inherit them, causing a module error (invalid params).

Fixes #3150
12 years ago
Michael DeHaan 2078518735 Allow subelements to work right with skipped results. 12 years ago
James Cammarata 948d019fef Detect IPv6 addresses in INI inventory
Prevents parts of the IPv6 address from being interpreted as a port
(for example, :80).

Fixes #3888
12 years ago
Michael DeHaan 6febc97104 Add a warning about include + with_items so nobody uses it. 12 years ago
James Cammarata 98f6bc1f63 Apply tags to dependent roles correctly
Fixes #4339
12 years ago
Michael DeHaan c69e19c6a6 Enhance references to logging functionality. Fixes #3431. 12 years ago
Michael DeHaan f081c68a65 Prevent duplicately loaded handlers from running more than once.
Fixes #3863
12 years ago
Michael DeHaan 5ed28efe45 Script module should return changed attribute so handlers always fire, unless "changed_when" is specified.
Fixes #4053
12 years ago
Michael DeHaan a7adc8ef4d Allow doing things like "groups.groupname" in with_nested.
Fixes #3858
12 years ago
Michael DeHaan 5e30cd999c Make it possible to say:
tags: 42

And have the tag be a string, not an int, so --tags matches.

Fixes #4110
12 years ago
Michael DeHaan 8fc46a3a5a Return inventory objects in the order they are presented. Additionally, fix host slicing such that it works on Python terms with
zero indexed lists and a non-inclusive final element.
12 years ago
Michael DeHaan 19386c43a7 Merge 12 years ago
James Cammarata d10582225b Merge branch 'issue_4215_fetch_expanduser' into devel 12 years ago
Andrey Shorin 35457b67f5 Pass host to runner_on_file_diff callback 12 years ago
Stoned Elipot e7957b6d58 Fix group_by: do not group a host for which a condition is false 12 years ago
Michael DeHaan 44e391fd8b Merge pull request #4255 from mcodd/legacy_vars_fix
Fix for legacy_playbook_variables (should fix issue #4254)
12 years ago
Michael DeHaan 65178290e7 Merge branch 'devel' of git://github.com/nextus/ansible into devel
Conflicts:
	lib/ansible/constants.py
12 years ago
Michael DeHaan ea73151757 Add automatic advice when folks hit one of two common but minor YAML gotchas, so they can be more easily correct them on their own. 12 years ago
Michael DeHaan 4987c73bb6 Proper check for raw as module options versus raw being in the string. 12 years ago
James Tanner 52aea868df Allow for updating host vars in add_host 12 years ago
James Cammarata d21714a37f Fix for network byte order issues in accelerate 12 years ago
James Cammarata 912e3a7b0b Merge branch 'accelerate_improvements' into devel
Conflicts:
	library/utilities/accelerate
12 years ago
James Cammarata fa80a17aa3 Make recv_data less greedy so it doesn't eat other packets 12 years ago
James Cammarata 8923a5b0d9 Drop default config value for accelerate timeout to 30 seconds 12 years ago
James Cammarata 12f6957596 Cleaning up some vvvv log messages in accelerate 12 years ago
James Cammarata 8c17711247 Removing accelerate_timeout as a playbook option
This will remain in ansible.cfg only.
12 years ago
James Cammarata d317103371 Added in an accelerate connection timeout setting 12 years ago
James Cammarata 59a5ce23d9 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
12 years ago
James Cammarata f9c87868ac 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.
12 years ago
James Cammarata 8a3f8b757b Make sure yaml data loaded for role is valid before using it
Fixes #4322
12 years ago
James Cammarata bff47df5ff Fix issue with ast evaluation of strings 12 years ago
James Cammarata 5b205ae8bd Merge branch 'fixes/subprocess' of https://github.com/ferringb/ansible into ferringb-fixes/subprocess 12 years ago
James Cammarata d89ce6ac61 Merge branch 'patch-1' of https://github.com/ustun/ansible into ustun-patch-1 12 years ago
James Cammarata 12a21d94b7 Merge branch 'allow_types_in_ini' of https://github.com/bcoca/ansible into bcoca-allow_types_in_ini 12 years ago
jctanner 32a1dd422c Merge pull request #4269 from jphalip/issue-4256
In the script action: Get around a Python bug.
12 years ago
James Cammarata 7aad576f5f Minor change to add a space around role name/task delimiter 12 years ago
James Cammarata 1cc1e7058b Merge branch 'role_report_fix1' of https://github.com/bennojoy/ansible into bennojoy-role_report_fix1 12 years ago
James Cammarata 8ed343cc36 Merge branch 'jsmartin-hide_skipped_hosts' into devel 12 years ago
James Cammarata 6cd8aacc81 Merge branch 'hide_skipped_hosts' of https://github.com/jsmartin/ansible into jsmartin-hide_skipped_hosts 12 years ago
James Cammarata 52a42bf607 Add more verbose debugging options for accelerate 12 years ago
Michael DeHaan ac0a7d965a Merge pull request #4306 from sivel/3563-glob
Add fileglob Jinja2 filter. Fixes #3563
12 years ago
Matt Martz 535ce97067 Add fileglob Jinja2 filter. Fixes #3563 12 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.
12 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).
12 years ago
Ustun Ozgur 977b31249a Update cache check in find_plugin
I am not familiar with the internals, but this line looked suspicious.
12 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.
12 years ago
James Cammarata 039d4c95d9 Merge pull request #4221 from ashorin/unicode-md5
Prevent UnicodeEncodeError: 'ascii' codec can't encode characters in pos...
12 years ago
Brian Coca 771435deb4 now ini vars are typed
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
12 years ago
James Martin d5f20e6b21 Optionally display Skipping [host] messages. 12 years ago