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

Prepare debops.pki environment: Failed to template ... pki_env_secret_directories.j2 #39

Closed
htgoebel opened this issue Feb 14, 2016 · 2 comments

Comments

@htgoebel
Copy link
Contributor

Then installing a fresh system, I get this error: (line-breaks and ellipsis by me)

TASK: [debops.pki/env | Prepare debops.pki environment] *********************** 
fatal: [server] => Failed to template
{{ lookup("template", "lookup/pki_env_secret_directories.j2") | from_yaml }}:
unable to read [....]/debops.pki/env/tasks/lookup/pki_env_secret_directories.j2

The requested file exists in debops.pki/env/templates/lookup/ (templates, not tasks)

Using current HEAD (279905a).

@drybjed
Copy link
Member

drybjed commented Feb 14, 2016

Are you using Ansible 2.0+? The older version is looking for templates in files/ instead of templates/.

@htgoebel
Copy link
Contributor Author

Thanks for the quick response. I was using 1.9.4.

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