浏览代码

Force rebuild of config when upgrading to es5

Eric Wolinetz 6 年之前
父节点
当前提交
99ba1dd202
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      roles/openshift_logging_elasticsearch/tasks/main.yaml

+ 1 - 0
roles/openshift_logging_elasticsearch/tasks/main.yaml

@@ -222,6 +222,7 @@
       new_file: "{{ tempdir }}/elasticsearch.yml"
     - current_file: "log4j2.properties"
       new_file: "{{ tempdir }}/log4j2.properties"
+  when: not full_restart_cluster | default(false) | bool
 
 - slurp:
     src: "{{ tempdir }}/elasticsearch.yml"