File tree Expand file tree Collapse file tree 1 file changed +2
-12
lines changed Expand file tree Collapse file tree 1 file changed +2
-12
lines changed Original file line number Diff line number Diff line change @@ -50,18 +50,8 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
50
50
vm_config . vm . provision :hostmanager
51
51
end
52
52
53
- if vm_config . vm . hostname . include? "ubuntu"
54
- # Install Ansible native packages so the Ansible provisioner will work on systems
55
- # without Python 2.7 (i.e. Xenial)
56
- vm_config . vm . provision "shell" ,
57
- inline : "sudo apt-add-repository -y ppa:ansible/ansible; sudo apt-get update; sudo apt-get install -y ansible"
58
- end
59
- if vm_config . vm . hostname . include? "centos"
60
- vm_config . vm . provision "shell" ,
61
- inline : "sudo yum -y install epel-release; sudo yum -y install ansible git"
62
- end
63
-
64
- vm_config . vm . provision :ansible do |ansible |
53
+ vm_config . vm . provision :ansible_local do |ansible |
54
+ ansible . install = true
65
55
ansible . playbook = "stackstorm.yml"
66
56
end
67
57
end
You can’t perform that action at this time.
0 commit comments