Commit 1748265a authored by EKbfh's avatar EKbfh

Add condition on var lenght

parent ff53a5c2
Pipeline #11105 failed with stages
in 4 minutes and 11 seconds
......@@ -7,7 +7,7 @@
become: "True"
when:
- http_proxy is defined
- http_proxy | bool
- http_proxy | length
tags:
- config
......
......@@ -7,7 +7,7 @@
become: "True"
when:
- http_proxy is defined
- "http_proxy"
- http_proxy | length
tags:
- config
......
......@@ -6,7 +6,7 @@
line: "proxy={{ http_proxy }}"
when:
- http_proxy is defined
- "http_proxy"
- http_proxy | length
become: "True"
tags:
- config
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment