python-anyconfig icon indicating copy to clipboard operation
python-anyconfig copied to clipboard

support templates only in values like ansible playbooks

Open ssato opened this issue 9 years ago • 1 comments

it should be useful if some values are jinja2 template string instead of entire configuration files are jinja2 templates.

ssato avatar Sep 11 '16 14:09 ssato

It seems difficult or not difficult but farely costly than I expected. Maybe I can extend parse_value() to compile template strings but it needs to be implemented in all backend parsers because only xml and ini backend parse values if ac_parse_value option was given, or all value template strings should be compiled after nested dict contains them is constructed.

ssato avatar Apr 01 '17 07:04 ssato