summaryrefslogtreecommitdiffstats
path: root/playbooks/gce/openshift-cluster/service.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/service.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/service.yml')
-rw-r--r--playbooks/gce/openshift-cluster/service.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/playbooks/gce/openshift-cluster/service.yml b/playbooks/gce/openshift-cluster/service.yml
index 8925de4cb..914f38c1f 100644
--- a/playbooks/gce/openshift-cluster/service.yml
+++ b/playbooks/gce/openshift-cluster/service.yml
@@ -14,14 +14,14 @@
- add_host:
name: "{{ item }}"
groups: g_service_nodes
- 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: "{{ node_hosts | default([]) | difference(['localhost']) | difference(groups.status_terminated) }}"
- add_host:
name: "{{ item }}"
groups: g_service_masters
- 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: "{{ master_hosts | default([]) | difference(['localhost']) | difference(groups.status_terminated) }}"