title: Ansible "postgresql_user" module "priv" parameter syntax clearification
body: <p>The <a href="http://docs.ansible.com/ansible/postgresql_user_module.html">documentation</a> for the postgresql_user module on how privileges for a user should be defined conflicts with itself regarding the format. The format is described as such in the options table:</p>
  
  <pre><code>priv | PostgreSQL privileges string in the format: table:priv1,priv2
  </code></pre>
  
  <p>However, the examples given below use another format</p>
  
  <pre><code>priv: "CONNECT/products:ALL"
  priv: "ALL/products:ALL"
  # Example privileges string format
  INSERT,UPDATE/table:SELECT/anothertable:ALL
  </code></pre>
  
  <p>The blog post <a href="http://blog.2ndquadrant.com/ansible-loves-postgresql/">Ansible Loves PostgreSQL</a> mentions yet another format:</p>
  
  <pre><code>priv: Privileges in “priv1/priv2” or table privileges in “table:priv1,priv2,…” format
  </code></pre>
  
  <p>I'm having trouble creating users with read-only access, i.e. SELECT privilege on all tables.</p>
  
  <p>Could someone shed some light on the correct format to use, exemplified by giving a user read-only access on all tables?</p>