summaryrefslogtreecommitdiff
path: root/system/svc.py
diff options
context:
space:
mode:
authorMichael Scherer <misc@zarb.org>2015-12-21 23:39:20 +0100
committerMichael Scherer <misc@zarb.org>2015-12-21 23:39:20 +0100
commit2f3dc1352fa4de14c3f42d06428c3a7d41869211 (patch)
treefbca82c42655ae48e3c0f3442581dc757bfe474d /system/svc.py
parent1ae3b6a0206d23e956243f82e92dc0c57a7c12d9 (diff)
downloadansible-modules-extras-2f3dc1352fa4de14c3f42d06428c3a7d41869211.tar.gz
Replace choices=BOOLEANS by type='bool', fix #1326
Diffstat (limited to 'system/svc.py')
-rw-r--r--system/svc.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/svc.py b/system/svc.py
index 9831ce42..36b4df5f 100644
--- a/system/svc.py
+++ b/system/svc.py
@@ -240,8 +240,8 @@ def main():
argument_spec = dict(
name = dict(required=True),
state = dict(choices=['started', 'stopped', 'restarted', 'killed', 'reloaded', 'once']),
- enabled = dict(required=False, type='bool', choices=BOOLEANS),
- downed = dict(required=False, type='bool', choices=BOOLEANS),
+ enabled = dict(required=False, type='bool'),
+ downed = dict(required=False, type='bool'),
dist = dict(required=False, default='daemontools'),
service_dir = dict(required=False, default='/service'),
service_src = dict(required=False, default='/etc/service'),