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

35 lines
7.6 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  ┃ Type  ┃ Access control  ┃ Validator  ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
variable1 │ A first variable. │  choice   multiple   mandatory  │  basic  │  unique  │
│ │ │ │ │ Choices: │
│ │ │ │ │ • val1 │
│ │ │ │ │ • val2 │
├────────────────────────────────────┼────────────────────────────────────┼─────────────────────────────────────┼────────────────────────────────────┼─────────────────────────────────────┤
variable2 │ A second variable. │  choice   multiple  │  standard  │  unique  │
│ │ │ │ │ Choices: │
│ │ │ │ │ • val1 │
│ │ │ │ │ • val2 │
└────────────────────────────────────┴────────────────────────────────────┴─────────────────────────────────────┴────────────────────────────────────┴─────────────────────────────────────┘
Example playbook
 --- 
 - name: Rougail 
 hosts: server 
 roles: 
 - role: <author>.rougail 
  vars: 
 rougail: # Rougail 
 variable1: # A first variable 
 - val1 
 - val2