Group provisioning items

This commit is contained in:
Oliver Davies 2019-01-22 18:11:32 +00:00
parent 8508d1675b
commit 6b18fcbf91
3 changed files with 9 additions and 1 deletions

2
Vagrantfile vendored
View file

@ -16,7 +16,7 @@ Vagrant.configure("2") do |config|
config.vm.provision "ansible" do |ansible| config.vm.provision "ansible" do |ansible|
ansible.compatibility_mode = "2.0" ansible.compatibility_mode = "2.0"
ansible.playbook = "ansible/provision.yml" ansible.playbook = "ansible/provisioning/main.yml"
ansible.inventory_path = "ansible/hosts.ini" ansible.inventory_path = "ansible/hosts.ini"
ansible.become = true ansible.become = true
end end

View file

@ -1,3 +1,4 @@
---
- hosts: dransible - hosts: dransible
become: true become: true
@ -7,3 +8,6 @@
- geerlingguy.php - geerlingguy.php
- geerlingguy.php-mysql - geerlingguy.php-mysql
- geerlingguy.composer - geerlingguy.composer
vars_files:
- vars/main.yml

View file

@ -0,0 +1,4 @@
---
apache_vhosts:
- servername: dransible
documentroot: "/var/www/app/web"