title: How to set shell variable in ansible globally
body: <p>I had a problem with locales on vagrant described in <a href="https://stackoverflow.com/questions/27277675/postgres-in-vagrantubuntu14-04">other question</a>.</p>
  
  <p>For fixing this problem I need to set environment variable:</p>
  
  <pre><code>export LC_ALL="en_US.UTF-8"
  </code></pre>
  
  <p>Is there a way to do that globally for playbook?</p>