summaryrefslogtreecommitdiffstats
path: root/playbooks/gce/openshift-cluster/terminate.yml
diff options
context:
space:
mode:
authorJason DeTiberus <jdetiber@redhat.com>2016-02-02 14:42:23 -0500
committerJason DeTiberus <jdetiber@redhat.com>2016-02-02 14:42:49 -0500
commit2f3458447c23e8020af3dc08444fdb33201118e3 (patch)
tree6e14488702f5538d238fe89451e7fdb4ca7087b7 /playbooks/gce/openshift-cluster/terminate.yml
parente1ff6a9e2e6b60b427effdbe2d205ebcb065b26f (diff)
downloadopenshift-2f3458447c23e8020af3dc08444fdb33201118e3.tar.gz
openshift-2f3458447c23e8020af3dc08444fdb33201118e3.tar.bz2
openshift-2f3458447c23e8020af3dc08444fdb33201118e3.tar.xz
openshift-2f3458447c23e8020af3dc08444fdb33201118e3.zip
Improve docs and consistency of setting the ssh_user
Diffstat (limited to 'playbooks/gce/openshift-cluster/terminate.yml')
-rw-r--r--playbooks/gce/openshift-cluster/terminate.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/playbooks/gce/openshift-cluster/terminate.yml b/playbooks/gce/openshift-cluster/terminate.yml
index faa46c0d6..94b4ab14b 100644
--- a/playbooks/gce/openshift-cluster/terminate.yml
+++ b/playbooks/gce/openshift-cluster/terminate.yml
@@ -10,7 +10,7 @@
- add_host:
name: "{{ item }}"
groups: oo_hosts_to_terminate
- ansible_ssh_user: "{{ deployment_vars[deployment_type].ssh_user | default(ansible_ssh_user, true) }}"
+ ansible_ssh_user: "{{ deployment_vars[deployment_type].ssh_user }}"
ansible_sudo: "{{ deployment_vars[deployment_type].sudo }}"
with_items: (groups['tag_clusterid-' ~ cluster_id] | default([])) | difference(['localhost'])