Unfortunately ansible throws TemplateNotFound error:
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: jinja2.exceptions.TemplateNotFound: option.ji2
Using relative or absolute path to template doesn’t help.
templates/option.ji2
…/templates/option.ji2
/home/ansible/.ansible/roles/named/templates/option.ji2
Any ideas why ansible can’t find/use template option.ji2?
Unfortunately ansible throws *TemplateNotFound* error:
An exception occurred during task execution. To see the full traceback,
use -vvv. The error was:
jinja2.exceptions.TemplateNotFound: option.ji2
Using relative or absolute path to template doesn't help.
templates/option.ji2
../templates/option.ji2
/home/ansible/.ansible/roles/named/templates/option.ji2
Any ideas why ansible can't find/use template option.ji2?
I suggest to follow the advice to use -vvv and see which paths are considered by Ansible.
Unfortunately ansible throws *TemplateNotFound* error:
An exception occurred during task execution. To see the full traceback,
use -vvv. The error was:
jinja2.exceptions.TemplateNotFound: option.ji2
Using relative or absolute path to template doesn't help.
templates/option.ji2
../templates/option.ji2
/home/ansible/.ansible/roles/named/templates/option.ji2
Any ideas why ansible can't find/use template option.ji2?
I suggest to follow the advice to use -vvv and see which paths are considered by Ansible.
Regards
Racke
Hello,
in this case -vvv doesn't help.
I found out with strace that Ansible looks into the current directory for
the %include file.
Regards
Racke
--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send