From f546c6b42c672eef7399116b4995e64b62843e1a Mon Sep 17 00:00:00 2001 From: Kenny Woodson Date: Wed, 18 Oct 2017 10:41:52 -0400 Subject: [bz1501271] Attempt to use ami ssh user and default to ansible_ssh_user. --- playbooks/aws/openshift-cluster/build_ami.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3