Don't use local connection by default for the validations

When using local connection, all the validations targeting the overcloud
nodes are failing. Let's use the connection mode from the Ansible
inventory.

Change-Id: I188604f7767b51a0f485bd79ff3497af56586b13
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
This commit is contained in:
Gael Chamoulaud 2019-07-18 15:42:37 +02:00
parent 17e56a01d5
commit 82887ef228
2 changed files with 0 additions and 2 deletions

View File

@ -100,7 +100,6 @@ class TestValidatorRun(utils.TestCommand):
plan_mock.assert_called_once_with(
logger=mock_log,
plan='overcloud',
connection='local',
inventory='/usr/bin/tripleo-ansible-inventory',
workdir=playbooks_dir,
log_path_dir='/home/stack',

View File

@ -348,7 +348,6 @@ class TripleOValidatorRun(command.Command):
playbook=playbook,
inventory='/usr/bin/tripleo-ansible-inventory',
retries=False,
connection='local',
output_callback='validation_output',
extra_vars=extra_vars_input,
python_interpreter=python_interpreter)