rougail-output-ansible/tests/results-doc/test_namespace/00_6choice.sh

55 lines
13 KiB
Bash
Raw Blame History

This file contains invisible Unicode characters

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

Ansible role: Rougail
▌ 🛈 Informations
▌ 
▌  basic 
Role variables
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
 Variable  ┃ Description  ┃ Default value  ┃ Type  ┃ Access control  ┃ Validator  ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
var1 │ The first variable. │ │  choice   mandatory  │  basic  │ Choices: │
│ │ │ │ │ │ • a │
│ │ │ │ │ │ • b │
│ │ │ │ │ │ • c │
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼───────────────────────────────┼──────────────────────────────┤
var2 │ The second variable. │ │  choice   mandatory  │  basic  │ Choices: │
│ │ │ │ │ │ • a │
│ │ │ │ │ │ • b │
│ │ │ │ │ │ • c │
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼───────────────────────────────┼──────────────────────────────┤
var3 │ The third variable. │ │  choice  │  standard  │ Choices: │
│ │ │ │ │ │ • a │
│ │ │ │ │ │ • b │
│ │ │ │ │ │ • c │
│ │ │ │ │ │ • null │
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼───────────────────────────────┼──────────────────────────────┤
var4 │ The forth variable. │ │  choice  │  standard  │ Choices: │
│ │ │ │ │ │ • null │
│ │ │ │ │ │ • b │
│ │ │ │ │ │ • c │
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼───────────────────────────────┼──────────────────────────────┤
var5 │ The fifth variable. │ a │  choice   mandatory  │  standard  │ Choices: │
│ │ │ │ │ │ • a │
│ │ │ │ │ │ • b │
│ │ │ │ │ │ • c │
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼───────────────────────────────┼──────────────────────────────┤
var6 │ The sixth variable. │ 1 choice   mandatory  │  standard  │ Choices: │
│ │ │ │ │ │ • 1
│ │ │ │ │ │ • 2
│ │ │ │ │ │ • 3
└──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴───────────────────────────────┴──────────────────────────────┘
Example playbook
 --- 
 - name: Rougail 
 hosts: server 
 roles: 
 - role: <author>.rougail 
  vars: 
 rougail: # Rougail 
 var1: a # The first variable 
 var2: a # The second variable