浏览代码

upgrades - Fix logic error about when to backup etcd

Scott Dodson 8 年之前
父节点
当前提交
833e9d9024
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      playbooks/common/openshift-cluster/upgrades/upgrade_control_plane.yml

+ 1 - 1
playbooks/common/openshift-cluster/upgrades/upgrade_control_plane.yml

@@ -29,7 +29,7 @@
 
 - name: Backup etcd
   include: ./etcd/backup.yml
-  when: openshift_upgrade_skip_etcd_backup | default(false) | bool
+  when: not openshift_upgrade_skip_etcd_backup | default(false) | bool
 
 - name: Upgrade master packages
   hosts: oo_masters_to_config