Merge branch 'master' of syntaxerrormmm/server-config into master

Simplify deployment with automatic inventory from vagrant.
This commit is contained in:
Emiliano Vavassori 2018-11-10 12:34:26 +00:00 committed by Gitea
commit ed018db4c2
2 changed files with 5 additions and 4 deletions

6
Vagrantfile vendored
View File

@ -127,7 +127,11 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
#
# chef.validation_client_name = "ORGNAME-validator"
config.vm.provision "ansible" do |ansible|
ansible.inventory_path = "provision_hosts"
# Using default dynamic inventory
ansible.playbook = "provision.yml"
ansible.groups = {
"vagrant" => [ "NethServer" ]
}
ansible.compatibility_mode = "2.0"
end
end

View File

@ -1,3 +0,0 @@
# Generated by Vagrant
[vagrant]
NethServer ansible_ssh_host=127.0.0.1 ansible_ssh_port=2222 ansible_ssh_user=vagrant