Browse Source

Merge pull request #2947 from dagwieers/patch-2

Silence warnings when using rpm directly
Scott Dodson 8 years ago
parent
commit
523d08aedc
1 changed files with 2 additions and 0 deletions
  1. 2 0
      playbooks/common/openshift-cluster/upgrades/etcd/main.yml

+ 2 - 0
playbooks/common/openshift-cluster/upgrades/etcd/main.yml

@@ -38,6 +38,8 @@
   tasks:
   - name: Record RPM based etcd version
     command: rpm -qa --qf '%{version}' etcd\*
+    args:
+      warn: no
     register: etcd_rpm_version
     failed_when: false
     when: not openshift.common.is_containerized | bool