try adding gather_facts: false to avoid running the setup module (you
don't seem to need it here), also check that you don't have sudo
enabled in ansible.cfg, as the error suggest you are tying to use it
when not present. Or you can just turn it off for that pllay.

---
- hosts: vhosts
  gather_facts: false
  sudo: no
  remote_user: root






-- 
Brian Coca

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAJ5XC8nVmOqM2t%2BH%3DDmV93wFJ4ADa06g8HPg8FJ8NrR82hCtbw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to