title: Ansible string concat before filter
body: <p>I was having an issue in my Ansible template where I wanted to create an HTTP basic auth credential out of two different variables a user inputs into the play.</p>
  
  <p>The first thing I tried to do was:</p>
  
  <pre><code>basic_auth: "{{ user + ':' + pass | b64encode }}"
  </code></pre>
  
  <p>However I ended up with:</p>
  
  <pre><code>basic_auth: "user:&lt;BASE64_ENCODED&gt;"
  </code></pre>
  
  <p>How can I have Jinja concatenate these strings and then pass it through my filter?</p>