{% from 'vars/elasticsearch.map.jinja' import ELASTICSEARCH_GLOBALS %}
{% from 'vars/sensor.map.jinja' import SENSOR_GLOBALS %}

{% set ROLE_GLOBALS = {} %}

{% set IMPORT_GLOBALS =
   [
     ELASTICSEARCH_GLOBALS,
     SENSOR_GLOBALS
   ]
%}

{% for sg in IMPORT_GLOBALS %}
{%   do salt['defaults.merge'](ROLE_GLOBALS, sg, merge_lists=False, in_place=True) %}
{% endfor %}
