Commit 340faa5f by Michael DeHaan

Add service state=reloaded

parent b896157d
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment