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