No description
Find a file
Emmanuel Garette 1599acfeb5 [tutorial Rougail 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
Ansible [tutorial Ansible 1.2] a port variable 2023-12-18 11:34:31 +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.3] default variable 2023-12-18 11:34:31 +01:00
doc.md [tutorial Ansible 1.2] a port variable 2023-12-18 11:34:31 +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