diff options
author | Scott Dodson <sdodson@redhat.com> | 2017-09-27 08:28:50 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-27 08:28:50 -0400 |
commit | 1ab97938845c00119c3e88d58b33ae6cbd8f97fd (patch) | |
tree | 6f352f4a8d2b2466661dcc7f2b2b4f41bdfa42ed /playbooks/aws | |
parent | 54c41923ed30ba7e46dd12d15157195feca093a6 (diff) | |
parent | 8066f159814f241613f93432f2e568852d038408 (diff) | |
download | openshift-1ab97938845c00119c3e88d58b33ae6cbd8f97fd.tar.gz openshift-1ab97938845c00119c3e88d58b33ae6cbd8f97fd.tar.bz2 openshift-1ab97938845c00119c3e88d58b33ae6cbd8f97fd.tar.xz openshift-1ab97938845c00119c3e88d58b33ae6cbd8f97fd.zip |
Merge pull request #5532 from mgugino-upstream-stage/centos-ami-provision
More variables in AWS provisioning plays
Diffstat (limited to 'playbooks/aws')
-rw-r--r-- | playbooks/aws/openshift-cluster/build_ami.yml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/playbooks/aws/openshift-cluster/build_ami.yml b/playbooks/aws/openshift-cluster/build_ami.yml index fc11205d8..828fa9400 100644 --- a/playbooks/aws/openshift-cluster/build_ami.yml +++ b/playbooks/aws/openshift-cluster/build_ami.yml @@ -47,9 +47,12 @@ groups: nodes name: "{{ instancesout.instances[0].public_dns_name }}" +- hosts: nodes + gather_facts: False + tasks: - name: set the user to perform installation set_fact: - ansible_ssh_user: root + ansible_ssh_user: "{{ openshift_aws_build_ami_ssh_user | default(root) }}" - name: normalize groups include: ../../byo/openshift-cluster/initialize_groups.yml |