Skip to content
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

Templates do not work #919

Closed
14rcole opened this issue Jan 28, 2019 · 4 comments
Closed

Templates do not work #919

14rcole opened this issue Jan 28, 2019 · 4 comments
Milestone

Comments

@14rcole
Copy link
Contributor

14rcole commented Jan 28, 2019

Jinja template variables in docs/source/examples/workspaces/inventory-templates/ are left blank and the template variables for the layout file in docs/source/examples/workspaces/dummy/PinFile are treated as string literals so that the inventory file exists inside of a directory called {{ workspaces }}

@skatlapa
Copy link
Contributor

please make sure you enclose jinja vars in " " and loop me in if needed for next steps, thanks!

@skatlapa
Copy link
Contributor

its to do with {raw}, please ignore above (for dummy provider)

@14rcole
Copy link
Contributor Author

14rcole commented Jan 30, 2019

@skatlapa you're right but it still doesn't work. In the case of the dummy provider, {% raw %} is causing the string to be treated as a literal. Thanks for that tip. However, the variable values are still not being filled in for whatever reason. When I remove {% raw %}, I get a permission denied on /inventoriesbecause{{ workspace }}` is empty

@14rcole 14rcole modified the milestone: v1.7.1 Feb 4, 2019
@14rcole
Copy link
Contributor Author

14rcole commented Feb 4, 2019

fixed in #925

@14rcole 14rcole closed this as completed Feb 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants