|
|
@@ -38,7 +38,7 @@ done |
|
|
|
# Retain self-generated ansible setup key |
|
|
|
ANSIBLE_USER="{{node.user}}" |
|
|
|
if [[ ! -z "${ANSIBLE_USER}" ]] ; then |
|
|
|
PUB_FILE="$(cd ~${ANSIBLE_USER} && pwd)/.ssh/bubble_rsa.pub" |
|
|
|
PUB_FILE="$(cd ~{{node.user}} && pwd)/.ssh/bubble_rsa.pub" |
|
|
|
if [[ -f "${PUB_FILE}" ]] ; then |
|
|
|
cat "${PUB_FILE}" >> ${NEW_KEYS} |
|
|
|
fi |
|
|
|