title: YAML syntax issue in Ansible
body: <p>I have the following line in Ansible script:</p>
  
  <pre><code>- name: get UUID    
    shell: "blkid | grep test--tgroup* | grep xfs | awk -F : '{print "blkid -s UUID -o value "$1}' |sh"
    register: UUID_value
  </code></pre>
  
  <p>I get the following error when I run the script:</p>
  
  <pre><code>ERROR! Syntax Error while loading YAML.
  The error appears to have been in '/etc/ansible/config/test.yml': line...
  May be elsewhere in the file depending on the exact syntax problem.
  
  The offending line appears to be:
      shell: "blkid | grep test--tgroup* | grep xfs | awk -F : '{print "blkid -s UUID -o value "$1}' |sh"
                                                                        ^ here
  </code></pre>
  
  <p>Can anyone tell me how to fix this syntax issue?</p>