浏览代码

fix for terminate

Jason DeTiberus 9 年之前
父节点
当前提交
31b8d70143
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      playbooks/aws/openshift-cluster/terminate.yml

+ 1 - 1
playbooks/aws/openshift-cluster/terminate.yml

@@ -74,4 +74,4 @@
         tags:
           Name: "{{ item.item.item.ec2_tag_Name }}-terminate"
       with_items: ec2_stop.results
-      when: "'oo_hosts_to_terminate' in groups"
+      when: ec2_stop | changed