Fix wrong use of `ansible-playbook`

Command should be ansible since this is the simple ansible action and
not the ansible playbook action.

Change-Id: I010b3472be3f7d1353820a11f0445b42f1d02a6a
This commit is contained in:
Flavio Percoco 2017-06-12 15:33:54 -05:00
parent d70f043fe8
commit a9c6f3ee88
1 changed files with 1 additions and 1 deletions

View File

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