Add opt to skip ensure-tox role in jobs

refstack_client_ensure_tox option is added, if it's set to to
False, refstack-client's jobs will not run ensure-tox role.
By default the ensure-tox is ran = if the opt is not set at all
or it's set to True.

Change-Id: Ia9c41b19517b85013e0064194f823bc0ec069efb
This commit is contained in:
Martin Kopec 2022-02-28 15:26:53 +00:00
parent acef3bf37b
commit 1a03d0fe8d

View File

@ -17,6 +17,7 @@
name: ensure-tox
vars:
ensure_global_symlinks: true
when: refstack_client_ensure_tox is not defined or (refstack_client_ensure_tox is defined and refstack_client_ensure_tox)
- include_vars: ../defaults/main.yaml