try this: ansible-playbook -i hosts site.yml --user admin --ask-pass --become
`--become-user admin` is basically telling ansible to login as admin and then use sudo to become admin, which is basically useless. With the command above it will become 'root', the default. ---------- 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/CACVha7cuHOqm2HHATyT1y0Ke1U9ZXFPsUS_nqA10CF3zEgcVOg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
