summaryrefslogtreecommitdiff
path: root/commands/command.py
diff options
context:
space:
mode:
authorRicky Cook <rcook@odecee.com.au>2014-10-08 22:30:20 +1100
committerRicky Cook <rcook@odecee.com.au>2014-10-09 21:25:58 +1100
commitb195b5a6bb65acfbfddc61885df1fe9d721c34a3 (patch)
tree2138567885fcb46f8b7714a0eaf50fe86f8e232b /commands/command.py
parent25789b3f474cb2a6c2d5692b49cde7e47d926180 (diff)
downloadansible-modules-core-b195b5a6bb65acfbfddc61885df1fe9d721c34a3.tar.gz
Get warn option same as other args
Diffstat (limited to 'commands/command.py')
-rw-r--r--commands/command.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/command.py b/commands/command.py
index 75927a5b..44c95a3d 100644
--- a/commands/command.py
+++ b/commands/command.py
@@ -163,7 +163,7 @@ def main():
args = module.params['args']
creates = module.params['creates']
removes = module.params['removes']
- warn = module.params.get('warn', True)
+ warn = module.params['warn']
if args.strip() == '':
module.fail_json(rc=256, msg="no command given")