Group provisioning items
This commit is contained in:
parent
8508d1675b
commit
6b18fcbf91
2
Vagrantfile
vendored
2
Vagrantfile
vendored
|
@ -16,7 +16,7 @@ Vagrant.configure("2") do |config|
|
|||
|
||||
config.vm.provision "ansible" do |ansible|
|
||||
ansible.compatibility_mode = "2.0"
|
||||
ansible.playbook = "ansible/provision.yml"
|
||||
ansible.playbook = "ansible/provisioning/main.yml"
|
||||
ansible.inventory_path = "ansible/hosts.ini"
|
||||
ansible.become = true
|
||||
end
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
---
|
||||
- hosts: dransible
|
||||
become: true
|
||||
|
||||
|
@ -7,3 +8,6 @@
|
|||
- geerlingguy.php
|
||||
- geerlingguy.php-mysql
|
||||
- geerlingguy.composer
|
||||
|
||||
vars_files:
|
||||
- vars/main.yml
|
4
ansible/provisioning/vars/main.yml
Normal file
4
ansible/provisioning/vars/main.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
apache_vhosts:
|
||||
- servername: dransible
|
||||
documentroot: "/var/www/app/web"
|
Loading…
Reference in a new issue