I have installed Vagrant, VirtualBox and Ansible and trying to run provision over one host but it always returns \"skipping: no hosts matched\"
The head of my playbook f
It could help to post your Vagrantfile and your ansible inventory file.
Are you using the default ansible provider of vagrant?
did you specify the inventory_path
?
config.vm.provision :ansible do |ansible| ansible.playbook = "provisioning/playbook.yml" ansible.inventory_path = "provisioning/ansible_hosts" end
--connection=local
try a /etc/ansible/hosts[webserver1] 127.0.0.1 ansible_connection=local