Commit graph

3 commits

Author SHA1 Message Date
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
e80c4c4741 [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
2023-12-18 11:34:30 +01:00
a19761febe [tutorial Ansible 1.0] a single string variable
Proxy configuration
===================

Add a single "host" variable

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