title: Ansible tasks cannot have sudo_user on a certain Vagrant box (bento)
body: <p>The following task fails on a Vagrant box (ubuntu 12.04 chefless) <a href="http://opscode.github.io/bento/" rel="noreferrer">http://opscode.github.io/bento/</a></p>
  
  <pre><code>  - name: ensure database is created
      postgresql_db: name={{dbname}}
      sudo_user: postgres
  </code></pre>
  
  <p>fd</p>
  
  <pre><code>failed: [192.168.78.8] =&gt; {"failed": true, "parsed": false}
  invalid output was: Sorry, user vagrant is not allowed to execute '/bin/sh -c echo SUDO-SUCCESS-lalargtagydzinzenmftocwaiucrmxuk; /usr/bin/python /tmp/ansible-1392568385.89-150322815243790/postgresql_db' as postgres on cogol-dev.
  </code></pre>
  
  <p>Will I need to create my own box ?</p>
  
  <p>=== content of /etc/sudoers</p>
  
  <pre><code>Defaults    env_reset
  Defaults    exempt_group=sudo
  Defaults    mail_badpass
  Defaults    secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
  
  # Host alias specification
  
  # User alias specification
  
  # Cmnd alias specification
  
  # User privilege specification
  root    ALL=(ALL:ALL) ALL
  
  # Members of the admin group may gain root privileges
  %admin ALL=(ALL) ALL
  
  # Allow members of group sudo to execute any command
  %sudo   ALL=NOPASSWD:ALL
  
  # See sudoers(5) for more information on "#include" directives:
  
  #includedir /etc/sudoers.d
  </code></pre>