title: Ansible read csv that has spaces in column names
body: <p>I am trying to read csv in ansible and the file they are sending me has spaces in column names. Example:</p>
  <div class="s-table-container">
  <table class="s-table">
  <thead>
  <tr>
  <th>User name</th>
  <th>Password</th>
  <th>Home phone number</th>
  </tr>
  </thead>
  <tbody>
  <tr>
  <td>sampleuser</td>
  <td>fksdakfjdk</td>
  <td>54545646</td>
  </tr>
  </tbody>
  </table>
  </div>
  <p>I have tried to read it using escape symbols and similar but keep getting error. Since i am new to ansible maybe its something obvious that escapes me.
  any help is appreciated.</p>
  <p>Edit:</p>
  <p>this is something similar to what i need</p>
  <pre><code>- name: Read users from CSV file and return a dictionary
    read_csv:
      path: credentials.csv
    register: users
    delegate_to: localhost
  
  - name:  test   
    command: mkdir /home/{{ item.['User name'] }}
    loop: users.list
  </code></pre>