title: Print out contents of a file using ansible
body: <p>I want to print out the results of a text file in ansible using cat. This is my code.</p>
  
  <pre><code> tasks:
          - name: This option
            script: "./getIt.py -s {{ myhostname }} -u {{ myuser }} -p {{ mypass }} &gt;&gt; ./It.txt"
            shell: cat ./It.txt
            when: user_option == 'L'
  </code></pre>
  
  <p>This however doesn't work. What am I doing wrong?</p>