Skip to content

Commit

Permalink
fix boolean verbose to -vvv
Browse files Browse the repository at this point in the history
  • Loading branch information
zochao committed Mar 5, 2016
1 parent 840bc34 commit 358c1fb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion molecule/ansible_playbook.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,9 @@ def parse_arg(self, name, value):
return

# verbose is weird, must be -vvvv not verbose=vvvv
# since it value is bool and only -vvv, -vvvv and --verbose work
if name == 'verbose' and value:
self.cli_pos.append('-' + value)
self.cli_pos.append('-vvv')
return

self.add_cli_arg(name, value)
Expand Down

0 comments on commit 358c1fb

Please sign in to comment.