dotfiles/salt/pillars/top.sls
2020-07-31 15:12:20 +02:00

12 lines
200 B
Plaintext

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