-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Don’t paste files into the docs. Include the files instead. #145
Comments
I agree that this would make roles easier to use, especially for those that don't use the full DebOps project. Putting the playbooks in |
Coincidentally,I thought about using playbooks included with the roles in similar fashion in the main |
Thanks for your input. I decided to go with putting the playbook(s) under
But I am also ok with putting it into |
If these playbooks are meant to be just examples then sure, I suppose putting them in I would be wary of reusing |
Sounds good. Ok so for the default playbook we can use the role name. And for additional playbooks? I have one practical example for this:
|
I would go with
I imagine that could result in a collision... So yeah, let's go with playbook names prefixed with role name. |
OK. Decision summary:
|
Don't hard-depend on roles anymore (see debops/debops-playbooks#192). Include example playbook instead of inlining it (see debops/docs#145).
Currently, the
docs/getting-started.rst
contain something like this:Why not just place the playbook as is into
docs/playbooks/${role_name}.yml
and then include it into the rendered docs like so:Advantages
Example role: https://github.com/ypid/ansible-x2go_server/tree/master/docs
The text was updated successfully, but these errors were encountered: