From 340faa5fded3a04f5c1e6e9a1860dadd6a79849f Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Sat, 19 May 2012 17:30:06 -0400 Subject: [PATCH] Add service state=reloaded --- rst/modules.rst | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/rst/modules.rst b/rst/modules.rst index 63cfd683e14..edd2232eb00 100644 --- a/rst/modules.rst +++ b/rst/modules.rst @@ -346,9 +346,10 @@ Controls services on remote machines. *state*: -* Values are ``started``, ``stopped``, or ``restarted``. +* Values are ``started``, ``stopped``, ``reloaded``, or ``restarted``. Started/stopped are idempotent actions that will not run commands - unless necessary. ``restarted`` will always bounce the service. + unless necessary. ``restarted`` will always bounce the service, ``reloaded`` + will always issue a reload. *enabled*: @@ -368,6 +369,7 @@ Example action from Ansible :doc:`playbooks`:: service name=httpd state=started service name=httpd state=stopped service name=httpd state=restarted + service name=httpd state=reloaded .. _setup: