summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Coca <brian.coca+git@gmail.com>2016-11-24 16:33:28 -0500
committerBrian Coca <brian.coca+git@gmail.com>2016-11-24 16:33:54 -0500
commitad5cb0f0d7231ff74d7918faa26091ba710c4709 (patch)
tree29ce1c27e7aef13d783f4375da3f354295300e01
parent8677d29cce8d0555c41f49770c65f7b6969b79f6 (diff)
downloadansible-modules-core-ad5cb0f0d7231ff74d7918faa26091ba710c4709.tar.gz
added docs for use option
-rw-r--r--system/service.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/system/service.py b/system/service.py
index c8781b1c..bf4ef164 100644
--- a/system/service.py
+++ b/system/service.py
@@ -74,6 +74,12 @@ options:
description:
- Additional arguments provided on the command line
aliases: [ 'args' ]
+ use:
+ description:
+ - The service module actually uses system specific modules, normally through auto detection, this setting can force a specific module.
+ - Normally it uses the value of the 'ansible_service_mgr' fact and falls back to the old 'service' module when none matching is found.
+ default: 'auto'
+ version_added: 2.2
'''
EXAMPLES = '''