No description
Find a file
Emmanuel Garette df0db70661 [tutorial Rougail 4.2] conditional disabled + hidden
NFS configuration
=================

Need could be activated. In this case, we need to add server domain name

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

1/ VALID:

---
env_nfs:
  configure: false

2/ INVALID, configure is false but default:

env_nfs:
  server: another-nfs.silique.fr

3/ VALID:

---
env_nfs:
  configure: true

4/ VALID

env_nfs:
  configure: true
  server: another-nfs.silique.fr
2023-12-18 11:34:35 +01:00
Ansible [tutorial Ansible 4.1] conditional disabled variable 2023-12-18 11:34:35 +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 4.2] conditional disabled + hidden 2023-12-18 11:34:35 +01:00
doc.md [tutorial Ansible 4.1] conditional disabled variable 2023-12-18 11:34:35 +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