Browse Source

fix for terminate

Jason DeTiberus 9 năm trước cách đây
mục cha
commit
31b8d70143
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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