| |
@@ -333,15 +333,14 @@
|
| |
raise exc.TaskotronError('No tests*.yml found in dir %s' %
|
| |
self.arg_data['taskdir'])
|
| |
|
| |
- ipaddr = self._get_client_ipaddr()
|
| |
- if ipaddr is None:
|
| |
- ipaddr = self._spawn_vm(self.arg_data['uuid'])
|
| |
-
|
| |
- log.info('Running task on machine: %s', ipaddr)
|
| |
-
|
| |
failed = []
|
| |
for test_playbook in test_playbooks:
|
| |
- log.info('Running playbook: %s' % test_playbook)
|
| |
+ ipaddr = self._get_client_ipaddr()
|
| |
+ if ipaddr is None:
|
| |
+ ipaddr = self._spawn_vm(self.arg_data['uuid'])
|
| |
+
|
| |
+ log.info('Running playbook %s on machine: %s', test_playbook, ipaddr)
|
| |
+
|
| |
try:
|
| |
_, generic = self._run_playbook(test_playbook, ipaddr)
|
| |
if generic:
|
| |