Bladeren bron

Merge pull request #5338 from mtnbikenc/fix-pre_upgrade

Merged by openshift-bot
OpenShift Bot 7 jaren geleden
bovenliggende
commit
69f0384024
2 gewijzigde bestanden met toevoegingen van 5 en 1 verwijderingen
  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