Michael DeHaan
1a0672fd1e
Fix exception type
12 years ago
Michael DeHaan
4bde4926c3
Modules don't have to return JSON, key=value pairs is ok.
12 years ago
Michael DeHaan
40fd778e2c
'shell' is a magic module that executes the command module with shell=True
12 years ago
Michael DeHaan
4ae98ed92d
Upgrades to error handling, now general try/catch available.
12 years ago
Michael DeHaan
db7ba87111
Add polling logic in runner such that all actions get kicked off everywhere then polling
...
happens only on needed hosts, allowing some hosts to fail and drop out of the running.
12 years ago
Michael DeHaan
49a636d8a0
Fixed up async and polling logic.
12 years ago
Michael DeHaan
5be1a612d3
Add async polling logic to runner. Will add to playbook shortly, have to diagnose why paramiko
...
is not letting async_wrapper daemonize itself when it does work fine when directly executed.
12 years ago
Michael DeHaan
4c9dd972b4
Fixes for output formatting
12 years ago
Michael DeHaan
bb5e4fad48
Abstracted out transport from implementation so it can be pluggable. Also fixes for output format.
12 years ago
Michael DeHaan
ab408b0000
Ability to import task lists and handler lists from a top level playbook file. It is possible
...
to use multiple import statements to implement 'class' like behavior, and also to share
a common list of handlers between multiple patterns.
12 years ago
Michael DeHaan
6541f338df
add pyflakes target & associated fixes. Also decided to save JSON to --tree file so it can
...
be better used programatically. May have to come up with another system of tree logging for
playbook if playbook decides to have tree logging. Presumably not the highest priority.
12 years ago
Michael DeHaan
3ad9db4966
Some minor from 'pep8', and silencing the PEP8 messages I don't care about.
...
Also make pep8 show all messages rather than just 1 per code.
12 years ago
Michael DeHaan
0d7a84d591
Some minor refactoring of playbook code, more to go.
12 years ago
Michael DeHaan
34cbbfbfe1
Added pydoc for utils.py
12 years ago
Michael DeHaan
e9a24cdad4
Extensive refactoring of bin/ansible, moving most output functions into lib/ansible/utils to
...
encourage readability and make things more maintainable.
12 years ago