Clarity tox_environment accepts dictionary not list

tox_environment variable is passed [1] to Ansible 'environment' property
which accepts dictionary not list.

[1] https://opendev.org/zuul/zuul-jobs/src/branch/master/roles/tox/tasks/main.yaml

Change-Id: I1e7236540356b3c0da502bd86ef7c5877dd1005e
This commit is contained in:
Vitaliy Lotorev 2021-01-06 01:19:08 +03:00
parent ade85d3233
commit 4708a35220
2 changed files with 5 additions and 4 deletions

View File

@ -3,6 +3,7 @@ Runs tox for a project
**Role Variables**
.. zuul:rolevar:: tox_environment
:type: dict
Environment variables to pass in to the tox run.

View File

@ -14,9 +14,9 @@
Use the specified tox environments (``ALL`` selects all).
.. zuul:jobvar:: tox_environment
:type: dict
List of user defined environmental variables to pass to bash
shell.
Environment variables to pass in to the tox run.
.. zuul:jobvar:: tox_extra_args
@ -202,9 +202,9 @@
Use the specified tox environments (``ALL`` selects all).
.. zuul:jobvar:: tox_environment
:type: dict
List of user defined environmental variables to pass to bash
shell.
Environment variables to pass in to the tox run.
.. zuul:jobvar:: tox_extra_args