No description
Find a file
Emmanuel Garette 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
Ansible [tutorial Ansible 1.0] a single string variable 2023-12-18 11:34:30 +01:00
filter_plugins [init] Discover Rougail 2023-12-18 11:34:29 +01:00
Ops [init] Discover Rougail 2023-12-18 11:34:29 +01:00
Rougail [tutorial Rougail 1.1] advanced hostname variable 2023-12-18 11:34:30 +01:00
doc.md [tutorial Ansible 1.1] advanced hostname variable 2023-12-18 11:34:30 +01:00
inventory [init] Discover Rougail 2023-12-18 11:34:29 +01:00
next.sh [init] Discover Rougail 2023-12-18 11:34:29 +01:00
playbook.yml [init] Discover Rougail 2023-12-18 11:34:29 +01:00
README.md [init] Discover Rougail 2023-12-18 11:34:29 +01:00

A repository with comparisons between a Rougail catalog and Ansible inventories.

Each commit presents a step of the tutorial.

You need a working version of rougail:

python -m venv venv
. venv/bin/activate
pip install rougail
git clone https://forge.cloud.silique.fr/stove/rougail-tutorials.git
cd rougail-tutorials

Proxy configuration

  • [tutorial 1.0] a single string variable
  • [tutorial 1.1] advanced hostname variable
  • [tutorial 1.2] a port variable
  • [tutorial 1.3] default variable
  • [tutorial 1.4] a variable with multiple values
  • [tutorial 1.5] variable is not mandatory

Apero

  • [tutorial 2.0] a leadership family
  • [tutorial 2.1] a choice option
  • [tutorial 2.2] calculed variable

OMOGEN

  • [tutorial 3.0] a validator

NFS configuration

  • [tutorial 4.0] a boolean variable
  • [tutorial 4.1] conditional disabled variable
  • [tutorial 4.2] conditional disabled + hidden