Skip to content

Commit

Permalink
Merge pull request #93 from znz/add-missing-Vagrantfile
Browse files Browse the repository at this point in the history
Add missing Vagrant and ignore .vagrant
  • Loading branch information
znz committed Jan 30, 2020
2 parents 26087ea + 640ccac commit 6632903
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/.vagrant/
/sources/
/**/1.*
/**/2.*
Expand Down
27 changes: 27 additions & 0 deletions Vagrantfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# -*- mode: ruby -*-
# vi: set ft=ruby :

Vagrant.configure('2') do |config|
config.vm.box = 'debian/stretch64'

docs_https_port = ENV.fetch('DOCS_HTTPS_PORT') { 10443 }.to_i
config.vm.network 'forwarded_port', guest: 443, host: docs_https_port

config.vm.provision 'ansible' do |ansible|
ansible.compatibility_mode = '2.0'
ansible.playbook = 'provision/playbook.yml'
ansible.extra_vars = {
docs_https_port: docs_https_port,
}
end

config.vm.provision 'ansible' do |ansible|
ansible.compatibility_mode = '2.0'
ansible.playbook = 'provision/selfsigned.yml'
end

config.vm.provision 'ansible' do |ansible|
ansible.compatibility_mode = '2.0'
ansible.playbook = 'provision/rurema-search.yml'
end
end

0 comments on commit 6632903

Please sign in to comment.