title: Passing variables with include in salt-stack
body: <p>I have several states that are almost the same. All of them deploy project, create virtualenv and configure supervisor. Difference is only in repo, project name and some additional actions.</p>
  
  <p>A lot of code is duplicated. Is it possible to put the same parts into file and include it with additional variables?</p>
  
  <p>In Ansible it can be done this way:</p>
  
  <pre><code>tasks:
    - include: wordpress.yml
      vars:
          wp_user: timmy
          ssh_keys:
            - keys/one.txt
            - keys/two.txt
  </code></pre>