Prechádzať zdrojové kódy

Fix issue with etcd_common when using pre_upgrade tag

Russell Teague 7 rokov pred
rodič
commit
5f6f5146ec

+ 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