Emmanuel Garette
6ff4392e2b
Proxy configuration =================== The variable env_proxy.no_proxy is not mandatory Examples of Ops inventory file ============================== Modify the file: Ops/group_vars/all.yml 1/ VALID: --- env_proxy: host: proxy.example.net no_proxy: - localhost - 192.168.1.1 - .ac-dijon.fr 2/ VALID: --- env_proxy: host: proxy.example.net
3.1 KiB
3.1 KiB
Table of Contents
Variables
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 |
---|---|
hostmandatory Type: domainname |
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 |
portmandatory Type: port |
The proxy server's port. Default: 3128 |
no_proxymultiple Type: domainname |
Exclude proxy server. Network address(es), network address range(s) and domains to exclude from using the proxy when initiating connection(s). . Examples: 192.168.1.1, 192.168.10.0/24, www.silique.fr, .internal.silique.fr |
Example with mandatories variables
env_proxy:
host: proxy.silique.fr
Example with all variables
env_proxy:
host: proxy.silique.fr
port: '3128'
no_proxy:
- 192.168.1.1
- 192.168.10.0/24
- www.silique.fr
- .internal.silique.fr