rougail-tutorials/doc.md
Emmanuel Garette 2758bf6ec7 [tutorial Ansible 1.2] a port variable
Proxy configuration
===================

Add the env_proxy.port variable

---
env_proxy:
  host: proxy.example.net
  port: "3128"

Examples of Ops inventory file
==============================

1/ INVALID only with rougail:

---
env_proxy:
  host: proxy.example.net
  port: 3128

2/ INVALID, port is missing:

---
env_proxy:
  host: proxy.example.net
2023-12-18 11:34:31 +01:00

2.5 KiB
Raw Blame History

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
host
mandatory
Type: domainname
The proxy servers address.
Specifies the hostname of proxy server to enable proxy server access to all of your HTTP(s) requests. .
Example: proxy.silique.fr
port
mandatory
Type: port
The proxy server's port.
Example: 3128

Example with mandatories variables

env_proxy:
  host: proxy.silique.fr
  port: '3128'

Example with all variables

env_proxy:
  host: proxy.silique.fr
  port: '3128'