title: Ansible: best practice for maintaining list of sudoers
body: <p>In the <a href="http://docs.ansible.com/ansible/lineinfile_module.html">documentation</a>, there is an example of using the <code>lineinfile</code> module to edit <code>/etc/sudoers</code>.   </p>
  
  <pre><code>- lineinfile: "dest=/etc/sudoers state=present regexp='^%wheel' line='%wheel ALL=(ALL) NOPASSWD: ALL'"
  </code></pre>
  
  <p>Feels a bit hackish. </p>
  
  <p>I assumed there would be something in the <code>user</code> module to handle this but there doesn't appear to be any options.</p>
  
  <p>What are the best practices for adding and removing users to <code>/etc/sudoers</code>?</p>