Commit Graph

38 Commits (94de4db928c274b4aa5006530789820c5bb7f5fa)

Author SHA1 Message Date
Stephen Fromm 19c0202aaf Ignore failure of stop command if start succeeds with state=restarted
14 years ago
Dave Coutu 9bb83067bc Added cases for 'dead but subsys locked' status
14 years ago
Stephen Fromm e5a635672c Migrate remaining modules to use get_bin_path in module_common.py
14 years ago
Florian Diebold 886fed5ae7 Remove ternary operator to fix python 2.4 compatibility.
14 years ago
Florian Diebold af17bab373 Support systemd in the service module.
14 years ago
Michael DeHaan 8eda23f856 tweak service module pattern= logic so ./hacking/test-module does not give false positives
14 years ago
Stephen Fromm 18f0302de8 Add pattern option to service module
14 years ago
Michael DeHaan 477ca2ed1a Make pep8 tests run against the library directory as well, and associated tweaks (mostly to indentation) in the library
14 years ago
Michael DeHaan faed4b5a33 whitespace + remove deprecated YAML parser (migration script lives in examples/scripts and warning was added
14 years ago
Michael DeHaan 7e9e29011e Add encoding lines to python modules such that they can take unicode options if they are fed them, since the
14 years ago
Ingo Gottwald 25b52109b4 Fixed a Bug in the service module state changed recognition
14 years ago
Stephen Fromm abe8d8d4d6 Return extra information from service module
14 years ago
Stephen Fromm 42ad1c879f Fix service module for issue 755 and another bug
14 years ago
Michael DeHaan ff82f0a168 Further service module tweaks
14 years ago
Michael DeHaan e9c4eb36d1 Service tweaks WIP
14 years ago
Nikhil Singh aca860df9c Standardizing the module
14 years ago
John Kleint ae665c15b3 Service module outputting extra data.
14 years ago
Jeremy Smitherman 7af3bdc89e Added additional output to service status checker
14 years ago
Ingo Gottwald abe33a5881 Enhanced the service state recognition in the service module:
14 years ago
cocoy 25f808de8f Add state=reloaded
14 years ago
Michael DeHaan eb41bfd3c8 Allow service 'enable' parameter be 'enabled', which is what I'd personally try to use.
14 years ago
Stephen Fromm aea022b002 Apply logging of arguments to modules (issue #122)
14 years ago
Seth Vidal 81418afbbb fix up service module to make it start processes that are listed to be
14 years ago
Michel Blanc a7e4da92db Fixes _find_binaries not using globals
14 years ago
Michel Blanc 572868c9e1 Adds support for Ubuntu style update-rc.d
14 years ago
Seth Vidal dc30b01c87 new service module handles enable=on/off for chkconfigging it on
14 years ago
Michael DeHaan b56efa7809 Fix handling of list=status such that it will actually work in absense of the state command, to
14 years ago
John Kleint c6db4e8fa3 Get service module working with sudo, add list=status, better error messages.
14 years ago
jkleint 30ce430363 Service module crashes if args has no "=".
14 years ago
Michael DeHaan d86dad76ba Be more flexible about where the service binary lives for better cross platform support.
14 years ago
Michael DeHaan 81e3496037 Added preliminary support for --sudo to ansible, playbook support and further testing pending.
14 years ago
Christopher Johnston 509c330f53 add support for running and started - both will do the same thing
14 years ago
Michael DeHaan a735dd2b17 Added the 'test-module' script, useful for testing modules without running them in Ansible.
14 years ago
Seth Vidal 1f53c89b14 convert so they handle argsfiles rather than arguments
14 years ago
Michael DeHaan be4cb64c92 Relicensing to GPLv3, all previous committers ok'd on mailing list.
14 years ago
Michael DeHaan ba4e36a9a9 Rename 'ensure' to 'state' because I think it's a bit cleaner and doesn't imply
14 years ago
Michael DeHaan bfd93081ae Have to return the return code on failure, it's a rule!
14 years ago
Michael DeHaan d308254eae A basic service module with 'ensure' idempotence semantics. Playbook updated to use service
14 years ago