mazer-rackham
mazer-rackham copied to clipboard
vagrant provision setup error
hi, I used the directive in the readme to launch the playbook with vagrant, but I encounted an error:
==> default: Running provisioner: ansible...
ERROR! Specified --limit does not match any hosts
Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.
I already renamed the Vagrantfile
and the ansible_hosts
file, also uncommented the line in imgur-display-setup.yml
to vagrant user. all with the instructions in the readme. The vm was initialized and up but provision step throwed the error. I don't know where is wrong, could you help me ?
I solved the problem, adding this line in the Vagrantfile:
config.vm.provision :ansible do |ansible|
ansible.playbook = "imgur-display-setup.yml"
ansible.inventory_path = "ansible_hosts"
ansible.limit = "all" ### <<-- adding this line
end
@lhrkkk fix worked for me. Thx
Thanks for the fix!
Awesome
thank you! 🙏