Преглед изворни кода

Merge pull request #5338 from mtnbikenc/fix-pre_upgrade

Merged by openshift-bot
OpenShift Bot пре 7 година
родитељ
комит
69f0384024
2 измењених фајлова са 5 додато и 1 уклоњено
  1. 1 1
      roles/etcd_common/tasks/main.yml
  2. 4 0
      roles/etcd_common/tasks/noop.yml

+ 1 - 1
roles/etcd_common/tasks/main.yml

@@ -6,4 +6,4 @@
 
 - name: Include main action task file
   include: "{{ r_etcd_common_action }}.yml"
-  when: '"noop" not in r_etcd_common_action'
+  when: r_etcd_common_action != "noop"

+ 4 - 0
roles/etcd_common/tasks/noop.yml

@@ -0,0 +1,4 @@
+---
+# This is file is here because the usage of tags, specifically `pre_upgrade`
+# breaks the functionality of this role.
+# See https://bugzilla.redhat.com/show_bug.cgi?id=1464025