code: def _render_profile(path, caller, runner):
      '''
      Render profile as Jinja2.
      :param path:
      :return:
      '''
      env = jinja2.Environment(loader=jinja2.FileSystemLoader(os.path.dirname(path)), trim_blocks=False)
      return env.get_template(os.path.basename(path)).render(salt=caller, runners=runner).strip(f _render_profile(path, caller, runner):
      '''
      Render profile as Jinja2.
      :param path:
      :return:
      '''
      env = jinja2.Environment(loader=jinja2.FileSystemLoader(os.path.dirname(path)), trim_blocks=False)
      return env.get_template(os.path.basename(path)).render(salt=caller, runners=runner).strip()
docs: Render profile as Jinja2.
      :param path:
      :return: