Switch local testing to subdomain model

Requires manual setup through hosts file or dns server for now.
This commit is contained in:
Marty Oehme 2021-12-09 15:34:49 +01:00
parent c5eac2a846
commit b393c0b946
Signed by: Marty
GPG key ID: B7538B8F50A1C800
4 changed files with 30 additions and 10 deletions

5
Vagrantfile vendored
View file

@ -1,11 +1,14 @@
Vagrant.configure('2') do |config|
config.vm.define 'tau' do |debian|
debian.vm.box = 'bento/ubuntu-20.04'
debian.vm.network :private_network, ip: '192.168.27.2'
debian.vm.network :private_network, ip: '192.168.56.2'
debian.vm.hostname = 'tau'
debian.vm.provider 'virtualbox' do |vb|
vb.memory = '2048'
vb.cpus = 2
end
debian.vm.provision :hosts do |provisioner|
provisioner.add_host '192.168.56.2', ['ansible.test']
end
end
end