title: How to execute shell commands in ansible containing special characters
body: <p>How to execute shell commands in ansible along with special characters?</p>
  
  <pre><code>---
   - name: Displaying the ORACLE_HOME
     hosts: "{{ hostname }}"
     tasks:
     - name:
       shell: echo $ORACLE_HOME
  </code></pre>
  
  <p>I want the output of echo $ORACLE_HOME</p>