title: Ansible use alias from shell module when bash_profile is sourced
body: <p>So I have an issue while using Ansible and the shell module.
  What I'm trying to do is use an alias which exist on my remote host, but when I try to use it in the shell module it says that this command doesn't exist.</p>
  <p>Let's say that in my bash_profile I got this alias :</p>
  <p><strong>alias test='cd /test/folder'</strong></p>
  <p>What I do on Ansible is this :</p>
  <pre><code>- name: Task that need to use an alias from the remote host
    shell: |
      source /root/.bash_profile &amp;&amp; test
    args:
      executable: /bin/bash 
  </code></pre>
  <p>But it doesn't work... it says that the command <strong>test</strong> doesn't exist.</p>
  <p>I tried with this as an executable, but no luck :</p>
  <pre><code> executable: /bin/bash -i
  </code></pre>
  <p>What I can confirm, is that the sourcing of the bash_profile is working well, because I did this command : <code>source /root/.bash_profile &amp;&amp; alias</code> to test and and I saw my alias available.</p>
  <p>I also tried that way, but still doesn't work :</p>
  <pre><code>shell: |
      source /root/.bash_profile 
      test
  </code></pre>
  <p>And last thing I tried is using the <code>eval</code> command like so, but still with no luck :</p>
  <pre><code>shell: |
      source /root/.bash_profile &amp;&amp; eval test
  </code></pre>
  <p>I don't really what to try anymore... I just need to use an alias while executing the shell module, can anyone help me on this?</p>
  <p>Thank you!</p>