dransible-old/Vagrantfile

26 lines
677 B
Ruby
Raw Normal View History

2019-01-22 17:33:05 +00:00
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "geerlingguy/ubuntu1604"
config.vm.hostname = "dransible"
config.vm.network "private_network", ip: "192.168.33.10"
config.vm.provider "virtualbox" do |vb|
vb.name = 'dransible'
end
# Set the name of the VM. See: http://stackoverflow.com/a/17864388/100134
config.vm.define :dransible do |dransible|
end
2019-01-22 17:35:45 +00:00
config.vm.provision "ansible" do |ansible|
ansible.compatibility_mode = "2.0"
2019-01-22 18:11:32 +00:00
ansible.playbook = "ansible/provisioning/main.yml"
2019-01-22 17:35:45 +00:00
ansible.inventory_path = "ansible/hosts.ini"
ansible.become = true
2019-01-22 20:56:02 +00:00
ansible.ask_vault_pass = true
2019-01-22 17:35:45 +00:00
end
2019-01-22 17:33:05 +00:00
end