diff --git a/lib/ansible/template/safe_eval.py b/lib/ansible/template/safe_eval.py index dd41b3a3816..76df7ed11e2 100644 --- a/lib/ansible/template/safe_eval.py +++ b/lib/ansible/template/safe_eval.py @@ -69,6 +69,7 @@ def safe_eval(expr, locals={}, include_exceptions=False): ast.Name, ast.Str, ast.Sub, + ast.USub, ast.Tuple, ast.UnaryOp, ) diff --git a/test/utils/shippable/python3-test-tag-blacklist.txt b/test/utils/shippable/python3-test-tag-blacklist.txt index 97c8d8f86ff..849074ada29 100644 --- a/test/utils/shippable/python3-test-tag-blacklist.txt +++ b/test/utils/shippable/python3-test-tag-blacklist.txt @@ -1,3 +1,2 @@ test_hg test_service -test_uri