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:
parent
d70f043fe8
commit
a9c6f3ee88
|
@ -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])
|
||||
|
|
Loading…
Reference in New Issue