From 755f962d065abbd3f6e6ccc8dfa4717a46cb8ba2 Mon Sep 17 00:00:00 2001
From: Dag Wieers <dag@wieers.com>
Date: Thu, 8 Dec 2016 08:56:24 +0100
Subject: Silence warnings when using rpm directly

---
 playbooks/common/openshift-cluster/upgrades/docker/upgrade_check.yml | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'playbooks/common/openshift-cluster')

diff --git a/playbooks/common/openshift-cluster/upgrades/docker/upgrade_check.yml b/playbooks/common/openshift-cluster/upgrades/docker/upgrade_check.yml
index ee75aa853..f2a2259e3 100644
--- a/playbooks/common/openshift-cluster/upgrades/docker/upgrade_check.yml
+++ b/playbooks/common/openshift-cluster/upgrades/docker/upgrade_check.yml
@@ -9,6 +9,8 @@
 
 - name: Check if Docker is installed
   command: rpm -q docker
+  args:
+    warn: no
   register: pkg_check
   failed_when: pkg_check.rc > 1
   changed_when: no
-- 
cgit v1.2.3