Commit graph

4 commits

Author SHA1 Message Date
d1a9c3321c [tutorial Ansible 1.3] default variable
Proxy configuration
===================

env_proxy.port has a default value
with ansible we needs to define a new mapping variable: env_proxy_all

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

1/ VALID:

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

2/ VALID:

---
env_proxy:
  host: proxy.example.net
  port: "3129"
2023-12-18 11:34:31 +01:00
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
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
16cfea3a23 [init] Discover Rougail 2023-12-18 11:34:29 +01:00