diff options
author | Chengcheng Mu <chengcheng.mu@amadeus.com> | 2015-10-09 16:27:25 +0200 |
---|---|---|
committer | Chengcheng Mu <chengcheng.mu@amadeus.com> | 2015-10-09 16:27:25 +0200 |
commit | a8171a639bd4500f30e72233587e9f6335202438 (patch) | |
tree | 2b44aff20d9f82e0a8af124f4d45a4632677e328 /playbooks/gce/openshift-cluster/terminate.yml | |
parent | 46f10c87930747d7e10cfc2c3b71ea68da647135 (diff) | |
download | openshift-a8171a639bd4500f30e72233587e9f6335202438.tar.gz openshift-a8171a639bd4500f30e72233587e9f6335202438.tar.bz2 openshift-a8171a639bd4500f30e72233587e9f6335202438.tar.xz openshift-a8171a639bd4500f30e72233587e9f6335202438.zip |
Adding second param. true to many default filters
Diffstat (limited to 'playbooks/gce/openshift-cluster/terminate.yml')
-rw-r--r-- | playbooks/gce/openshift-cluster/terminate.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/playbooks/gce/openshift-cluster/terminate.yml b/playbooks/gce/openshift-cluster/terminate.yml index f705745d9..e20e0a8bc 100644 --- a/playbooks/gce/openshift-cluster/terminate.yml +++ b/playbooks/gce/openshift-cluster/terminate.yml @@ -12,7 +12,7 @@ groups: oo_hosts_to_terminate ansible_ssh_user: "{{ deployment_vars[deployment_type].ssh_user | default(ansible_ssh_user, true) }}" ansible_sudo: "{{ deployment_vars[deployment_type].sudo }}" - with_items: groups[scratch_group] | default([]) | difference(['localhost']) | difference(groups.status_terminated | default([])) + with_items: groups[scratch_group] | default([], true) | difference(['localhost']) | difference(groups.status_terminated | default([], true)) - name: Unsubscribe VMs hosts: oo_hosts_to_terminate @@ -42,7 +42,7 @@ pem_file: "{{ lookup('env', 'gce_service_account_pem_file_path') }}" project_id: "{{ lookup('env', 'gce_project_id') }}" zone: "{{ lookup('env', 'zone') }}" - with_items: groups['oo_hosts_to_terminate'] | default([]) + with_items: groups['oo_hosts_to_terminate'] | default([], true) when: item is defined #- include: ../openshift-node/terminate.yml |