summaryrefslogtreecommitdiffstats
path: root/playbooks/gce/openshift-cluster/tasks
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/tasks
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/tasks')
-rw-r--r--playbooks/gce/openshift-cluster/tasks/launch_instances.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/playbooks/gce/openshift-cluster/tasks/launch_instances.yml b/playbooks/gce/openshift-cluster/tasks/launch_instances.yml
index e06b1e077..8ebf71cd4 100644
--- a/playbooks/gce/openshift-cluster/tasks/launch_instances.yml
+++ b/playbooks/gce/openshift-cluster/tasks/launch_instances.yml
@@ -38,7 +38,7 @@
add_host:
hostname: "{{ item.name }}"
ansible_ssh_host: "{{ item.public_ip }}"
- 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 }}"
groups: "{{ item.tags | oo_prepend_strings_in_list('tag_') | join(',') }}"
gce_public_ip: "{{ item.public_ip }}"