Skip to content

Commit

Permalink
Merge pull request #5794 from kwoodson/bz1501271
Browse files Browse the repository at this point in the history
[bz1501271] Attempt to use ami ssh user and default to ansible_ssh_user.
  • Loading branch information
sdodson authored Oct 20, 2017
2 parents 94886b7 + f546c6b commit fa33e24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion playbooks/aws/openshift-cluster/build_ami.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fa33e24

Please sign in to comment.