Use ansible_user only if ANSIBLE_REMOTE_USER is unset
In a non-standalone deployment config-download is called
with the ANSIBLE_REMOTE_USER defined. This variable is
undefined when using standalone, which is what caused the
related bug. Unfortunately the fix for the related bug
introduced the bug this patch closes. This patch should
work for both non-standalone and standalone deployments.
Reviewed: https:/ /review. opendev. org/742287 /git.openstack. org/cgit/ openstack/ tripleo- ansible/ commit/ ?id=67c4a4f58e9 b8af07c277b1f6c 20fa7af116eaf7
Committed: https:/
Submitter: Zuul
Branch: master
commit 67c4a4f58e9b8af 07c277b1f6c20fa 7af116eaf7
Author: John Fulton <email address hidden>
Date: Tue Jul 21 21:27:18 2020 +0000
Use ansible_user only if ANSIBLE_REMOTE_USER is unset
In a non-standalone deployment config-download is called
with the ANSIBLE_REMOTE_USER defined. This variable is
undefined when using standalone, which is what caused the
related bug. Unfortunately the fix for the related bug
introduced the bug this patch closes. This patch should
work for both non-standalone and standalone deployments.
Change-Id: Ie7234bf113204e 8cf847257554b88 b899b45d5ee
Related-Bug: #1886497
Closes-Bug: #1887708