title: Ansible mysql grant
body: <p>I want to grant privilege on a db(<code>test_db</code>) to a user(<code>test_user</code>) using Ansible. My command is as shown below.</p>
  
  <pre><code>grant all PRIVILEGES on &lt;test_db&gt;.* to &lt;test_user&gt;@'localhost';
  </code></pre>
  
  <p>How will I execute the command using Ansible.</p>