- 03 Oct, 2012 3 commits
-
-
Make ignored/skipped different from changed
Michael DeHaan committed -
Fix gather_facts assumption that SETUP_CACHE for a host is empty
Michael DeHaan committed -
Abort a play at the start when no hosts matches, or no hosts are remaining
Michael DeHaan committed
-
- 02 Oct, 2012 21 commits
-
-
We now check explicitely for 'module_setup' in the SETUP_CACHE in order to avoid skipping setup because SETUP_CACHE was populated some other way. Other modules can implement the same mechanism to test if they've already run. This closes #1206.
Dag Wieers committed -
Since a skipped/ignored action is _very_ different from actual changes to a system, it always bothered me that it was not easily distinguishable when skimming the output. This change makes ignore/skip a different color, and I chose cyan. Contemplated using dark-gray/blue, but prefered something that is readable with most terminal colors.
Dag Wieers committed -
This change makes a distinction between no_hosts_matched and no_hosts_remaining. In both cases we do not start facts-gathering, or run any tasks. In the case that there are no more hosts remaining, we abort running tasks and abort the playbook. I also cleaned up the leftovers from the previous patchsets, as these are no longer required. This closes #1187. Example playbook: ```yaml --- - hosts: emptygroup tasks: - action: command date - action: command false - hosts: all gather_facts: False tasks: - action: command ls - action: command false - action: command true - hosts: all tasks: - action: command true - action: command false - hosts: all tasks: - action: command pwd ```
Dag Wieers committed -
Only gather facts once per node per playbook run
Michael DeHaan committed -
Unless gather_facts: True is on the play
Daniel Hokka Zakrisson committed -
Fix for issue #1194
Michael DeHaan committed -
Make use of UTC dates for RPM timestamp
Michael DeHaan committed -
So they can be shared/compared by people in different timezones
Dag Wieers committed -
Feature: file info on templates accessible to Jinja2 templates
Michael DeHaan committed -
standardize DOCUMENTATION for nagios, pause
Michael DeHaan committed -
add ansible_managed
Jan-Piet Mens committed -
attempt at DOCUMENTATION for async_status
Michael DeHaan committed -
Jan-Piet Mens committed
-
Jan-Piet Mens committed
-
Teach fireball mode to disable the fireball by paying attention to 'minutes=N' (default 30) and do not let fireball module crash on input.
Michael DeHaan committed -
Include a space and a colon after prompts, so you don't have to put them in yourself. Consistent with documented behavior in examples/playbooks/prompts.yml
Michael DeHaan committed -
Allow non-string types in with_items variables
Michael DeHaan committed -
Add DOCUMENTATION to pause task
Michael DeHaan committed -
Add DOCUMENTATION to nagios module.
Michael DeHaan committed -
Be smarter about when to abort a playbook -- if it's early, we just didn't match any hosts, so keep on, hosts might be dynamic.
Michael DeHaan committed
-
- 01 Oct, 2012 16 commits
-
-
Tim Bielawa committed
-
Tim Bielawa committed
-
Remove debug print statement
Michael DeHaan committed -
Daniel Hokka Zakrisson committed
-
Give each task its own module_vars
Michael DeHaan committed -
Otherwise each task will overwrite the previous' items, among other things.
Daniel Hokka Zakrisson committed -
Daniel Hokka Zakrisson committed
-
fireball DOCUMENTATION
Michael DeHaan committed -
- amended
Jan-Piet Mens committed -
Jumbo DOCUMENTATION patch
Michael DeHaan committed -
Use a regexp to filter out arguments instead
Michael DeHaan committed -
Added missing attribution to all module DOCUMENTATION strings
Michael DeHaan committed -
Jan-Piet Mens committed
-
pipes.quote is a bit overzealous for what we want to do, quoting ; and other characters that you most likely want to use in your shell invocations. The regexp is the best I could come up with to be able to only replace the parts of the arguments that shouldn't be executed.
Daniel Hokka Zakrisson committed -
Jan-Piet Mens committed
-
Michael DeHaan committed
-