rougail-output-ansible/tests/results-doc/test_namespace_read_write/01_6string_multi.sh

116 lines
15 KiB
Bash
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

rougail.rougail - Rougail
This repository contains the  rougail.rougail  Ansible collection.
This family is a namespace
Variables
The group variables "rougail" - Rougail
▌ 🛈 Informations
▌ 
▌  basic 
┏━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━━━━┳━━━━━━━━━━━━┓
 ┃ ┃ Default  ┃ ┃ Access  ┃ ┃
 Variable  ┃ Descripti… ┃ value  ┃ Type  ┃ control  ┃ Validator  ┃
┡━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━━━━╇━━━━━━━━━━━━┩
var1 │ The first │ │  string    │  basic  │  unique  │
│ │ variable. │ │ multiple  │ │ │
│ │ │ │ mandatory  │ │ │
├────────────┼────────────┼────────────┼────────────┼─────────────┼────────────┤
var2 │ The second │ │  string    │  basic  │  unique  │
│ │ variable. │ │ multiple  │ │ │
│ │ │ │ mandatory  │ │ │
├────────────┼────────────┼────────────┼────────────┼─────────────┼────────────┤
var3 │ The third │ │  string    │  basic  │  unique  │
│ │ variable. │ │ multiple  │ │ │
│ │ │ │ mandatory  │ │ │
├────────────┼────────────┼────────────┼────────────┼─────────────┼────────────┤
var4 │ The forth │ • value │  string    │  standard  │  unique  │
│ │ variable. │ │ multiple  │ │ │
│ │ │ │ mandatory  │ │ │
├────────────┼────────────┼────────────┼────────────┼─────────────┼────────────┤
var5 │ The fifth │ • value │  string    │  standard  │  unique  │
│ │ variable. │ │ multiple  │ │ │
│ │ │ │ mandatory  │ │ │
├────────────┼────────────┼────────────┼────────────┼─────────────┼────────────┤
var6 │ The sixth │ • value │  string    │  standard  │  unique  │
│ │ variable. │ │ multiple  │ │ │
│ │ │ │ mandatory  │ │ │
├────────────┼────────────┼────────────┼────────────┼─────────────┼────────────┤
var7 │ The │ • value │  string    │  standard  │  unique  │
│ │ seventh │ │ multiple  │ │ │
│ │ variable. │ │ mandatory  │ │ │
├────────────┼────────────┼────────────┼────────────┼─────────────┼────────────┤
var8 │ The eighth │ • value │  string    │  standard  │  unique  │
│ │ variable. │ │ multiple  │ │ │
│ │ │ │ mandatory  │ │ │
└────────────┴────────────┴────────────┴────────────┴─────────────┴────────────┘
Usage
Example Playbook with Rougail
Add to your structural file something like:
%YAML 1.2 
--- 
version: 1.1 
my_rougail: 
 type: rougail 
... 
Customizing hidden variables in structure file:
%YAML 1.2 
--- 
version: 1.1 
my_rougail: 
 type: rougail 
... 
▌ 🛈 Informations
▌ 
▌ Do not forget to add Rougail structure file as Rougail types.
For example you can add an YAML user data with something like:
--- 
my_rougail: 
 var1: # The first variable 
 - example 
 var2: # The second variable 
 - example 
 var3: # The third variable 
 - example 
Add to your Play:
--- 
- name: Collection | rougail.rougail.install 
 hosts: servers 
 vars: 
 rougail: '{{ my_rougail }}' 
 ansible.builtin.import_playbook: rougail.rougail.install 
Example Playbook without Rougail
▌ 🛈 Informations
▌ 
▌ The variables will not be properly validated without Rougail.
--- 
- name: Collection | rougail.rougail.install 
 hosts: servers 
 vars: 
 rougail: 
 var1: # The first variable 
 - example 
 var2: # The second variable 
 - example 
 var3: # The third variable 
 - example 
 ansible.builtin.import_playbook: rougail.rougail.install