Commit 32f46223 authored by Hispanico's avatar Hispanico

Initial commit

parents
# General
.vagrant/
*.logs
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "debian/stretch64"
end
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "debian/stretch64"
config.ssh.insert_key = false
config.vm.provider :virtualbox do |v|
v.name = "openwisp2"
v.memory = 512
v.cpus = 2
end
config.vm.hostname = "openwisp2"
config.vm.network :private_network, ip: "192.168.56.2"
# Set the name of the VM. See: http://stackoverflow.com/a/17864388/100134
config.vm.define :openwisp2 do |openwisp2|
end
# Ansible provisioner.
config.vm.provision "ansible" do |ansible|
ansible.playbook = "provisioning/playbook.yml"
ansible.inventory_path = "provisioning/inventory"
ansible.become = true
end
end
[openwisp2]
192.168.56.2 ansible_ssh_port=22
---
- hosts: openwisp2
gather_facts: yes
roles:
- openwisp.openwisp2
vars:
postfix_myhostname: localhost
---
- src: openwisp.openwisp2
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment