File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change 1+ # -*- mode: ruby -*-
2+ # vi: set ft=ruby :
3+
4+ Vagrant . configure ( '2' ) do |config |
5+
6+ # Ensure we use our vagrant private key
7+ config . ssh . insert_key = false
8+ config . ssh . private_key_path = '~/.vagrant.d/insecure_private_key'
9+
10+ config . vm . define 'anxs' do |machine |
11+ #machine.vm.box = "bento/ubuntu-16.04"
12+ # machine.vm.box = "ubuntu/trusty64"
13+ #machine.vm.box = "ubuntu/precise64"
14+ #machine.vm.box = "debian/jessie64"
15+ #machine.vm.box = "debian/wheezy64"
16+ machine . vm . box = "centos/7"
17+ #machine.vm.box = "centos/6"
18+
19+ machine . vm . network :private_network , ip : '192.168.88.22'
20+ machine . vm . hostname = 'anxs.local'
21+
22+ machine . vm . provision 'ansible' do |ansible |
23+ ansible . playbook = 'tests/playbook.yml'
24+ ansible . verbose = "v"
25+ ansible . become = true
26+ ansible . inventory_path = 'vagrant-inventory'
27+ ansible . host_key_checking = false
28+ end
29+
30+ end
31+
32+ end
You can’t perform that action at this time.
0 commit comments