forked from hypebeast/ansible-flask-stack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathVagrantfile
27 lines (22 loc) · 868 Bytes
/
Vagrantfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = '2'
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# Ensure we use our vagrant private key
config.ssh.insert_key = false
config.ssh.private_key_path = '~/.vagrant.d/insecure_private_key'
config.vm.define 'ansibleflask.local' do |machine|
machine.vm.box = 'ubuntu/trusty64'
machine.vm.network :private_network, ip: '192.168.88.22'
machine.vm.hostname = 'ansibleflask.local'
machine.vm.synced_folder '.', '/vagrant', disabled: true
machine.vm.provision "ansible" do |ansible|
ansible.verbose = "v"
ansible.playbook = "tests/test.yml"
ansible.sudo = true
ansible.inventory_path = 'vagrant-inventory'
ansible.host_key_checking = false
end
end
end