hashbangcode / vlad

Vlad - Vagrant LAMP Ansible Drupal
173 stars 53 forks source link

custom_provision yml location #121

Closed mrconnerton closed 9 years ago

mrconnerton commented 9 years ago

Where specific am I suppose to put my custom playbook if I have custom_provision: true? The docs say it lives at ../vlad-custom but what is that relative to? It would be nice to know what files are required, and from the repo root where they would live.

dixhuit commented 9 years ago

"../vlad-custom" is supposed to be relative to the root of Vlad's codebase. For example:

demo-project/
├── vlad-custom/
│   └── [your custom role files]
├── vlad/
│   ├── vlad_aux/
│   ├── vlad/
│   ├── ansible.cfg
│   ├── Vagrantfile
│   └── [and so on...]
└── docroot/
    ├── index.php
    └── [and so on...]

The above example assumes that you've set host_synced_folder to "../docroot" but you could just as easily nest docroot within the first vlad folder (set host_synced_folder to "./docroot").

Does that answer your question?

I'll update the docs to make this more clear. I'll also review what files are required and add detail where needed.

Come to DrupalCamp Brighton and I'll show you in person!

http://www.drupalcampbrighton.co.uk

mrconnerton commented 9 years ago

That does answer my question perfectly. I will give it a swing shortly.

I wish I could cross the pond for the camp but that would be a bit much for me :-)

dixhuit commented 9 years ago

Aaah right, yeah that my be too big an ask :)

Hold your horses, new docs inbound...

dixhuit commented 9 years ago

Relevant docs now updated in dev branch: https://github.com/hashbangcode/vlad/blob/dev/vlad/docs/usage/custom_roles.md

dixhuit commented 9 years ago

Gonna close this now. Feel free to re-open if you still can't get it to behave.