From e80c4c4741677776283df283c33e208557a193da Mon Sep 17 00:00:00 2001 From: Emmanuel Garette Date: Mon, 18 Dec 2023 11:34:30 +0100 Subject: [PATCH] [tutorial Ansible 1.1] advanced hostname variable Proxy configuration =================== Modify the "host" variable Examples of Ops inventory file ============================== 1/ VALID: --- env_proxy: host: proxy.example.net 2/ INVALID, host is null: --- env_proxy: host: 3/ INVALID, host is an integer: --- env_proxy: host: 1 4/ INVALID but only for rougail: --- env_proxy: host: the proxy --- doc.md | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/doc.md b/doc.md index 1152a79..191789a 100644 --- a/doc.md +++ b/doc.md @@ -4,22 +4,29 @@ include_toc: true --- # Variables -## env_proxy +## HTTP(s) proxy server overview and configuration (env_proxy) + +A proxy server acts as an intermediary gateway between a client and another +HTTP(s) server, such as the Internet. + +It makes service requests on behalf of a local client and allows the client +to make network connections to network services outside its own network. + | Parameter | Comment | |------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| -| **host**
`mandatory`
**Type:** [`string`](https://forge.cloud.silique.fr/stove/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) | | +| **host**
`mandatory`
**Type:** [`domainname`](https://forge.cloud.silique.fr/stove/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) | The proxy server’s address.
Specifies the hostname of proxy server to enable proxy server access to all of your HTTP(s) requests. .
**Example:** proxy.silique.fr | # Example with mandatories variables ``` env_proxy: - host: xxx + host: proxy.silique.fr ``` # Example with all variables ``` env_proxy: - host: xxx + host: proxy.silique.fr ```