this works all by itself nice.

This commit is contained in:
do
2020-05-24 15:56:45 +02:00
parent b929a454f2
commit 672e6decab

View File

@@ -1,5 +1,6 @@
{% if salt['file.file_exists']({0}.sls'.format(grains.get('nodename'))) %}
include:
- .{{ grains.get('nodename') }}
{% endif %}
- base.hostconfig.{{ grains.get('nodename') }}
#{% if salt['file.file_exists']('{0}.sls'.format(grains.get('nodename'))) %}
#- base.hostconfig.{{ grains.get('nodename') }}
#{% endif %}