Ansible role: Rougail β–Œ πŸ›ˆ Informations β–Œ  β–Œ  basic  Role variables ┏━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━━━━┳━━━━━━━━━━━━┓ ┃ ┃ ┃ Default  ┃ ┃ Access  ┃ ┃ ┃ Variable  ┃ Descripti… ┃ value  ┃ Type  ┃ control  ┃ Validator  ┃ ┑━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━━━━╇━━━━━━━━━━━━┩ β”‚ condition β”‚ A β”‚ no β”‚  string    β”‚  standard  β”‚ β”‚ β”‚ β”‚ condition… β”‚ β”‚ mandatory  β”‚ β”‚ β”‚ β”‚ β”‚ variable. β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€ β”‚ variable1 β”‚ A first β”‚ β”‚  string    β”‚  basic    β”‚  unique  β”‚ β”‚ β”‚ variable. β”‚ β”‚ multiple  β”‚ disabled  β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ mandatory  β”‚ Disabled: β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ if β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ condition β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ is egal to β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ "yes" β”‚ β”‚ β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€ β”‚ variable2 β”‚ A second β”‚ β”‚  string    β”‚  basic    β”‚  unique  β”‚ β”‚ β”‚ variable. β”‚ β”‚ multiple  β”‚ disabled  β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ mandatory  β”‚ Disabled: β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ if β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ condition β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ is egal to β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ "yes" β”‚ β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ Example playbook with Rougail β–Œ πŸ›ˆ Informations β–Œ  β–Œ Do not forget to add Rougail structural file as Rougail types. Add to your structural file something like: ---  path:   to:   my_rougail:   type: rougail   variable1:   - string1   - string2   - string3   variable2:   - string1   - string2   - string3  Add to your playbook: ---  - name: Rougail   hosts: server   roles:   - role: .rougail   vars: path.to.rougail  Example playbook ---  - name: Rougail   hosts: server   roles:   - role: .rougail   vars:   rougail: # Rougail   variable1: # A first variable   - string1   - string2   - string3   variable2: # A second variable   - string1   - string2   - string3