Skip to content

Commit

Permalink
Setting only if proxy is defined
Browse files Browse the repository at this point in the history
  • Loading branch information
grzegorzkoper committed Jan 9, 2025
1 parent e626c77 commit 7379d62
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ansible/kayobe-automation-run-tempest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,9 @@
--env TEMPEST_CONF_OVERRIDES="$TEMPEST_CONF_OVERRIDES"
--env TEMPEST_NO_PROXY_EXTRA
--env RALLY_CONF_ENABLE_CREATE_TEMPEST_RESOURCES
--env HTTP_PROXY="$TEMPEST_HTTP_PROXY"
--env HTTPS_PROXY="$TEMPEST_HTTPS_PROXY"
--env NO_PROXY="$TEMPEST_NO_PROXY"
{% if lookup('env', 'TEMPEST_HTTP_PROXY') %}--env HTTP_PROXY="$TEMPEST_HTTP_PROXY"{% endif %}
{% if lookup('env', 'TEMPEST_HTTPS_PROXY') %}--env HTTPS_PROXY="$TEMPEST_HTTPS_PROXY"{% endif %}
{% if lookup('env', 'TEMPEST_NO_PROXY') %}--env NO_PROXY="$TEMPEST_NO_PROXY"{% endif %}
{% if tempest_load_list_path is defined -%}
-v {{ load_list_path_remote }}:/home/rally/tempest-load-list:rw
{% endif -%}
Expand Down

0 comments on commit 7379d62

Please sign in to comment.