ansible/CVE-2019-10156-2.patch
starlet-dx 0d322fe644 fix CVE-2019-10156
(cherry picked from commit e1ed84e5171e9e96b7f11110ec86a7825f439d1c)
2021-10-14 14:06:48 +08:00

32 lines
1.2 KiB
Diff

From fbda0028750a17a032d83dad9d1fb284f9ea68a4 Mon Sep 17 00:00:00 2001
From: Brian Coca <brian.coca+git@gmail.com>
Date: Thu, 6 Jun 2019 13:26:14 -0400
Subject: [PATCH] fixed tests
---
.../targets/docker_image/tasks/tests/old-options.yml | 2 +-
test/integration/targets/meraki_static_route/tasks/main.yml | 6 +++---
test/integration/targets/netapp_eseries_host/tasks/run.yml | 4 ++--
test/integration/targets/postgresql/tasks/main.yml | 2 +-
test/legacy/ovs.yaml | 4 ++--
5 files changed, 9 insertions(+), 9 deletions(-)
--- ansible-2.5.1+dfsg.orig/test/legacy/ovs.yaml
+++ ansible-2.5.1+dfsg/test/legacy/ovs.yaml
@@ -22,7 +22,7 @@
when: "limit_to in ['*', 'openvswitch_db']"
rescue:
- set_fact:
- failed_modules: "{{ failed_modules }} + [ 'openvswitch_db' ]"
+ failed_modules: "{{ failed_modules + [ 'openvswitch_db' ]}}"
test_failed: true
@@ -33,4 +33,4 @@
- name: Has any previous test failed?
fail:
msg: "One or more tests failed, check log for details"
- when: test_failed
\ No newline at end of file
+ when: test_failed