Commit Graph

19 Commits (5603c32929f5598eeee8abd4c0c79430ea27ce33)

Author SHA1 Message Date
Michael DeHaan b22428d87e Merge pull request #3426 from trbs/services_sleep_option
sleep option for service module which adds a pauze between stopping and ...
12 years ago
Brian Coca e0e50b5936 fixed check mode
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
12 years ago
trbs 0d8da6eeb0 sleep option for service module which adds a pauze between stopping and starting a service using state=restarted. This helps for bad scripts that exist immediatly after signaling a process to stop. 12 years ago
Antti Rasinen c2a4645349 Fix service enable on FreeBSD
Some services have a knob (i.e. rc.conf setting) whose name
differs from that of the script. For example, lockd process
is controlled with a script called lockd, but the rc.conf
value is rpc_lockd_enable.

Fixes issue #3382.
12 years ago
martin f. krafft 3b7b061b07 Expand usage of Python 2.6 if statement
Syntax like "'foo' if bar else 'baz'" is not supported by all Python
versions targetted by Ansible. Hence we break it up.

Signed-off-by: martin f. krafft <madduck@madduck.net>
12 years ago
martin f. krafft 22b30b9281 Let update-rc.d set changed flag properly
When update-rc.d is used to enable/disable service, the changed flag was
always true (see #2189). This commit fixes that.

Signed-off-by: martin f. krafft <madduck@madduck.net>
12 years ago
Michael DeHaan 997bf64f3f Fix up some module docs formatting errors. 12 years ago
Michael DeHaan e4f3c4e286 Clarify module docs 12 years ago
Michael DeHaan f53bc323a5 Merge pull request #3230 from sayap/openrc
Add OpenRC support to the service module.
12 years ago
Yap Sok Ann ec265a98e0 Add OpenRC support to the service module. 12 years ago
Jan-Piet Mens 3404a0fc16 DOCS: standardize on EXAMPLES (a.k.a. Docs-JumboPatch JetLag Edition)
Migrated all examples: in DOCUMENTATION=''' string to standalone EXAMPLES=''' string
  Added deprecation warning to moduledev.rst and remove deprecated example from it
  Fixed up a few typos and uppercased some acronyms.
  add consistency to how EXAMPLES are formatted
12 years ago
Michael DeHaan e6620cdb9a Refine error message. 12 years ago
Michael DeHaan da1738723a Merge branch 'rc.d-systemd' of git://github.com/glensc/ansible into sysd 12 years ago
Scott Sturdivant 0110b616cb Fixes #2991: Service module pattern argument ignored. 12 years ago
Elan Ruusamäe 52643e2a4d no need to init None to None 12 years ago
Elan Ruusamäe 258cf60924 LinuxService: avoid enforcing systemd even if init.d script was found 12 years ago
madema 57fb97470c Update service 12 years ago
madema 88a4a56889 Added AIX class in the service module to control AIX SRC processes. 12 years ago
Michael DeHaan cd97a4cb14 Allow modules to be categorized, and also sort them when generating the documentation. 12 years ago