It’s because you have transport=local in your ansible.cfg. Remove that and it will default to ssh.
-- 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 view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/cd574164-3e21-4c9e-b4d0-2e9c26029d12%40googlegroups.com.
