summaryrefslogtreecommitdiffstats
path: root/playbooks
diff options
context:
space:
mode:
authorKenny Woodson <kwoodson@redhat.com>2017-10-18 10:41:52 -0400
committerKenny Woodson <kwoodson@redhat.com>2017-10-18 10:41:52 -0400
commitf546c6b42c672eef7399116b4995e64b62843e1a (patch)
tree35d09fe148ff3745831dd23b64378acc06ecf39f /playbooks
parent63b77fbe00e4c724452a0256c6fdafc165755962 (diff)
downloadopenshift-f546c6b42c672eef7399116b4995e64b62843e1a.tar.gz
openshift-f546c6b42c672eef7399116b4995e64b62843e1a.tar.bz2
openshift-f546c6b42c672eef7399116b4995e64b62843e1a.tar.xz
openshift-f546c6b42c672eef7399116b4995e64b62843e1a.zip
[bz1501271] Attempt to use ami ssh user and default to ansible_ssh_user.
Diffstat (limited to 'playbooks')
-rw-r--r--playbooks/aws/openshift-cluster/build_ami.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/playbooks/aws/openshift-cluster/build_ami.yml b/playbooks/aws/openshift-cluster/build_ami.yml
index ee281929a..5b4a6a1e8 100644
--- a/playbooks/aws/openshift-cluster/build_ami.yml
+++ b/playbooks/aws/openshift-cluster/build_ami.yml
@@ -26,7 +26,7 @@
tasks:
- name: set the user to perform installation
set_fact:
- ansible_ssh_user: "{{ openshift_aws_build_ami_ssh_user | default('root') }}"
+ ansible_ssh_user: "{{ openshift_aws_build_ami_ssh_user | default(ansible_ssh_user) }}"
openshift_node_bootstrap: True
# This is the part that installs all of the software and configs for the instance