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:34:50 -0500
commitdedfe2becfaa45096fff1e35fef522a2cdf5e09a (patch)
treed40b32406774522abbf220503876523b54499c16
parent90a92f17fae8fab2a45da3ec1762a4bd489d8b0a (diff)
downloadansible-modules-core-dedfe2becfaa45096fff1e35fef522a2cdf5e09a.tar.gz
added docs for use option
(cherry picked from commit ad5cb0f0d7231ff74d7918faa26091ba710c4709)
-rw-r--r--system/service.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/system/service.py b/system/service.py
index 1da88f0e..a71e6382 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 = '''