title: Ansible-lint: do not understand confusing linting error
body: <p>I am working with a CI/CD pipeline and part of the pipeline runs <code>ansible-lint</code> against some playbooks. Ansible-lint is run via a docker container. I have some playbooks that are giving me a very confusing error. Here is an example playbook and the results of running <code>ansible-lint</code>.</p>
  <p>Playbook:</p>
  <pre><code>---
  - name: &quot;SET CONFIG&quot;
    hosts: my_host
  
    tasks:
      - name: Test
        debug:
          msg: &quot;Test message&quot;
  </code></pre>
  <p>ansible-lint command: <code>ansible-lint playbook.yml</code></p>
  <p>ansible-lint output:</p>
  <pre><code>Couldn't parse task at playbook.yml:6 (conflicting action statements: debug, __line__
  
  The error appears to be in '&lt;unicode string&gt;': line 6, column 7, but may
  be elsewhere in the file depending on the exact syntax problem.
  
  (could not open file to display line))
  { 'debug': {'__file__': 'playbook.yml', '__line__': 8, 'msg': 'Test message'},
    'name': 'Test',
    'skipped_rules': []}
  </code></pre>
  <p>I am getting this error on several playbooks but I have boiled it down to this small test playbook to illustrate what's happening. I truly cannot understand what is going on. If I remove the <code>tasks</code> definition the playbook lints just fine.</p>
  <p>I am running the following:</p>
  <ul>
  <li>Python: 3.8.5</li>
  <li>Ansible: 2.8.5</li>
  <li>Ansible-lint: 4.2.0</li>
  <li>Docker: 19.03.5</li>
  </ul>
  <p>Anybody have ideas as to what is going on? I have seen other similar questions on StackOverflow but those solutions all seem to indicate that the tasks need to be separated. This playbook has only <em>one</em> task.</p>