Merge "Fix wrong use of `ansible-playbook`"

This commit is contained in:
Jenkins 2017-06-14 11:47:20 +00:00 committed by Gerrit Code Review
commit df60af9e4e
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ class AnsibleAction(actions.Action):
verbosity_option = '-' + ('v' * self.verbosity) verbosity_option = '-' + ('v' * self.verbosity)
command = ['ansible', self.hosts, verbosity_option, ] command = ['ansible', self.hosts, verbosity_option, ]
else: else:
command = ['ansible-playbook', self.hosts, ] command = ['ansible', self.hosts, ]
if self.module: if self.module:
command.extend(['--module-name', self.module]) command.extend(['--module-name', self.module])