mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-07-06 10:38:54 +00:00
Add expandvars jinja2 filter (#38805)
* Add expandvars jinja2 filter * Add docs * Minor edit
This commit is contained in:
parent
1cc2aeb40a
commit
8173602a34
2 changed files with 9 additions and 0 deletions
|
|
@ -530,6 +530,7 @@ class FilterModule(object):
|
|||
'basename': partial(unicode_wrap, os.path.basename),
|
||||
'dirname': partial(unicode_wrap, os.path.dirname),
|
||||
'expanduser': partial(unicode_wrap, os.path.expanduser),
|
||||
'expandvars': partial(unicode_wrap, os.path.expandvars),
|
||||
'realpath': partial(unicode_wrap, os.path.realpath),
|
||||
'relpath': partial(unicode_wrap, os.path.relpath),
|
||||
'splitext': partial(unicode_wrap, os.path.splitext),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue