mirror of https://github.com/ansible/ansible.git
Template parent include path before finding its dirname (#23202)
Given parent include path "{{ var | default('path/file.yml') }}"
os.path.dirname(parent_include_path) yields {{ var | default('path/
which is incorrect in itself but also causes templating errors
due to unbalanced quotes. Fix both problems by templating
parent include path before finding its dirname.
pull/25524/head
parent
64a9794997
commit
eb349cb201
Loading…
Reference in New Issue