summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2016-12-08 09:54:27 -0500
committerGitHub <noreply@github.com>2016-12-08 09:54:27 -0500
commit1deb6b06608e46f5c47bc127a148b89f6a12b63b (patch)
treea93689657a1f882f85ffc196d613cef9f1ebaadc
parent523d08aedc6d78d6321d224eb4f187275e384a2b (diff)
parent755f962d065abbd3f6e6ccc8dfa4717a46cb8ba2 (diff)
downloadopenshift-1deb6b06608e46f5c47bc127a148b89f6a12b63b.tar.gz
openshift-1deb6b06608e46f5c47bc127a148b89f6a12b63b.tar.bz2
openshift-1deb6b06608e46f5c47bc127a148b89f6a12b63b.tar.xz
openshift-1deb6b06608e46f5c47bc127a148b89f6a12b63b.zip
Merge pull request #2946 from dagwieers/patch-1
Silence warnings when using some commands directly
-rw-r--r--playbooks/common/openshift-cluster/upgrades/docker/upgrade_check.yml2
1 files changed, 2 insertions, 0 deletions
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