[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
This commit is contained in:
parent
af85413f66
commit
e80c4c4741
1 changed files with 11 additions and 4 deletions
15
doc.md
15
doc.md
|
@ -4,22 +4,29 @@ include_toc: true
|
||||||
---
|
---
|
||||||
|
|
||||||
# Variables
|
# 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 |
|
| Parameter | Comment |
|
||||||
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
| **host**<br/>`mandatory`<br/>**Type:** [`string`](https://forge.cloud.silique.fr/stove/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) | |
|
| **host**<br/>`mandatory`<br/>**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.<br/>Specifies the hostname of proxy server to enable proxy server access to all of your HTTP(s) requests. .<br/>**Example:** proxy.silique.fr |
|
||||||
|
|
||||||
# Example with mandatories variables
|
# Example with mandatories variables
|
||||||
|
|
||||||
```
|
```
|
||||||
env_proxy:
|
env_proxy:
|
||||||
host: xxx
|
host: proxy.silique.fr
|
||||||
```
|
```
|
||||||
|
|
||||||
# Example with all variables
|
# Example with all variables
|
||||||
|
|
||||||
```
|
```
|
||||||
env_proxy:
|
env_proxy:
|
||||||
host: xxx
|
host: proxy.silique.fr
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue