Compare commits
No commits in common. "main" and "develop" have entirely different histories.
2937 changed files with 211051 additions and 132 deletions
179
CHANGELOG.md
Normal file
179
CHANGELOG.md
Normal file
|
|
@ -0,0 +1,179 @@
|
|||
## 0.2.0a24 (2026-01-21)
|
||||
|
||||
### Feat
|
||||
|
||||
- doc rougail integration
|
||||
|
||||
## 0.2.0a23 (2026-01-14)
|
||||
|
||||
### Fix
|
||||
|
||||
- yaml for all output format
|
||||
|
||||
## 0.2.0a22 (2026-01-14)
|
||||
|
||||
### Feat
|
||||
|
||||
- gen doc of ansible type
|
||||
|
||||
### Fix
|
||||
|
||||
- update tests
|
||||
|
||||
## 0.2.0a21 (2026-01-09)
|
||||
|
||||
### Feat
|
||||
|
||||
- add vars for an specified host
|
||||
|
||||
## 0.2.0a20 (2025-12-30)
|
||||
|
||||
### Feat
|
||||
|
||||
- add doc
|
||||
|
||||
### Fix
|
||||
|
||||
- update tests
|
||||
|
||||
## 0.2.0a19 (2025-12-22)
|
||||
|
||||
### Feat
|
||||
|
||||
- can sort variable per namespace
|
||||
|
||||
## 0.2.0a18 (2025-11-21)
|
||||
|
||||
### Feat
|
||||
|
||||
- can remove namespace name in host vars
|
||||
|
||||
## 0.2.0a17 (2025-11-06)
|
||||
|
||||
### Feat
|
||||
|
||||
- add some tests
|
||||
|
||||
## 0.2.0a16 (2025-10-10)
|
||||
|
||||
### Fix
|
||||
|
||||
- update tests
|
||||
- tests
|
||||
|
||||
## 0.2.0a15 (2025-10-03)
|
||||
|
||||
### Fix
|
||||
|
||||
- ansible in config is a family
|
||||
- tests for formatter
|
||||
|
||||
## 0.2.0a14 (2025-09-29)
|
||||
|
||||
### Feat
|
||||
|
||||
- remove json.read_write option
|
||||
- default value for a calculated variable with an unknown optional variable
|
||||
- update tests for integer type
|
||||
|
||||
## 0.2.0a13 (2025-09-22)
|
||||
|
||||
### Fix
|
||||
|
||||
- dictionary => structure
|
||||
|
||||
## 0.2.0a12 (2025-09-10)
|
||||
|
||||
### Fix
|
||||
|
||||
- all group is not necesary
|
||||
|
||||
## 0.2.0a11 (2025-09-08)
|
||||
|
||||
### Fix
|
||||
|
||||
- "all" group are now compose with host and we remove duplicated hostname
|
||||
|
||||
## 0.2.0a10 (2025-07-04)
|
||||
|
||||
### Feat
|
||||
|
||||
- add ansible.export_warnings option
|
||||
|
||||
## 0.2.0a9 (2025-06-18)
|
||||
|
||||
### Fix
|
||||
|
||||
- rougail separation
|
||||
|
||||
## 0.2.0a8 (2025-05-12)
|
||||
|
||||
### Fix
|
||||
|
||||
- update tests
|
||||
- black
|
||||
|
||||
## 0.2.0a7 (2025-05-02)
|
||||
|
||||
### Fix
|
||||
|
||||
- do not force use_data usage
|
||||
|
||||
## 0.2.0a6 (2025-04-30)
|
||||
|
||||
### Fix
|
||||
|
||||
- remove negative_description support
|
||||
- update tests
|
||||
- better mandatory support in test
|
||||
|
||||
## 0.2.0a5 (2025-04-09)
|
||||
|
||||
### Fix
|
||||
|
||||
- version
|
||||
|
||||
## 0.2.0a4 (2025-04-01)
|
||||
|
||||
### Fix
|
||||
|
||||
- update tests
|
||||
|
||||
## 0.2.0a3 (2025-02-17)
|
||||
|
||||
### Fix
|
||||
|
||||
- translation
|
||||
|
||||
## 0.2.0a2 (2025-02-10)
|
||||
|
||||
### Feat
|
||||
|
||||
- output return status too
|
||||
|
||||
## 0.2.0a1 (2025-01-02)
|
||||
|
||||
### Fix
|
||||
|
||||
- user data ansible is loaded before
|
||||
|
||||
## 0.2.0a0 (2025-01-02)
|
||||
|
||||
### Feat
|
||||
|
||||
- add namespace_is_hostname option
|
||||
- add tests
|
||||
|
||||
## 0.1.1a2 (2024-11-29)
|
||||
|
||||
## 0.1.1a1 (2024-11-28)
|
||||
|
||||
### Fix
|
||||
|
||||
- better errors support
|
||||
|
||||
## 0.1.1a0 (2024-11-27)
|
||||
|
||||
### Fix
|
||||
|
||||
- first commit
|
||||
46
README.fr.md
Normal file
46
README.fr.md
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
---
|
||||
gitea: none
|
||||
include_toc: true
|
||||
---
|
||||
[🇬🇧 (EN)](README.md) - [🇫🇷 (FR)](README.fr.md)
|
||||
|
||||
## Génère un inventaire Ansible
|
||||
|
||||
> [!NOTE]
|
||||
>
|
||||
> **Chemin** : ansible\
|
||||
> *`désactivé`*\
|
||||
> **Désactivé** : lorsque la variable "[Sélection pour sortie](#step.output)" est accessible et n'a pas la valeur "ansible"
|
||||
|
||||
| Variable | Description | Valeur par défaut | Type | Validateur |
|
||||
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------|---------------------|--------------------------------------------------------------------------------------------------|--------------------------------------------------|
|
||||
| **<a id="ansible.output" name="ansible.output">ansible.output</a>**<br/>**Ligne de commande** : <br/>--ansible.output<br/>**Variable d'environnement** : ANSIBLE.OUTPUT | Type de sortie. | inventory | [`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `obligatoire` | **Choix** : <br/>• inventory<br/>• doc |
|
||||
|
||||
### Configuration de la doc
|
||||
|
||||
> [!NOTE]
|
||||
>
|
||||
> **Chemin** : ansible.doc\
|
||||
> *`désactivé`*\
|
||||
> **Désactivé** : lorsque la variable "[Type de sortie](#ansible.output)" n'a pas la valeur "doc"
|
||||
|
||||
| Variable | Description | Valeur par défaut | Type | Validateur |
|
||||
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------|---------------------|--------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------|
|
||||
| **<a id="ansible.doc.author" name="ansible.doc.author">ansible.doc.author</a>**<br/>**Ligne de commande** : <br/>--ansible.doc.author<br/>**Variable d'environnement** : ANSIBLE.DOC.AUTHOR | Nom de l'auteur Ansible. | <author> | [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `obligatoire` | |
|
||||
| **<a id="ansible.doc.output_format" name="ansible.doc.output_format">ansible.doc.output_format</a>**<br/>**Ligne de commande** : <br/>--ansible.doc.output_format<br/>**Variable d'environnement** : ANSIBLE.DOC.OUTPUT_FORMAT | Le format de sorti de la documentation générée. | console | [`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `obligatoire` | **Choix** : <br/>• console<br/>• asciidoc<br/>• html<br/>• github<br/>• gitlab<br/>• json |
|
||||
|
||||
### Configuration de l'inventaire
|
||||
|
||||
> [!NOTE]
|
||||
>
|
||||
> **Chemin** : ansible.inventory\
|
||||
> *`désactivé`*\
|
||||
> **Désactivé** : lorsque la variable "[Type de sortie](#ansible.output)" n'a pas la valeur "inventory"
|
||||
|
||||
| Variable | Description | Valeur par défaut | Type |
|
||||
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------|---------------------|---------------------------------------------------------------------------------------------------|
|
||||
| **<a id="ansible.inventory.host_namespace" name="ansible.inventory.host_namespace">ansible.inventory.host_namespace</a>**<br/>**Ligne de commande** : <br/>--ansible.inventory.host_namespace<br/>**Variable d'environnement** : ANSIBLE.INVENTORY.HOST_NAMESPACE | Espace de nom avec les valeurs de l'hôte. | hosts | [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `obligatoire` |
|
||||
| **<a id="ansible.inventory.no_namespace_in_vars" name="ansible.inventory.no_namespace_in_vars">ansible.inventory.no_namespace_in_vars</a>**<br/>**Ligne de commande** : <br/>• --ansible.inventory.no_namespace_in_vars<br/>• --ansible.inventory.no-no_namespace_in_vars<br/>**Variable d'environnement** : ANSIBLE.INVENTORY.NO_NAMESPACE_IN_VARS | Supprime le nom de l'espace de nom dans les vars de l'hôte. | false | [`boolean`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `obligatoire` |
|
||||
| **<a id="ansible.inventory.export_warnings" name="ansible.inventory.export_warnings">ansible.inventory.export_warnings</a>**<br/>**Ligne de commande** : <br/>• --ansible.inventory.export_warnings<br/>• --ansible.inventory.no-export_warnings<br/>**Variable d'environnement** : ANSIBLE.INVENTORY.EXPORT_WARNINGS | Affiche les avertissements dans les données d'exportation Ansible. | true | [`boolean`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `obligatoire` |
|
||||
|
||||
|
||||
46
README.md
46
README.md
|
|
@ -1,2 +1,46 @@
|
|||
# rougail-output-ansible
|
||||
---
|
||||
gitea: none
|
||||
include_toc: true
|
||||
---
|
||||
[🇬🇧 (EN)](README.md) - [🇫🇷 (FR)](README.fr.md)
|
||||
|
||||
## Generate Ansible inventory
|
||||
|
||||
> [!NOTE]
|
||||
>
|
||||
> **Path**: ansible\
|
||||
> *`disabled`*\
|
||||
> **Disabled**: when the variable "[Select for output](#step.output)" is accessible and hasn't the value "ansible"
|
||||
|
||||
| Variable | Description | Default value | Type | Validator |
|
||||
|--------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------|-----------------|------------------------------------------------------------------------------------------------|---------------------------------------------------|
|
||||
| **<a id="ansible.output" name="ansible.output">ansible.output</a>**<br/>**Command line**: <br/>--ansible.output<br/>**Environment variable**: ANSIBLE.OUTPUT | Output type. | inventory | [`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `mandatory` | **Choices**: <br/>• inventory<br/>• doc |
|
||||
|
||||
### Doc configuration
|
||||
|
||||
> [!NOTE]
|
||||
>
|
||||
> **Path**: ansible.doc\
|
||||
> *`disabled`*\
|
||||
> **Disabled**: when the variable "[Output type](#ansible.output)" hasn't the value "doc"
|
||||
|
||||
| Variable | Description | Default value | Type | Validator |
|
||||
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------|-----------------|------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------|
|
||||
| **<a id="ansible.doc.author" name="ansible.doc.author">ansible.doc.author</a>**<br/>**Command line**: <br/>--ansible.doc.author<br/>**Environment variable**: ANSIBLE.DOC.AUTHOR | Ansible author name. | <author> | [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `mandatory` | |
|
||||
| **<a id="ansible.doc.output_format" name="ansible.doc.output_format">ansible.doc.output_format</a>**<br/>**Command line**: <br/>--ansible.doc.output_format<br/>**Environment variable**: ANSIBLE.DOC.OUTPUT_FORMAT | The output format of the generated documentation. | console | [`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `mandatory` | **Choices**: <br/>• console<br/>• asciidoc<br/>• html<br/>• github<br/>• gitlab<br/>• json |
|
||||
|
||||
### Inventory configuration
|
||||
|
||||
> [!NOTE]
|
||||
>
|
||||
> **Path**: ansible.inventory\
|
||||
> *`disabled`*\
|
||||
> **Disabled**: when the variable "[Output type](#ansible.output)" hasn't the value "inventory"
|
||||
|
||||
| Variable | Description | Default value | Type |
|
||||
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------|-----------------|-------------------------------------------------------------------------------------------------|
|
||||
| **<a id="ansible.inventory.host_namespace" name="ansible.inventory.host_namespace">ansible.inventory.host_namespace</a>**<br/>**Command line**: <br/>--ansible.inventory.host_namespace<br/>**Environment variable**: ANSIBLE.INVENTORY.HOST_NAMESPACE | Namespace with host values. | hosts | [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `mandatory` |
|
||||
| **<a id="ansible.inventory.no_namespace_in_vars" name="ansible.inventory.no_namespace_in_vars">ansible.inventory.no_namespace_in_vars</a>**<br/>**Command line**: <br/>• --ansible.inventory.no_namespace_in_vars<br/>• --ansible.inventory.no-no_namespace_in_vars<br/>**Environment variable**: ANSIBLE.INVENTORY.NO_NAMESPACE_IN_VARS | Remove namespace name in host vars. | false | [`boolean`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `mandatory` |
|
||||
| **<a id="ansible.inventory.export_warnings" name="ansible.inventory.export_warnings">ansible.inventory.export_warnings</a>**<br/>**Command line**: <br/>• --ansible.inventory.export_warnings<br/>• --ansible.inventory.no-export_warnings<br/>**Environment variable**: ANSIBLE.INVENTORY.EXPORT_WARNINGS | Displays warnings inside Ansible exportation datas. | true | [`boolean`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `mandatory` |
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -5,8 +5,8 @@
|
|||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"POT-Creation-Date: 2024-11-01 11:03+0100\n"
|
||||
"PO-Revision-Date: 2024-11-01 11:04+0100\n"
|
||||
"POT-Creation-Date: 2026-01-21 08:51+0100\n"
|
||||
"PO-Revision-Date: 2026-01-21 08:54+0100\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
"Language: fr\n"
|
||||
|
|
@ -14,44 +14,164 @@ msgstr ""
|
|||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Generated-By: pygettext.py 1.5\n"
|
||||
"X-Generator: Poedit 3.5\n"
|
||||
"X-Generator: Poedit 3.8\n"
|
||||
|
||||
#: src/rougail/output_exporter/__init__.py:73
|
||||
msgid "The following variables are mandatory but have no value:"
|
||||
msgstr "Les variables suiveuses sont obligatoire mais n'ont pas de valeur :"
|
||||
#: src/rougail/output_ansible/ansible.py:63
|
||||
msgid "no namespace configured"
|
||||
msgstr "aucun espace de nom configuré"
|
||||
|
||||
#: src/rougail/output_exporter/__init__.py:84
|
||||
msgid "The following variables are inaccessible but are empty and mandatory :"
|
||||
msgstr "Les variables suiveuses sont inaccessibles mais sont vides et obligatoires :"
|
||||
#: src/rougail/output_ansible/ansible.py:73
|
||||
msgid "cannot find host namespace \"{0}\""
|
||||
msgstr "ne peut trouve l'espace de nom de l'hôte \"{0}\""
|
||||
|
||||
#: src/rougail/output_exporter/output/console.py:53
|
||||
msgid "Undocumented variable"
|
||||
msgstr "Variable non documentée"
|
||||
#: src/rougail/output_ansible/ansible.py:80
|
||||
msgid "malformated host namespace \"{0}\", should have the \"hostnames\" key"
|
||||
msgstr ""
|
||||
"l'espace de nom de l'hôte \"{0}\" est mal formaté, devrait avoir la clé "
|
||||
"\"hostnames\""
|
||||
|
||||
#: src/rougail/output_exporter/output/console.py:54
|
||||
msgid "Undocumented but modified variable"
|
||||
msgstr "Variable non documentée mais modifiée"
|
||||
#: src/rougail/output_ansible/ansible.py:112
|
||||
msgid "cannot find \"hostnames\" in \"{0}\" namespace"
|
||||
msgstr "ne peut trouve \"hostnames\" dans l'espace de nom \"{0}\""
|
||||
|
||||
#: src/rougail/output_exporter/output/console.py:57
|
||||
msgid "Unmodifiable variable"
|
||||
msgstr "Variable non modifiable"
|
||||
#: src/rougail/output_ansible/config.py:39
|
||||
msgid "parameter added only to be compatible with Ansible"
|
||||
msgstr "paramètre ajouté seulement pour être compatible avec Ansible"
|
||||
|
||||
#: src/rougail/output_exporter/output/console.py:61
|
||||
msgid "Default value"
|
||||
msgstr "Valeur par défaut"
|
||||
#: src/rougail/output_ansible/config.py:45
|
||||
msgid "if ansible is not set in \"step.output\""
|
||||
msgstr "si ansible n'est pas défini dans \"step.output\""
|
||||
|
||||
#: src/rougail/output_exporter/output/console.py:62
|
||||
msgid "Modified value"
|
||||
msgstr "Valeur modifiée"
|
||||
#: src/rougail/output_ansible/config.py:53
|
||||
msgid "if ansible or json are not set in \"step.output\""
|
||||
msgstr "si ansible ou json ne sont pas définis dans \"step.output\""
|
||||
|
||||
#: src/rougail/output_exporter/output/console.py:63
|
||||
msgid "Original default value"
|
||||
msgstr "Valeur par défaut d'origine"
|
||||
#: src/rougail/output_ansible/config.py:60
|
||||
msgid "Load Ansible encrypt inventory or generate Ansible inventory"
|
||||
msgstr "Charge un inventaire chiffré Ansible ou génère un inventaire Ansible"
|
||||
|
||||
#: src/rougail/output_exporter/output/console.py:67
|
||||
msgid "Caption"
|
||||
msgstr "Légende"
|
||||
#: src/rougail/output_ansible/config.py:65
|
||||
msgid "if ansible is not in \"step.output\" and not in \"step.user_data\""
|
||||
msgstr "si ansible n'est pas dans \"step.output\" ni dans \"step.user_data\""
|
||||
|
||||
#: src/rougail/output_exporter/output/console.py:92
|
||||
msgid "Variables:"
|
||||
msgstr "Variables :"
|
||||
#: src/rougail/output_ansible/config.py:71
|
||||
msgid "Generate Ansible inventory"
|
||||
msgstr "Génère un inventaire Ansible"
|
||||
|
||||
#: src/rougail/output_ansible/config.py:83
|
||||
msgid "Output type"
|
||||
msgstr "Type de sortie"
|
||||
|
||||
#: src/rougail/output_ansible/config.py:93
|
||||
msgid "Doc configuration"
|
||||
msgstr "Configuration de la doc"
|
||||
|
||||
#: src/rougail/output_ansible/config.py:98
|
||||
msgid "Ansible author name"
|
||||
msgstr "Nom de l'auteur Ansible"
|
||||
|
||||
#: src/rougail/output_ansible/config.py:101
|
||||
msgid "The output format of the generated documentation"
|
||||
msgstr "Le format de sorti de la documentation générée"
|
||||
|
||||
#: src/rougail/output_ansible/config.py:109
|
||||
msgid "Inventory configuration"
|
||||
msgstr "Configuration de l'inventaire"
|
||||
|
||||
#: src/rougail/output_ansible/config.py:114
|
||||
msgid "Namespace with host values"
|
||||
msgstr "Espace de nom avec les valeurs de l'hôte"
|
||||
|
||||
#: src/rougail/output_ansible/config.py:116
|
||||
msgid "Remove namespace name in host vars"
|
||||
msgstr "Supprime le nom de l'espace de nom dans les vars de l'hôte"
|
||||
|
||||
#: src/rougail/output_ansible/config.py:118
|
||||
msgid "Displays warnings inside Ansible exportation datas"
|
||||
msgstr "Affiche les avertissements dans les données d'exportation Ansible"
|
||||
|
||||
#: src/rougail/output_ansible/doc.py:63
|
||||
msgid "Ansible role"
|
||||
msgstr "Rôle Ansible"
|
||||
|
||||
#: src/rougail/output_ansible/doc.py:63
|
||||
msgid "{0}: {1}"
|
||||
msgstr "{0} : {1}"
|
||||
|
||||
#: src/rougail/output_ansible/doc.py:84
|
||||
msgid "Example playbook with Rougail"
|
||||
msgstr "Exemple de playbook avec Rougail"
|
||||
|
||||
#: src/rougail/output_ansible/doc.py:88
|
||||
msgid "Do not forget to add Rougail structural file as Rougail types"
|
||||
msgstr ""
|
||||
"Ne pas oublier d'ajouter le fichier de structure Rougail comme un type "
|
||||
"Rougail"
|
||||
|
||||
#: src/rougail/output_ansible/doc.py:91
|
||||
msgid ""
|
||||
"Add to your structural file something like:\n"
|
||||
"\n"
|
||||
msgstr ""
|
||||
"Ajouter à votre fichier de structure quelque chose comme :\n"
|
||||
"\n"
|
||||
|
||||
#: src/rougail/output_ansible/doc.py:93
|
||||
msgid ""
|
||||
"\n"
|
||||
"Add to your playbook:\n"
|
||||
"\n"
|
||||
msgstr ""
|
||||
"\n"
|
||||
"Ajouter à votre playbook :\n"
|
||||
"\n"
|
||||
|
||||
#: src/rougail/output_ansible/doc.py:103
|
||||
msgid "Example playbook"
|
||||
msgstr "Exemple de playbook"
|
||||
|
||||
#~ msgid "Configuration of user data or output Ansible"
|
||||
#~ msgstr "Configuration de Ansible comme donnée utilisateur ou sortie"
|
||||
|
||||
#~ msgid "Configuration of output Ansible"
|
||||
#~ msgstr "Configuration de la sortie Ansible"
|
||||
|
||||
#~ msgid "Only variables in host namespace is available by a host"
|
||||
#~ msgstr ""
|
||||
#~ "Seules les variables de l'espace de nom de l'hôte est valable pour un hôte"
|
||||
|
||||
#~ msgid "All variables is available for all hosts"
|
||||
#~ msgstr "Tous les variables sont valables pour tous les hôtes"
|
||||
|
||||
#~ msgid "The following variables are mandatory but have no value:"
|
||||
#~ msgstr "Les variables suivantes sont obligatoire mais n'ont pas de valeur :"
|
||||
|
||||
#~ msgid ""
|
||||
#~ "The following variables are inaccessible but are empty and mandatory :"
|
||||
#~ msgstr ""
|
||||
#~ "Les variables suiveuses sont inaccessibles mais sont vides et "
|
||||
#~ "obligatoires :"
|
||||
|
||||
#~ msgid "Undocumented variable"
|
||||
#~ msgstr "Variable non documentée"
|
||||
|
||||
#~ msgid "Undocumented but modified variable"
|
||||
#~ msgstr "Variable non documentée mais modifiée"
|
||||
|
||||
#~ msgid "Unmodifiable variable"
|
||||
#~ msgstr "Variable non modifiable"
|
||||
|
||||
#~ msgid "Default value"
|
||||
#~ msgstr "Valeur par défaut"
|
||||
|
||||
#~ msgid "Modified value"
|
||||
#~ msgstr "Valeur modifiée"
|
||||
|
||||
#~ msgid "Original default value"
|
||||
#~ msgstr "Valeur par défaut d'origine"
|
||||
|
||||
#~ msgid "Caption"
|
||||
#~ msgstr "Légende"
|
||||
|
||||
#~ msgid "Variables:"
|
||||
#~ msgstr "Variables :"
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"POT-Creation-Date: 2024-11-01 11:03+0100\n"
|
||||
"POT-Creation-Date: 2026-01-21 08:55+0100\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
|
|
@ -15,43 +15,108 @@ msgstr ""
|
|||
"Generated-By: pygettext.py 1.5\n"
|
||||
|
||||
|
||||
#: src/rougail/output_exporter/__init__.py:73
|
||||
msgid "The following variables are mandatory but have no value:"
|
||||
#: src/rougail/output_ansible/ansible.py:63
|
||||
msgid "no namespace configured"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_exporter/__init__.py:84
|
||||
msgid "The following variables are inaccessible but are empty and mandatory :"
|
||||
#: src/rougail/output_ansible/ansible.py:73
|
||||
msgid "cannot find host namespace \"{0}\""
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_exporter/output/console.py:53
|
||||
msgid "Undocumented variable"
|
||||
#: src/rougail/output_ansible/ansible.py:80
|
||||
msgid "malformated host namespace \"{0}\", should have the \"hostnames\" key"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_exporter/output/console.py:54
|
||||
msgid "Undocumented but modified variable"
|
||||
#: src/rougail/output_ansible/ansible.py:112
|
||||
msgid "cannot find \"hostnames\" in \"{0}\" namespace"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_exporter/output/console.py:57
|
||||
msgid "Unmodifiable variable"
|
||||
#: src/rougail/output_ansible/config.py:39
|
||||
msgid "parameter added only to be compatible with Ansible"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_exporter/output/console.py:61
|
||||
msgid "Default value"
|
||||
#: src/rougail/output_ansible/config.py:45
|
||||
msgid "if ansible is not set in \"step.output\""
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_exporter/output/console.py:62
|
||||
msgid "Modified value"
|
||||
#: src/rougail/output_ansible/config.py:53
|
||||
msgid "if ansible or json are not set in \"step.output\""
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_exporter/output/console.py:63
|
||||
msgid "Original default value"
|
||||
#: src/rougail/output_ansible/config.py:60
|
||||
msgid "Load Ansible encrypt inventory or generate Ansible inventory"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_exporter/output/console.py:67
|
||||
msgid "Caption"
|
||||
#: src/rougail/output_ansible/config.py:65
|
||||
msgid "if ansible is not in \"step.output\" and not in \"step.user_data\""
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_exporter/output/console.py:92
|
||||
msgid "Variables:"
|
||||
#: src/rougail/output_ansible/config.py:71
|
||||
msgid "Generate Ansible inventory"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_ansible/config.py:83
|
||||
msgid "Output type"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_ansible/config.py:93
|
||||
msgid "Doc configuration"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_ansible/config.py:98
|
||||
msgid "Ansible author name"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_ansible/config.py:101
|
||||
msgid "The output format of the generated documentation"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_ansible/config.py:109
|
||||
msgid "Inventory configuration"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_ansible/config.py:114
|
||||
msgid "Namespace with host values"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_ansible/config.py:116
|
||||
msgid "Remove namespace name in host vars"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_ansible/config.py:118
|
||||
msgid "Displays warnings inside Ansible exportation datas"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_ansible/doc.py:63
|
||||
msgid "Ansible role"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_ansible/doc.py:63
|
||||
msgid "{0}: {1}"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_ansible/doc.py:84
|
||||
msgid "Example playbook with Rougail"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_ansible/doc.py:88
|
||||
msgid "Do not forget to add Rougail structural file as Rougail types"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_ansible/doc.py:91
|
||||
msgid ""
|
||||
"Add to your structural file something like:\n"
|
||||
"\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_ansible/doc.py:93
|
||||
msgid ""
|
||||
"\n"
|
||||
"Add to your playbook:\n"
|
||||
"\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_ansible/doc.py:103
|
||||
msgid "Example playbook"
|
||||
msgstr ""
|
||||
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ requires = ["flit_core >=3.8.0,<4"]
|
|||
|
||||
[project]
|
||||
name = "rougail.output_ansible"
|
||||
version = "0.1.0"
|
||||
version = "0.2.0a24"
|
||||
authors = [{name = "Emmanuel Garette", email = "gnunux@gnunux.info"}]
|
||||
readme = "README.md"
|
||||
description = "Rougail output ansible"
|
||||
|
|
@ -13,11 +13,10 @@ license = {file = "LICENSE"}
|
|||
classifiers = [
|
||||
"License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)",
|
||||
"Programming Language :: Python",
|
||||
"Programming Language :: Python :: 3.8",
|
||||
"Programming Language :: Python :: 3.9",
|
||||
"Programming Language :: Python :: 3.10",
|
||||
"Programming Language :: Python :: 3.11",
|
||||
"Programming Language :: Python :: 3.12",
|
||||
"Programming Language :: Python :: 3.13",
|
||||
"Programming Language :: Python :: 3.14",
|
||||
"Programming Language :: Python :: 3",
|
||||
"Operating System :: OS Independent",
|
||||
"Natural Language :: English",
|
||||
|
|
@ -27,6 +26,7 @@ classifiers = [
|
|||
dependencies = [
|
||||
"rougail >= 1.1,<2",
|
||||
"rougail-output-json >= 0.1",
|
||||
"ansible",
|
||||
]
|
||||
|
||||
[project.urls]
|
||||
|
|
@ -37,5 +37,9 @@ name = "cz_conventional_commits"
|
|||
tag_format = "$version"
|
||||
version_scheme = "pep440"
|
||||
version_provider = "pep621"
|
||||
version_files = [
|
||||
"src/rougail/output_ansible/__version__.py",
|
||||
"pyproject.toml:version"
|
||||
]
|
||||
update_changelog_on_bump = true
|
||||
changelog_merge_prerelease = true
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
"""
|
||||
Silique (https://www.silique.fr)
|
||||
Copyright (C) 2022-2024
|
||||
Copyright (C) 2022-2026
|
||||
|
||||
This program is free software: you can redistribute it and/or modify it
|
||||
under the terms of the GNU Lesser General Public License as published by the
|
||||
|
|
@ -15,70 +15,44 @@ details.
|
|||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
"""
|
||||
|
||||
from typing import Optional
|
||||
from json import dumps
|
||||
|
||||
from ..output_json import RougailOutputJson
|
||||
from .ansible import Inventory
|
||||
from .__version__ import __version__
|
||||
|
||||
|
||||
class RougailOutputAnsible(RougailOutputJson):
|
||||
class RougailOutputAnsible:
|
||||
output_name = "ansible"
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
config: "Config",
|
||||
*,
|
||||
rougailconfig: "RougailConfig" = None,
|
||||
user_data_errors: Optional[list] = None,
|
||||
user_data_warnings: Optional[list] = None,
|
||||
**kwargs,
|
||||
) -> None:
|
||||
if rougailconfig is None:
|
||||
from rougail import RougailConfig
|
||||
|
||||
rougailconfig = RougailConfig
|
||||
self.rougailconfig = rougailconfig
|
||||
self.host_namespace = self.rougailconfig["ansible.host_namespace"]
|
||||
self.config = config
|
||||
self.read_write = False
|
||||
self.is_mandatory = True
|
||||
self.dico = {}
|
||||
self.errors = []
|
||||
self.warnings = []
|
||||
self.rougailconfig = rougailconfig
|
||||
self.kwargs = kwargs
|
||||
|
||||
def run(self) -> None:
|
||||
self.exporter()
|
||||
print(dumps(self.json_to_ansible(), ensure_ascii=False, indent=2))
|
||||
|
||||
def json_to_ansible(self):
|
||||
if self.host_namespace not in self.dico:
|
||||
self.errors.append(_('cannot find hosts namespace "{0}"').format(self.host_namespace))
|
||||
if 'hostnames' not in self.dico[self.host_namespace]:
|
||||
self.errors.append(_('malformated hosts namespace "{0}", should has "hostnames"').format(self.host_namespace))
|
||||
ret = {"_meta": {"hostvars": {}}, "all": {"children": ["ungrouped"]}}
|
||||
# if self.errors:
|
||||
# ret["_meta"]["hostvars"]["localhost"] = {'_errors': self.errors}
|
||||
# ret["ungrouped"] = {"hosts": ["localhost"]}
|
||||
# else:
|
||||
hostnames = self.dico[self.host_namespace]['hostnames']
|
||||
ret_hosts = {}
|
||||
for name, hosts in hostnames.items():
|
||||
if 'hosts' in hosts:
|
||||
for idx, host in enumerate(hosts['hosts']):
|
||||
index = str(idx + 1)
|
||||
if idx < 9:
|
||||
index = '0' + index
|
||||
host_name = hosts['prefix_name'] + index
|
||||
ret_hosts.setdefault(name, {})[host_name] = host
|
||||
ret.setdefault(name, {}).setdefault('hosts', []).append(host_name)
|
||||
def run(self):
|
||||
output = self.rougailconfig['ansible.output']
|
||||
if output == 'doc':
|
||||
from .doc import Doc
|
||||
data = Doc(self.config, rougailconfig=self.rougailconfig, **self.kwargs)
|
||||
else:
|
||||
ret["all"]["children"].append(name)
|
||||
ret[name] = hosts
|
||||
for hosts in ret_hosts.values():
|
||||
for host, domain_name in hosts.items():
|
||||
ret['_meta']['hostvars'][host] = {'ansible_host': domain_name}
|
||||
ret['_meta']['hostvars'][host].update(self.dico)
|
||||
return ret
|
||||
data = Inventory(self.config, rougailconfig=self.rougailconfig, **self.kwargs)
|
||||
return data.run()
|
||||
|
||||
def print(self):
|
||||
output = self.rougailconfig['ansible.output']
|
||||
if output == 'doc':
|
||||
from .doc import Doc
|
||||
data = Doc(self.config, rougailconfig=self.rougailconfig, **self.kwargs)
|
||||
else:
|
||||
data = Inventory(self.config, rougailconfig=self.rougailconfig, **self.kwargs)
|
||||
return data.print()
|
||||
|
||||
|
||||
RougailOutput = RougailOutputAnsible
|
||||
|
||||
|
||||
__all__ = ("RougailOutputAnsible",)
|
||||
__all__ = ("RougailOutputAnsible", '__version__')
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
1
src/rougail/output_ansible/__version__.py
Normal file
1
src/rougail/output_ansible/__version__.py
Normal file
|
|
@ -0,0 +1 @@
|
|||
__version__ = "0.2.0a24"
|
||||
Binary file not shown.
183
src/rougail/output_ansible/ansible.py
Normal file
183
src/rougail/output_ansible/ansible.py
Normal file
|
|
@ -0,0 +1,183 @@
|
|||
"""
|
||||
Silique (https://www.silique.fr)
|
||||
Copyright (C) 2022-2026
|
||||
|
||||
This program is free software: you can redistribute it and/or modify it
|
||||
under the terms of the GNU Lesser General Public License as published by the
|
||||
Free Software Foundation, either version 3 of the License, or (at your
|
||||
option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
||||
FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
|
||||
details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
"""
|
||||
|
||||
from tiramisu import groups
|
||||
|
||||
from .i18n import _
|
||||
from ..output_json import RougailOutputJson
|
||||
|
||||
|
||||
class Inventory(RougailOutputJson):
|
||||
output_name = "ansible"
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
config: "Config",
|
||||
*,
|
||||
rougailconfig: "RougailConfig" = None,
|
||||
**kwargs,
|
||||
) -> None:
|
||||
self.config = config
|
||||
self.rougailconfig = rougailconfig
|
||||
super().__init__(config, rougailconfig=rougailconfig, **kwargs)
|
||||
|
||||
def exporter(self) -> None:
|
||||
self.host_namespace = self.rougailconfig["ansible.inventory.host_namespace"]
|
||||
self.no_namespace_in_vars = self.rougailconfig["ansible.inventory.no_namespace_in_vars"]
|
||||
self.export_warnings = self.rougailconfig["ansible.inventory.export_warnings"]
|
||||
self.hosts = {}
|
||||
super().exporter()
|
||||
self.json_to_ansible()
|
||||
# never return code 1, error are in the output data
|
||||
return True
|
||||
|
||||
def parse_variable(self, option, child, namespace):
|
||||
if self.support_namespace and namespace and "ansible_host" in option.information.get("tags", tuple()):
|
||||
hosts = option.value.get()
|
||||
if not isinstance(hosts, list):
|
||||
hosts = [hosts]
|
||||
if namespace in self.hosts:
|
||||
self.hosts[namespace].update(hosts)
|
||||
else:
|
||||
self.hosts[namespace] = hosts
|
||||
super().parse_variable(option, child, namespace)
|
||||
|
||||
def manage_errors(self) -> bool:
|
||||
if not super().manage_errors():
|
||||
if not self.support_namespace:
|
||||
self.errors.append(_("no namespace configured"))
|
||||
hosts_config = self.config.option(self.host_namespace)
|
||||
try:
|
||||
if hosts_config.group_type() != groups.namespace:
|
||||
hosts_config = None
|
||||
except AttributeError:
|
||||
hosts_config = None
|
||||
if not hosts_config:
|
||||
if not self.hosts:
|
||||
self.errors.append(
|
||||
_('cannot find host namespace "{0}"').format(self.host_namespace)
|
||||
)
|
||||
else:
|
||||
try:
|
||||
hosts_config.option("hostnames").name()
|
||||
except AttributeError:
|
||||
self.errors.append(
|
||||
_(
|
||||
'malformated host namespace "{0}", should have the "hostnames" key'
|
||||
).format(self.host_namespace)
|
||||
)
|
||||
# error is added, so replay manage_errors
|
||||
return super().manage_errors()
|
||||
return True
|
||||
|
||||
def json_to_ansible(self):
|
||||
ret = {"_meta": {"hostvars": {}}}
|
||||
namespaces = {}
|
||||
extra_vars = {}
|
||||
if "_warnings" in self.dico:
|
||||
_warnings = self.dico.pop("_warnings")
|
||||
if self.export_warnings:
|
||||
ret["_meta"]["hostvars"]["localhost"] = {
|
||||
"_warnings": _warnings,
|
||||
}
|
||||
ret["ungrouped"] = {"hosts": ["localhost"]}
|
||||
if "_errors" in self.dico:
|
||||
ret["_meta"]["hostvars"].setdefault("localhost", {})["_errors"] = (
|
||||
self.dico.pop("_errors")
|
||||
)
|
||||
if "ungrouped" not in ret:
|
||||
ret["ungrouped"] = {"hosts": ["localhost"]}
|
||||
if self.host_namespace in self.dico:
|
||||
hosts = self.dico.pop(self.host_namespace)
|
||||
# manage groups
|
||||
if "hostnames" not in hosts:
|
||||
ret["_meta"]["hostvars"].setdefault("localhost", {}).setdefault(
|
||||
"_errors", []
|
||||
).append(
|
||||
_('cannot find "hostnames" in "{0}" namespace').format(
|
||||
self.host_namespace
|
||||
)
|
||||
)
|
||||
if "ungrouped" not in ret:
|
||||
ret["ungrouped"] = {"hosts": ["localhost"]}
|
||||
hostnames = {}
|
||||
else:
|
||||
hostnames = hosts["hostnames"]
|
||||
ret_hosts = {}
|
||||
for name, hosts in hostnames.items():
|
||||
if "hosts" in hosts:
|
||||
if "vars" in hosts and "all" in hosts["vars"]:
|
||||
current_extra_vars = hosts["vars"]["all"]
|
||||
else:
|
||||
current_extra_vars = {}
|
||||
for idx, host in enumerate(hosts["hosts"]):
|
||||
index = str(idx + 1)
|
||||
if idx < 9:
|
||||
index = "0" + index
|
||||
if "prefix_name" in hosts:
|
||||
host_name = hosts["prefix_name"] + index
|
||||
else:
|
||||
host_name = host
|
||||
if "namespaces" in hosts:
|
||||
namespaces[host] = hosts["namespaces"]
|
||||
ret_hosts.setdefault(name, {})[host_name] = host
|
||||
ret.setdefault(name, {}).setdefault("hosts", []).append(
|
||||
host_name
|
||||
)
|
||||
if "vars" in hosts and str(idx) in hosts["vars"]:
|
||||
extra_vars[host_name] = current_extra_vars.copy()
|
||||
extra_vars[host_name].update(hosts["vars"][str(idx)])
|
||||
elif current_extra_vars:
|
||||
extra_vars[host_name] = current_extra_vars
|
||||
else:
|
||||
ret[name] = hosts
|
||||
# manage hostsnames and vars in hostsname
|
||||
for hosts in ret_hosts.values():
|
||||
for host, domain_name in hosts.items():
|
||||
ret["_meta"]["hostvars"][host] = {"ansible_host": domain_name}
|
||||
if self.no_namespace_in_vars:
|
||||
if host in namespaces:
|
||||
for namespace in namespaces[host]:
|
||||
if namespace in self.dico:
|
||||
ret["_meta"]["hostvars"][host].update(self.dico[namespace])
|
||||
else:
|
||||
for ns_vars in self.dico.values():
|
||||
ret["_meta"]["hostvars"][host].update(ns_vars)
|
||||
else:
|
||||
if host in namespaces:
|
||||
for namespace in namespaces[host]:
|
||||
if namespace in self.dico:
|
||||
ret["_meta"]["hostvars"][host][namespace] = self.dico[namespace]
|
||||
else:
|
||||
ret["_meta"]["hostvars"][host].update(self.dico)
|
||||
if host in extra_vars:
|
||||
ret["_meta"]["hostvars"][host].update(extra_vars[host])
|
||||
# manage hostnames define with tag ansible_host and add groups
|
||||
for namespace, hosts in self.hosts.items():
|
||||
if namespace not in ret:
|
||||
ret[namespace] = {"hosts": []}
|
||||
for host in hosts:
|
||||
if host not in ret["_meta"]["hostvars"]:
|
||||
ret["_meta"]["hostvars"][host] = {"ansible_host": host}
|
||||
if self.no_namespace_in_vars:
|
||||
ret["_meta"]["hostvars"][host].update(self.dico[namespace])
|
||||
elif namespace not in ret["_meta"]["hostvars"][host]:
|
||||
ret["_meta"]["hostvars"][host][namespace] = self.dico[namespace]
|
||||
if host not in ret[namespace]["hosts"]:
|
||||
ret[namespace]["hosts"].append(host)
|
||||
self.dico = ret
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
"""
|
||||
Silique (https://www.silique.fr)
|
||||
Copyright (C) 2024
|
||||
Copyright (C) 2024-2026
|
||||
|
||||
This program is free software: you can redistribute it and/or modify it
|
||||
under the terms of the GNU Lesser General Public License as published by the
|
||||
|
|
@ -16,32 +16,106 @@ You should have received a copy of the GNU Lesser General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
"""
|
||||
|
||||
from .i18n import _
|
||||
from pathlib import Path
|
||||
try:
|
||||
from ..output_doc.config import OutPuts
|
||||
except:
|
||||
OutPuts = None
|
||||
|
||||
|
||||
def get_rougail_config(
|
||||
*,
|
||||
backward_compatibility=True,
|
||||
) -> dict:
|
||||
options = """
|
||||
ansible:
|
||||
description: Configuration of output Ansible
|
||||
if OutPuts:
|
||||
doc_outputs = list(OutPuts().get())
|
||||
doc_output_format_default = doc_outputs[0]
|
||||
else:
|
||||
doc_outputs = None
|
||||
options = [
|
||||
f"""
|
||||
list:
|
||||
description: {_('parameter added only to be compatible with Ansible')}
|
||||
default: false
|
||||
disabled:
|
||||
type: jinja
|
||||
jinja: |
|
||||
{% if step.output != 'ansible' %}
|
||||
disabled
|
||||
{% endif %}
|
||||
jinja: |-
|
||||
{{{{ step.output is propertyerror or step.output != 'ansible' }}}}
|
||||
return_type: boolean
|
||||
description: {_('if ansible is not set in "step.output"')}
|
||||
|
||||
host_namespace:
|
||||
description: Namespace with host values
|
||||
default: "hosts"
|
||||
json:
|
||||
redefine: true
|
||||
disabled:
|
||||
type: jinja
|
||||
jinja: |
|
||||
{% if step.output != 'ansible' %}
|
||||
disabled
|
||||
{% endif %}
|
||||
jinja: |-
|
||||
{{{{ step.output is propertyerror or (step.output != 'json' and step.output != 'ansible') }}}}
|
||||
return_type: boolean
|
||||
description: {_('if ansible or json are not set in "step.output"')}
|
||||
|
||||
""",
|
||||
f"""
|
||||
ansible:
|
||||
exists: true
|
||||
redefine: true
|
||||
description: {_('Load Ansible encrypt inventory or generate Ansible inventory')}
|
||||
disabled:
|
||||
jinja: |-
|
||||
{{{{ step.output is propertyerror or (step.output != 'ansible' and (step.user_data is propertyerror or 'ansible' not in step.user_data)) }}}}
|
||||
return_type: boolean
|
||||
description: {_('if ansible is not in "step.output" and not in "step.user_data"')}
|
||||
|
||||
""",
|
||||
f"""
|
||||
ansible:
|
||||
type: family
|
||||
description: {_('Generate Ansible inventory')}
|
||||
exists: false
|
||||
disabled:
|
||||
variable: step.output
|
||||
when_not: ansible
|
||||
propertyerror: false
|
||||
|
||||
""",
|
||||
f"""
|
||||
ansible:
|
||||
|
||||
output:
|
||||
description: {_('Output type')}
|
||||
default: inventory
|
||||
choices:
|
||||
- inventory
|
||||
"""]
|
||||
if doc_outputs:
|
||||
options[-1] += f"""
|
||||
- doc
|
||||
|
||||
doc:
|
||||
description: {_("Doc configuration")}
|
||||
disabled:
|
||||
variable: _.output
|
||||
when_not: doc
|
||||
|
||||
author: "<author>" # {_('Ansible author name')}
|
||||
|
||||
output_format:
|
||||
description: {_('The output format of the generated documentation')}
|
||||
default: { doc_output_format_default }
|
||||
choices:
|
||||
"""
|
||||
for output in doc_outputs:
|
||||
options[-1] += f" - {output}\n"
|
||||
options[-1] += f"""
|
||||
inventory:
|
||||
description: {_("Inventory configuration")}
|
||||
disabled:
|
||||
variable: _.output
|
||||
when_not: inventory
|
||||
|
||||
host_namespace: hosts # {_('Namespace with host values')}
|
||||
|
||||
no_namespace_in_vars: false # {_('Remove namespace name in host vars')}
|
||||
|
||||
export_warnings: true # {_('Displays warnings inside Ansible exportation datas')}
|
||||
"""
|
||||
return {
|
||||
"name": "ansible",
|
||||
|
|
|
|||
108
src/rougail/output_ansible/doc.py
Normal file
108
src/rougail/output_ansible/doc.py
Normal file
|
|
@ -0,0 +1,108 @@
|
|||
"""
|
||||
Silique (https://www.silique.fr)
|
||||
Copyright (C) 2026
|
||||
|
||||
This program is free software: you can redistribute it and/or modify it
|
||||
under the terms of the GNU Lesser General Public License as published by the
|
||||
Free Software Foundation, either version 3 of the License, or (at your
|
||||
option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
||||
FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
|
||||
details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
"""
|
||||
from ..output_doc import RougailOutputDoc
|
||||
from ..output_doc.utils import dump
|
||||
from .i18n import _
|
||||
|
||||
|
||||
class Doc(RougailOutputDoc):
|
||||
output_name = "ansible"
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
config: "Config",
|
||||
*,
|
||||
rougailconfig: "RougailConfig" = None,
|
||||
**kwargs,
|
||||
) -> None:
|
||||
self.config = config
|
||||
self.ori_rougailconfig = rougailconfig
|
||||
self.doc_rougailconfig = {"doc.tabulars.with_commandline": False,
|
||||
"doc.tabulars.with_environment": False,
|
||||
"main_namespace": None,
|
||||
"step.output": "ansible",
|
||||
"doc.tabulars.without_family": False,
|
||||
"doc.tabular_template": "six_columns",
|
||||
"doc.output_format": rougailconfig["ansible.doc.output_format"],
|
||||
"doc.true_color": True,
|
||||
"doc.document_a_type": True,
|
||||
"modes_level": rougailconfig["modes_level"],
|
||||
"doc.title_level": 1,
|
||||
}
|
||||
self.comment_examples = True
|
||||
self.comment_examples_column = None
|
||||
super().__init__(config, rougailconfig=self.doc_rougailconfig, **kwargs)
|
||||
|
||||
def run(self) -> str:
|
||||
subconfig = self.config.list()
|
||||
if len(subconfig) != 1 or not subconfig[0].isoptiondescription():
|
||||
raise Exception('not good') # FIXME
|
||||
self.true_config = self.config
|
||||
self.config = subconfig[0]
|
||||
self.load()
|
||||
self.load_formatter()
|
||||
self._build_examples()
|
||||
# Description
|
||||
ansible_name = list(self.informations)[0]
|
||||
description = self.informations[ansible_name]["informations"]["description"]
|
||||
self.informations[ansible_name]["informations"]["description"] = _("{0}: {1}").format(_("Ansible role"), description)
|
||||
children = self.informations[ansible_name]["children"]
|
||||
self.informations[ansible_name]["children"] = {}
|
||||
return_string = self.formatter.run(self.informations)
|
||||
self.doc_rougailconfig["doc.title_level"] = 2
|
||||
informations = {ansible_name: {"informations": {"description": "Role variables", "path": None},
|
||||
"type": "family",
|
||||
"children": children,
|
||||
}}
|
||||
return_string += self.formatter.run(informations)
|
||||
yaml = [{"name": description,
|
||||
"hosts": "server",
|
||||
"roles": [
|
||||
{"role": f'{self.ori_rougailconfig["ansible.doc.author"]}.{ansible_name}'}
|
||||
],
|
||||
"vars": f'path.to.{ansible_name}',
|
||||
}]
|
||||
#
|
||||
yaml_rougail = {'path': {'to': {f'my_{ansible_name}': {'type': ansible_name}}}}
|
||||
if self.examples_mandatories:
|
||||
yaml_rougail["path"]["to"][f'my_{ansible_name}'].update(self.examples_mandatories[ansible_name])
|
||||
datas = [self.formatter.title(_("Example playbook with Rougail"), 2)]
|
||||
fam_info = self.formatter.family_informations()
|
||||
if fam_info:
|
||||
datas.append(fam_info)
|
||||
text = _('Do not forget to add Rougail structural file as Rougail types')
|
||||
starts_line = self.formatter.family_informations_starts_line()
|
||||
datas.append(starts_line + text + self.formatter.family_informations_ends_line() + self.formatter.end_family_informations())
|
||||
datas.append(_("Add to your structural file something like:\n\n"))
|
||||
datas.append(self.formatter.yaml(dump(yaml_rougail)))
|
||||
datas.append(_("\nAdd to your playbook:\n\n"))
|
||||
_dump = "\n".join([d[2:] for d in (" " + dump(yaml)).split('\n')])
|
||||
datas.append(self.formatter.yaml(_dump))
|
||||
return_string += self.formatter.compute(datas)
|
||||
#
|
||||
if self.examples_mandatories:
|
||||
yaml[0]["vars"] = self.examples_mandatories
|
||||
else:
|
||||
del yaml[0]["vars"]
|
||||
_dump = "\n".join([d[2:] for d in (" " + dump(yaml)).split('\n')])
|
||||
datas = ["\n" + self.formatter.title(_("Example playbook"), 2),
|
||||
self.formatter.yaml(_dump),
|
||||
]
|
||||
return_string += self.formatter.compute(datas)
|
||||
|
||||
return True, return_string
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
"""Internationalisation utilities
|
||||
Silique (https://www.silique.fr)
|
||||
Copyright (C) 2024
|
||||
Copyright (C) 2024-2026
|
||||
|
||||
This program is free software: you can redistribute it and/or modify it
|
||||
under the terms of the GNU Lesser General Public License as published by the
|
||||
|
|
@ -19,6 +19,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
from gettext import translation
|
||||
from pathlib import Path
|
||||
|
||||
t = translation("rougail_output_ansible", str(Path(__file__).parent / "locale"), fallback=True)
|
||||
t = translation(
|
||||
"rougail_output_ansible", str(Path(__file__).parent / "locale"), fallback=True
|
||||
)
|
||||
|
||||
_ = t.gettext
|
||||
|
|
|
|||
Binary file not shown.
50
tests/hosts-with-vars/00-ip.yml
Normal file
50
tests/hosts-with-vars/00-ip.yml
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
---
|
||||
version: "1.1"
|
||||
|
||||
hostnames:
|
||||
|
||||
group1:
|
||||
|
||||
hosts:
|
||||
type: domainname
|
||||
multi: true
|
||||
default:
|
||||
- group1.net
|
||||
|
||||
prefix_name:
|
||||
default: GROUP1_
|
||||
|
||||
group2:
|
||||
|
||||
hosts:
|
||||
type: domainname
|
||||
multi: true
|
||||
default:
|
||||
- group2.net
|
||||
- group3.net
|
||||
|
||||
prefix_name:
|
||||
default: GROUP2_
|
||||
|
||||
vars:
|
||||
|
||||
all:
|
||||
|
||||
added_var1: true
|
||||
|
||||
a_family:
|
||||
|
||||
with_a_variable: 1
|
||||
|
||||
"0":
|
||||
|
||||
added_var2: true
|
||||
|
||||
group3:
|
||||
|
||||
hosts:
|
||||
type: domainname
|
||||
multi: true
|
||||
default:
|
||||
- group4.net
|
||||
- group5.net
|
||||
11
tests/hosts-with-vars/10-group.yml
Normal file
11
tests/hosts-with-vars/10-group.yml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
---
|
||||
version: "1.1"
|
||||
|
||||
hostnames:
|
||||
|
||||
groups:
|
||||
children:
|
||||
multi: true
|
||||
default:
|
||||
- group1
|
||||
- group2
|
||||
36
tests/hosts/00-ip.yml
Normal file
36
tests/hosts/00-ip.yml
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
---
|
||||
version: "1.1"
|
||||
|
||||
hostnames:
|
||||
|
||||
group1:
|
||||
|
||||
hosts:
|
||||
type: domainname
|
||||
multi: true
|
||||
default:
|
||||
- group1.net
|
||||
|
||||
prefix_name:
|
||||
default: GROUP1_
|
||||
|
||||
group2:
|
||||
|
||||
hosts:
|
||||
type: domainname
|
||||
multi: true
|
||||
default:
|
||||
- group2.net
|
||||
- group3.net
|
||||
|
||||
prefix_name:
|
||||
default: GROUP2_
|
||||
|
||||
group3:
|
||||
|
||||
hosts:
|
||||
type: domainname
|
||||
multi: true
|
||||
default:
|
||||
- group4.net
|
||||
- group5.net
|
||||
11
tests/hosts/10-group.yml
Normal file
11
tests/hosts/10-group.yml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
---
|
||||
version: "1.1"
|
||||
|
||||
hostnames:
|
||||
|
||||
groups:
|
||||
children:
|
||||
multi: true
|
||||
default:
|
||||
- group1
|
||||
- group2
|
||||
43
tests/results-doc/test_namespace/00_0no_variable.sh
Normal file
43
tests/results-doc/test_namespace/00_0no_variable.sh
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
[1;4;96mAnsible role: Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0m[1;7m advanced [0m
|
||||
|
||||
|
||||
[1;4;92mRole variables[0m
|
||||
|
||||
|
||||
[1;4;92mExample playbook with Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0mDo not forget to add Rougail structural file as Rougail types
|
||||
|
||||
|
||||
Add to your structural file something like:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[38;2;255;70;137;48;2;39;40;34mpath[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mto[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mmy_rougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mtype[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mrougail [0m
|
||||
|
||||
Add to your playbook:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mpath.to.rougail [0m
|
||||
|
||||
[1;4;92mExample playbook[0m
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
|
|
@ -0,0 +1,43 @@
|
|||
[1;4;96mAnsible role: Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0m[1;7m advanced [0m
|
||||
|
||||
|
||||
[1;4;92mRole variables[0m
|
||||
|
||||
|
||||
[1;4;92mExample playbook with Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0mDo not forget to add Rougail structural file as Rougail types
|
||||
|
||||
|
||||
Add to your structural file something like:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[38;2;255;70;137;48;2;39;40;34mpath[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mto[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mmy_rougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mtype[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mrougail [0m
|
||||
|
||||
Add to your playbook:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mpath.to.rougail [0m
|
||||
|
||||
[1;4;92mExample playbook[0m
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
|
|
@ -0,0 +1,43 @@
|
|||
[1;4;96mAnsible role: Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0m[1;7m advanced [0m
|
||||
|
||||
|
||||
[1;4;92mRole variables[0m
|
||||
|
||||
|
||||
[1;4;92mExample playbook with Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0mDo not forget to add Rougail structural file as Rougail types
|
||||
|
||||
|
||||
Add to your structural file something like:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[38;2;255;70;137;48;2;39;40;34mpath[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mto[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mmy_rougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mtype[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mrougail [0m
|
||||
|
||||
Add to your playbook:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mpath.to.rougail [0m
|
||||
|
||||
[1;4;92mExample playbook[0m
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
52
tests/results-doc/test_namespace/00_0version_underscore.sh
Normal file
52
tests/results-doc/test_namespace/00_0version_underscore.sh
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
[1;4;96mAnsible role: Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0m[1;7m basic [0m
|
||||
|
||||
|
||||
[1;4;92mRole variables[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃[1m [0m[1mType [0m[1m [0m┃[1m [0m[1mAccess control [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mversion[0m │ A variable. │ [1;7m string [0m [1;7m mandatory [0m │ [1;7m basic [0m │
|
||||
└──────────────────────────────────────────────┴──────────────────────────────────────────────┴─────────────────────────────────────────────┴──────────────────────────────────────────────┘
|
||||
|
||||
[1;4;92mExample playbook with Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0mDo not forget to add Rougail structural file as Rougail types
|
||||
|
||||
|
||||
Add to your structural file something like:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[38;2;255;70;137;48;2;39;40;34mpath[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mto[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mmy_rougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mtype[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mrougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mversion[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mstring1 [0m
|
||||
|
||||
Add to your playbook:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mpath.to.rougail [0m
|
||||
|
||||
[1;4;92mExample playbook[0m
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# Rougail[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mversion[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mstring1[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# A variable[0m[48;2;39;40;34m [0m
|
||||
52
tests/results-doc/test_namespace/00_1empty_variable.sh
Normal file
52
tests/results-doc/test_namespace/00_1empty_variable.sh
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
[1;4;96mAnsible role: Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0m[1;7m basic [0m
|
||||
|
||||
|
||||
[1;4;92mRole variables[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mType [0m[1m [0m┃[1m [0m[1mAccess control [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mempty[0m │ [1;7m string [0m [1;7m mandatory [0m │ [1;7m basic [0m │
|
||||
└─────────────────────────────────────────────────────────────┴─────────────────────────────────────────────────────────────┴──────────────────────────────────────────────────────────────┘
|
||||
|
||||
[1;4;92mExample playbook with Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0mDo not forget to add Rougail structural file as Rougail types
|
||||
|
||||
|
||||
Add to your structural file something like:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[38;2;255;70;137;48;2;39;40;34mpath[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mto[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mmy_rougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mtype[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mrougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mempty[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mstring1 [0m
|
||||
|
||||
Add to your playbook:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mpath.to.rougail [0m
|
||||
|
||||
[1;4;92mExample playbook[0m
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# Rougail[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mempty[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mstring1 [0m
|
||||
51
tests/results-doc/test_namespace/00_2default_calculated.sh
Normal file
51
tests/results-doc/test_namespace/00_2default_calculated.sh
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
[1;4;96mAnsible role: Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0m[1;7m standard [0m
|
||||
|
||||
|
||||
[1;4;92mRole variables[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃[1m [0m[1mDefault value [0m[1m [0m┃[1m [0m[1mType [0m[1m [0m┃[1m [0m[1mAccess control [0m[1m [0m┃[1m [0m[1mValidator [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mvar1[0m │ A first variable. │ no │ [1;7m string [0m [1;7m mandatory [0m │ [1;7m standard [0m │ │
|
||||
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼───────────────────────────────┤
|
||||
│ [1mvar2[0m │ A second variable. │ the value of var1 │ [1;7m string [0m [1;7m multiple [0m [1;7m [0m │ [1;7m standard [0m │ [1;7m unique [0m │
|
||||
│ │ │ │ [1;7mmandatory [0m │ │ │
|
||||
└──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴───────────────────────────────┘
|
||||
|
||||
[1;4;92mExample playbook with Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0mDo not forget to add Rougail structural file as Rougail types
|
||||
|
||||
|
||||
Add to your structural file something like:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[38;2;255;70;137;48;2;39;40;34mpath[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mto[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mmy_rougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mtype[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mrougail [0m
|
||||
|
||||
Add to your playbook:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mpath.to.rougail [0m
|
||||
|
||||
[1;4;92mExample playbook[0m
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
|
|
@ -0,0 +1,53 @@
|
|||
[1;4;96mAnsible role: Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0m[1;7m standard [0m
|
||||
|
||||
|
||||
[1;4;92mRole variables[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃[1m [0m[1mDefault value [0m[1m [0m┃[1m [0m[1mType [0m[1m [0m┃[1m [0m[1mAccess control [0m[1m [0m┃[1m [0m[1mValidator [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mvar1[0m │ A first variable. │ • no │ [1;7m string [0m [1;7m multiple [0m [1;7m [0m │ [1;7m standard [0m │ [1;7m unique [0m │
|
||||
│ │ │ • yes │ [1;7mmandatory [0m │ │ │
|
||||
│ │ │ • maybe │ │ │ │
|
||||
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼───────────────────────────────┤
|
||||
│ [1mvar2[0m │ A second variable. │ the value of "var1" │ [1;7m string [0m [1;7m multiple [0m [1;7m [0m │ [1;7m standard [0m │ [1;7m unique [0m │
|
||||
│ │ │ │ [1;7mmandatory [0m │ │ │
|
||||
└──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴───────────────────────────────┘
|
||||
|
||||
[1;4;92mExample playbook with Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0mDo not forget to add Rougail structural file as Rougail types
|
||||
|
||||
|
||||
Add to your structural file something like:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[38;2;255;70;137;48;2;39;40;34mpath[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mto[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mmy_rougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mtype[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mrougail [0m
|
||||
|
||||
Add to your playbook:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mpath.to.rougail [0m
|
||||
|
||||
[1;4;92mExample playbook[0m
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
|
|
@ -0,0 +1,48 @@
|
|||
[1;4;96mAnsible role: Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0m[1;7m standard [0m
|
||||
|
||||
|
||||
[1;4;92mRole variables[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃[1m [0m[1mDefault value [0m[1m [0m┃[1m [0m[1mType [0m[1m [0m┃[1m [0m[1mAccess control [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mvar2[0m │ A second variable. │ depends on a calculation │ [1;7m string [0m [1;7m mandatory [0m │ [1;7m standard [0m │
|
||||
└────────────────────────────────────┴─────────────────────────────────────┴────────────────────────────────────┴─────────────────────────────────────┴────────────────────────────────────┘
|
||||
|
||||
[1;4;92mExample playbook with Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0mDo not forget to add Rougail structural file as Rougail types
|
||||
|
||||
|
||||
Add to your structural file something like:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[38;2;255;70;137;48;2;39;40;34mpath[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mto[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mmy_rougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mtype[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mrougail [0m
|
||||
|
||||
Add to your playbook:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mpath.to.rougail [0m
|
||||
|
||||
[1;4;92mExample playbook[0m
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
|
|
@ -0,0 +1,62 @@
|
|||
[1;4;96mAnsible role: Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0m[1;7m basic [0m
|
||||
|
||||
|
||||
[1;4;92mRole variables[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃[1m [0m[1mDefault value [0m[1m [0m┃[1m [0m[1mType [0m[1m [0m┃[1m [0m[1mAccess control [0m[1m [0m┃[1m [0m[1mValidator [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mvar1[0m │ A first variable. │ │ [1;7m domainname [0m [1;7m multiple [0m [1;7m [0m │ [1;7m basic [0m │ [1;7m unique [0m │
|
||||
│ │ │ │ [1;7mmandatory [0m │ │ • type domainname │
|
||||
│ │ │ │ │ │ • the domain name can be an │
|
||||
│ │ │ │ │ │ IP. │
|
||||
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼───────────────────────────────┤
|
||||
│ [1mvar2[0m │ A second variable. │ the value of the variable │ [1;7m domainname [0m [1;7m multiple [0m [1;7m [0m │ [1;7m standard [0m │ [1;7m unique [0m │
|
||||
│ │ │ "var1" │ [1;7mmandatory [0m │ │ Type domainname. │
|
||||
└──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴───────────────────────────────┘
|
||||
|
||||
[1;4;92mExample playbook with Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0mDo not forget to add Rougail structural file as Rougail types
|
||||
|
||||
|
||||
Add to your structural file something like:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[38;2;255;70;137;48;2;39;40;34mpath[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mto[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mmy_rougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mtype[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mrougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvar1[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mdomain1.lan [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mdomain2.lan [0m
|
||||
|
||||
Add to your playbook:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mpath.to.rougail [0m
|
||||
|
||||
[1;4;92mExample playbook[0m
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# Rougail[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvar1[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# A first variable[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mdomain1.lan [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mdomain2.lan [0m
|
||||
|
|
@ -0,0 +1,54 @@
|
|||
[1;4;96mAnsible role: Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0m[1;7m basic [0m
|
||||
|
||||
|
||||
[1;4;92mRole variables[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃[1m [0m[1mDefault value [0m[1m [0m┃[1m [0m[1mType [0m[1m [0m┃[1m [0m[1mAccess control [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mvar1[0m │ A first variable. │ │ [1;7m string [0m [1;7m mandatory [0m │ [1;7m basic [0m │
|
||||
├────────────────────────────────────┼─────────────────────────────────────┼────────────────────────────────────┼─────────────────────────────────────┼────────────────────────────────────┤
|
||||
│ [1mvar2[0m │ A second variable. │ value of a variable! │ [1;7m string [0m [1;7m mandatory [0m │ [1;7m standard [0m │
|
||||
└────────────────────────────────────┴─────────────────────────────────────┴────────────────────────────────────┴─────────────────────────────────────┴────────────────────────────────────┘
|
||||
|
||||
[1;4;92mExample playbook with Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0mDo not forget to add Rougail structural file as Rougail types
|
||||
|
||||
|
||||
Add to your structural file something like:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[38;2;255;70;137;48;2;39;40;34mpath[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mto[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mmy_rougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mtype[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mrougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvar1[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mstring1 [0m
|
||||
|
||||
Add to your playbook:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mpath.to.rougail [0m
|
||||
|
||||
[1;4;92mExample playbook[0m
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# Rougail[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvar1[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mstring1[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# A first variable[0m[48;2;39;40;34m [0m
|
||||
|
|
@ -0,0 +1,61 @@
|
|||
[1;4;96mAnsible role: Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0m[1;7m basic [0m
|
||||
|
||||
|
||||
[1;4;92mRole variables[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃[1m [0m[1mDefault value [0m[1m [0m┃[1m [0m[1mType [0m[1m [0m┃[1m [0m[1mAccess control [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mvar1[0m │ A first variable. │ │ [1;7m string [0m [1;7m mandatory [0m │ [1;7m basic [0m │
|
||||
├────────────────────────────────────┼─────────────────────────────────────┼────────────────────────────────────┼─────────────────────────────────────┼────────────────────────────────────┤
|
||||
│ [1mvar2[0m │ A second variable. │ value │ [1;7m string [0m [1;7m mandatory [0m │ [1;7m standard [0m │
|
||||
│ │ │ of │ │ │
|
||||
│ │ │ a │ │ │
|
||||
│ │ │ variable! │ │ │
|
||||
├────────────────────────────────────┼─────────────────────────────────────┼────────────────────────────────────┼─────────────────────────────────────┼────────────────────────────────────┤
|
||||
│ [1mvar3[0m │ A new variable. │ │ [1;7m string [0m [1;7m mandatory [0m │ [1;7m basic [0m │
|
||||
└────────────────────────────────────┴─────────────────────────────────────┴────────────────────────────────────┴─────────────────────────────────────┴────────────────────────────────────┘
|
||||
|
||||
[1;4;92mExample playbook with Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0mDo not forget to add Rougail structural file as Rougail types
|
||||
|
||||
|
||||
Add to your structural file something like:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[38;2;255;70;137;48;2;39;40;34mpath[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mto[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mmy_rougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mtype[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mrougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvar1[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mstring1 [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvar3[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mstring1 [0m
|
||||
|
||||
Add to your playbook:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mpath.to.rougail [0m
|
||||
|
||||
[1;4;92mExample playbook[0m
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# Rougail[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvar1[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mstring1[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# A first variable[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvar3[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mstring1[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# A new variable[0m[48;2;39;40;34m [0m
|
||||
|
|
@ -0,0 +1,64 @@
|
|||
[1;4;96mAnsible role: Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0m[1;7m basic [0m
|
||||
|
||||
|
||||
[1;4;92mRole variables[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃[1m [0m[1mDefault value [0m[1m [0m┃[1m [0m[1mType [0m[1m [0m┃[1m [0m[1mAccess control [0m[1m [0m┃[1m [0m[1mValidator [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mvar1[0m │ A first variable. │ │ [1;7m domainname [0m [1;7m multiple [0m [1;7m [0m │ [1;7m basic [0m │ [1;7m unique [0m │
|
||||
│ │ │ │ [1;7mmandatory [0m │ │ • type domainname │
|
||||
│ │ │ │ │ │ • the domain name can be an │
|
||||
│ │ │ │ │ │ IP. │
|
||||
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼───────────────────────────────┤
|
||||
│ [1mvar2[0m │ A second variable. │ the value of the variable │ [1;7m domainname [0m [1;7m multiple [0m [1;7m [0m │ [1;7m standard [0m │ [1;7m unique [0m │
|
||||
│ │ │ "var1" │ [1;7mmandatory [0m │ │ • type domainname │
|
||||
│ │ │ │ │ │ • the domain name can be an │
|
||||
│ │ │ │ │ │ IP. │
|
||||
└──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴───────────────────────────────┘
|
||||
|
||||
[1;4;92mExample playbook with Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0mDo not forget to add Rougail structural file as Rougail types
|
||||
|
||||
|
||||
Add to your structural file something like:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[38;2;255;70;137;48;2;39;40;34mpath[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mto[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mmy_rougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mtype[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mrougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvar1[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mdomain1.lan [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mdomain2.lan [0m
|
||||
|
||||
Add to your playbook:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mpath.to.rougail [0m
|
||||
|
||||
[1;4;92mExample playbook[0m
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# Rougail[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvar1[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# A first variable[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mdomain1.lan [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mdomain2.lan [0m
|
||||
56
tests/results-doc/test_namespace/00_4load_subfolder.sh
Normal file
56
tests/results-doc/test_namespace/00_4load_subfolder.sh
Normal file
|
|
@ -0,0 +1,56 @@
|
|||
[1;4;96mAnsible role: Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0m[1;7m basic [0m
|
||||
|
||||
|
||||
[1;4;92mRole variables[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃[1m [0m[1mType [0m[1m [0m┃[1m [0m[1mAccess control [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mvar1[0m │ A variable. │ [1;7m string [0m [1;7m mandatory [0m │ [1;7m basic [0m │
|
||||
├──────────────────────────────────────────────┼──────────────────────────────────────────────┼─────────────────────────────────────────────┼──────────────────────────────────────────────┤
|
||||
│ [1mvar2[0m │ A variable. │ [1;7m string [0m [1;7m mandatory [0m │ [1;7m basic [0m │
|
||||
└──────────────────────────────────────────────┴──────────────────────────────────────────────┴─────────────────────────────────────────────┴──────────────────────────────────────────────┘
|
||||
|
||||
[1;4;92mExample playbook with Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0mDo not forget to add Rougail structural file as Rougail types
|
||||
|
||||
|
||||
Add to your structural file something like:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[38;2;255;70;137;48;2;39;40;34mpath[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mto[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mmy_rougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mtype[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mrougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvar1[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mstring1 [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvar2[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mstring1 [0m
|
||||
|
||||
Add to your playbook:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mpath.to.rougail [0m
|
||||
|
||||
[1;4;92mExample playbook[0m
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# Rougail[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvar1[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mstring1[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# A variable[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvar2[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mstring1[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# A variable[0m[48;2;39;40;34m [0m
|
||||
48
tests/results-doc/test_namespace/00_5load_notype.sh
Normal file
48
tests/results-doc/test_namespace/00_5load_notype.sh
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
[1;4;96mAnsible role: Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0m[1;7m standard [0m
|
||||
|
||||
|
||||
[1;4;92mRole variables[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃[1m [0m[1mDefault value [0m[1m [0m┃[1m [0m[1mType [0m[1m [0m┃[1m [0m[1mAccess control [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mwithout_type[0m │ A variable. │ non │ [1;7m string [0m [1;7m mandatory [0m │ [1;7m standard [0m │
|
||||
└────────────────────────────────────┴─────────────────────────────────────┴────────────────────────────────────┴─────────────────────────────────────┴────────────────────────────────────┘
|
||||
|
||||
[1;4;92mExample playbook with Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0mDo not forget to add Rougail structural file as Rougail types
|
||||
|
||||
|
||||
Add to your structural file something like:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[38;2;255;70;137;48;2;39;40;34mpath[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mto[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mmy_rougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mtype[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mrougail [0m
|
||||
|
||||
Add to your playbook:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mpath.to.rougail [0m
|
||||
|
||||
[1;4;92mExample playbook[0m
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
58
tests/results-doc/test_namespace/00_6boolean.sh
Normal file
58
tests/results-doc/test_namespace/00_6boolean.sh
Normal file
|
|
@ -0,0 +1,58 @@
|
|||
[1;4;96mAnsible role: Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0m[1;7m standard [0m
|
||||
|
||||
|
||||
[1;4;92mRole variables[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃[1m [0m[1mDefault value [0m[1m [0m┃[1m [0m[1mType [0m[1m [0m┃[1m [0m[1mAccess control [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mvar1[0m │ The first variable. │ true │ [1;7m boolean [0m [1;7m mandatory [0m │ [1;7m standard [0m │
|
||||
├────────────────────────────────────┼────────────────────────────────────┼─────────────────────────────────────┼────────────────────────────────────┼─────────────────────────────────────┤
|
||||
│ [1mvar2[0m │ The second variable. │ true │ [1;7m boolean [0m [1;7m mandatory [0m │ [1;7m standard [0m │
|
||||
├────────────────────────────────────┼────────────────────────────────────┼─────────────────────────────────────┼────────────────────────────────────┼─────────────────────────────────────┤
|
||||
│ [1mvar3[0m │ The third variable. │ true │ [1;7m boolean [0m [1;7m mandatory [0m │ [1;7m standard [0m │
|
||||
├────────────────────────────────────┼────────────────────────────────────┼─────────────────────────────────────┼────────────────────────────────────┼─────────────────────────────────────┤
|
||||
│ [1mvar4[0m │ The forth variable. │ false │ [1;7m boolean [0m [1;7m mandatory [0m │ [1;7m standard [0m │
|
||||
├────────────────────────────────────┼────────────────────────────────────┼─────────────────────────────────────┼────────────────────────────────────┼─────────────────────────────────────┤
|
||||
│ [1mvar5[0m │ The fifth variable. │ false │ [1;7m boolean [0m [1;7m mandatory [0m │ [1;7m standard [0m │
|
||||
├────────────────────────────────────┼────────────────────────────────────┼─────────────────────────────────────┼────────────────────────────────────┼─────────────────────────────────────┤
|
||||
│ [1mvar6[0m │ The sixth variable. │ false │ [1;7m boolean [0m [1;7m mandatory [0m │ [1;7m standard [0m │
|
||||
└────────────────────────────────────┴────────────────────────────────────┴─────────────────────────────────────┴────────────────────────────────────┴─────────────────────────────────────┘
|
||||
|
||||
[1;4;92mExample playbook with Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0mDo not forget to add Rougail structural file as Rougail types
|
||||
|
||||
|
||||
Add to your structural file something like:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[38;2;255;70;137;48;2;39;40;34mpath[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mto[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mmy_rougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mtype[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mrougail [0m
|
||||
|
||||
Add to your playbook:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mpath.to.rougail [0m
|
||||
|
||||
[1;4;92mExample playbook[0m
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
48
tests/results-doc/test_namespace/00_6boolean_no_mandatory.sh
Normal file
48
tests/results-doc/test_namespace/00_6boolean_no_mandatory.sh
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
[1;4;96mAnsible role: Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0m[1;7m standard [0m
|
||||
|
||||
|
||||
[1;4;92mRole variables[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃[1m [0m[1mDefault value [0m[1m [0m┃[1m [0m[1mType [0m[1m [0m┃[1m [0m[1mAccess control [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mvariable[0m │ A variable. │ true │ [1;7m boolean [0m │ [1;7m standard [0m │
|
||||
└────────────────────────────────────┴─────────────────────────────────────┴────────────────────────────────────┴─────────────────────────────────────┴────────────────────────────────────┘
|
||||
|
||||
[1;4;92mExample playbook with Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0mDo not forget to add Rougail structural file as Rougail types
|
||||
|
||||
|
||||
Add to your structural file something like:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[38;2;255;70;137;48;2;39;40;34mpath[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mto[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mmy_rougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mtype[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mrougail [0m
|
||||
|
||||
Add to your playbook:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mpath.to.rougail [0m
|
||||
|
||||
[1;4;92mExample playbook[0m
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
83
tests/results-doc/test_namespace/00_6choice.sh
Normal file
83
tests/results-doc/test_namespace/00_6choice.sh
Normal file
|
|
@ -0,0 +1,83 @@
|
|||
[1;4;96mAnsible role: Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0m[1;7m basic [0m
|
||||
|
||||
|
||||
[1;4;92mRole variables[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃[1m [0m[1mDefault value [0m[1m [0m┃[1m [0m[1mType [0m[1m [0m┃[1m [0m[1mAccess control [0m[1m [0m┃[1m [0m[1mValidator [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mvar1[0m │ The first variable. │ │ [1;7m choice [0m [1;7m mandatory [0m │ [1;7m basic [0m │ [1mChoices[0m: │
|
||||
│ │ │ │ │ │ • a │
|
||||
│ │ │ │ │ │ • b │
|
||||
│ │ │ │ │ │ • c │
|
||||
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼───────────────────────────────┼──────────────────────────────┤
|
||||
│ [1mvar2[0m │ The second variable. │ │ [1;7m choice [0m [1;7m mandatory [0m │ [1;7m basic [0m │ [1mChoices[0m: │
|
||||
│ │ │ │ │ │ • a │
|
||||
│ │ │ │ │ │ • b │
|
||||
│ │ │ │ │ │ • c │
|
||||
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼───────────────────────────────┼──────────────────────────────┤
|
||||
│ [1mvar3[0m │ The third variable. │ │ [1;7m choice [0m │ [1;7m standard [0m │ [1mChoices[0m: │
|
||||
│ │ │ │ │ │ • a │
|
||||
│ │ │ │ │ │ • b │
|
||||
│ │ │ │ │ │ • c │
|
||||
│ │ │ │ │ │ • null │
|
||||
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼───────────────────────────────┼──────────────────────────────┤
|
||||
│ [1mvar4[0m │ The forth variable. │ │ [1;7m choice [0m │ [1;7m standard [0m │ [1mChoices[0m: │
|
||||
│ │ │ │ │ │ • null │
|
||||
│ │ │ │ │ │ • b │
|
||||
│ │ │ │ │ │ • c │
|
||||
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼───────────────────────────────┼──────────────────────────────┤
|
||||
│ [1mvar5[0m │ The fifth variable. │ a │ [1;7m choice [0m [1;7m mandatory [0m │ [1;7m standard [0m │ [1mChoices[0m: │
|
||||
│ │ │ │ │ │ • a │
|
||||
│ │ │ │ │ │ • b │
|
||||
│ │ │ │ │ │ • c │
|
||||
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼───────────────────────────────┼──────────────────────────────┤
|
||||
│ [1mvar6[0m │ The sixth variable. │ 1 │ [1;7m choice [0m [1;7m mandatory [0m │ [1;7m standard [0m │ [1mChoices[0m: │
|
||||
│ │ │ │ │ │ • 1 │
|
||||
│ │ │ │ │ │ • 2 │
|
||||
│ │ │ │ │ │ • 3 │
|
||||
└──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴───────────────────────────────┴──────────────────────────────┘
|
||||
|
||||
[1;4;92mExample playbook with Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0mDo not forget to add Rougail structural file as Rougail types
|
||||
|
||||
|
||||
Add to your structural file something like:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[38;2;255;70;137;48;2;39;40;34mpath[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mto[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mmy_rougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mtype[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mrougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvar1[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34ma [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvar2[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34ma [0m
|
||||
|
||||
Add to your playbook:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mpath.to.rougail [0m
|
||||
|
||||
[1;4;92mExample playbook[0m
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# Rougail[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvar1[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34ma[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# The first variable[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvar2[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34ma[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# The second variable[0m[48;2;39;40;34m [0m
|
||||
48
tests/results-doc/test_namespace/00_6choice_calculation.sh
Normal file
48
tests/results-doc/test_namespace/00_6choice_calculation.sh
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
[1;4;96mAnsible role: Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0m[1;7m standard [0m
|
||||
|
||||
|
||||
[1;4;92mRole variables[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃[1m [0m[1mDefault value [0m[1m [0m┃[1m [0m[1mType [0m[1m [0m┃[1m [0m[1mAccess control [0m[1m [0m┃[1m [0m[1mValidator [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mvar[0m │ A variable. │ 9 │ [1;7m choice [0m [1;7m mandatory [0m │ [1;7m standard [0m │ [1mChoices[0m: choices is 0 to 9 │
|
||||
└──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴───────────────────────────────┴──────────────────────────────┘
|
||||
|
||||
[1;4;92mExample playbook with Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0mDo not forget to add Rougail structural file as Rougail types
|
||||
|
||||
|
||||
Add to your structural file something like:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[38;2;255;70;137;48;2;39;40;34mpath[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mto[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mmy_rougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mtype[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mrougail [0m
|
||||
|
||||
Add to your playbook:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mpath.to.rougail [0m
|
||||
|
||||
[1;4;92mExample playbook[0m
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
60
tests/results-doc/test_namespace/00_6choice_link.sh
Normal file
60
tests/results-doc/test_namespace/00_6choice_link.sh
Normal file
|
|
@ -0,0 +1,60 @@
|
|||
[1;4;96mAnsible role: Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0m[1;7m basic [0m
|
||||
|
||||
|
||||
[1;4;92mRole variables[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃[1m [0m[1mDefault value [0m[1m [0m┃[1m [0m[1mType [0m[1m [0m┃[1m [0m[1mAccess control [0m[1m [0m┃[1m [0m[1mValidator [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mvar1[0m │ The first variable. │ │ [1;7m choice [0m [1;7m mandatory [0m │ [1;7m basic [0m │ [1mChoices[0m: │
|
||||
│ │ │ │ │ │ • a │
|
||||
│ │ │ │ │ │ • b │
|
||||
│ │ │ │ │ │ • c │
|
||||
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼───────────────────────────────┼──────────────────────────────┤
|
||||
│ [1mvar2[0m │ The second variable. │ the value of the variable │ [1;7m choice [0m [1;7m mandatory [0m │ [1;7m standard [0m │ [1mChoices[0m: │
|
||||
│ │ │ "var1" │ │ │ • a │
|
||||
│ │ │ │ │ │ • b │
|
||||
│ │ │ │ │ │ • c │
|
||||
└──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴───────────────────────────────┴──────────────────────────────┘
|
||||
|
||||
[1;4;92mExample playbook with Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0mDo not forget to add Rougail structural file as Rougail types
|
||||
|
||||
|
||||
Add to your structural file something like:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[38;2;255;70;137;48;2;39;40;34mpath[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mto[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mmy_rougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mtype[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mrougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvar1[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34ma [0m
|
||||
|
||||
Add to your playbook:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mpath.to.rougail [0m
|
||||
|
||||
[1;4;92mExample playbook[0m
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# Rougail[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvar1[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34ma[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# The first variable[0m[48;2;39;40;34m [0m
|
||||
53
tests/results-doc/test_namespace/00_6choice_variable.sh
Normal file
53
tests/results-doc/test_namespace/00_6choice_variable.sh
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
[1;4;96mAnsible role: Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0m[1;7m standard [0m
|
||||
|
||||
|
||||
[1;4;92mRole variables[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃[1m [0m[1mDefault value [0m[1m [0m┃[1m [0m[1mType [0m[1m [0m┃[1m [0m[1mAccess control [0m[1m [0m┃[1m [0m[1mValidator [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mvar1[0m │ A second variable. │ • a │ [1;7m string [0m [1;7m multiple [0m [1;7m [0m │ [1;7m standard [0m │ [1;7m unique [0m │
|
||||
│ │ │ • b │ [1;7mmandatory [0m │ │ │
|
||||
│ │ │ • c │ │ │ │
|
||||
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼───────────────────────────────┤
|
||||
│ [1mvar2[0m │ A first variable. │ a │ [1;7m choice [0m [1;7m mandatory [0m │ [1;7m standard [0m │ [1mChoices[0m: the value of the │
|
||||
│ │ │ │ │ │ variable "var1" │
|
||||
└──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴───────────────────────────────┘
|
||||
|
||||
[1;4;92mExample playbook with Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0mDo not forget to add Rougail structural file as Rougail types
|
||||
|
||||
|
||||
Add to your structural file something like:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[38;2;255;70;137;48;2;39;40;34mpath[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mto[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mmy_rougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mtype[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mrougail [0m
|
||||
|
||||
Add to your playbook:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mpath.to.rougail [0m
|
||||
|
||||
[1;4;92mExample playbook[0m
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
56
tests/results-doc/test_namespace/00_6choice_variable_link.sh
Normal file
56
tests/results-doc/test_namespace/00_6choice_variable_link.sh
Normal file
|
|
@ -0,0 +1,56 @@
|
|||
[1;4;96mAnsible role: Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0m[1;7m standard [0m
|
||||
|
||||
|
||||
[1;4;92mRole variables[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃[1m [0m[1mDefault value [0m[1m [0m┃[1m [0m[1mType [0m[1m [0m┃[1m [0m[1mAccess control [0m[1m [0m┃[1m [0m[1mValidator [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mvar1[0m │ A second variable. │ • a │ [1;7m string [0m [1;7m multiple [0m [1;7m [0m │ [1;7m standard [0m │ [1;7m unique [0m │
|
||||
│ │ │ • b │ [1;7mmandatory [0m │ │ │
|
||||
│ │ │ • c │ │ │ │
|
||||
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼───────────────────────────────┤
|
||||
│ [1mvar2[0m │ A first variable. │ a │ [1;7m choice [0m [1;7m mandatory [0m │ [1;7m standard [0m │ [1mChoices[0m: the value of the │
|
||||
│ │ │ │ │ │ variable "var1" │
|
||||
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼───────────────────────────────┤
|
||||
│ [1mvar3[0m │ A third variable. │ the value of the variable │ [1;7m choice [0m [1;7m mandatory [0m │ [1;7m standard [0m │ [1mChoices[0m: the value of the │
|
||||
│ │ │ "var2" │ │ │ variable "var1" │
|
||||
└──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴───────────────────────────────┘
|
||||
|
||||
[1;4;92mExample playbook with Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0mDo not forget to add Rougail structural file as Rougail types
|
||||
|
||||
|
||||
Add to your structural file something like:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[38;2;255;70;137;48;2;39;40;34mpath[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mto[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mmy_rougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mtype[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mrougail [0m
|
||||
|
||||
Add to your playbook:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mpath.to.rougail [0m
|
||||
|
||||
[1;4;92mExample playbook[0m
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
|
|
@ -0,0 +1,67 @@
|
|||
[1;4;96mAnsible role: Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0m[1;7m standard [0m
|
||||
|
||||
|
||||
[1;4;92mRole variables[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃[1m [0m[1mDefault value [0m[1m [0m┃[1m [0m[1mType [0m[1m [0m┃[1m [0m[1mAccess control [0m[1m [0m┃[1m [0m[1mValidator [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mvar1[0m │ A second variable. │ • a │ [1;7m string [0m [1;7m multiple [0m [1;7m [0m │ [1;7m standard [0m │ [1;7m unique [0m │
|
||||
│ │ │ • b │ [1;7mmandatory [0m │ │ │
|
||||
│ │ │ • c │ │ │ │
|
||||
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼───────────────────────────────┤
|
||||
│ [1mvar2[0m │ A first variable. │ a │ [1;7m choice [0m [1;7m mandatory [0m │ [1;7m standard [0m │ [1mChoices[0m: the value of the │
|
||||
│ │ │ │ │ │ variable "var1" │
|
||||
└──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴───────────────────────────────┘
|
||||
[1;4;38;5;46mfamily[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0m[1mPath[0m: family
|
||||
[34m▌ [0m[1;7m standard [0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃[1m [0m[1mDefault value [0m[1m [0m┃[1m [0m[1mType [0m[1m [0m┃[1m [0m[1mAccess control [0m[1m [0m┃[1m [0m[1mValidator [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mfamily.var3[0m │ A third variable. │ the value of the variable │ [1;7m choice [0m [1;7m mandatory [0m │ [1;7m standard [0m │ [1mChoices[0m: the value of the │
|
||||
│ │ │ "var2" │ │ │ variable "var1" │
|
||||
└──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴───────────────────────────────┘
|
||||
|
||||
|
||||
[1;4;92mExample playbook with Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0mDo not forget to add Rougail structural file as Rougail types
|
||||
|
||||
|
||||
Add to your structural file something like:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[38;2;255;70;137;48;2;39;40;34mpath[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mto[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mmy_rougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mtype[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mrougail [0m
|
||||
|
||||
Add to your playbook:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mpath.to.rougail [0m
|
||||
|
||||
[1;4;92mExample playbook[0m
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
54
tests/results-doc/test_namespace/00_6custom.sh
Normal file
54
tests/results-doc/test_namespace/00_6custom.sh
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
[1;4;96mAnsible role: Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0m[1;7m basic [0m
|
||||
|
||||
|
||||
[1;4;92mRole variables[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃[1m [0m[1mDefault value [0m[1m [0m┃[1m [0m[1mType [0m[1m [0m┃[1m [0m[1mAccess control [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mcustom1[0m │ The first variable. │ │ [1;7m custom [0m [1;7m mandatory [0m │ [1;7m basic [0m │
|
||||
├────────────────────────────────────┼─────────────────────────────────────┼────────────────────────────────────┼─────────────────────────────────────┼────────────────────────────────────┤
|
||||
│ [1mcustom2[0m │ The seconf variable. │ value │ [1;7m custom [0m [1;7m mandatory [0m │ [1;7m standard [0m │
|
||||
└────────────────────────────────────┴─────────────────────────────────────┴────────────────────────────────────┴─────────────────────────────────────┴────────────────────────────────────┘
|
||||
|
||||
[1;4;92mExample playbook with Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0mDo not forget to add Rougail structural file as Rougail types
|
||||
|
||||
|
||||
Add to your structural file something like:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[38;2;255;70;137;48;2;39;40;34mpath[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mto[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mmy_rougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mtype[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mrougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mcustom1[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mstring1 [0m
|
||||
|
||||
Add to your playbook:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mpath.to.rougail [0m
|
||||
|
||||
[1;4;92mExample playbook[0m
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# Rougail[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mcustom1[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mstring1[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# The first variable[0m[48;2;39;40;34m [0m
|
||||
48
tests/results-doc/test_namespace/00_6domainname.sh
Normal file
48
tests/results-doc/test_namespace/00_6domainname.sh
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
[1;4;96mAnsible role: Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0m[1;7m standard [0m
|
||||
|
||||
|
||||
[1;4;92mRole variables[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃[1m [0m[1mDefault value [0m[1m [0m┃[1m [0m[1mType [0m[1m [0m┃[1m [0m[1mAccess control [0m[1m [0m┃[1m [0m[1mValidator [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mvariable[0m │ A domain name variable. │ my.domain.name │ [1;7m domainname [0m [1;7m mandatory [0m │ [1;7m standard [0m │ Type domainname. │
|
||||
└──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴───────────────────────────────┴──────────────────────────────┘
|
||||
|
||||
[1;4;92mExample playbook with Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0mDo not forget to add Rougail structural file as Rougail types
|
||||
|
||||
|
||||
Add to your structural file something like:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[38;2;255;70;137;48;2;39;40;34mpath[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mto[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mmy_rougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mtype[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mrougail [0m
|
||||
|
||||
Add to your playbook:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mpath.to.rougail [0m
|
||||
|
||||
[1;4;92mExample playbook[0m
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
50
tests/results-doc/test_namespace/00_6domainname_params.sh
Normal file
50
tests/results-doc/test_namespace/00_6domainname_params.sh
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
[1;4;96mAnsible role: Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0m[1;7m standard [0m
|
||||
|
||||
|
||||
[1;4;92mRole variables[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃[1m [0m[1mDefault value [0m[1m [0m┃[1m [0m[1mType [0m[1m [0m┃[1m [0m[1mAccess control [0m[1m [0m┃[1m [0m[1mValidator [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mvariable[0m │ A domain name variable. │ my.domain.name │ [1;7m domainname [0m [1;7m mandatory [0m │ [1;7m standard [0m │ • type domainname │
|
||||
│ │ │ │ │ │ • the domain name can be an │
|
||||
│ │ │ │ │ │ IP. │
|
||||
└──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴───────────────────────────────┴──────────────────────────────┘
|
||||
|
||||
[1;4;92mExample playbook with Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0mDo not forget to add Rougail structural file as Rougail types
|
||||
|
||||
|
||||
Add to your structural file something like:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[38;2;255;70;137;48;2;39;40;34mpath[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mto[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mmy_rougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mtype[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mrougail [0m
|
||||
|
||||
Add to your playbook:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mpath.to.rougail [0m
|
||||
|
||||
[1;4;92mExample playbook[0m
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
58
tests/results-doc/test_namespace/00_6float.sh
Normal file
58
tests/results-doc/test_namespace/00_6float.sh
Normal file
|
|
@ -0,0 +1,58 @@
|
|||
[1;4;96mAnsible role: Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0m[1;7m standard [0m
|
||||
|
||||
|
||||
[1;4;92mRole variables[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃[1m [0m[1mDefault value [0m[1m [0m┃[1m [0m[1mType [0m[1m [0m┃[1m [0m[1mAccess control [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mvar1[0m │ The first variable. │ 0.0 │ [1;7m float [0m [1;7m mandatory [0m │ [1;7m standard [0m │
|
||||
├────────────────────────────────────┼────────────────────────────────────┼─────────────────────────────────────┼────────────────────────────────────┼─────────────────────────────────────┤
|
||||
│ [1mvar2[0m │ The second variable. │ 0.0 │ [1;7m float [0m [1;7m mandatory [0m │ [1;7m standard [0m │
|
||||
├────────────────────────────────────┼────────────────────────────────────┼─────────────────────────────────────┼────────────────────────────────────┼─────────────────────────────────────┤
|
||||
│ [1mvar3[0m │ The third variable. │ 0.0 │ [1;7m float [0m [1;7m mandatory [0m │ [1;7m standard [0m │
|
||||
├────────────────────────────────────┼────────────────────────────────────┼─────────────────────────────────────┼────────────────────────────────────┼─────────────────────────────────────┤
|
||||
│ [1mvar4[0m │ The forth variable. │ 10.1 │ [1;7m float [0m [1;7m mandatory [0m │ [1;7m standard [0m │
|
||||
├────────────────────────────────────┼────────────────────────────────────┼─────────────────────────────────────┼────────────────────────────────────┼─────────────────────────────────────┤
|
||||
│ [1mvar5[0m │ The fifth variable. │ 10.1 │ [1;7m float [0m [1;7m mandatory [0m │ [1;7m standard [0m │
|
||||
├────────────────────────────────────┼────────────────────────────────────┼─────────────────────────────────────┼────────────────────────────────────┼─────────────────────────────────────┤
|
||||
│ [1mvar6[0m │ The sixth variable. │ 10.1 │ [1;7m float [0m [1;7m mandatory [0m │ [1;7m standard [0m │
|
||||
└────────────────────────────────────┴────────────────────────────────────┴─────────────────────────────────────┴────────────────────────────────────┴─────────────────────────────────────┘
|
||||
|
||||
[1;4;92mExample playbook with Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0mDo not forget to add Rougail structural file as Rougail types
|
||||
|
||||
|
||||
Add to your structural file something like:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[38;2;255;70;137;48;2;39;40;34mpath[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mto[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mmy_rougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mtype[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mrougail [0m
|
||||
|
||||
Add to your playbook:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mpath.to.rougail [0m
|
||||
|
||||
[1;4;92mExample playbook[0m
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
58
tests/results-doc/test_namespace/00_6integer.sh
Normal file
58
tests/results-doc/test_namespace/00_6integer.sh
Normal file
|
|
@ -0,0 +1,58 @@
|
|||
[1;4;96mAnsible role: Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0m[1;7m standard [0m
|
||||
|
||||
|
||||
[1;4;92mRole variables[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃[1m [0m[1mDefault value [0m[1m [0m┃[1m [0m[1mType [0m[1m [0m┃[1m [0m[1mAccess control [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mvar1[0m │ The first variable. │ 0 │ [1;7m integer [0m [1;7m mandatory [0m │ [1;7m standard [0m │
|
||||
├────────────────────────────────────┼────────────────────────────────────┼─────────────────────────────────────┼────────────────────────────────────┼─────────────────────────────────────┤
|
||||
│ [1mvar2[0m │ The second variable. │ 0 │ [1;7m integer [0m [1;7m mandatory [0m │ [1;7m standard [0m │
|
||||
├────────────────────────────────────┼────────────────────────────────────┼─────────────────────────────────────┼────────────────────────────────────┼─────────────────────────────────────┤
|
||||
│ [1mvar3[0m │ The third variable. │ 0 │ [1;7m integer [0m [1;7m mandatory [0m │ [1;7m standard [0m │
|
||||
├────────────────────────────────────┼────────────────────────────────────┼─────────────────────────────────────┼────────────────────────────────────┼─────────────────────────────────────┤
|
||||
│ [1mvar4[0m │ This forth variable. │ 10 │ [1;7m integer [0m [1;7m mandatory [0m │ [1;7m standard [0m │
|
||||
├────────────────────────────────────┼────────────────────────────────────┼─────────────────────────────────────┼────────────────────────────────────┼─────────────────────────────────────┤
|
||||
│ [1mvar5[0m │ The fifth variable. │ 10 │ [1;7m integer [0m [1;7m mandatory [0m │ [1;7m standard [0m │
|
||||
├────────────────────────────────────┼────────────────────────────────────┼─────────────────────────────────────┼────────────────────────────────────┼─────────────────────────────────────┤
|
||||
│ [1mvar6[0m │ The sixth variable. │ 10 │ [1;7m integer [0m [1;7m mandatory [0m │ [1;7m standard [0m │
|
||||
└────────────────────────────────────┴────────────────────────────────────┴─────────────────────────────────────┴────────────────────────────────────┴─────────────────────────────────────┘
|
||||
|
||||
[1;4;92mExample playbook with Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0mDo not forget to add Rougail structural file as Rougail types
|
||||
|
||||
|
||||
Add to your structural file something like:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[38;2;255;70;137;48;2;39;40;34mpath[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mto[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mmy_rougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mtype[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mrougail [0m
|
||||
|
||||
Add to your playbook:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mpath.to.rougail [0m
|
||||
|
||||
[1;4;92mExample playbook[0m
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
54
tests/results-doc/test_namespace/00_6ip.sh
Normal file
54
tests/results-doc/test_namespace/00_6ip.sh
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
[1;4;96mAnsible role: Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0m[1;7m standard [0m
|
||||
|
||||
|
||||
[1;4;92mRole variables[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃[1m [0m[1mDefault value [0m[1m [0m┃[1m [0m[1mType [0m[1m [0m┃[1m [0m[1mAccess control [0m[1m [0m┃[1m [0m[1mValidator [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mvar1[0m │ An IP. │ 1.1.1.1 │ [1;7m IP [0m [1;7m mandatory [0m │ [1;7m standard [0m │ Reserved IP are allowed. │
|
||||
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼───────────────────────────────┼──────────────────────────────┤
|
||||
│ [1mvar2[0m │ An IP in CIDR format. │ 1.1.1.1/24 │ [1;7m IP [0m [1;7m mandatory [0m │ [1;7m standard [0m │ • IP must be in CIDR format │
|
||||
│ │ [1mExample[0m: 192.168.0.128/25 │ │ │ │ • reserved IP are allowed. │
|
||||
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼───────────────────────────────┼──────────────────────────────┤
|
||||
│ [1mvar3[0m │ An IP in CIDR format with │ 1.1.1.1/24 │ [1;7m CIDR [0m [1;7m mandatory [0m │ [1;7m standard [0m │ IP must be in CIDR format. │
|
||||
│ │ obsolete CIDR type. │ │ │ │ │
|
||||
└──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴───────────────────────────────┴──────────────────────────────┘
|
||||
|
||||
[1;4;92mExample playbook with Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0mDo not forget to add Rougail structural file as Rougail types
|
||||
|
||||
|
||||
Add to your structural file something like:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[38;2;255;70;137;48;2;39;40;34mpath[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mto[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mmy_rougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mtype[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mrougail [0m
|
||||
|
||||
Add to your playbook:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mpath.to.rougail [0m
|
||||
|
||||
[1;4;92mExample playbook[0m
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
54
tests/results-doc/test_namespace/00_6network.sh
Normal file
54
tests/results-doc/test_namespace/00_6network.sh
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
[1;4;96mAnsible role: Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0m[1;7m standard [0m
|
||||
|
||||
|
||||
[1;4;92mRole variables[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃[1m [0m[1mDefault value [0m[1m [0m┃[1m [0m[1mType [0m[1m [0m┃[1m [0m[1mAccess control [0m[1m [0m┃[1m [0m[1mValidator [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mvar1[0m │ An network. │ 1.1.1.0 │ [1;7m network [0m [1;7m mandatory [0m │ [1;7m standard [0m │ │
|
||||
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼───────────────────────────────┼──────────────────────────────┤
|
||||
│ [1mvar2[0m │ An network in CIDR format. │ 1.1.1.0/24 │ [1;7m network [0m [1;7m mandatory [0m │ [1;7m standard [0m │ Network must be in CIDR │
|
||||
│ │ │ │ │ │ format. │
|
||||
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼───────────────────────────────┼──────────────────────────────┤
|
||||
│ [1mvar3[0m │ An network in CIDR format │ 1.1.1.0/24 │ [1;7m network CIDR [0m [1;7m mandatory [0m │ [1;7m standard [0m │ Network must be in CIDR │
|
||||
│ │ with obsolete CIDR type. │ │ │ │ format. │
|
||||
└──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴───────────────────────────────┴──────────────────────────────┘
|
||||
|
||||
[1;4;92mExample playbook with Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0mDo not forget to add Rougail structural file as Rougail types
|
||||
|
||||
|
||||
Add to your structural file something like:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[38;2;255;70;137;48;2;39;40;34mpath[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mto[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mmy_rougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mtype[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mrougail [0m
|
||||
|
||||
Add to your playbook:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mpath.to.rougail [0m
|
||||
|
||||
[1;4;92mExample playbook[0m
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
58
tests/results-doc/test_namespace/00_6number.sh
Normal file
58
tests/results-doc/test_namespace/00_6number.sh
Normal file
|
|
@ -0,0 +1,58 @@
|
|||
[1;4;96mAnsible role: Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0m[1;7m standard [0m
|
||||
|
||||
|
||||
[1;4;92mRole variables[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃[1m [0m[1mDefault value [0m[1m [0m┃[1m [0m[1mType [0m[1m [0m┃[1m [0m[1mAccess control [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mvar1[0m │ The first variable. │ 0 │ [1;7m integer [0m [1;7m mandatory [0m │ [1;7m standard [0m │
|
||||
├────────────────────────────────────┼────────────────────────────────────┼─────────────────────────────────────┼────────────────────────────────────┼─────────────────────────────────────┤
|
||||
│ [1mvar2[0m │ The second variable. │ 0 │ [1;7m integer [0m [1;7m mandatory [0m │ [1;7m standard [0m │
|
||||
├────────────────────────────────────┼────────────────────────────────────┼─────────────────────────────────────┼────────────────────────────────────┼─────────────────────────────────────┤
|
||||
│ [1mvar3[0m │ The third variable. │ 0 │ [1;7m integer [0m [1;7m mandatory [0m │ [1;7m standard [0m │
|
||||
├────────────────────────────────────┼────────────────────────────────────┼─────────────────────────────────────┼────────────────────────────────────┼─────────────────────────────────────┤
|
||||
│ [1mvar4[0m │ This forth variable. │ 10 │ [1;7m integer [0m [1;7m mandatory [0m │ [1;7m standard [0m │
|
||||
├────────────────────────────────────┼────────────────────────────────────┼─────────────────────────────────────┼────────────────────────────────────┼─────────────────────────────────────┤
|
||||
│ [1mvar5[0m │ The fifth variable. │ 10 │ [1;7m integer [0m [1;7m mandatory [0m │ [1;7m standard [0m │
|
||||
├────────────────────────────────────┼────────────────────────────────────┼─────────────────────────────────────┼────────────────────────────────────┼─────────────────────────────────────┤
|
||||
│ [1mvar6[0m │ The sixth variable. │ 10 │ [1;7m integer [0m [1;7m mandatory [0m │ [1;7m standard [0m │
|
||||
└────────────────────────────────────┴────────────────────────────────────┴─────────────────────────────────────┴────────────────────────────────────┴─────────────────────────────────────┘
|
||||
|
||||
[1;4;92mExample playbook with Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0mDo not forget to add Rougail structural file as Rougail types
|
||||
|
||||
|
||||
Add to your structural file something like:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[38;2;255;70;137;48;2;39;40;34mpath[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mto[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mmy_rougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mtype[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mrougail [0m
|
||||
|
||||
Add to your playbook:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mpath.to.rougail [0m
|
||||
|
||||
[1;4;92mExample playbook[0m
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
71
tests/results-doc/test_namespace/00_6port.sh
Normal file
71
tests/results-doc/test_namespace/00_6port.sh
Normal file
|
|
@ -0,0 +1,71 @@
|
|||
[1;4;96mAnsible role: Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0m[1;7m basic [0m
|
||||
|
||||
|
||||
[1;4;92mRole variables[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃[1m [0m[1mDefault value [0m[1m [0m┃[1m [0m[1mType [0m[1m [0m┃[1m [0m[1mAccess control [0m[1m [0m┃[1m [0m[1mValidator [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mvariable1[0m │ A port variable. │ │ [1;7m port [0m [1;7m mandatory [0m │ [1;7m basic [0m │ • well-known ports (1 to │
|
||||
│ │ │ │ │ │ 1023) are allowed │
|
||||
│ │ │ │ │ │ • registred ports (1024 to │
|
||||
│ │ │ │ │ │ 49151) are allowed │
|
||||
│ │ │ │ │ │ • private ports (greater │
|
||||
│ │ │ │ │ │ than 49152) are allowed. │
|
||||
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼───────────────────────────────┼──────────────────────────────┤
|
||||
│ [1mvariable2[0m │ A port variable with default │ 8080 │ [1;7m port [0m [1;7m mandatory [0m │ [1;7m standard [0m │ • well-known ports (1 to │
|
||||
│ │ value. │ │ │ │ 1023) are allowed │
|
||||
│ │ │ │ │ │ • registred ports (1024 to │
|
||||
│ │ │ │ │ │ 49151) are allowed │
|
||||
│ │ │ │ │ │ • private ports (greater │
|
||||
│ │ │ │ │ │ than 49152) are allowed. │
|
||||
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼───────────────────────────────┼──────────────────────────────┤
|
||||
│ [1mvariable3[0m │ A port variable with integer │ 8080 │ [1;7m port [0m [1;7m mandatory [0m │ [1;7m standard [0m │ • well-known ports (1 to │
|
||||
│ │ default value. │ │ │ │ 1023) are allowed │
|
||||
│ │ │ │ │ │ • registred ports (1024 to │
|
||||
│ │ │ │ │ │ 49151) are allowed │
|
||||
│ │ │ │ │ │ • private ports (greater │
|
||||
│ │ │ │ │ │ than 49152) are allowed. │
|
||||
└──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴───────────────────────────────┴──────────────────────────────┘
|
||||
|
||||
[1;4;92mExample playbook with Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0mDo not forget to add Rougail structural file as Rougail types
|
||||
|
||||
|
||||
Add to your structural file something like:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[38;2;255;70;137;48;2;39;40;34mpath[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mto[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mmy_rougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mtype[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mrougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvariable1[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;230;219;116;48;2;39;40;34m'[0m[38;2;230;219;116;48;2;39;40;34m80[0m[38;2;230;219;116;48;2;39;40;34m'[0m[48;2;39;40;34m [0m
|
||||
|
||||
Add to your playbook:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mpath.to.rougail [0m
|
||||
|
||||
[1;4;92mExample playbook[0m
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# Rougail[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvariable1[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;230;219;116;48;2;39;40;34m'[0m[38;2;230;219;116;48;2;39;40;34m80[0m[38;2;230;219;116;48;2;39;40;34m'[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# A port variable[0m[48;2;39;40;34m [0m
|
||||
51
tests/results-doc/test_namespace/00_6regexp.sh
Normal file
51
tests/results-doc/test_namespace/00_6regexp.sh
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
[1;4;96mAnsible role: Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0m[1;7m standard [0m
|
||||
|
||||
|
||||
[1;4;92mRole variables[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃[1m [0m[1mDefault value [0m[1m [0m┃[1m [0m[1mType [0m[1m [0m┃[1m [0m[1mAccess control [0m[1m [0m┃[1m [0m[1mValidator [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mvar[0m │ A first variable. │ #a1a1a1 │ [1;7m regexp [0m [1;7m mandatory [0m │ [1;7m standard [0m │ Text based with regular │
|
||||
│ │ [1mExamples[0m: │ │ │ │ expressions │
|
||||
│ │ • #b1b1b1 │ │ │ │ "^#(?:[0-9a-f]{3}){1,2}$". │
|
||||
│ │ • #b2b2b2 │ │ │ │ │
|
||||
└──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴───────────────────────────────┴──────────────────────────────┘
|
||||
|
||||
[1;4;92mExample playbook with Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0mDo not forget to add Rougail structural file as Rougail types
|
||||
|
||||
|
||||
Add to your structural file something like:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[38;2;255;70;137;48;2;39;40;34mpath[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mto[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mmy_rougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mtype[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mrougail [0m
|
||||
|
||||
Add to your playbook:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mpath.to.rougail [0m
|
||||
|
||||
[1;4;92mExample playbook[0m
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
56
tests/results-doc/test_namespace/00_6regexp_link.sh
Normal file
56
tests/results-doc/test_namespace/00_6regexp_link.sh
Normal file
|
|
@ -0,0 +1,56 @@
|
|||
[1;4;96mAnsible role: Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0m[1;7m standard [0m
|
||||
|
||||
|
||||
[1;4;92mRole variables[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃[1m [0m[1mDefault value [0m[1m [0m┃[1m [0m[1mType [0m[1m [0m┃[1m [0m[1mAccess control [0m[1m [0m┃[1m [0m[1mValidator [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mvar1[0m │ A first variable. │ #a1a1a1 │ [1;7m regexp [0m [1;7m mandatory [0m │ [1;7m standard [0m │ Text based with regular │
|
||||
│ │ [1mExamples[0m: │ │ │ │ expressions │
|
||||
│ │ • #b1b1b1 │ │ │ │ "^#(?:[0-9a-f]{3}){1,2}$". │
|
||||
│ │ • #b2b2b2 │ │ │ │ │
|
||||
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼───────────────────────────────┼──────────────────────────────┤
|
||||
│ [1mvar2[0m │ A second variable. │ the value of the variable │ [1;7m regexp [0m [1;7m mandatory [0m │ [1;7m standard [0m │ Text based with regular │
|
||||
│ │ [1mExamples[0m: │ "var1" │ │ │ expressions │
|
||||
│ │ • #b2b1b1 │ │ │ │ "^#(?:[0-9a-f]{3}){1,2}$". │
|
||||
│ │ • #b3b2b2 │ │ │ │ │
|
||||
└──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴───────────────────────────────┴──────────────────────────────┘
|
||||
|
||||
[1;4;92mExample playbook with Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0mDo not forget to add Rougail structural file as Rougail types
|
||||
|
||||
|
||||
Add to your structural file something like:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[38;2;255;70;137;48;2;39;40;34mpath[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mto[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mmy_rougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mtype[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mrougail [0m
|
||||
|
||||
Add to your playbook:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mpath.to.rougail [0m
|
||||
|
||||
[1;4;92mExample playbook[0m
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
54
tests/results-doc/test_namespace/00_6secret.sh
Normal file
54
tests/results-doc/test_namespace/00_6secret.sh
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
[1;4;96mAnsible role: Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0m[1;7m basic [0m
|
||||
|
||||
|
||||
[1;4;92mRole variables[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃[1m [0m[1mDefault value [0m[1m [0m┃[1m [0m[1mType [0m[1m [0m┃[1m [0m[1mAccess control [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1msecret1[0m │ The first variable. │ │ [1;7m secret [0m [1;7m mandatory [0m │ [1;7m basic [0m │
|
||||
├────────────────────────────────────┼─────────────────────────────────────┼────────────────────────────────────┼─────────────────────────────────────┼────────────────────────────────────┤
|
||||
│ [1msecret2[0m │ The second variable. │ value │ [1;7m secret [0m [1;7m mandatory [0m │ [1;7m standard [0m │
|
||||
└────────────────────────────────────┴─────────────────────────────────────┴────────────────────────────────────┴─────────────────────────────────────┴────────────────────────────────────┘
|
||||
|
||||
[1;4;92mExample playbook with Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0mDo not forget to add Rougail structural file as Rougail types
|
||||
|
||||
|
||||
Add to your structural file something like:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[38;2;255;70;137;48;2;39;40;34mpath[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mto[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mmy_rougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mtype[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mrougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34msecret1[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34monE7vaLues_len1 [0m
|
||||
|
||||
Add to your playbook:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mpath.to.rougail [0m
|
||||
|
||||
[1;4;92mExample playbook[0m
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# Rougail[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34msecret1[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34monE7vaLues_len1[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# The first variable[0m[48;2;39;40;34m [0m
|
||||
62
tests/results-doc/test_namespace/00_6secret_param.sh
Normal file
62
tests/results-doc/test_namespace/00_6secret_param.sh
Normal file
|
|
@ -0,0 +1,62 @@
|
|||
[1;4;96mAnsible role: Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0m[1;7m basic [0m
|
||||
|
||||
|
||||
[1;4;92mRole variables[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃[1m [0m[1mDefault value [0m[1m [0m┃[1m [0m[1mType [0m[1m [0m┃[1m [0m[1mAccess control [0m[1m [0m┃[1m [0m[1mValidator [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1msecret1[0m │ The first variable. │ │ [1;7m secret [0m [1;7m mandatory [0m │ [1;7m basic [0m │ Minimum length for the │
|
||||
│ │ │ │ │ │ secret is 10 characters. │
|
||||
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼───────────────────────────────┼──────────────────────────────┤
|
||||
│ [1msecret2[0m │ The second variable. │ value │ [1;7m secret [0m [1;7m mandatory [0m │ [1;7m standard [0m │ • maximum length for the │
|
||||
│ │ │ │ │ │ secret is 10 characters │
|
||||
│ │ │ │ │ │ • forbidden characters: "$" │
|
||||
│ │ │ │ │ │ and "^". │
|
||||
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼───────────────────────────────┼──────────────────────────────┤
|
||||
│ [1msecret3[0m │ The third variable. │ value │ [1;7m secret [0m [1;7m mandatory [0m │ [1;7m standard [0m │ • maximum length for the │
|
||||
│ │ │ │ │ │ secret is 10 characters │
|
||||
│ │ │ │ │ │ • forbidden characters: "$". │
|
||||
└──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴───────────────────────────────┴──────────────────────────────┘
|
||||
|
||||
[1;4;92mExample playbook with Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0mDo not forget to add Rougail structural file as Rougail types
|
||||
|
||||
|
||||
Add to your structural file something like:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[38;2;255;70;137;48;2;39;40;34mpath[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mto[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mmy_rougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mtype[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mrougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34msecret1[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34monE7vaLues_len1 [0m
|
||||
|
||||
Add to your playbook:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mpath.to.rougail [0m
|
||||
|
||||
[1;4;92mExample playbook[0m
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# Rougail[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34msecret1[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34monE7vaLues_len1[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# The first variable[0m[48;2;39;40;34m [0m
|
||||
70
tests/results-doc/test_namespace/00_6string.sh
Normal file
70
tests/results-doc/test_namespace/00_6string.sh
Normal file
|
|
@ -0,0 +1,70 @@
|
|||
[1;4;96mAnsible role: Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0m[1;7m basic [0m
|
||||
|
||||
|
||||
[1;4;92mRole variables[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃[1m [0m[1mDefault value [0m[1m [0m┃[1m [0m[1mType [0m[1m [0m┃[1m [0m[1mAccess control [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mvar1[0m │ The first variable. │ │ [1;7m string [0m [1;7m mandatory [0m │ [1;7m basic [0m │
|
||||
├────────────────────────────────────┼─────────────────────────────────────┼────────────────────────────────────┼─────────────────────────────────────┼────────────────────────────────────┤
|
||||
│ [1mvar2[0m │ The second variable. │ │ [1;7m string [0m [1;7m mandatory [0m │ [1;7m basic [0m │
|
||||
├────────────────────────────────────┼─────────────────────────────────────┼────────────────────────────────────┼─────────────────────────────────────┼────────────────────────────────────┤
|
||||
│ [1mvar3[0m │ The third variable. │ │ [1;7m string [0m [1;7m mandatory [0m │ [1;7m basic [0m │
|
||||
├────────────────────────────────────┼─────────────────────────────────────┼────────────────────────────────────┼─────────────────────────────────────┼────────────────────────────────────┤
|
||||
│ [1mvar4[0m │ The forth variable. │ value │ [1;7m string [0m [1;7m mandatory [0m │ [1;7m standard [0m │
|
||||
├────────────────────────────────────┼─────────────────────────────────────┼────────────────────────────────────┼─────────────────────────────────────┼────────────────────────────────────┤
|
||||
│ [1mvar5[0m │ The fifth variable. │ value │ [1;7m string [0m [1;7m mandatory [0m │ [1;7m standard [0m │
|
||||
├────────────────────────────────────┼─────────────────────────────────────┼────────────────────────────────────┼─────────────────────────────────────┼────────────────────────────────────┤
|
||||
│ [1mvar6[0m │ The sixth variable. │ value │ [1;7m string [0m [1;7m mandatory [0m │ [1;7m standard [0m │
|
||||
├────────────────────────────────────┼─────────────────────────────────────┼────────────────────────────────────┼─────────────────────────────────────┼────────────────────────────────────┤
|
||||
│ [1mvar7[0m │ The seventh variable. │ 8080 │ [1;7m string [0m [1;7m mandatory [0m │ [1;7m standard [0m │
|
||||
├────────────────────────────────────┼─────────────────────────────────────┼────────────────────────────────────┼─────────────────────────────────────┼────────────────────────────────────┤
|
||||
│ [1mvar8[0m │ The height variable. │ true │ [1;7m string [0m [1;7m mandatory [0m │ [1;7m standard [0m │
|
||||
└────────────────────────────────────┴─────────────────────────────────────┴────────────────────────────────────┴─────────────────────────────────────┴────────────────────────────────────┘
|
||||
|
||||
[1;4;92mExample playbook with Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0mDo not forget to add Rougail structural file as Rougail types
|
||||
|
||||
|
||||
Add to your structural file something like:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[38;2;255;70;137;48;2;39;40;34mpath[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mto[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mmy_rougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mtype[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mrougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvar1[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mstring1 [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvar2[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mstring1 [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvar3[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mstring1 [0m
|
||||
|
||||
Add to your playbook:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mpath.to.rougail [0m
|
||||
|
||||
[1;4;92mExample playbook[0m
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# Rougail[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvar1[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mstring1[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# The first variable[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvar2[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mstring1[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# The second variable[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvar3[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mstring1[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# The third variable[0m[48;2;39;40;34m [0m
|
||||
51
tests/results-doc/test_namespace/00_7choice_quote.sh
Normal file
51
tests/results-doc/test_namespace/00_7choice_quote.sh
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
[1;4;96mAnsible role: Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0m[1;7m standard [0m
|
||||
|
||||
|
||||
[1;4;92mRole variables[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃[1m [0m[1mDefault value [0m[1m [0m┃[1m [0m[1mType [0m[1m [0m┃[1m [0m[1mAccess control [0m[1m [0m┃[1m [0m[1mValidator [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mvar[0m │ A choice. │ quote' │ [1;7m choice [0m [1;7m mandatory [0m │ [1;7m standard [0m │ [1mChoices[0m: │
|
||||
│ │ │ │ │ │ • quote' │
|
||||
│ │ │ │ │ │ • quote" │
|
||||
│ │ │ │ │ │ • quote"' │
|
||||
└──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴───────────────────────────────┴──────────────────────────────┘
|
||||
|
||||
[1;4;92mExample playbook with Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0mDo not forget to add Rougail structural file as Rougail types
|
||||
|
||||
|
||||
Add to your structural file something like:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[38;2;255;70;137;48;2;39;40;34mpath[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mto[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mmy_rougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mtype[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mrougail [0m
|
||||
|
||||
Add to your playbook:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mpath.to.rougail [0m
|
||||
|
||||
[1;4;92mExample playbook[0m
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
64
tests/results-doc/test_namespace/00_7help.sh
Normal file
64
tests/results-doc/test_namespace/00_7help.sh
Normal file
|
|
@ -0,0 +1,64 @@
|
|||
[1;4;96mAnsible role: Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0m[1;7m basic [0m
|
||||
|
||||
|
||||
[1;4;92mRole variables[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃[1m [0m[1mType [0m[1m [0m┃[1m [0m[1mAccess control [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mvar1[0m │ The first variable. │ [1;7m string [0m [1;7m mandatory [0m │ [1;7m basic [0m │
|
||||
│ │ Multi line │ │ │
|
||||
│ │ │ │ │
|
||||
│ │ Help │ │ │
|
||||
│ │ │ │ │
|
||||
│ │ With useful information. │ │ │
|
||||
├──────────────────────────────────────────────┼──────────────────────────────────────────────┼─────────────────────────────────────────────┼──────────────────────────────────────────────┤
|
||||
│ [1mvar2[0m │ The second variable. │ [1;7m string [0m [1;7m mandatory [0m │ [1;7m basic [0m │
|
||||
│ │ Multi line │ │ │
|
||||
│ │ Help │ │ │
|
||||
│ │ With useful information. │ │ │
|
||||
└──────────────────────────────────────────────┴──────────────────────────────────────────────┴─────────────────────────────────────────────┴──────────────────────────────────────────────┘
|
||||
|
||||
[1;4;92mExample playbook with Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0mDo not forget to add Rougail structural file as Rougail types
|
||||
|
||||
|
||||
Add to your structural file something like:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[38;2;255;70;137;48;2;39;40;34mpath[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mto[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mmy_rougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mtype[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mrougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvar1[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mstring1 [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvar2[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mstring1 [0m
|
||||
|
||||
Add to your playbook:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mpath.to.rougail [0m
|
||||
|
||||
[1;4;92mExample playbook[0m
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# Rougail[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvar1[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mstring1[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# The first variable[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvar2[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mstring1[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# The second variable[0m[48;2;39;40;34m [0m
|
||||
58
tests/results-doc/test_namespace/00_7help_quote.sh
Normal file
58
tests/results-doc/test_namespace/00_7help_quote.sh
Normal file
|
|
@ -0,0 +1,58 @@
|
|||
[1;4;96mAnsible role: Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0m[1;7m basic [0m
|
||||
|
||||
|
||||
[1;4;92mRole variables[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃[1m [0m[1mType [0m[1m [0m┃[1m [0m[1mAccess control [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mvar1[0m │ The first variable. │ [1;7m string [0m [1;7m mandatory [0m │ [1;7m basic [0m │
|
||||
│ │ Message with '. │ │ │
|
||||
├──────────────────────────────────────────────┼──────────────────────────────────────────────┼─────────────────────────────────────────────┼──────────────────────────────────────────────┤
|
||||
│ [1mvar2[0m │ The second variable. │ [1;7m string [0m [1;7m mandatory [0m │ [1;7m basic [0m │
|
||||
│ │ Message with ". │ │ │
|
||||
└──────────────────────────────────────────────┴──────────────────────────────────────────────┴─────────────────────────────────────────────┴──────────────────────────────────────────────┘
|
||||
|
||||
[1;4;92mExample playbook with Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0mDo not forget to add Rougail structural file as Rougail types
|
||||
|
||||
|
||||
Add to your structural file something like:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[38;2;255;70;137;48;2;39;40;34mpath[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mto[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mmy_rougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mtype[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mrougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvar1[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mstring1 [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvar2[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mstring1 [0m
|
||||
|
||||
Add to your playbook:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mpath.to.rougail [0m
|
||||
|
||||
[1;4;92mExample playbook[0m
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# Rougail[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvar1[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mstring1[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# The first variable[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvar2[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mstring1[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# The second variable[0m[48;2;39;40;34m [0m
|
||||
64
tests/results-doc/test_namespace/00_7help_sup.sh
Normal file
64
tests/results-doc/test_namespace/00_7help_sup.sh
Normal file
|
|
@ -0,0 +1,64 @@
|
|||
[1;4;96mAnsible role: Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0m[1;7m basic [0m
|
||||
|
||||
|
||||
[1;4;92mRole variables[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃[1m [0m[1mType [0m[1m [0m┃[1m [0m[1mAccess control [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mvar1[0m │ The first <variable>. │ [1;7m string [0m [1;7m mandatory [0m │ [1;7m basic [0m │
|
||||
│ │ Multi line │ │ │
|
||||
│ │ │ │ │
|
||||
│ │ <Help> │ │ │
|
||||
│ │ │ │ │
|
||||
│ │ With useful information. │ │ │
|
||||
├──────────────────────────────────────────────┼──────────────────────────────────────────────┼─────────────────────────────────────────────┼──────────────────────────────────────────────┤
|
||||
│ [1mvar2[0m │ The second <variable>. │ [1;7m string [0m [1;7m mandatory [0m │ [1;7m basic [0m │
|
||||
│ │ Multi line │ │ │
|
||||
│ │ <Help> │ │ │
|
||||
│ │ With useful information. │ │ │
|
||||
└──────────────────────────────────────────────┴──────────────────────────────────────────────┴─────────────────────────────────────────────┴──────────────────────────────────────────────┘
|
||||
|
||||
[1;4;92mExample playbook with Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0mDo not forget to add Rougail structural file as Rougail types
|
||||
|
||||
|
||||
Add to your structural file something like:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[38;2;255;70;137;48;2;39;40;34mpath[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mto[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mmy_rougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mtype[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mrougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvar1[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mstring1 [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvar2[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mstring1 [0m
|
||||
|
||||
Add to your playbook:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mpath.to.rougail [0m
|
||||
|
||||
[1;4;92mExample playbook[0m
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# Rougail[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvar1[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mstring1[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# The first <variable>[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvar2[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mstring1[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# The second <variable>[0m[48;2;39;40;34m [0m
|
||||
48
tests/results-doc/test_namespace/00_7value_doublequote.sh
Normal file
48
tests/results-doc/test_namespace/00_7value_doublequote.sh
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
[1;4;96mAnsible role: Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0m[1;7m standard [0m
|
||||
|
||||
|
||||
[1;4;92mRole variables[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃[1m [0m[1mDefault value [0m[1m [0m┃[1m [0m[1mType [0m[1m [0m┃[1m [0m[1mAccess control [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mvariable[0m │ A variable. │ quote" │ [1;7m string [0m [1;7m mandatory [0m │ [1;7m standard [0m │
|
||||
└────────────────────────────────────┴─────────────────────────────────────┴────────────────────────────────────┴─────────────────────────────────────┴────────────────────────────────────┘
|
||||
|
||||
[1;4;92mExample playbook with Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0mDo not forget to add Rougail structural file as Rougail types
|
||||
|
||||
|
||||
Add to your structural file something like:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[38;2;255;70;137;48;2;39;40;34mpath[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mto[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mmy_rougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mtype[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mrougail [0m
|
||||
|
||||
Add to your playbook:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mpath.to.rougail [0m
|
||||
|
||||
[1;4;92mExample playbook[0m
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
48
tests/results-doc/test_namespace/00_7value_doublequote2.sh
Normal file
48
tests/results-doc/test_namespace/00_7value_doublequote2.sh
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
[1;4;96mAnsible role: Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0m[1;7m standard [0m
|
||||
|
||||
|
||||
[1;4;92mRole variables[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃[1m [0m[1mDefault value [0m[1m [0m┃[1m [0m[1mType [0m[1m [0m┃[1m [0m[1mAccess control [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mvariable[0m │ A variable. │ quote'" │ [1;7m string [0m [1;7m mandatory [0m │ [1;7m standard [0m │
|
||||
└────────────────────────────────────┴─────────────────────────────────────┴────────────────────────────────────┴─────────────────────────────────────┴────────────────────────────────────┘
|
||||
|
||||
[1;4;92mExample playbook with Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0mDo not forget to add Rougail structural file as Rougail types
|
||||
|
||||
|
||||
Add to your structural file something like:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[38;2;255;70;137;48;2;39;40;34mpath[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mto[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mmy_rougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mtype[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mrougail [0m
|
||||
|
||||
Add to your playbook:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mpath.to.rougail [0m
|
||||
|
||||
[1;4;92mExample playbook[0m
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
48
tests/results-doc/test_namespace/00_7value_doublequote3.sh
Normal file
48
tests/results-doc/test_namespace/00_7value_doublequote3.sh
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
[1;4;96mAnsible role: Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0m[1;7m standard [0m
|
||||
|
||||
|
||||
[1;4;92mRole variables[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃[1m [0m[1mDefault value [0m[1m [0m┃[1m [0m[1mType [0m[1m [0m┃[1m [0m[1mAccess control [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mvariable[0m │ A variable. │ quote\"\' │ [1;7m string [0m [1;7m mandatory [0m │ [1;7m standard [0m │
|
||||
└────────────────────────────────────┴─────────────────────────────────────┴────────────────────────────────────┴─────────────────────────────────────┴────────────────────────────────────┘
|
||||
|
||||
[1;4;92mExample playbook with Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0mDo not forget to add Rougail structural file as Rougail types
|
||||
|
||||
|
||||
Add to your structural file something like:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[38;2;255;70;137;48;2;39;40;34mpath[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mto[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mmy_rougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mtype[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mrougail [0m
|
||||
|
||||
Add to your playbook:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mpath.to.rougail [0m
|
||||
|
||||
[1;4;92mExample playbook[0m
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
48
tests/results-doc/test_namespace/00_7value_quote.sh
Normal file
48
tests/results-doc/test_namespace/00_7value_quote.sh
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
[1;4;96mAnsible role: Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0m[1;7m standard [0m
|
||||
|
||||
|
||||
[1;4;92mRole variables[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃[1m [0m[1mDefault value [0m[1m [0m┃[1m [0m[1mType [0m[1m [0m┃[1m [0m[1mAccess control [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mvariable[0m │ A variable. │ quote' │ [1;7m string [0m [1;7m mandatory [0m │ [1;7m standard [0m │
|
||||
└────────────────────────────────────┴─────────────────────────────────────┴────────────────────────────────────┴─────────────────────────────────────┴────────────────────────────────────┘
|
||||
|
||||
[1;4;92mExample playbook with Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0mDo not forget to add Rougail structural file as Rougail types
|
||||
|
||||
|
||||
Add to your structural file something like:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[38;2;255;70;137;48;2;39;40;34mpath[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mto[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mmy_rougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mtype[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mrougail [0m
|
||||
|
||||
Add to your playbook:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mpath.to.rougail [0m
|
||||
|
||||
[1;4;92mExample playbook[0m
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
|
|
@ -0,0 +1,48 @@
|
|||
[1;4;96mAnsible role: Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0m[1;7m standard [0m
|
||||
|
||||
|
||||
[1;4;92mRole variables[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃[1m [0m[1mDefault value [0m[1m [0m┃[1m [0m[1mType [0m[1m [0m┃[1m [0m[1mAccess control [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mvariable[0m │ A variable. │ get information test_information │ [1;7m string [0m [1;7m mandatory [0m │ [1;7m standard [0m │
|
||||
└────────────────────────────────────┴─────────────────────────────────────┴────────────────────────────────────┴─────────────────────────────────────┴────────────────────────────────────┘
|
||||
|
||||
[1;4;92mExample playbook with Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0mDo not forget to add Rougail structural file as Rougail types
|
||||
|
||||
|
||||
Add to your structural file something like:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[38;2;255;70;137;48;2;39;40;34mpath[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mto[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mmy_rougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mtype[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mrougail [0m
|
||||
|
||||
Add to your playbook:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mpath.to.rougail [0m
|
||||
|
||||
[1;4;92mExample playbook[0m
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
|
|
@ -0,0 +1,48 @@
|
|||
[1;4;96mAnsible role: Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0m[1;7m standard [0m
|
||||
|
||||
|
||||
[1;4;92mRole variables[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃[1m [0m[1mDefault value [0m[1m [0m┃[1m [0m[1mType [0m[1m [0m┃[1m [0m[1mAccess control [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mvariable[0m │ A variable. │ the value of the namespace │ [1;7m string [0m │ [1;7m standard [0m │
|
||||
└────────────────────────────────────┴─────────────────────────────────────┴────────────────────────────────────┴─────────────────────────────────────┴────────────────────────────────────┘
|
||||
|
||||
[1;4;92mExample playbook with Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0mDo not forget to add Rougail structural file as Rougail types
|
||||
|
||||
|
||||
Add to your structural file something like:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[38;2;255;70;137;48;2;39;40;34mpath[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mto[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mmy_rougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mtype[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mrougail [0m
|
||||
|
||||
Add to your playbook:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mpath.to.rougail [0m
|
||||
|
||||
[1;4;92mExample playbook[0m
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
|
|
@ -0,0 +1,48 @@
|
|||
[1;4;96mAnsible role: Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0m[1;7m standard [0m
|
||||
|
||||
|
||||
[1;4;92mRole variables[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃[1m [0m[1mDefault value [0m[1m [0m┃[1m [0m[1mType [0m[1m [0m┃[1m [0m[1mAccess control [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mvariable[0m │ A variable. │ depends on a calculation │ [1;7m string [0m │ [1;7m standard [0m │
|
||||
└────────────────────────────────────┴─────────────────────────────────────┴────────────────────────────────────┴─────────────────────────────────────┴────────────────────────────────────┘
|
||||
|
||||
[1;4;92mExample playbook with Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0mDo not forget to add Rougail structural file as Rougail types
|
||||
|
||||
|
||||
Add to your structural file something like:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[38;2;255;70;137;48;2;39;40;34mpath[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mto[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mmy_rougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mtype[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mrougail [0m
|
||||
|
||||
Add to your playbook:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mpath.to.rougail [0m
|
||||
|
||||
[1;4;92mExample playbook[0m
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
83
tests/results-doc/test_namespace/00_8test.sh
Normal file
83
tests/results-doc/test_namespace/00_8test.sh
Normal file
|
|
@ -0,0 +1,83 @@
|
|||
[1;4;96mAnsible role: Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0m[1;7m basic [0m
|
||||
|
||||
|
||||
[1;4;92mRole variables[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃[1m [0m[1mDefault value [0m[1m [0m┃[1m [0m[1mType [0m[1m [0m┃[1m [0m[1mAccess control [0m[1m [0m┃[1m [0m[1mValidator [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mvar1[0m │ The first variable. │ │ [1;7m string [0m [1;7m mandatory [0m │ [1;7m basic [0m │ │
|
||||
│ │ [1mExample[0m: test │ │ │ │ │
|
||||
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼───────────────────────────────┤
|
||||
│ [1mvar2[0m │ The second variable. │ value │ [1;7m string [0m [1;7m mandatory [0m │ [1;7m standard [0m │ │
|
||||
│ │ [1mExample[0m: test │ │ │ │ │
|
||||
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼───────────────────────────────┤
|
||||
│ [1mvar3[0m │ The third variable. │ │ [1;7m string [0m [1;7m mandatory [0m │ [1;7m basic [0m │ │
|
||||
│ │ [1mExamples[0m: │ │ │ │ │
|
||||
│ │ • test1 │ │ │ │ │
|
||||
│ │ • test2 │ │ │ │ │
|
||||
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼───────────────────────────────┤
|
||||
│ [1mvar4[0m │ The forth variable. │ │ [1;7m string [0m │ [1;7m standard [0m │ │
|
||||
│ │ [1mExamples[0m: │ │ │ │ │
|
||||
│ │ • null │ │ │ │ │
|
||||
│ │ • test1 │ │ │ │ │
|
||||
│ │ • test2 │ │ │ │ │
|
||||
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼───────────────────────────────┤
|
||||
│ [1mvar5[0m │ The fifth variable. │ true │ [1;7m boolean [0m [1;7m mandatory [0m │ [1;7m standard [0m │ │
|
||||
│ │ [1mExample[0m: false │ │ │ │ │
|
||||
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼───────────────────────────────┤
|
||||
│ [1mvar6[0m │ The sixth variable. │ │ [1;7m string [0m [1;7m multiple [0m [1;7m [0m │ [1;7m basic [0m │ [1;7m unique [0m │
|
||||
│ │ [1mExamples[0m: │ │ [1;7mmandatory [0m │ │ │
|
||||
│ │ • test1 │ │ │ │ │
|
||||
│ │ • test2 │ │ │ │ │
|
||||
└──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴───────────────────────────────┘
|
||||
|
||||
[1;4;92mExample playbook with Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0mDo not forget to add Rougail structural file as Rougail types
|
||||
|
||||
|
||||
Add to your structural file something like:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[38;2;255;70;137;48;2;39;40;34mpath[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mto[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mmy_rougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mtype[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mrougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvar1[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mtest [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvar3[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mtest1 [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvar6[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mtest1 [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mtest2 [0m
|
||||
|
||||
Add to your playbook:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mpath.to.rougail [0m
|
||||
|
||||
[1;4;92mExample playbook[0m
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# Rougail[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvar1[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mtest[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# The first variable[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvar3[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mtest1[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# The third variable[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvar6[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# The sixth variable[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mtest1 [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mtest2 [0m
|
||||
|
|
@ -0,0 +1,64 @@
|
|||
[1;4;96mAnsible role: Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0m[1;7m basic [0m
|
||||
|
||||
|
||||
[1;4;92mRole variables[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃[1m [0m[1mType [0m[1m [0m┃[1m [0m[1mAccess control [0m[1m [0m┃[1m [0m[1mValidator [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mvariable1[0m │ A first variable. │ [1;7m choice [0m [1;7m multiple [0m [1;7m mandatory [0m │ [1;7m basic [0m │ [1;7m unique [0m │
|
||||
│ │ │ │ │ [1mChoices[0m: │
|
||||
│ │ │ │ │ • val1 │
|
||||
│ │ │ │ │ • val2 │
|
||||
├────────────────────────────────────┼────────────────────────────────────┼─────────────────────────────────────┼────────────────────────────────────┼─────────────────────────────────────┤
|
||||
│ [1mvariable2[0m │ A second variable. │ [1;7m choice [0m [1;7m multiple [0m │ [1;7m standard [0m │ [1;7m unique [0m │
|
||||
│ │ │ │ │ [1mChoices[0m: │
|
||||
│ │ │ │ │ • val1 │
|
||||
│ │ │ │ │ • val2 │
|
||||
└────────────────────────────────────┴────────────────────────────────────┴─────────────────────────────────────┴────────────────────────────────────┴─────────────────────────────────────┘
|
||||
|
||||
[1;4;92mExample playbook with Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0mDo not forget to add Rougail structural file as Rougail types
|
||||
|
||||
|
||||
Add to your structural file something like:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[38;2;255;70;137;48;2;39;40;34mpath[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mto[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mmy_rougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mtype[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mrougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvariable1[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mval1 [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mval2 [0m
|
||||
|
||||
Add to your playbook:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mpath.to.rougail [0m
|
||||
|
||||
[1;4;92mExample playbook[0m
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# Rougail[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvariable1[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# A first variable[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mval1 [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mval2 [0m
|
||||
56
tests/results-doc/test_namespace/00_9choice_variables.sh
Normal file
56
tests/results-doc/test_namespace/00_9choice_variables.sh
Normal file
|
|
@ -0,0 +1,56 @@
|
|||
[1;4;96mAnsible role: Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0m[1;7m standard [0m
|
||||
|
||||
|
||||
[1;4;92mRole variables[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃[1m [0m[1mDefault value [0m[1m [0m┃[1m [0m[1mType [0m[1m [0m┃[1m [0m[1mAccess control [0m[1m [0m┃[1m [0m[1mValidator [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1msource_variable_1[0m │ The first source variable. │ val1 │ [1;7m string [0m [1;7m mandatory [0m │ [1;7m standard [0m │ │
|
||||
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼───────────────────────────────┼──────────────────────────────┤
|
||||
│ [1msource_variable_2[0m │ The second source variable. │ val2 │ [1;7m string [0m [1;7m mandatory [0m │ [1;7m standard [0m │ │
|
||||
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼───────────────────────────────┼──────────────────────────────┤
|
||||
│ [1mmy_variable[0m │ A variable. │ val1 │ [1;7m choice [0m [1;7m mandatory [0m │ [1;7m standard [0m │ [1mChoices[0m: │
|
||||
│ │ │ │ │ │ • the value of the variable │
|
||||
│ │ │ │ │ │ "source_variable_1" │
|
||||
│ │ │ │ │ │ • the value of the variable │
|
||||
│ │ │ │ │ │ "source_variable_2" │
|
||||
└──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴───────────────────────────────┴──────────────────────────────┘
|
||||
|
||||
[1;4;92mExample playbook with Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0mDo not forget to add Rougail structural file as Rougail types
|
||||
|
||||
|
||||
Add to your structural file something like:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[38;2;255;70;137;48;2;39;40;34mpath[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mto[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mmy_rougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mtype[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mrougail [0m
|
||||
|
||||
Add to your playbook:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mpath.to.rougail [0m
|
||||
|
||||
[1;4;92mExample playbook[0m
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
48
tests/results-doc/test_namespace/00_9default_calculation.sh
Normal file
48
tests/results-doc/test_namespace/00_9default_calculation.sh
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
[1;4;96mAnsible role: Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0m[1;7m standard [0m
|
||||
|
||||
|
||||
[1;4;92mRole variables[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃[1m [0m[1mDefault value [0m[1m [0m┃[1m [0m[1mType [0m[1m [0m┃[1m [0m[1mAccess control [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mvariable[0m │ A variable. │ concat all parameters │ [1;7m string [0m [1;7m mandatory [0m │ [1;7m standard [0m │
|
||||
└────────────────────────────────────┴─────────────────────────────────────┴────────────────────────────────────┴─────────────────────────────────────┴────────────────────────────────────┘
|
||||
|
||||
[1;4;92mExample playbook with Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0mDo not forget to add Rougail structural file as Rougail types
|
||||
|
||||
|
||||
Add to your structural file something like:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[38;2;255;70;137;48;2;39;40;34mpath[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mto[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mmy_rougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mtype[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mrougail [0m
|
||||
|
||||
Add to your playbook:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mpath.to.rougail [0m
|
||||
|
||||
[1;4;92mExample playbook[0m
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
|
|
@ -0,0 +1,48 @@
|
|||
[1;4;96mAnsible role: Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0m[1;7m standard [0m
|
||||
|
||||
|
||||
[1;4;92mRole variables[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃[1m [0m[1mDefault value [0m[1m [0m┃[1m [0m[1mType [0m[1m [0m┃[1m [0m[1mAccess control [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mvar[0m │ A variable. │ returns the information │ [1;7m string [0m [1;7m mandatory [0m │ [1;7m standard [0m │
|
||||
└────────────────────────────────────┴─────────────────────────────────────┴────────────────────────────────────┴─────────────────────────────────────┴────────────────────────────────────┘
|
||||
|
||||
[1;4;92mExample playbook with Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0mDo not forget to add Rougail structural file as Rougail types
|
||||
|
||||
|
||||
Add to your structural file something like:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[38;2;255;70;137;48;2;39;40;34mpath[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mto[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mmy_rougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mtype[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mrougail [0m
|
||||
|
||||
Add to your playbook:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mpath.to.rougail [0m
|
||||
|
||||
[1;4;92mExample playbook[0m
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
|
|
@ -0,0 +1,54 @@
|
|||
[1;4;96mAnsible role: Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0m[1;7m basic [0m
|
||||
|
||||
|
||||
[1;4;92mRole variables[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃[1m [0m[1mDefault value [0m[1m [0m┃[1m [0m[1mType [0m[1m [0m┃[1m [0m[1mAccess control [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mvar1[0m │ A first variable. │ │ [1;7m string [0m [1;7m mandatory [0m │ [1;7m basic [0m │
|
||||
├────────────────────────────────────┼─────────────────────────────────────┼────────────────────────────────────┼─────────────────────────────────────┼────────────────────────────────────┤
|
||||
│ [1mvar2[0m │ A second variable. │ depends on a calculation │ [1;7m string [0m [1;7m mandatory [0m │ [1;7m standard [0m │
|
||||
└────────────────────────────────────┴─────────────────────────────────────┴────────────────────────────────────┴─────────────────────────────────────┴────────────────────────────────────┘
|
||||
|
||||
[1;4;92mExample playbook with Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0mDo not forget to add Rougail structural file as Rougail types
|
||||
|
||||
|
||||
Add to your structural file something like:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[38;2;255;70;137;48;2;39;40;34mpath[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mto[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mmy_rougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mtype[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mrougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvar1[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mstring1 [0m
|
||||
|
||||
Add to your playbook:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mpath.to.rougail [0m
|
||||
|
||||
[1;4;92mExample playbook[0m
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# Rougail[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvar1[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mstring1[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# A first variable[0m[48;2;39;40;34m [0m
|
||||
|
|
@ -0,0 +1,51 @@
|
|||
[1;4;96mAnsible role: Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0m[1;7m standard [0m
|
||||
|
||||
|
||||
[1;4;92mRole variables[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDefault value [0m[1m [0m┃[1m [0m[1mType [0m[1m [0m┃[1m [0m[1mAccess control [0m[1m [0m┃[1m [0m[1mValidator [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mmy_variable[0m │ val1 │ [1;7m string [0m [1;7m mandatory [0m │ [1;7m standard [0m │ │
|
||||
├────────────────────────────────────┼────────────────────────────────────┼─────────────────────────────────────┼────────────────────────────────────┼─────────────────────────────────────┤
|
||||
│ [1mmy_calculated_variable[0m │ • the value of the variable │ [1;7m string [0m [1;7m multiple [0m [1;7m mandatory [0m │ [1;7m standard [0m │ [1;7m unique [0m │
|
||||
│ │ "my_variable" if it is defined │ │ │ │
|
||||
└────────────────────────────────────┴────────────────────────────────────┴─────────────────────────────────────┴────────────────────────────────────┴─────────────────────────────────────┘
|
||||
|
||||
[1;4;92mExample playbook with Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0mDo not forget to add Rougail structural file as Rougail types
|
||||
|
||||
|
||||
Add to your structural file something like:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[38;2;255;70;137;48;2;39;40;34mpath[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mto[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mmy_rougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mtype[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mrougail [0m
|
||||
|
||||
Add to your playbook:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mpath.to.rougail [0m
|
||||
|
||||
[1;4;92mExample playbook[0m
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
|
|
@ -0,0 +1,51 @@
|
|||
[1;4;96mAnsible role: Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0m[1;7m standard [0m
|
||||
|
||||
|
||||
[1;4;92mRole variables[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDefault value [0m[1m [0m┃[1m [0m[1mType [0m[1m [0m┃[1m [0m[1mAccess control [0m[1m [0m┃[1m [0m[1mValidator [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mmy_variable[0m │ val1 │ [1;7m string [0m [1;7m mandatory [0m │ [1;7m standard [0m │ │
|
||||
├────────────────────────────────────┼────────────────────────────────────┼─────────────────────────────────────┼────────────────────────────────────┼─────────────────────────────────────┤
|
||||
│ [1mmy_calculated_variable[0m │ • the value of the variable │ [1;7m string [0m [1;7m multiple [0m [1;7m mandatory [0m │ [1;7m standard [0m │ [1;7m unique [0m │
|
||||
│ │ "my_variable" if it is defined │ │ │ │
|
||||
└────────────────────────────────────┴────────────────────────────────────┴─────────────────────────────────────┴────────────────────────────────────┴─────────────────────────────────────┘
|
||||
|
||||
[1;4;92mExample playbook with Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0mDo not forget to add Rougail structural file as Rougail types
|
||||
|
||||
|
||||
Add to your structural file something like:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[38;2;255;70;137;48;2;39;40;34mpath[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mto[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mmy_rougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mtype[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mrougail [0m
|
||||
|
||||
Add to your playbook:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mpath.to.rougail [0m
|
||||
|
||||
[1;4;92mExample playbook[0m
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
|
|
@ -0,0 +1,51 @@
|
|||
[1;4;96mAnsible role: Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0m[1;7m standard [0m
|
||||
|
||||
|
||||
[1;4;92mRole variables[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDefault value [0m[1m [0m┃[1m [0m[1mType [0m[1m [0m┃[1m [0m[1mAccess control [0m[1m [0m┃[1m [0m[1mValidator [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mmy_variable[0m │ val1 │ [1;7m string [0m [1;7m mandatory [0m │ [1;7m standard [0m │ │
|
||||
├────────────────────────────────────┼────────────────────────────────────┼─────────────────────────────────────┼────────────────────────────────────┼─────────────────────────────────────┤
|
||||
│ [1mmy_calculated_variable[0m │ • the value of the variable │ [1;7m string [0m [1;7m multiple [0m [1;7m mandatory [0m │ [1;7m standard [0m │ [1;7m unique [0m │
|
||||
│ │ "my_variable" if it is defined │ │ │ │
|
||||
└────────────────────────────────────┴────────────────────────────────────┴─────────────────────────────────────┴────────────────────────────────────┴─────────────────────────────────────┘
|
||||
|
||||
[1;4;92mExample playbook with Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0mDo not forget to add Rougail structural file as Rougail types
|
||||
|
||||
|
||||
Add to your structural file something like:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[38;2;255;70;137;48;2;39;40;34mpath[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mto[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mmy_rougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mtype[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mrougail [0m
|
||||
|
||||
Add to your playbook:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mpath.to.rougail [0m
|
||||
|
||||
[1;4;92mExample playbook[0m
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
|
|
@ -0,0 +1,58 @@
|
|||
[1;4;96mAnsible role: Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0m[1;7m standard [0m
|
||||
|
||||
|
||||
[1;4;92mRole variables[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mType [0m[1m [0m┃[1m [0m[1mAccess control [0m[1m [0m┃[1m [0m[1mValidator [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mmy_calculated_variable[0m │ [1;7m string [0m [1;7m multiple [0m [1;7m mandatory [0m │ [1;7m standard [0m │ [1;7m unique [0m │
|
||||
└──────────────────────────────────────────────┴──────────────────────────────────────────────┴──────────────────────────────────────────────┴─────────────────────────────────────────────┘
|
||||
|
||||
[1;4;92mExample playbook with Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0mDo not forget to add Rougail structural file as Rougail types
|
||||
|
||||
|
||||
Add to your structural file something like:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[38;2;255;70;137;48;2;39;40;34mpath[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mto[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mmy_rougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mtype[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mrougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mmy_calculated_variable[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mstring1 [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mstring2 [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mstring3 [0m
|
||||
|
||||
Add to your playbook:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mpath.to.rougail [0m
|
||||
|
||||
[1;4;92mExample playbook[0m
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# Rougail[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mmy_calculated_variable[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mstring1 [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mstring2 [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mstring3 [0m
|
||||
|
|
@ -0,0 +1,52 @@
|
|||
[1;4;96mAnsible role: Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0m[1;7m standard [0m
|
||||
|
||||
|
||||
[1;4;92mRole variables[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDefault value [0m[1m [0m┃[1m [0m[1mType [0m[1m [0m┃[1m [0m[1mAccess control [0m[1m [0m┃[1m [0m[1mValidator [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mmy_variable[0m │ • val1 │ [1;7m string [0m [1;7m multiple [0m [1;7m mandatory [0m │ [1;7m standard [0m │ [1;7m unique [0m │
|
||||
│ │ • val2 │ │ │ │
|
||||
├────────────────────────────────────┼────────────────────────────────────┼─────────────────────────────────────┼────────────────────────────────────┼─────────────────────────────────────┤
|
||||
│ [1mmy_calculated_variable[0m │ the value of the variable │ [1;7m string [0m [1;7m multiple [0m [1;7m mandatory [0m │ [1;7m standard [0m │ [1;7m unique [0m │
|
||||
│ │ "my_variable" if it is defined │ │ │ │
|
||||
└────────────────────────────────────┴────────────────────────────────────┴─────────────────────────────────────┴────────────────────────────────────┴─────────────────────────────────────┘
|
||||
|
||||
[1;4;92mExample playbook with Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0mDo not forget to add Rougail structural file as Rougail types
|
||||
|
||||
|
||||
Add to your structural file something like:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[38;2;255;70;137;48;2;39;40;34mpath[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mto[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mmy_rougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mtype[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mrougail [0m
|
||||
|
||||
Add to your playbook:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mpath.to.rougail [0m
|
||||
|
||||
[1;4;92mExample playbook[0m
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
|
|
@ -0,0 +1,50 @@
|
|||
[1;4;96mAnsible role: Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0m[1;7m standard [0m
|
||||
|
||||
|
||||
[1;4;92mRole variables[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃[1m [0m[1mDefault value [0m[1m [0m┃[1m [0m[1mType [0m[1m [0m┃[1m [0m[1mAccess control [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mvar1[0m │ A first variable. │ returns a value │ [1;7m string [0m │ [1;7m standard [0m │
|
||||
├────────────────────────────────────┼─────────────────────────────────────┼────────────────────────────────────┼─────────────────────────────────────┼────────────────────────────────────┤
|
||||
│ [1mvar2[0m │ A second variable. │ no │ [1;7m string [0m [1;7m mandatory [0m │ [1;7m standard [0m │
|
||||
└────────────────────────────────────┴─────────────────────────────────────┴────────────────────────────────────┴─────────────────────────────────────┴────────────────────────────────────┘
|
||||
|
||||
[1;4;92mExample playbook with Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0mDo not forget to add Rougail structural file as Rougail types
|
||||
|
||||
|
||||
Add to your structural file something like:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[38;2;255;70;137;48;2;39;40;34mpath[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mto[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mmy_rougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mtype[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mrougail [0m
|
||||
|
||||
Add to your playbook:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mpath.to.rougail [0m
|
||||
|
||||
[1;4;92mExample playbook[0m
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
|
|
@ -0,0 +1,56 @@
|
|||
[1;4;96mAnsible role: Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0m[1;7m basic [0m
|
||||
|
||||
|
||||
[1;4;92mRole variables[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃[1m [0m[1mDefault value [0m[1m [0m┃[1m [0m[1mType [0m[1m [0m┃[1m [0m[1mAccess control [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mvar1[0m │ A first variable. │ │ [1;7m string [0m [1;7m mandatory [0m │ [1;7m basic [0m │
|
||||
├────────────────────────────────────┼─────────────────────────────────────┼────────────────────────────────────┼─────────────────────────────────────┼────────────────────────────────────┤
|
||||
│ [1mvar2[0m │ A second variable. │ the value of the information │ [1;7m string [0m [1;7m mandatory [0m │ [1;7m standard [0m │
|
||||
│ │ │ "test_information" of the variable │ │ │
|
||||
│ │ │ "var1" │ │ │
|
||||
└────────────────────────────────────┴─────────────────────────────────────┴────────────────────────────────────┴─────────────────────────────────────┴────────────────────────────────────┘
|
||||
|
||||
[1;4;92mExample playbook with Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0mDo not forget to add Rougail structural file as Rougail types
|
||||
|
||||
|
||||
Add to your structural file something like:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[38;2;255;70;137;48;2;39;40;34mpath[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mto[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mmy_rougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mtype[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mrougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvar1[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mstring1 [0m
|
||||
|
||||
Add to your playbook:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mpath.to.rougail [0m
|
||||
|
||||
[1;4;92mExample playbook[0m
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# Rougail[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvar1[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mstring1[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# A first variable[0m[48;2;39;40;34m [0m
|
||||
|
|
@ -0,0 +1,56 @@
|
|||
[1;4;96mAnsible role: Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0m[1;7m basic [0m
|
||||
|
||||
|
||||
[1;4;92mRole variables[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃[1m [0m[1mDefault value [0m[1m [0m┃[1m [0m[1mType [0m[1m [0m┃[1m [0m[1mAccess control [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mvar1[0m │ A first variable. │ │ [1;7m string [0m [1;7m mandatory [0m │ [1;7m basic [0m │
|
||||
├────────────────────────────────────┼─────────────────────────────────────┼────────────────────────────────────┼─────────────────────────────────────┼────────────────────────────────────┤
|
||||
│ [1mvar2[0m │ A second variable. │ the value of the information │ [1;7m string [0m [1;7m mandatory [0m │ [1;7m standard [0m │
|
||||
│ │ │ "test_information" of the variable │ │ │
|
||||
│ │ │ "var1" │ │ │
|
||||
└────────────────────────────────────┴─────────────────────────────────────┴────────────────────────────────────┴─────────────────────────────────────┴────────────────────────────────────┘
|
||||
|
||||
[1;4;92mExample playbook with Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0mDo not forget to add Rougail structural file as Rougail types
|
||||
|
||||
|
||||
Add to your structural file something like:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[38;2;255;70;137;48;2;39;40;34mpath[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mto[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mmy_rougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mtype[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mrougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvar1[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mstring1 [0m
|
||||
|
||||
Add to your playbook:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mpath.to.rougail [0m
|
||||
|
||||
[1;4;92mExample playbook[0m
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# Rougail[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvar1[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mstring1[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# A first variable[0m[48;2;39;40;34m [0m
|
||||
48
tests/results-doc/test_namespace/00_9default_integer.sh
Normal file
48
tests/results-doc/test_namespace/00_9default_integer.sh
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
[1;4;96mAnsible role: Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0m[1;7m standard [0m
|
||||
|
||||
|
||||
[1;4;92mRole variables[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃[1m [0m[1mDefault value [0m[1m [0m┃[1m [0m[1mType [0m[1m [0m┃[1m [0m[1mAccess control [0m[1m [0m┃[1m [0m[1mValidator [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mvar[0m │ A variable. │ 9 │ [1;7m choice [0m [1;7m mandatory [0m │ [1;7m standard [0m │ [1mChoices[0m: choice for 0 to 9 │
|
||||
└──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴───────────────────────────────┴──────────────────────────────┘
|
||||
|
||||
[1;4;92mExample playbook with Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0mDo not forget to add Rougail structural file as Rougail types
|
||||
|
||||
|
||||
Add to your structural file something like:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[38;2;255;70;137;48;2;39;40;34mpath[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mto[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mmy_rougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mtype[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mrougail [0m
|
||||
|
||||
Add to your playbook:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mpath.to.rougail [0m
|
||||
|
||||
[1;4;92mExample playbook[0m
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
48
tests/results-doc/test_namespace/00_9default_number.sh
Normal file
48
tests/results-doc/test_namespace/00_9default_number.sh
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
[1;4;96mAnsible role: Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0m[1;7m standard [0m
|
||||
|
||||
|
||||
[1;4;92mRole variables[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃[1m [0m[1mDefault value [0m[1m [0m┃[1m [0m[1mType [0m[1m [0m┃[1m [0m[1mAccess control [0m[1m [0m┃[1m [0m[1mValidator [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mvar[0m │ A variable. │ 9 │ [1;7m choice [0m [1;7m mandatory [0m │ [1;7m standard [0m │ [1mChoices[0m: choice for 0 to 9 │
|
||||
└──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴───────────────────────────────┴──────────────────────────────┘
|
||||
|
||||
[1;4;92mExample playbook with Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0mDo not forget to add Rougail structural file as Rougail types
|
||||
|
||||
|
||||
Add to your structural file something like:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[38;2;255;70;137;48;2;39;40;34mpath[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mto[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mmy_rougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mtype[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mrougail [0m
|
||||
|
||||
Add to your playbook:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mpath.to.rougail [0m
|
||||
|
||||
[1;4;92mExample playbook[0m
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
70
tests/results-doc/test_namespace/01_6boolean_multi.sh
Normal file
70
tests/results-doc/test_namespace/01_6boolean_multi.sh
Normal file
|
|
@ -0,0 +1,70 @@
|
|||
[1;4;96mAnsible role: Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0m[1;7m standard [0m
|
||||
|
||||
|
||||
[1;4;92mRole variables[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃[1m [0m[1mDefault value [0m[1m [0m┃[1m [0m[1mType [0m[1m [0m┃[1m [0m[1mAccess control [0m[1m [0m┃[1m [0m[1mValidator [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mvar1[0m │ The first variable. │ • true │ [1;7m boolean [0m [1;7m multiple [0m [1;7m [0m │ [1;7m standard [0m │ [1;7m unique [0m │
|
||||
│ │ │ │ [1;7mmandatory [0m │ │ │
|
||||
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼───────────────────────────────┼──────────────────────────────┤
|
||||
│ [1mvar2[0m │ The second variable. │ • true │ [1;7m boolean [0m [1;7m multiple [0m [1;7m [0m │ [1;7m standard [0m │ [1;7m unique [0m │
|
||||
│ │ │ │ [1;7mmandatory [0m │ │ │
|
||||
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼───────────────────────────────┼──────────────────────────────┤
|
||||
│ [1mvar3[0m │ The third variable. │ • true │ [1;7m boolean [0m [1;7m multiple [0m [1;7m [0m │ [1;7m standard [0m │ [1;7m unique [0m │
|
||||
│ │ │ │ [1;7mmandatory [0m │ │ │
|
||||
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼───────────────────────────────┼──────────────────────────────┤
|
||||
│ [1mvar4[0m │ The forth variable. │ • false │ [1;7m boolean [0m [1;7m multiple [0m [1;7m [0m │ [1;7m standard [0m │ [1;7m unique [0m │
|
||||
│ │ │ │ [1;7mmandatory [0m │ │ │
|
||||
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼───────────────────────────────┼──────────────────────────────┤
|
||||
│ [1mvar5[0m │ The fifth variable. │ • false │ [1;7m boolean [0m [1;7m multiple [0m [1;7m [0m │ [1;7m standard [0m │ [1;7m unique [0m │
|
||||
│ │ │ │ [1;7mmandatory [0m │ │ │
|
||||
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼───────────────────────────────┼──────────────────────────────┤
|
||||
│ [1mvar6[0m │ The sixth variable. │ • false │ [1;7m boolean [0m [1;7m multiple [0m [1;7m [0m │ [1;7m standard [0m │ [1;7m unique [0m │
|
||||
│ │ │ │ [1;7mmandatory [0m │ │ │
|
||||
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼───────────────────────────────┼──────────────────────────────┤
|
||||
│ [1mvar7[0m │ The seventh variable. │ • true │ [1;7m boolean [0m [1;7m multiple [0m [1;7m [0m │ [1;7m standard [0m │ [1;7m unique [0m │
|
||||
│ │ │ │ [1;7mmandatory [0m │ │ │
|
||||
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼───────────────────────────────┼──────────────────────────────┤
|
||||
│ [1mvar8[0m │ The eighth variable. │ • true │ [1;7m boolean [0m [1;7m multiple [0m [1;7m [0m │ [1;7m standard [0m │ [1;7m unique [0m │
|
||||
│ │ │ │ [1;7mmandatory [0m │ │ │
|
||||
└──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴───────────────────────────────┴──────────────────────────────┘
|
||||
|
||||
[1;4;92mExample playbook with Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0mDo not forget to add Rougail structural file as Rougail types
|
||||
|
||||
|
||||
Add to your structural file something like:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[38;2;255;70;137;48;2;39;40;34mpath[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mto[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mmy_rougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mtype[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mrougail [0m
|
||||
|
||||
Add to your playbook:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mpath.to.rougail [0m
|
||||
|
||||
[1;4;92mExample playbook[0m
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
62
tests/results-doc/test_namespace/01_6custom_multi.sh
Normal file
62
tests/results-doc/test_namespace/01_6custom_multi.sh
Normal file
|
|
@ -0,0 +1,62 @@
|
|||
[1;4;96mAnsible role: Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0m[1;7m basic [0m
|
||||
|
||||
|
||||
[1;4;92mRole variables[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃[1m [0m[1mDefault value [0m[1m [0m┃[1m [0m[1mType [0m[1m [0m┃[1m [0m[1mAccess control [0m[1m [0m┃[1m [0m[1mValidator [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mcustom1[0m │ A first custom variable. │ │ [1;7m custom [0m [1;7m multiple [0m [1;7m [0m │ [1;7m basic [0m │ [1;7m unique [0m │
|
||||
│ │ │ │ [1;7mmandatory [0m │ │ │
|
||||
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼───────────────────────────────┤
|
||||
│ [1mcustom2[0m │ A second custom variable. │ • value │ [1;7m custom [0m [1;7m multiple [0m [1;7m [0m │ [1;7m standard [0m │ [1;7m unique [0m │
|
||||
│ │ │ │ [1;7mmandatory [0m │ │ │
|
||||
└──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴───────────────────────────────┘
|
||||
|
||||
[1;4;92mExample playbook with Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0mDo not forget to add Rougail structural file as Rougail types
|
||||
|
||||
|
||||
Add to your structural file something like:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[38;2;255;70;137;48;2;39;40;34mpath[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mto[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mmy_rougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mtype[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mrougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mcustom1[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mstring1 [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mstring2 [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mstring3 [0m
|
||||
|
||||
Add to your playbook:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mpath.to.rougail [0m
|
||||
|
||||
[1;4;92mExample playbook[0m
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# Rougail[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mcustom1[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# A first custom variable[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mstring1 [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mstring2 [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mstring3 [0m
|
||||
70
tests/results-doc/test_namespace/01_6float_multi.sh
Normal file
70
tests/results-doc/test_namespace/01_6float_multi.sh
Normal file
|
|
@ -0,0 +1,70 @@
|
|||
[1;4;96mAnsible role: Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0m[1;7m standard [0m
|
||||
|
||||
|
||||
[1;4;92mRole variables[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃[1m [0m[1mDefault value [0m[1m [0m┃[1m [0m[1mType [0m[1m [0m┃[1m [0m[1mAccess control [0m[1m [0m┃[1m [0m[1mValidator [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mvar1[0m │ The first variable. │ • 0.0 │ [1;7m float [0m [1;7m multiple [0m [1;7m [0m │ [1;7m standard [0m │ [1;7m unique [0m │
|
||||
│ │ │ │ [1;7mmandatory [0m │ │ │
|
||||
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼───────────────────────────────┼──────────────────────────────┤
|
||||
│ [1mvar2[0m │ The second variable. │ • 0.0 │ [1;7m float [0m [1;7m multiple [0m [1;7m [0m │ [1;7m standard [0m │ [1;7m unique [0m │
|
||||
│ │ │ │ [1;7mmandatory [0m │ │ │
|
||||
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼───────────────────────────────┼──────────────────────────────┤
|
||||
│ [1mvar3[0m │ The third variable. │ • 0.0 │ [1;7m float [0m [1;7m multiple [0m [1;7m [0m │ [1;7m standard [0m │ [1;7m unique [0m │
|
||||
│ │ │ │ [1;7mmandatory [0m │ │ │
|
||||
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼───────────────────────────────┼──────────────────────────────┤
|
||||
│ [1mvar4[0m │ The forth variable. │ • 10.1 │ [1;7m float [0m [1;7m multiple [0m [1;7m [0m │ [1;7m standard [0m │ [1;7m unique [0m │
|
||||
│ │ │ │ [1;7mmandatory [0m │ │ │
|
||||
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼───────────────────────────────┼──────────────────────────────┤
|
||||
│ [1mvar5[0m │ The fifth variable. │ • 10.1 │ [1;7m float [0m [1;7m multiple [0m [1;7m [0m │ [1;7m standard [0m │ [1;7m unique [0m │
|
||||
│ │ │ │ [1;7mmandatory [0m │ │ │
|
||||
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼───────────────────────────────┼──────────────────────────────┤
|
||||
│ [1mvar6[0m │ The sixth variable. │ • 10.1 │ [1;7m float [0m [1;7m multiple [0m [1;7m [0m │ [1;7m standard [0m │ [1;7m unique [0m │
|
||||
│ │ │ │ [1;7mmandatory [0m │ │ │
|
||||
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼───────────────────────────────┼──────────────────────────────┤
|
||||
│ [1mvar7[0m │ The seventh variable. │ • 0.0 │ [1;7m float [0m [1;7m multiple [0m [1;7m [0m │ [1;7m standard [0m │ [1;7m unique [0m │
|
||||
│ │ │ │ [1;7mmandatory [0m │ │ │
|
||||
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼───────────────────────────────┼──────────────────────────────┤
|
||||
│ [1mvar8[0m │ The eighth variable. │ • 0.0 │ [1;7m float [0m [1;7m multiple [0m [1;7m [0m │ [1;7m standard [0m │ [1;7m unique [0m │
|
||||
│ │ │ │ [1;7mmandatory [0m │ │ │
|
||||
└──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴───────────────────────────────┴──────────────────────────────┘
|
||||
|
||||
[1;4;92mExample playbook with Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0mDo not forget to add Rougail structural file as Rougail types
|
||||
|
||||
|
||||
Add to your structural file something like:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[38;2;255;70;137;48;2;39;40;34mpath[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mto[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mmy_rougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mtype[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mrougail [0m
|
||||
|
||||
Add to your playbook:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mpath.to.rougail [0m
|
||||
|
||||
[1;4;92mExample playbook[0m
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
70
tests/results-doc/test_namespace/01_6integer_multi.sh
Normal file
70
tests/results-doc/test_namespace/01_6integer_multi.sh
Normal file
|
|
@ -0,0 +1,70 @@
|
|||
[1;4;96mAnsible role: Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0m[1;7m standard [0m
|
||||
|
||||
|
||||
[1;4;92mRole variables[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃[1m [0m[1mDefault value [0m[1m [0m┃[1m [0m[1mType [0m[1m [0m┃[1m [0m[1mAccess control [0m[1m [0m┃[1m [0m[1mValidator [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mvar1[0m │ The first variable. │ • 0 │ [1;7m integer [0m [1;7m multiple [0m [1;7m [0m │ [1;7m standard [0m │ [1;7m unique [0m │
|
||||
│ │ │ │ [1;7mmandatory [0m │ │ │
|
||||
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼───────────────────────────────┼──────────────────────────────┤
|
||||
│ [1mvar2[0m │ The second variable. │ • 0 │ [1;7m integer [0m [1;7m multiple [0m [1;7m [0m │ [1;7m standard [0m │ [1;7m unique [0m │
|
||||
│ │ │ │ [1;7mmandatory [0m │ │ │
|
||||
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼───────────────────────────────┼──────────────────────────────┤
|
||||
│ [1mvar3[0m │ The third variable. │ • 0 │ [1;7m integer [0m [1;7m multiple [0m [1;7m [0m │ [1;7m standard [0m │ [1;7m unique [0m │
|
||||
│ │ │ │ [1;7mmandatory [0m │ │ │
|
||||
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼───────────────────────────────┼──────────────────────────────┤
|
||||
│ [1mvar4[0m │ The forth variable. │ • 10 │ [1;7m integer [0m [1;7m multiple [0m [1;7m [0m │ [1;7m standard [0m │ [1;7m unique [0m │
|
||||
│ │ │ │ [1;7mmandatory [0m │ │ │
|
||||
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼───────────────────────────────┼──────────────────────────────┤
|
||||
│ [1mvar5[0m │ The fifth variable. │ • 10 │ [1;7m integer [0m [1;7m multiple [0m [1;7m [0m │ [1;7m standard [0m │ [1;7m unique [0m │
|
||||
│ │ │ │ [1;7mmandatory [0m │ │ │
|
||||
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼───────────────────────────────┼──────────────────────────────┤
|
||||
│ [1mvar6[0m │ The sixth variable. │ • 10 │ [1;7m integer [0m [1;7m multiple [0m [1;7m [0m │ [1;7m standard [0m │ [1;7m unique [0m │
|
||||
│ │ │ │ [1;7mmandatory [0m │ │ │
|
||||
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼───────────────────────────────┼──────────────────────────────┤
|
||||
│ [1mvar7[0m │ The seventh variable. │ • 0 │ [1;7m integer [0m [1;7m multiple [0m [1;7m [0m │ [1;7m standard [0m │ [1;7m unique [0m │
|
||||
│ │ │ │ [1;7mmandatory [0m │ │ │
|
||||
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼───────────────────────────────┼──────────────────────────────┤
|
||||
│ [1mvar8[0m │ The eighth variable. │ • 0 │ [1;7m integer [0m [1;7m multiple [0m [1;7m [0m │ [1;7m standard [0m │ [1;7m unique [0m │
|
||||
│ │ │ │ [1;7mmandatory [0m │ │ │
|
||||
└──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴───────────────────────────────┴──────────────────────────────┘
|
||||
|
||||
[1;4;92mExample playbook with Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0mDo not forget to add Rougail structural file as Rougail types
|
||||
|
||||
|
||||
Add to your structural file something like:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[38;2;255;70;137;48;2;39;40;34mpath[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mto[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mmy_rougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mtype[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mrougail [0m
|
||||
|
||||
Add to your playbook:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mpath.to.rougail [0m
|
||||
|
||||
[1;4;92mExample playbook[0m
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
|
|
@ -0,0 +1,58 @@
|
|||
[1;4;96mAnsible role: Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0m[1;7m basic [0m
|
||||
|
||||
|
||||
[1;4;92mRole variables[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃[1m [0m[1mType [0m[1m [0m┃[1m [0m[1mAccess control [0m[1m [0m┃[1m [0m[1mValidator [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mvar[0m │ The first variable. │ [1;7m integer [0m [1;7m multiple [0m [1;7m mandatory [0m │ [1;7m basic [0m │ [1;7m unique [0m │
|
||||
└────────────────────────────────────┴─────────────────────────────────────┴────────────────────────────────────┴─────────────────────────────────────┴────────────────────────────────────┘
|
||||
|
||||
[1;4;92mExample playbook with Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0mDo not forget to add Rougail structural file as Rougail types
|
||||
|
||||
|
||||
Add to your structural file something like:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[38;2;255;70;137;48;2;39;40;34mpath[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mto[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mmy_rougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mtype[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mrougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvar[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m1 [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m2 [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m3 [0m
|
||||
|
||||
Add to your playbook:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mpath.to.rougail [0m
|
||||
|
||||
[1;4;92mExample playbook[0m
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# Rougail[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvar[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# The first variable[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m1 [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m2 [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m3 [0m
|
||||
49
tests/results-doc/test_namespace/01_6string_empty.sh
Normal file
49
tests/results-doc/test_namespace/01_6string_empty.sh
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
[1;4;96mAnsible role: Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0m[1;7m standard [0m
|
||||
|
||||
|
||||
[1;4;92mRole variables[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃[1m [0m[1mDefault value [0m[1m [0m┃[1m [0m[1mType [0m[1m [0m┃[1m [0m[1mAccess control [0m[1m [0m┃[1m [0m[1mValidator [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mvar1[0m │ The second variable. │ • value │ [1;7m string [0m [1;7m multiple [0m [1;7m [0m │ [1;7m standard [0m │ [1;7m unique [0m │
|
||||
│ │ │ • null │ [1;7mmandatory [0m │ │ │
|
||||
└──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴───────────────────────────────┘
|
||||
|
||||
[1;4;92mExample playbook with Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0mDo not forget to add Rougail structural file as Rougail types
|
||||
|
||||
|
||||
Add to your structural file something like:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[38;2;255;70;137;48;2;39;40;34mpath[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mto[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mmy_rougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mtype[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mrougail [0m
|
||||
|
||||
Add to your playbook:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mpath.to.rougail [0m
|
||||
|
||||
[1;4;92mExample playbook[0m
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
96
tests/results-doc/test_namespace/01_6string_multi.sh
Normal file
96
tests/results-doc/test_namespace/01_6string_multi.sh
Normal file
|
|
@ -0,0 +1,96 @@
|
|||
[1;4;96mAnsible role: Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0m[1;7m basic [0m
|
||||
|
||||
|
||||
[1;4;92mRole variables[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃[1m [0m[1mDefault value [0m[1m [0m┃[1m [0m[1mType [0m[1m [0m┃[1m [0m[1mAccess control [0m[1m [0m┃[1m [0m[1mValidator [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mvar1[0m │ The first variable. │ │ [1;7m string [0m [1;7m multiple [0m [1;7m [0m │ [1;7m basic [0m │ [1;7m unique [0m │
|
||||
│ │ │ │ [1;7mmandatory [0m │ │ │
|
||||
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼───────────────────────────────┤
|
||||
│ [1mvar2[0m │ The second variable. │ │ [1;7m string [0m [1;7m multiple [0m [1;7m [0m │ [1;7m basic [0m │ [1;7m unique [0m │
|
||||
│ │ │ │ [1;7mmandatory [0m │ │ │
|
||||
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼───────────────────────────────┤
|
||||
│ [1mvar3[0m │ The third variable. │ │ [1;7m string [0m [1;7m multiple [0m [1;7m [0m │ [1;7m basic [0m │ [1;7m unique [0m │
|
||||
│ │ │ │ [1;7mmandatory [0m │ │ │
|
||||
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼───────────────────────────────┤
|
||||
│ [1mvar4[0m │ The forth variable. │ • value │ [1;7m string [0m [1;7m multiple [0m [1;7m [0m │ [1;7m standard [0m │ [1;7m unique [0m │
|
||||
│ │ │ │ [1;7mmandatory [0m │ │ │
|
||||
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼───────────────────────────────┤
|
||||
│ [1mvar5[0m │ The fifth variable. │ • value │ [1;7m string [0m [1;7m multiple [0m [1;7m [0m │ [1;7m standard [0m │ [1;7m unique [0m │
|
||||
│ │ │ │ [1;7mmandatory [0m │ │ │
|
||||
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼───────────────────────────────┤
|
||||
│ [1mvar6[0m │ The sixth variable. │ • value │ [1;7m string [0m [1;7m multiple [0m [1;7m [0m │ [1;7m standard [0m │ [1;7m unique [0m │
|
||||
│ │ │ │ [1;7mmandatory [0m │ │ │
|
||||
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼───────────────────────────────┤
|
||||
│ [1mvar7[0m │ The seventh variable. │ • value │ [1;7m string [0m [1;7m multiple [0m [1;7m [0m │ [1;7m standard [0m │ [1;7m unique [0m │
|
||||
│ │ │ │ [1;7mmandatory [0m │ │ │
|
||||
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼───────────────────────────────┤
|
||||
│ [1mvar8[0m │ The eighth variable. │ • value │ [1;7m string [0m [1;7m multiple [0m [1;7m [0m │ [1;7m standard [0m │ [1;7m unique [0m │
|
||||
│ │ │ │ [1;7mmandatory [0m │ │ │
|
||||
└──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴───────────────────────────────┘
|
||||
|
||||
[1;4;92mExample playbook with Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0mDo not forget to add Rougail structural file as Rougail types
|
||||
|
||||
|
||||
Add to your structural file something like:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[38;2;255;70;137;48;2;39;40;34mpath[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mto[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mmy_rougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mtype[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mrougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvar1[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mstring1 [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mstring2 [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mstring3 [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvar2[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mstring1 [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mstring2 [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mstring3 [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvar3[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mstring1 [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mstring2 [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mstring3 [0m
|
||||
|
||||
Add to your playbook:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mpath.to.rougail [0m
|
||||
|
||||
[1;4;92mExample playbook[0m
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# Rougail[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvar1[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# The first variable[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mstring1 [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mstring2 [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mstring3 [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvar2[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# The second variable[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mstring1 [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mstring2 [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mstring3 [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvar3[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# The third variable[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mstring1 [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mstring2 [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mstring3 [0m
|
||||
55
tests/results-doc/test_namespace/01_6string_multi_length.sh
Normal file
55
tests/results-doc/test_namespace/01_6string_multi_length.sh
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
[1;4;96mAnsible role: Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0m[1;7m standard [0m
|
||||
|
||||
|
||||
[1;4;92mRole variables[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃[1m [0m[1mDefault value [0m[1m [0m┃[1m [0m[1mType [0m[1m [0m┃[1m [0m[1mAccess control [0m[1m [0m┃[1m [0m[1mValidator [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mvar1[0m │ The variable. │ • val1 │ [1;7m string [0m [1;7m multiple [0m [1;7m [0m │ [1;7m standard [0m │ [1;7m unique [0m │
|
||||
│ │ │ • val2 │ [1;7mmandatory [0m │ │ Needs exactly 3 values. │
|
||||
│ │ │ • val3 │ │ │ │
|
||||
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼───────────────────────────────┤
|
||||
│ [1mvar2[0m │ The variable. │ • val4 │ [1;7m string [0m [1;7m multiple [0m [1;7m [0m │ [1;7m standard [0m │ [1;7m unique [0m │
|
||||
│ │ │ • val5 │ [1;7mmandatory [0m │ │ • needs a minimum of 1 values │
|
||||
│ │ │ │ │ │ • needs a maximum of 4 │
|
||||
│ │ │ │ │ │ values. │
|
||||
└──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴───────────────────────────────┘
|
||||
|
||||
[1;4;92mExample playbook with Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0mDo not forget to add Rougail structural file as Rougail types
|
||||
|
||||
|
||||
Add to your structural file something like:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[38;2;255;70;137;48;2;39;40;34mpath[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mto[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mmy_rougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mtype[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mrougail [0m
|
||||
|
||||
Add to your playbook:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mpath.to.rougail [0m
|
||||
|
||||
[1;4;92mExample playbook[0m
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
|
|
@ -0,0 +1,49 @@
|
|||
[1;4;96mAnsible role: Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0m[1;7m standard [0m
|
||||
|
||||
|
||||
[1;4;92mRole variables[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃[1m [0m[1mDefault value [0m[1m [0m┃[1m [0m[1mType [0m[1m [0m┃[1m [0m[1mAccess control [0m[1m [0m┃[1m [0m[1mValidator [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mvariable[0m │ A variable. │ • quote" │ [1;7m string [0m [1;7m multiple [0m [1;7m [0m │ [1;7m standard [0m │ [1;7m unique [0m │
|
||||
│ │ │ │ [1;7mmandatory [0m │ │ │
|
||||
└──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴───────────────────────────────┘
|
||||
|
||||
[1;4;92mExample playbook with Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0mDo not forget to add Rougail structural file as Rougail types
|
||||
|
||||
|
||||
Add to your structural file something like:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[38;2;255;70;137;48;2;39;40;34mpath[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mto[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mmy_rougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mtype[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mrougail [0m
|
||||
|
||||
Add to your playbook:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mpath.to.rougail [0m
|
||||
|
||||
[1;4;92mExample playbook[0m
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
|
|
@ -0,0 +1,49 @@
|
|||
[1;4;96mAnsible role: Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0m[1;7m standard [0m
|
||||
|
||||
|
||||
[1;4;92mRole variables[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃[1m [0m[1mDefault value [0m[1m [0m┃[1m [0m[1mType [0m[1m [0m┃[1m [0m[1mAccess control [0m[1m [0m┃[1m [0m[1mValidator [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mvariable[0m │ A variable. │ • quote'" │ [1;7m string [0m [1;7m multiple [0m [1;7m [0m │ [1;7m standard [0m │ [1;7m unique [0m │
|
||||
│ │ │ │ [1;7mmandatory [0m │ │ │
|
||||
└──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴───────────────────────────────┘
|
||||
|
||||
[1;4;92mExample playbook with Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0mDo not forget to add Rougail structural file as Rougail types
|
||||
|
||||
|
||||
Add to your structural file something like:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[38;2;255;70;137;48;2;39;40;34mpath[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mto[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mmy_rougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mtype[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mrougail [0m
|
||||
|
||||
Add to your playbook:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mpath.to.rougail [0m
|
||||
|
||||
[1;4;92mExample playbook[0m
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
49
tests/results-doc/test_namespace/01_7value_multi_quote.sh
Normal file
49
tests/results-doc/test_namespace/01_7value_multi_quote.sh
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
[1;4;96mAnsible role: Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0m[1;7m standard [0m
|
||||
|
||||
|
||||
[1;4;92mRole variables[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃[1m [0m[1mDefault value [0m[1m [0m┃[1m [0m[1mType [0m[1m [0m┃[1m [0m[1mAccess control [0m[1m [0m┃[1m [0m[1mValidator [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mvariable[0m │ A variable. │ • quote' │ [1;7m string [0m [1;7m multiple [0m [1;7m [0m │ [1;7m standard [0m │ [1;7m unique [0m │
|
||||
│ │ │ │ [1;7mmandatory [0m │ │ │
|
||||
└──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴───────────────────────────────┘
|
||||
|
||||
[1;4;92mExample playbook with Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0mDo not forget to add Rougail structural file as Rougail types
|
||||
|
||||
|
||||
Add to your structural file something like:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[38;2;255;70;137;48;2;39;40;34mpath[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mto[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mmy_rougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mtype[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mrougail [0m
|
||||
|
||||
Add to your playbook:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mpath.to.rougail [0m
|
||||
|
||||
[1;4;92mExample playbook[0m
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
|
|
@ -0,0 +1,49 @@
|
|||
[1;4;96mAnsible role: Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0m[1;7m standard [0m
|
||||
|
||||
|
||||
[1;4;92mRole variables[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃[1m [0m[1mDefault value [0m[1m [0m┃[1m [0m[1mType [0m[1m [0m┃[1m [0m[1mAccess control [0m[1m [0m┃[1m [0m[1mValidator [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mvariable[0m │ A variable. │ get information │ [1;7m string [0m [1;7m multiple [0m [1;7m [0m │ [1;7m standard [0m │ [1;7m unique [0m │
|
||||
│ │ │ test_information │ [1;7mmandatory [0m │ │ │
|
||||
└──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴───────────────────────────────┘
|
||||
|
||||
[1;4;92mExample playbook with Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0mDo not forget to add Rougail structural file as Rougail types
|
||||
|
||||
|
||||
Add to your structural file something like:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[38;2;255;70;137;48;2;39;40;34mpath[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mto[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mmy_rougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mtype[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mrougail [0m
|
||||
|
||||
Add to your playbook:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mpath.to.rougail [0m
|
||||
|
||||
[1;4;92mExample playbook[0m
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
|
|
@ -0,0 +1,57 @@
|
|||
[1;4;96mAnsible role: Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0m[1;7m basic [0m
|
||||
|
||||
|
||||
[1;4;92mRole variables[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃[1m [0m[1mDefault value [0m[1m [0m┃[1m [0m[1mType [0m[1m [0m┃[1m [0m[1mAccess control [0m[1m [0m┃[1m [0m[1mValidator [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mvariable1[0m │ A first variable. │ • a │ [1;7m string [0m [1;7m multiple [0m [1;7m [0m │ [1;7m standard [0m │ [1;7m unique [0m │
|
||||
│ │ │ • b │ [1;7mmandatory [0m │ │ │
|
||||
│ │ │ • c │ │ │ │
|
||||
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼───────────────────────────────┤
|
||||
│ [1mvariable2[0m │ A second variable. │ │ [1;7m choice [0m [1;7m mandatory [0m │ [1;7m basic [0m │ [1mChoices[0m: the value of the │
|
||||
│ │ │ │ │ │ variable "variable1" │
|
||||
└──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴───────────────────────────────┘
|
||||
|
||||
[1;4;92mExample playbook with Rougail[0m
|
||||
|
||||
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||
[34m▌ [0m
|
||||
[34m▌ [0mDo not forget to add Rougail structural file as Rougail types
|
||||
|
||||
|
||||
Add to your structural file something like:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[38;2;255;70;137;48;2;39;40;34mpath[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mto[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mmy_rougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mtype[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mrougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvariable2[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34ma [0m
|
||||
|
||||
Add to your playbook:
|
||||
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mpath.to.rougail [0m
|
||||
|
||||
[1;4;92mExample playbook[0m
|
||||
|
||||
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||
[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mname[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mRougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mhosts[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mserver [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mroles[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m-[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrole[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34m<author>.rougail [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvars[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mrougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# Rougail[0m[48;2;39;40;34m [0m
|
||||
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvariable2[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34ma[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# A second variable[0m[48;2;39;40;34m [0m
|
||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue