Michael DeHaan
a735dd2b17
Added the 'test-module' script, useful for testing modules without running them in Ansible.
2012-03-14 21:49:27 -04:00
Seth Vidal
1f53c89b14
convert so they handle argsfiles rather than arguments
2012-03-14 18:47:13 -04:00
Michael DeHaan
be4cb64c92
Relicensing to GPLv3, all previous committers ok'd on mailing list.
2012-02-28 19:08:09 -05:00
Michael DeHaan
ba4e36a9a9
Rename 'ensure' to 'state' because I think it's a bit cleaner and doesn't imply
...
all modules take a common parameter name. But more or less we still work idempotently
in modules.
2012-02-26 22:31:42 -05:00
Michael DeHaan
bfd93081ae
Have to return the return code on failure, it's a rule!
2012-02-25 21:00:51 -05:00
Michael DeHaan
d308254eae
A basic service module with 'ensure' idempotence semantics. Playbook updated to use service
...
module vs command module for restarting. May be some bugs and requires the service to implement 'status' -- and probably some better error handling (i.e. return JSON with "failed" element if failed).
Improvements welcome.
2012-02-25 20:27:11 -05:00