diff --git a/lib/ansible/runner/filter_plugins/core.py b/lib/ansible/runner/filter_plugins/core.py index 443d1574ca..6d2e9f3017 100644 --- a/lib/ansible/runner/filter_plugins/core.py +++ b/lib/ansible/runner/filter_plugins/core.py @@ -226,6 +226,7 @@ class FilterModule(object): 'dirname': os.path.dirname, 'expanduser': os.path.expanduser, 'realpath': os.path.realpath, + 'relpath': os.path.relpath, # failure testing 'failed' : failed,