summaryrefslogtreecommitdiff
path: root/zuul/ansible
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2022-04-28 00:45:28 +0000
committerGerrit Code Review <review@openstack.org>2022-04-28 00:45:28 +0000
commitb053fb759c9fe284ddd7462e64c68a293919de59 (patch)
tree4d31f83b9fa1e1ced389c7cc4ed5c49686a9b272 /zuul/ansible
parent71453dd7f257c546ef8f12ef0d0aafa55973fa1c (diff)
parente533d646829c05b5d3c00f1e0683fb7fd1a7d5cd (diff)
downloadzuul-b053fb759c9fe284ddd7462e64c68a293919de59.tar.gz
Merge "Remove workspace path check from zuul_return"
Diffstat (limited to 'zuul/ansible')
-rw-r--r--zuul/ansible/base/actiongeneral/zuul_return.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/zuul/ansible/base/actiongeneral/zuul_return.py b/zuul/ansible/base/actiongeneral/zuul_return.py
index 2114adba4..ba6c5cc31 100644
--- a/zuul/ansible/base/actiongeneral/zuul_return.py
+++ b/zuul/ansible/base/actiongeneral/zuul_return.py
@@ -20,8 +20,6 @@ from copy import deepcopy
from ansible.plugins.action import ActionBase
-from zuul.ansible import paths
-
def merge_dict(dict_a, dict_b):
"""
@@ -167,9 +165,6 @@ class ActionModule(ActionBase):
path = os.path.join(os.environ['ZUUL_JOBDIR'], 'work',
'results.json')
- if not paths._is_safe_path(path, allow_trusted=False):
- return paths._fail_dict(path)
-
set_value(
path,
self._task.args.get('data'),