- 21 Nov, 2012 2 commits
-
-
Jan-Piet Mens committed
-
Seems a bit strange I have to set a default in two locations.
Dag Wieers committed
-
- 19 Nov, 2012 1 commit
-
-
Michael DeHaan committed
-
- 18 Nov, 2012 1 commit
-
-
Some services allow additional arguments to be provided on the command line. This patch makes it possible.
Dag Wieers committed
-
- 31 Oct, 2012 2 commits
-
-
It outputs 'dead but pid file exists'.
Daniel Hokka Zakrisson committed -
Signed-off-by: Brian Coca <briancoca+ansible@gmail.com>
Brian Coca committed
-
- 23 Oct, 2012 1 commit
-
-
- added terse syntax to modules.rst - added description of special variables to template module
Jan-Piet Mens committed
-
- 12 Oct, 2012 1 commit
-
-
Michael DeHaan committed
-
- 08 Oct, 2012 1 commit
-
-
Tim Bielawa committed
-
- 01 Oct, 2012 1 commit
-
-
Jan-Piet Mens committed
-
- 30 Sep, 2012 1 commit
-
-
Stephen Fromm committed
-
- 26 Sep, 2012 1 commit
-
-
In some cases (see issue #1067) with state=restarted, a failure to stop the service (which wasn't running) would appear to the module to be a failure to restart the service even though it successfully started the service. This changes the behavior of the service module to focus on the return code of the start command. If the rc of stop is not 0 and the rc of start does equal 0, it considers the service successfully restarted. It then ignores the rc, stdout, and stderr from the unsuccessful stop command.
Stephen Fromm committed
-
- 21 Sep, 2012 1 commit
-
-
Dave Coutu committed
-
- 30 Aug, 2012 1 commit
-
-
* Migraed easy_install, pip, service, setup, and user. * Updated fail_json message in apt_repository * Fixed easy_install to not hardcode location of virtualenv in /usr/local/bin/. * Made handling of virtualenv more consistent between easy_install and pip.
Stephen Fromm committed
-
- 25 Aug, 2012 2 commits
-
-
Florian Diebold committed
-
Most of it worked already, except for the enable parameter, because it tried to use chkconfig which only sees SysV services. First look for systemctl and use that if it exists.
Florian Diebold committed
-
- 18 Aug, 2012 1 commit
-
-
Michael DeHaan committed
-
- 17 Aug, 2012 1 commit
-
-
Adds ability to check service status based on pattern. The pattern is a simple string. If a pattern is provided, the output of ps is checked first.
Stephen Fromm committed
-
- 11 Aug, 2012 1 commit
-
-
Make pep8 tests run against the library directory as well, and associated tweaks (mostly to indentation) in the library directory.
Michael DeHaan committed
-
- 07 Aug, 2012 1 commit
-
-
whitespace + remove deprecated YAML parser (migration script lives in examples/scripts and warning was added in 0.6 release)
Michael DeHaan committed
-
- 03 Aug, 2012 1 commit
-
-
Add encoding lines to python modules such that they can take unicode options if they are fed them, since the AnsibleModule stuff no longer base64 encodes for simplicity and speed reasons.
Michael DeHaan committed
-
- 02 Aug, 2012 1 commit
-
-
Ingo Gottwald committed
-
- 01 Aug, 2012 2 commits
-
-
If _do_enable() is run and returns rc == 0, set changed=True Add enabled and state to result if they are supplied when the module is run.
Stephen Fromm committed -
Allow use of service module with just enable parameter, per issue #755. Also fixed two other issues: - fixed parameter to be 'enabled' per docs, not 'enable'. - fixed if block that checks whether to run _do_enable() to check whether the parameter is set, not the value of the enable value which may be None or False. If enabled=no, the service would never be disabled.
Stephen Fromm committed
-
- 28 Jul, 2012 3 commits
-
-
Michael DeHaan committed
-
Michael DeHaan committed
-
Nikhil Singh committed
-
- 19 Jul, 2012 1 commit
-
-
The service module was printing stuff to stderr, returning two JSON dicts, not using consistent 'failed' values, had dead code and unused variables. Added detection for the case when service status returns 'xxx is dead and pid file exists' and made the code a bit easier to read.
John Kleint committed
-
- 10 Jul, 2012 1 commit
-
-
Jeremy Smitherman committed
-
- 17 Jun, 2012 1 commit
-
-
- Added Upstart support - Added an initial unknown state - Prevented state changes when the current state is not recognized - Changed the keyword recognition to a safer method
Ingo Gottwald committed
-
- 15 May, 2012 1 commit
-
-
cocoy committed
-
- 10 May, 2012 1 commit
-
-
Michael DeHaan committed
-
- 09 May, 2012 1 commit
-
-
The ohai and facter modules use /usr/bin/logger to log the fact that they have been invoked. I added 'import os' to the ping module so that it could have the same syslog statements as the other modules. I separated the condensed: shlex.split(open(argfile, 'r').read()) into two separate statements similar to the other modules.
Stephen Fromm committed
-
- 04 May, 2012 1 commit
-
-
running and to report errors from starting them
Seth Vidal committed
-
- 03 May, 2012 2 commits
-
-
_find_binaries now sets the right globals Binaries are now properly populated (reverse path/binary for loops)
Michel Blanc committed -
Checks if update-rc.d (Ubuntu) or chkconfig (RHEL) should be used. Adds basic bin path search for those binaries Adds 'enable' and 'disable' options for 'enable' command since it's the arguments that update-rc.d uses (this might be somewhat confusing to have a command line with 'enable=enable', but probably mkes sense for Ubuntu users). Allows use of mixed case for 'list' and 'state' commands.
Michel Blanc committed
-
- 01 May, 2012 1 commit
-
-
Seth Vidal committed
-
- 27 Apr, 2012 2 commits
-
-
make it useful from /usr/bin/ansible and the API. Also some minor style fixes.
Michael DeHaan committed -
When running the service module via sudo, `$PATH` didn't contain `/sbin`, so the service binary couldn't be found. This just runs `/sbin/service` directly. Output is spewed to stderr on error. Added `list=status` to include the output of `service <cmd> status`.
John Kleint committed
-
- 26 Apr, 2012 1 commit
-
-
jkleint committed
-