File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,8 @@ Vagrant.configure('2') do |config|
8
8
config . ssh . private_key_path = '~/.vagrant.d/insecure_private_key'
9
9
10
10
config . vm . define 'anxs' do |machine |
11
- machine . vm . box = "ubuntu/trusty64"
11
+ machine . vm . box = "ubuntu/xenial64"
12
+ #machine.vm.box = "ubuntu/trusty64"
12
13
#machine.vm.box = "ubuntu/precise64"
13
14
#machine.vm.box = "debian/jessie64"
14
15
#machine.vm.box = "debian/wheezy64"
@@ -17,6 +18,14 @@ Vagrant.configure('2') do |config|
17
18
18
19
machine . vm . network :private_network , ip : '192.168.88.22'
19
20
machine . vm . hostname = 'anxs.local'
21
+
22
+ # Install python 2.7 to unbuntu 16.04
23
+ if machine . vm . box == "ubuntu/xenial64"
24
+ machine . vm . provision "shell" do |s |
25
+ s . inline = "sudo apt-get install -y python-minimal"
26
+ end
27
+ end
28
+
20
29
machine . vm . provision 'ansible' do |ansible |
21
30
ansible . playbook = 'tests/playbook.yml'
22
31
ansible . sudo = true
You can’t perform that action at this time.
0 commit comments