Skip to content

Commit

Permalink
Fix accelerate module parameter for IPv6 activation
Browse files Browse the repository at this point in the history
  • Loading branch information
jimi-c committed Nov 27, 2013
1 parent 696ce0e commit 30948ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions library/utilities/accelerate
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ def main():
module = AnsibleModule(
argument_spec = dict(
port=dict(required=False, default=5099),
ipv6=dict(required=False, default=False),
ipv6=dict(required=False, default=False, type='bool'),
timeout=dict(required=False, default=300),
password=dict(required=True),
minutes=dict(required=False, default=30),
Expand All @@ -441,7 +441,7 @@ def main():
timeout = int(module.params['timeout'])
minutes = int(module.params['minutes'])
debug = int(module.params['debug'])
ipv6 = bool(module.params['ipv6'])
ipv6 = module.params['ipv6']

if not HAS_KEYCZAR:
module.fail_json(msg="keyczar is not installed (on the remote side)")
Expand Down

0 comments on commit 30948ae

Please sign in to comment.