Emmanuel Garette
d1a9c3321c
Proxy configuration =================== env_proxy.port has a default value with ansible we needs to define a new mapping variable: env_proxy_all Examples of Ops inventory file ============================== 1/ VALID: --- env_proxy: host: proxy.example.net 2/ VALID: --- env_proxy: host: proxy.example.net port: "3129"
6 lines
194 B
YAML
6 lines
194 B
YAML
- name: Display variable env_proxy_all.host
|
|
ansible.builtin.debug:
|
|
var: env_proxy_all.host
|
|
- name: Display variable env_proxy_all.port
|
|
ansible.builtin.debug:
|
|
var: env_proxy_all.port
|