summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Price <pricechild@gmail.com>2017-01-03 14:14:48 +0000
committerBrian Coca <bcoca@users.noreply.github.com>2017-01-03 11:34:07 -0500
commit1ea86bc66a882c7a69f6e450052e999babd558bc (patch)
treed0dfcd7d5145c386431a7c17a8d1753ff2cadca3
parentffb80926cec57125e9e0762dafd414f35d1e2d14 (diff)
downloadansible-1ea86bc66a882c7a69f6e450052e999babd558bc.tar.gz
Clarify state=reloaded will start service
-rw-r--r--lib/ansible/modules/system/service.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/ansible/modules/system/service.py b/lib/ansible/modules/system/service.py
index b1cb289b49..6e8406e43f 100644
--- a/lib/ansible/modules/system/service.py
+++ b/lib/ansible/modules/system/service.py
@@ -45,7 +45,9 @@ options:
- C(started)/C(stopped) are idempotent actions that will not run
commands unless necessary. C(restarted) will always bounce the
service. C(reloaded) will always reload. B(At least one of state
- and enabled are required.)
+ and enabled are required.) Note that reloaded will start the
+ service if it is not already started, even if your chosen init
+ system wouldn't normally.
sleep:
required: false
version_added: "1.3"