Explorar el Código

fix for terminate

Jason DeTiberus hace 9 años
padre
commit
31b8d70143
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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