Closed cweagans closed 7 years ago
@cweagans you had a version of this working, right? I still like this idea. What is the downside (provisioning time etc)?
I had a hacky version of this at one point. It was installing Ansible manually and then running ansible-playbook
with the shell provisioner. This is the official way to do it, and functions similarly to how the Chef/Puppet provisioners work. I don't think there's a downside here - Pubstack should provision just as quickly.
I think the change might be as simple as changing this line to this: dev.vm.provision 'ansible_local' do |ansible|
.
Cool idea, but here's a better one. See #194. 😉
https://docs.vagrantup.com/v2/provisioning/ansible_local.html
Removes the need to install Ansible on the host.