dotfiles/salt/pillars/top.sls
2020-05-12 15:22:55 +02:00

11 lines
190 B
Plaintext

base:
'*':
- user
- packages
- repositories
{% if salt['file.file_exists']('hosts/{0}.sls'.format(grains.id)) %}
'{{ grains.id }}':
- hosts.{{ grains.id }}
{% endif %}