NBCUTechnology / pubstack

⛔️ [DEPRECATED] Publisher's DevStack
MIT License
8 stars 8 forks source link

Switch to ansible_local provisioner #192

Closed cweagans closed 7 years ago

cweagans commented 8 years ago

https://docs.vagrantup.com/v2/provisioning/ansible_local.html

Removes the need to install Ansible on the host.

scottrigby commented 8 years ago

@cweagans you had a version of this working, right? I still like this idea. What is the downside (provisioning time etc)?

cweagans commented 8 years ago

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|.

scottrigby commented 7 years ago

Cool idea, but here's a better one. See #194. 😉