[tutorial Rougail 1.3] default variable

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"
This commit is contained in:
egarette@silique.fr 2023-12-18 11:34:31 +01:00
parent 2758bf6ec7
commit 1599acfeb5

View file

@ -19,5 +19,4 @@ env_proxy:
port:
description: The proxy server's port
type: port
test:
- "3128"
default: "3128"