

def wrap_salts_in_raw(self, host, hostvars):
    if ('vault_wordpress_sites' in hostvars):
        for (name, site) in hostvars['vault_wordpress_sites'].iteritems():
            for (key, value) in site['env'].iteritems():
                if (key.endswith(('_key', '_salt')) and (not value.startswith(('{% raw', '{%raw')))):
                    hostvars['vault_wordpress_sites'][name]['env'][key] = ''.join(['{% raw %}', value, '{% endraw %}'])
        host.vars['vault_wordpress_sites'] = hostvars['vault_wordpress_sites']

dataset/ETHPy150Open roots/trellis/lib/trellis/plugins/vars/vars.py VarsModule.wrap_salts_in_raw/original