roles: Inherit from global vars with defaults
Global options such as 'timezone' or 'puid' can be set on a host and all (relevant) roles will inherit them. Will be used for more variables in the future.
This commit is contained in:
parent
770da26b03
commit
812deeb12d
4 changed files with 21 additions and 16 deletions
|
|
@ -1,8 +1,9 @@
|
|||
---
|
||||
# inherited from global
|
||||
stack_grocy_tz: "{{ timezone | default('America/Chicago') }}"
|
||||
stack_grocy_puid: "{{ puid | default(1000) }}"
|
||||
stack_grocy_pgid: "{{ pgid | default(100) }}"
|
||||
stack_grocy_umask_set: "{{ umask_set | default(022) }}"
|
||||
|
||||
stack_grocy_env_dir: /opt/stack_grocy
|
||||
|
||||
stack_grocy_puid: 1000
|
||||
stack_grocy_pgid: 100
|
||||
stack_grocy_tz: America/Chicago
|
||||
stack_grocy_umask_set: 022
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue