Made host specific pillar more dynamic
This commit is contained in:
parent
9c2b4e195f
commit
869b5a551f
@ -4,5 +4,7 @@ base:
|
||||
- packages
|
||||
- repositories
|
||||
|
||||
'exsilio':
|
||||
- hosts.exsilio
|
||||
{% if salt['file.file_exists']('hosts/{0}.sls'.format(grains.id)) %}
|
||||
'{{ grains.id }}':
|
||||
- hosts.{{ grains.id }}
|
||||
{% endif %}
|
||||
|
Loading…
Reference in New Issue
Block a user