Switch local testing to subdomain model
Requires manual setup through hosts file or dns server for now.
This commit is contained in:
parent
c5eac2a846
commit
b393c0b946
4 changed files with 30 additions and 10 deletions
5
Vagrantfile
vendored
5
Vagrantfile
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue