dirkaholic / vagrant-php-dev-box

PHP 7 vagrant development box with nginx, php-fpm, MySQL, Symfony, Laravel, ... on Ubuntu 16.04
477 stars 141 forks source link

Role-based setup #30

Closed mraerino closed 7 years ago

mraerino commented 7 years ago

Would you consider accepting a pull-request, that would refactor the playbook to use roles instead of task includes?

Right now, if I want to use just parts of your playbook, I need to copy most of the vagrant.yml playbook, instead of just including some roles. The advantage would be having handlers, templates and tasks bundled together in the role definition.

dirkaholic commented 7 years ago

Sure, feel free to open a PR. I think using roles is the better way anyways.

dirkaholic commented 7 years ago

Hi @mraerino, I opened #31 in order to refactor the playbooks into roles. Maybe you can test it ?