feat: can change the directory where documentation are placed + remove empty vars/main.yml file + better tests

This commit is contained in:
egarette@silique.fr 2026-06-15 08:50:13 +02:00
parent 00cdfae024
commit b9f6e16a16
1567 changed files with 11968 additions and 42 deletions

View file

@ -46,6 +46,10 @@ include_toc: true
| **<a id="ansible.doc.playbooks.name" name="ansible.doc.playbooks.name">ansible.doc.playbooks.name</a>**<br/>**Ligne de commande** : <br/>--ansible.doc.playbooks.name<br/>**Variable d'environnement** : ROUGAILCLI_ANSIBLE.DOC.PLAYBOOKS.NAME | Nom du Playbook.<br/>Les Playbooks sont placés dans le répertoire playbooks/. Par défaut, la description du &quot;type&quot; est utilisée comme nom de Playbook dans l&#x27;exemple généré. Il est possible de personnalisé la description ici. | [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `multiple` | `unique` |
| **<a id="ansible.doc.playbooks.description" name="ansible.doc.playbooks.description">ansible.doc.playbooks.description</a>**<br/>**Ligne de commande** : <br/>--ansible.doc.playbooks.description<br/>**Variable d'environnement** : ROUGAILCLI_ANSIBLE.DOC.PLAYBOOKS.DESCRIPTION | Description du Playbook. | [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `obligatoire` | |
| Variable | Description | Type | Validateur |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------|-------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------|
| **<a id="ansible.doc.root_directory" name="ansible.doc.root_directory">ansible.doc.root_directory</a>**<br/>**Ligne de commande** : <br/>--ansible.doc.root_directory<br/>**Variable d'environnement** : ROUGAILCLI_ANSIBLE.DOC.ROOT_DIRECTORY | Répertoire racine de la documentation générée. | [`UNIX filename`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) | •&nbsp;le nom de fichier peut être une chemin relatif<br/>&nbsp;le fichier doit exister<br/>&nbsp;type de fichier autorisé: "directory". |
### Configuration de l&#x27;inventaire
> [!NOTE]

View file

@ -46,6 +46,10 @@ include_toc: true
| **<a id="ansible.doc.playbooks.name" name="ansible.doc.playbooks.name">ansible.doc.playbooks.name</a>**<br/>**Command line**: <br/>--ansible.doc.playbooks.name<br/>**Environment variable**: ROUGAILCLI_ANSIBLE.DOC.PLAYBOOKS.NAME | Playbook name.<br/>Playbooks are placed in the playbooks/ directory. By default, the description of the &quot;type&quot; is used as the Playbook name in the generated example. It is possible to customize this description here. | [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `multiple` | `unique` |
| **<a id="ansible.doc.playbooks.description" name="ansible.doc.playbooks.description">ansible.doc.playbooks.description</a>**<br/>**Command line**: <br/>--ansible.doc.playbooks.description<br/>**Environment variable**: ROUGAILCLI_ANSIBLE.DOC.PLAYBOOKS.DESCRIPTION | Playbook description. | [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `mandatory` | |
| Variable | Description | Type | Validator |
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------|-------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------|
| **<a id="ansible.doc.root_directory" name="ansible.doc.root_directory">ansible.doc.root_directory</a>**<br/>**Command line**: <br/>--ansible.doc.root_directory<br/>**Environment variable**: ROUGAILCLI_ANSIBLE.DOC.ROOT_DIRECTORY | Root directory of generated documents. | [`UNIX filename`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) | •&nbsp;this filename could be a relative path<br/>&nbsp;this file must exist<br/>&nbsp;file type allowed: "directory". |
### Inventory configuration
> [!NOTE]

View file

@ -5,8 +5,8 @@
msgid ""
msgstr ""
"Project-Id-Version: \n"
"POT-Creation-Date: 2026-06-08 06:36+0200\n"
"PO-Revision-Date: 2026-06-08 06:36+0200\n"
"POT-Creation-Date: 2026-06-15 08:47+0200\n"
"PO-Revision-Date: 2026-06-15 08:48+0200\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: fr\n"
@ -127,73 +127,77 @@ msgid "Playbook description"
msgstr "Description du Playbook"
#: src/rougail/output_ansible/config.py:129
msgid "Root directory of generated documents"
msgstr "Répertoire racine de la documentation générée"
#: src/rougail/output_ansible/config.py:139
msgid "Inventory configuration"
msgstr "Configuration de l'inventaire"
#: src/rougail/output_ansible/config.py:134
#: src/rougail/output_ansible/config.py:144
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:136
#: src/rougail/output_ansible/config.py:146
msgid "Displays warnings inside Ansible exportation datas"
msgstr "Affiche les avertissements dans les données d'exportation Ansible"
#: src/rougail/output_ansible/doc.py:94
#: src/rougail/output_ansible/doc.py:101
msgid "This repository contains the {0} Ansible collection."
msgstr "Le dépôt contient la collection Ansible {0}."
#: src/rougail/output_ansible/doc.py:101
#: src/rougail/output_ansible/doc.py:108
msgid "The group variables \"{0}\" - {1}"
msgstr "Le groupe de variables \"{0}\" - {1}"
#: src/rougail/output_ansible/doc.py:103
#: src/rougail/output_ansible/doc.py:110
msgid "The group variables {0}"
msgstr "Le groupe de variables {0}"
#: src/rougail/output_ansible/doc.py:108
#: src/rougail/output_ansible/doc.py:115
msgid "Variables"
msgstr "Variables"
#: src/rougail/output_ansible/doc.py:128
#: src/rougail/output_ansible/doc.py:135
msgid "Usage"
msgstr "Usage"
#: src/rougail/output_ansible/doc.py:129
#: src/rougail/output_ansible/doc.py:136
msgid "Example Playbook with Rougail"
msgstr "Exemple de playbook avec Rougail"
#: src/rougail/output_ansible/doc.py:137
#: src/rougail/output_ansible/doc.py:144
msgid "Add to your structural file something like:"
msgstr "Ajouter à votre fichier de structure quelque chose comme :"
#: src/rougail/output_ansible/doc.py:141
#: src/rougail/output_ansible/doc.py:148
msgid "Customizing hidden variables in structure file:"
msgstr "Variables personnalisées cachées dans les fichier de structure :"
#: src/rougail/output_ansible/doc.py:144
#: src/rougail/output_ansible/doc.py:151
msgid "Do not forget to add Rougail structure file as Rougail types."
msgstr ""
"Ne pas oublier d'ajouter le fichier de structure Rougail comme types Rougail."
#: src/rougail/output_ansible/doc.py:151
#: src/rougail/output_ansible/doc.py:158
msgid "For example you can add an YAML user data with something like:"
msgstr ""
"Par exemple vous pouvez ajouter une donnée utilisateur de type YAML avec "
"quelque chose comme :"
#: src/rougail/output_ansible/doc.py:153
#: src/rougail/output_ansible/doc.py:160
msgid "Add to your Play:"
msgstr "Ajouter à votre Play :"
#: src/rougail/output_ansible/doc.py:168
#: src/rougail/output_ansible/doc.py:175
msgid "Example Playbook without Rougail"
msgstr "Exemple de Playbook sans Rougail"
#: src/rougail/output_ansible/doc.py:169
#: src/rougail/output_ansible/doc.py:176
msgid "The variables will not be properly validated without Rougail."
msgstr "Les variables ne seront pas validées correctement sans Rougail."
#: src/rougail/output_ansible/doc.py:221
#: src/rougail/output_ansible/doc.py:228
msgid ""
"Unable to find a Playbook in playbooks/ directory or a role in roles/ "
"directory"

View file

@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2026-06-11 21:35+0200\n"
"POT-Creation-Date: 2026-06-15 08:48+0200\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"
@ -113,70 +113,74 @@ msgid "Playbook description"
msgstr ""
#: src/rougail/output_ansible/config.py:129
msgid "Root directory of generated documents"
msgstr ""
#: src/rougail/output_ansible/config.py:139
msgid "Inventory configuration"
msgstr ""
#: src/rougail/output_ansible/config.py:134
#: src/rougail/output_ansible/config.py:144
msgid "Remove namespace name in host vars"
msgstr ""
#: src/rougail/output_ansible/config.py:136
#: src/rougail/output_ansible/config.py:146
msgid "Displays warnings inside Ansible exportation datas"
msgstr ""
#: src/rougail/output_ansible/doc.py:96
#: src/rougail/output_ansible/doc.py:101
msgid "This repository contains the {0} Ansible collection."
msgstr ""
#: src/rougail/output_ansible/doc.py:103
#: src/rougail/output_ansible/doc.py:108
msgid "The group variables \"{0}\" - {1}"
msgstr ""
#: src/rougail/output_ansible/doc.py:105
#: src/rougail/output_ansible/doc.py:110
msgid "The group variables {0}"
msgstr ""
#: src/rougail/output_ansible/doc.py:110
#: src/rougail/output_ansible/doc.py:115
msgid "Variables"
msgstr ""
#: src/rougail/output_ansible/doc.py:130
#: src/rougail/output_ansible/doc.py:135
msgid "Usage"
msgstr ""
#: src/rougail/output_ansible/doc.py:131
#: src/rougail/output_ansible/doc.py:136
msgid "Example Playbook with Rougail"
msgstr ""
#: src/rougail/output_ansible/doc.py:139
#: src/rougail/output_ansible/doc.py:144
msgid "Add to your structural file something like:"
msgstr ""
#: src/rougail/output_ansible/doc.py:143
#: src/rougail/output_ansible/doc.py:148
msgid "Customizing hidden variables in structure file:"
msgstr ""
#: src/rougail/output_ansible/doc.py:146
#: src/rougail/output_ansible/doc.py:151
msgid "Do not forget to add Rougail structure file as Rougail types."
msgstr ""
#: src/rougail/output_ansible/doc.py:153
#: src/rougail/output_ansible/doc.py:158
msgid "For example you can add an YAML user data with something like:"
msgstr ""
#: src/rougail/output_ansible/doc.py:155
#: src/rougail/output_ansible/doc.py:160
msgid "Add to your Play:"
msgstr ""
#: src/rougail/output_ansible/doc.py:170
#: src/rougail/output_ansible/doc.py:175
msgid "Example Playbook without Rougail"
msgstr ""
#: src/rougail/output_ansible/doc.py:171
#: src/rougail/output_ansible/doc.py:176
msgid "The variables will not be properly validated without Rougail."
msgstr ""
#: src/rougail/output_ansible/doc.py:223
#: src/rougail/output_ansible/doc.py:228
msgid "Unable to find a Playbook in playbooks/ directory or a role in roles/ directory"
msgstr ""

View file

@ -125,6 +125,16 @@ ansible:
description: # {_('Playbook description')}
root_directory:
description: {_('Root directory of generated documents')}
type: unix_filename
params:
allow_relative: true
test_existence: true
types:
- directory
mandatory: false
inventory:
description: {_("Inventory configuration")}
disabled:

View file

@ -67,6 +67,11 @@ class Doc(RougailOutputDoc):
self.root_config = self.config
self.load()
self.load_formatter()
self.root_directory = self.ori_rougailconfig["ansible.doc.root_directory"]
if self.root_directory is None:
self.root_directory = Path(".")
else:
self.root_directory = Path(self.root_directory)
config = self._build_example_config()
examples = self._gen_doc_examples(config, True)
config.property.read_only()
@ -186,7 +191,7 @@ class Doc(RougailOutputDoc):
done = False
if self.collection_type != "roles":
playbooks = dict(self.ori_rougailconfig["ansible.doc.playbooks"].items())
playbooks_dir = Path("playbooks")
playbooks_dir = self.root_directory / "playbooks"
if playbooks_dir.is_dir():
lst = []
for playbook in playbooks_dir.iterdir():
@ -206,7 +211,7 @@ class Doc(RougailOutputDoc):
yaml["ansible.builtin.import_playbook"] = playbook_import
lst.append(yaml)
if self.collection_type != "playbooks" and not done:
roles_dir = Path("roles")
roles_dir = self.root_directory / "roles"
if roles_dir.is_dir():
yaml = {"name": description,
"hosts": "servers",
@ -227,19 +232,19 @@ class Doc(RougailOutputDoc):
values = config.value.get()
results = CommentedMap()
self._example_parse_family(values, results, dump_type="default")
if not results:
return
self._build_write("defaults", results)
def _build_vars(self, results):
self._build_write("vars", results)
def _build_write(self, write_type, results):
role_dir = Path("roles") / self.ansible_name
if not results:
return
role_dir = self.root_directory / "roles" / self.ansible_name
if role_dir.is_dir():
filedir = role_dir / write_type
else:
filedir = Path(write_type)
filedir = self.root_directory / write_type
filedir.mkdir(exist_ok=True)
with (filedir / "main.yml").open('w') as fh:
fh.write(f"---\n{dump(results)}\n")

View file

@ -0,0 +1,3 @@
---
rougail: # Rougail
version: string1 # A variable

View file

@ -0,0 +1,3 @@
---
rougail: # Rougail
empty: string1

View file

@ -0,0 +1,5 @@
---
rougail: # Rougail
var1: no # A first variable
var2: # A second variable
- no

View file

@ -0,0 +1,10 @@
---
rougail: # Rougail
var1: # A first variable
- no
- yes
- maybe
var2: # A second variable
- no
- yes
- maybe

View file

@ -0,0 +1,3 @@
---
rougail: # Rougail
var2: a_value # A second variable

View file

@ -0,0 +1,5 @@
---
rougail: # Rougail
var2: # A second variable
- domain1.lan
- domain2.lan

View file

@ -0,0 +1,5 @@
---
rougail: # Rougail
var1: # A first variable
- domain1.lan
- domain2.lan

View file

@ -0,0 +1,3 @@
---
rougail: # Rougail
var2: string1 # A second variable

View file

@ -0,0 +1,3 @@
---
rougail: # Rougail
var1: string1 # A first variable

View file

@ -0,0 +1,3 @@
---
rougail: # Rougail
var2: string1 # A second variable

View file

@ -0,0 +1,4 @@
---
rougail: # Rougail
var1: string1 # A first variable
var3: string1 # A new variable

View file

@ -0,0 +1,5 @@
---
rougail: # Rougail
var2: # A second variable
- domain1.lan
- domain2.lan

View file

@ -0,0 +1,5 @@
---
rougail: # Rougail
var1: # A first variable
- domain1.lan
- domain2.lan

View file

@ -0,0 +1,4 @@
---
rougail: # Rougail
var1: string1 # A variable
var2: string1 # A variable

View file

@ -0,0 +1,3 @@
---
rougail: # Rougail
without_type: non # A variable

View file

@ -0,0 +1,8 @@
---
rougail: # Rougail
var1: true # The first variable
var2: true # The second variable
var3: true # The third variable
var4: false # The forth variable
var5: false # The fifth variable
var6: false # The sixth variable

View file

@ -0,0 +1,3 @@
---
rougail: # Rougail
variable: true # A variable

View file

@ -0,0 +1,6 @@
---
rougail: # Rougail
var3: null # The third variable
var4: null # The forth variable
var5: a # The fifth variable
var6: 1 # The sixth variable

View file

@ -0,0 +1,4 @@
---
rougail: # Rougail
var1: a # The first variable
var2: a # The second variable

View file

@ -0,0 +1,3 @@
---
rougail: # Rougail
var: 9 # A variable

View file

@ -0,0 +1,3 @@
---
rougail: # Rougail
var2: a # The second variable

View file

@ -0,0 +1,3 @@
---
rougail: # Rougail
var1: a # The first variable

View file

@ -0,0 +1,7 @@
---
rougail: # Rougail
var1: # A second variable
- a
- b
- c
var2: a # A first variable

View file

@ -0,0 +1,8 @@
---
rougail: # Rougail
var1: # A second variable
- a
- b
- c
var2: a # A first variable
var3: a # A third variable

View file

@ -0,0 +1,9 @@
---
rougail: # Rougail
var1: # A second variable
- a
- b
- c
var2: a # A first variable
family:
var3: a # A third variable

View file

@ -0,0 +1,3 @@
---
rougail: # Rougail
custom2: value # The seconf variable

View file

@ -0,0 +1,3 @@
---
rougail: # Rougail
custom1: string1 # The first variable

View file

@ -0,0 +1,3 @@
---
rougail: # Rougail
variable: my.domain.name # A domain name variable

View file

@ -0,0 +1,3 @@
---
rougail: # Rougail
variable: my.domain.name # A domain name variable

View file

@ -0,0 +1,8 @@
---
rougail: # Rougail
var1: 0.0 # The first variable
var2: 0.0 # The second variable
var3: 0.0 # The third variable
var4: 10.1 # The forth variable
var5: 10.1 # The fifth variable
var6: 10.1 # The sixth variable

View file

@ -0,0 +1,8 @@
---
rougail: # Rougail
var1: 0 # The first variable
var2: 0 # The second variable
var3: 0 # The third variable
var4: 10 # This forth variable
var5: 10 # The fifth variable
var6: 10 # The sixth variable

View file

@ -0,0 +1,5 @@
---
rougail: # Rougail
var1: 1.1.1.1 # An IP
var2: 1.1.1.1/24 # An IP in CIDR format
var3: 1.1.1.1/24 # An IP in CIDR format with obsolete CIDR type

View file

@ -0,0 +1,5 @@
---
rougail: # Rougail
var1: 1.1.1.0 # An network
var2: 1.1.1.0/24 # An network in CIDR format
var3: 1.1.1.0/24 # An network in CIDR format with obsolete CIDR type

View file

@ -0,0 +1,8 @@
---
rougail: # Rougail
var1: 0 # The first variable
var2: 0 # The second variable
var3: 0 # The third variable
var4: 10 # This forth variable
var5: 10 # The fifth variable
var6: 10 # The sixth variable

View file

@ -0,0 +1,4 @@
---
rougail: # Rougail
variable2: '8080' # A port variable with default value
variable3: '8080' # A port variable with integer default value

View file

@ -0,0 +1,3 @@
---
rougail: # Rougail
variable1: '80' # A port variable

View file

@ -0,0 +1,3 @@
---
rougail: # Rougail
var: '#a1a1a1' # A first variable

View file

@ -0,0 +1,4 @@
---
rougail: # Rougail
var1: '#a1a1a1' # A first variable
var2: '#a1a1a1' # A second variable

View file

@ -0,0 +1,3 @@
---
rougail: # Rougail
secret2: value # The second variable

View file

@ -0,0 +1,3 @@
---
rougail: # Rougail
secret1: onE7vaLues_len1 # The first variable

View file

@ -0,0 +1,4 @@
---
rougail: # Rougail
secret2: value # The second variable
secret3: value # The third variable

View file

@ -0,0 +1,3 @@
---
rougail: # Rougail
secret1: onE7vaLues_len1 # The first variable

View file

@ -0,0 +1,7 @@
---
rougail: # Rougail
var4: value # The forth variable
var5: value # The fifth variable
var6: value # The sixth variable
var7: '8080' # The seventh variable
var8: 'true' # The height variable

View file

@ -0,0 +1,5 @@
---
rougail: # Rougail
var1: string1 # The first variable
var2: string1 # The second variable
var3: string1 # The third variable

View file

@ -0,0 +1,3 @@
---
rougail: # Rougail
var: quote' # A choice

View file

@ -0,0 +1,4 @@
---
rougail: # Rougail
var1: string1 # The first variable
var2: string1 # The second variable

View file

@ -0,0 +1,4 @@
---
rougail: # Rougail
var1: string1 # The first variable
var2: string1 # The second variable

View file

@ -0,0 +1,4 @@
---
rougail: # Rougail
var1: string1 # The first <variable>
var2: string1 # The second <variable>

View file

@ -0,0 +1,3 @@
---
rougail: # Rougail
variable: quote" # A variable

View file

@ -0,0 +1,3 @@
---
rougail: # Rougail
variable: quote'" # A variable

View file

@ -0,0 +1,3 @@
---
rougail: # Rougail
variable: quote\"\' # A variable

View file

@ -0,0 +1,3 @@
---
rougail: # Rougail
variable: quote' # A variable

View file

@ -0,0 +1,3 @@
---
rougail: # Rougail
variable: string1 # A variable

View file

@ -0,0 +1,3 @@
---
rougail: # Rougail
variable: Rougail # A variable

View file

@ -0,0 +1,3 @@
---
rougail: # Rougail
variable: Rougail # A variable

View file

@ -0,0 +1,5 @@
---
rougail: # Rougail
var2: value # The second variable
var4: null # The forth variable
var5: true # The fifth variable

View file

@ -0,0 +1,7 @@
---
rougail: # Rougail
var1: test # The first variable
var3: test1 # The third variable
var6: # The sixth variable
- test1
- test2

View file

@ -0,0 +1,3 @@
---
rougail: # Rougail
variable2: [] # A second variable

View file

@ -0,0 +1,5 @@
---
rougail: # Rougail
variable1: # A first variable
- val1
- val2

View file

@ -0,0 +1,5 @@
---
rougail: # Rougail
source_variable_1: val1 # The first source variable
source_variable_2: val2 # The second source variable
my_variable: val1 # A variable

View file

@ -0,0 +1,3 @@
---
rougail: # Rougail
variable: string_1_True_None # A variable

View file

@ -0,0 +1,3 @@
---
rougail: # Rougail
var: string1 # A variable

View file

@ -0,0 +1,4 @@
---
rougail: # Rougail
var1: string1 # A first variable
var2: string1 # A second variable

View file

@ -0,0 +1,5 @@
---
rougail: # Rougail
my_variable: val1
my_calculated_variable:
- val1

View file

@ -0,0 +1,5 @@
---
rougail: # Rougail
my_variable: val1
my_calculated_variable:
- val1

View file

@ -0,0 +1,6 @@
---
rougail: # Rougail
my_variable: val1
my_calculated_variable:
- val1
- value

View file

@ -0,0 +1,6 @@
---
rougail: # Rougail
my_calculated_variable:
- string1
- string2
- string3

View file

@ -0,0 +1,8 @@
---
rougail: # Rougail
my_variable:
- val1
- val2
my_calculated_variable:
- val1
- val2

View file

@ -0,0 +1,4 @@
---
rougail: # Rougail
var1: no # A first variable
var2: no # A second variable

View file

@ -0,0 +1,4 @@
---
rougail: # Rougail
var1: string1 # A first variable
var2: string1 # A second variable

View file

@ -0,0 +1,4 @@
---
rougail: # Rougail
var1: string1 # A first variable
var2: string1 # A second variable

View file

@ -0,0 +1,3 @@
---
rougail: # Rougail
var: 9 # A variable

View file

@ -0,0 +1,3 @@
---
rougail: # Rougail
var: 9 # A variable

View file

@ -0,0 +1,18 @@
---
rougail: # Rougail
var1: # The first variable
- true
var2: # The second variable
- true
var3: # The third variable
- true
var4: # The forth variable
- false
var5: # The fifth variable
- false
var6: # The sixth variable
- false
var7: # The seventh variable
- true
var8: # The eighth variable
- true

View file

@ -0,0 +1,4 @@
---
rougail: # Rougail
custom2: # A second custom variable
- value

View file

@ -0,0 +1,6 @@
---
rougail: # Rougail
custom1: # A first custom variable
- string1
- string2
- string3

View file

@ -0,0 +1,18 @@
---
rougail: # Rougail
var1: # The first variable
- 0.0
var2: # The second variable
- 0.0
var3: # The third variable
- 0.0
var4: # The forth variable
- 10.1
var5: # The fifth variable
- 10.1
var6: # The sixth variable
- 10.1
var7: # The seventh variable
- 0.0
var8: # The eighth variable
- 0.0

View file

@ -0,0 +1,18 @@
---
rougail: # Rougail
var1: # The first variable
- 0
var2: # The second variable
- 0
var3: # The third variable
- 0
var4: # The forth variable
- 10
var5: # The fifth variable
- 10
var6: # The sixth variable
- 10
var7: # The seventh variable
- 0
var8: # The eighth variable
- 0

View file

@ -0,0 +1,6 @@
---
rougail: # Rougail
var: # The first variable
- 1
- 2
- 3

View file

@ -0,0 +1,5 @@
---
rougail: # Rougail
var1: # The second variable
- value
- null

View file

@ -0,0 +1,12 @@
---
rougail: # Rougail
var4: # The forth variable
- value
var5: # The fifth variable
- value
var6: # The sixth variable
- value
var7: # The seventh variable
- value
var8: # The eighth variable
- value

View file

@ -0,0 +1,14 @@
---
rougail: # Rougail
var1: # The first variable
- string1
- string2
- string3
var2: # The second variable
- string1
- string2
- string3
var3: # The third variable
- string1
- string2
- string3

View file

@ -0,0 +1,9 @@
---
rougail: # Rougail
var1: # The variable
- val1
- val2
- val3
var2: # The variable
- val4
- val5

View file

@ -0,0 +1,4 @@
---
rougail: # Rougail
variable: # A variable
- quote"

View file

@ -0,0 +1,4 @@
---
rougail: # Rougail
variable: # A variable
- quote'"

View file

@ -0,0 +1,4 @@
---
rougail: # Rougail
variable: # A variable
- quote'

View file

@ -0,0 +1,6 @@
---
rougail: # Rougail
variable: # A variable
- string1
- string2
- string3

View file

@ -0,0 +1,6 @@
---
rougail: # Rougail
variable1: # A first variable
- a
- b
- c

View file

@ -0,0 +1,3 @@
---
rougail: # Rougail
variable2: a # A second variable

View file

@ -0,0 +1,3 @@
---
rougail: # Rougail
variable: c # A variable

View file

@ -0,0 +1,4 @@
---
rougail: # Rougail
var1: string1 # The first variable
var2: string1 # The second variable

View file

@ -0,0 +1,3 @@
---
rougail: # Rougail
int: 10 # A limited number

Some files were not shown because too many files have changed in this diff Show more