Explorar o código

Silence warnings when using rpm directly

Dag Wieers %!s(int64=8) %!d(string=hai) anos
pai
achega
6bf847f951
Modificáronse 1 ficheiros con 2 adicións e 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