How to connect to vagrant machine using ip address?

Try adding IP in a second canonical entry in site_hosts in group_vars/development/wordpress_sites.yml like second example here

Then ANSIBLE_TAGS=wordpress vagrant provision

2 Likes