diff options
author | Kenny Woodson <kwoodson@redhat.com> | 2017-10-18 10:41:52 -0400 |
---|---|---|
committer | Kenny Woodson <kwoodson@redhat.com> | 2017-10-18 10:41:52 -0400 |
commit | f546c6b42c672eef7399116b4995e64b62843e1a (patch) | |
tree | 35d09fe148ff3745831dd23b64378acc06ecf39f | |
parent | 63b77fbe00e4c724452a0256c6fdafc165755962 (diff) | |
download | openshift-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.
-rw-r--r-- | playbooks/aws/openshift-cluster/build_ami.yml | 2 |
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 |