Explorar el Código

Merge pull request #2947 from dagwieers/patch-2

Silence warnings when using rpm directly
Scott Dodson hace 8 años
padre
commit
523d08aedc
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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