mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Add os relpath filter
This commit is contained in:
parent
65a8ffef6e
commit
726a61eb43
1 changed files with 1 additions and 0 deletions
|
@ -226,6 +226,7 @@ class FilterModule(object):
|
||||||
'dirname': os.path.dirname,
|
'dirname': os.path.dirname,
|
||||||
'expanduser': os.path.expanduser,
|
'expanduser': os.path.expanduser,
|
||||||
'realpath': os.path.realpath,
|
'realpath': os.path.realpath,
|
||||||
|
'relpath': os.path.relpath,
|
||||||
|
|
||||||
# failure testing
|
# failure testing
|
||||||
'failed' : failed,
|
'failed' : failed,
|
||||||
|
|
Loading…
Reference in a new issue