Removing inventory file path from tox

The path to the inventory file specified within the tox.ini
is invalid, as the file doesn't exist. Producing unnecessary warnings.

Furthemore, playbooks initiated during tox test runs
are targeting localhost explicitly.

Closes-Bug: #1937367

Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
Change-Id: I204c6ee27fb9f4c7324d90b86fd8835fab473375
This commit is contained in:
Jiri Podivin 2021-07-23 11:56:16 +02:00
parent d1deabcc4b
commit 4115d473eb
1 changed files with 0 additions and 1 deletions

View File

@ -10,7 +10,6 @@ usedevelop = True
install_command = {envpython} -m pip install -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} {opts} {packages}
setenv =
ANSIBLE_FORCE_COLOR={env:ANSIBLE_FORCE_COLOR:1}
ANSIBLE_INVENTORY={toxinidir}/tests/hosts.ini
ANSIBLE_NOCOWS=1
ANSIBLE_RETRY_FILES_ENABLED=0
ANSIBLE_STDOUT_CALLBACK={env:ANSIBLE_STDOUT_CALLBACK:debug}