Ansible
1
2
3
4
5
6
7
8
9
10
.
├── _provision
│ └── main.yml
│ └── _tasks
│ └── main.yml
│ └── _vars
│ └── main.yml
|
├── _vagrant-box
│ └── Vagrantfile
Vagrant
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#Vagrantfile
Vagrant.require_version ">= 2.2.0"
Vagrant.configure("2") do |config|
config.vm.box = "ubuntu/trusty64"
config.vm.network "public_network"
config.ssh.insert_key = false
config.vm.provision "ansible" do |ansible|
ansible.playbook = "../provision/main.yml"
end
end