rougail-output-ansible/tests/results-doc/test_namespace/01_6boolean_multi.sh

80 lines
9.4 KiB
Bash
Raw Normal View History

2026-01-14 14:25:35 +01:00
Ansible role: Rougail
▌ 🛈 Informations
▌ 
▌  standard 
Role variables
2026-02-21 21:31:34 +01:00
┏━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━━━━┳━━━━━━━━━━━━┓
 ┃ ┃ Default  ┃ ┃ Access  ┃ ┃
 Variable  ┃ Descripti… ┃ value  ┃ Type  ┃ control  ┃ Validator  ┃
┡━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━━━━╇━━━━━━━━━━━━┩
var1 │ The first │ • true boolean  │  standard  │  unique  │
│ │ variable. │ │ multiple  │ │ │
│ │ │ │ mandatory  │ │ │
├────────────┼────────────┼────────────┼────────────┼─────────────┼────────────┤
var2 │ The second │ • true boolean  │  standard  │  unique  │
│ │ variable. │ │ multiple  │ │ │
│ │ │ │ mandatory  │ │ │
├────────────┼────────────┼────────────┼────────────┼─────────────┼────────────┤
var3 │ The third │ • true boolean  │  standard  │  unique  │
│ │ variable. │ │ multiple  │ │ │
│ │ │ │ mandatory  │ │ │
├────────────┼────────────┼────────────┼────────────┼─────────────┼────────────┤
var4 │ The forth │ • false boolean  │  standard  │  unique  │
│ │ variable. │ │ multiple  │ │ │
│ │ │ │ mandatory  │ │ │
├────────────┼────────────┼────────────┼────────────┼─────────────┼────────────┤
var5 │ The fifth │ • false boolean  │  standard  │  unique  │
│ │ variable. │ │ multiple  │ │ │
│ │ │ │ mandatory  │ │ │
├────────────┼────────────┼────────────┼────────────┼─────────────┼────────────┤
var6 │ The sixth │ • false boolean  │  standard  │  unique  │
│ │ variable. │ │ multiple  │ │ │
│ │ │ │ mandatory  │ │ │
├────────────┼────────────┼────────────┼────────────┼─────────────┼────────────┤
var7 │ The │ • true boolean  │  standard  │  unique  │
│ │ seventh │ │ multiple  │ │ │
│ │ variable. │ │ mandatory  │ │ │
├────────────┼────────────┼────────────┼────────────┼─────────────┼────────────┤
var8 │ The eighth │ • true boolean  │  standard  │  unique  │
│ │ variable. │ │ multiple  │ │ │
│ │ │ │ mandatory  │ │ │
└────────────┴────────────┴────────────┴────────────┴─────────────┴────────────┘
2026-01-14 14:25:35 +01:00
2026-01-21 08:55:24 +01:00
Example playbook with Rougail
▌ 🛈 Informations
▌ 
2026-02-21 21:44:55 +01:00
▌ Do not forget to add Rougail structural file as Rougail types.
2026-01-21 08:55:24 +01:00
Add to your structural file something like:
2026-02-21 21:31:34 +01:00
--- 
path: 
 to: 
 my_rougail: 
 type: rougail 
2026-01-21 08:55:24 +01:00
Add to your playbook:
2026-02-21 21:31:34 +01:00
--- 
- name: Rougail 
 hosts: server 
 roles: 
 - role: <author>.rougail 
 vars: path.to.rougail 
2026-01-21 08:55:24 +01:00
2026-01-14 14:25:35 +01:00
Example playbook
2026-02-21 21:31:34 +01:00
--- 
- name: Rougail 
 hosts: server 
 roles: 
 - role: <author>.rougail