handle strelka

This commit is contained in:
m0duspwnens
2020-09-09 13:57:53 -04:00
parent 3433b90029
commit 918d9cf00f

View File

@@ -5,6 +5,9 @@
# to the list predefined by the role / minion id affix
{% macro append_containers(pillar_name, k, compare )%}
{% if salt['pillar.get'](pillar_name~':'~k, {}) != compare %}
{% if ':enabled' in k %}
{% set k = k.split(':') | first %}
{% endif %}
{% from 'common/maps/'~k~'.map.jinja' import docker as d with context %}
{% for li in d['containers'] %}
{{ docker['containers'].append(li) }}