|
|
@@ -13,7 +13,7 @@ Vagrant.configure(2) do |config| |
|
|
# Every Vagrant development environment requires a box. You can search for |
|
|
# Every Vagrant development environment requires a box. You can search for |
|
|
# boxes at https://atlas.hashicorp.com/search. |
|
|
# boxes at https://atlas.hashicorp.com/search. |
|
|
#config.vm.box = "jessie64" |
|
|
#config.vm.box = "jessie64" |
|
|
config.vm.box = "debian/stretch64" |
|
|
|
|
|
|
|
|
config.vm.box = "debian/buster64" |
|
|
|
|
|
|
|
|
# Disable automatic box update checking. If you disable this, then |
|
|
# Disable automatic box update checking. If you disable this, then |
|
|
# boxes will only be checked for updates when the user runs |
|
|
# boxes will only be checked for updates when the user runs |
|
|
@@ -39,7 +39,7 @@ Vagrant.configure(2) do |config| |
|
|
# the path on the guest to mount the folder. And the optional third |
|
|
# the path on the guest to mount the folder. And the optional third |
|
|
# argument is a set of non-required options. |
|
|
# argument is a set of non-required options. |
|
|
# config.vm.synced_folder "../data", "/vagrant_data" |
|
|
# config.vm.synced_folder "../data", "/vagrant_data" |
|
|
config.vm.synced_folder "ansible", "/root" |
|
|
|
|
|
|
|
|
#config.vm.synced_folder "ansible", "/root" |
|
|
|
|
|
|
|
|
# Provider-specific configuration so you can fine-tune various |
|
|
# Provider-specific configuration so you can fine-tune various |
|
|
# backing providers for Vagrant. These expose provider-specific options. |
|
|
# backing providers for Vagrant. These expose provider-specific options. |
|
|
@@ -73,11 +73,10 @@ Vagrant.configure(2) do |config| |
|
|
|
|
|
|
|
|
config.vm.provision "ansible" do |ansible| |
|
|
config.vm.provision "ansible" do |ansible| |
|
|
ansible.playbook = "ansible/ispmail.yml" |
|
|
ansible.playbook = "ansible/ispmail.yml" |
|
|
ansible.sudo = true |
|
|
|
|
|
#ansible.become = true |
|
|
|
|
|
|
|
|
ansible.become = true |
|
|
#ansible.become_user = 'root' |
|
|
#ansible.become_user = 'root' |
|
|
#ansible.compatibility_mode = '2.0' |
|
|
|
|
|
#ansible.verbose = 'vvv' |
|
|
|
|
|
|
|
|
ansible.compatibility_mode = '2.0' |
|
|
|
|
|
##ansible.verbose = 'vvv' |
|
|
end |
|
|
end |
|
|
|
|
|
|
|
|
config.vm.provider "virtualbox" do |vb| |
|
|
config.vm.provider "virtualbox" do |vb| |
|
|
|