Move from localhost to vagrant
This commit is contained in:
18
Vagrantfile
vendored
Normal file
18
Vagrantfile
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
VAGRANTFILE_API_VERSION = "2"
|
||||
|
||||
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
||||
|
||||
config.vm.box = "archlinux/archlinux"
|
||||
|
||||
# config.vm.network :forwarded_port, guest: 80, host: 80
|
||||
# config.vm.network :forwarded_port, guest: 443, host: 443
|
||||
config.vm.network "public_network", ip: "192.168.0.104", bridge: [ "enp0s31f6" ]
|
||||
|
||||
config.vm.provision :ansible do |ansible|
|
||||
ansible.become = true
|
||||
ansible.compatibility_mode = "2.0"
|
||||
ansible.playbook = "playbook.yml"
|
||||
ansible.raw_arguments = ["--extra-vars=ansible_python_interpreter=/usr/bin/python3"]
|
||||
end
|
||||
|
||||
end
|
Reference in New Issue
Block a user