From b4454024f769da912eb23216848a738acef1db19 Mon Sep 17 00:00:00 2001 From: Jose Luis Franco Arza Date: Fri, 12 Apr 2019 11:03:21 +0200 Subject: [PATCH] Move warn clause as a shell task option. The warn clause should be included inside an args subsection, otherwise the task will fail syntactically with 'warn' is not a valid attribute for a Task. Closes-Bug: #1824496 Change-Id: I217437c4d104475c8ea415dd178940c40264e0b0 --- .../tripleo-packages/tripleo-packages-baremetal-puppet.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deployment/tripleo-packages/tripleo-packages-baremetal-puppet.yaml b/deployment/tripleo-packages/tripleo-packages-baremetal-puppet.yaml index f121bddb89..f073b689b2 100644 --- a/deployment/tripleo-packages/tripleo-packages-baremetal-puppet.yaml +++ b/deployment/tripleo-packages/tripleo-packages-baremetal-puppet.yaml @@ -176,7 +176,8 @@ outputs: - name: remove old OpenvSwitch package(s) if version doesn't match shell: | rpm -e --noscripts --nopreun --nopostun --notriggers --nodeps $(rpm -qa 'openvswitch{{ package_suffix|default('') }}*' | grep -v 'selinux') - warn: false + args: + warn: false when: new_ovs_version != current_ovs_version - name: install/upgrade OpenvSwitch LP package package: