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