Merge "Move SSH pubkey to static path"

This commit is contained in:
Zuul 2019-03-17 19:57:48 +00:00 committed by Gerrit Code Review
commit de4f53847d
3 changed files with 3 additions and 2 deletions

1
openstack_deploy/ssh Symbolic link
View File

@ -0,0 +1 @@
../ssh

View File

@ -9,7 +9,7 @@ haproxy_keepalived_external_interface: eth1
haproxy_keepalived_internal_interface: eth1
# Add the SSH pubkey needed for deployment
lxc_container_ssh_key: "{{ lookup('file', inventory_dir ~ '/../../ssh/id_rsa.pub') }}"
lxc_container_ssh_key: "{{ lookup('file', '/etc/openstack_deploy/ssh/id_rsa.pub') }}"
# Configure SSH keys on hosts
ssh_key_url: https://git.openstack.org/cgit/openstack/limestone-ci-cloud/plain/ssh/authorized_keys

View File

@ -6,7 +6,7 @@ export SCRIPT_PATH=$(dirname $(readlink -f "$0"))
export PROJECT_PATH=$(dirname "$SCRIPT_PATH")
export SETUP_ARA="${SETUP_ARA:-false}"
cp -R ${PROJECT_PATH}/openstack_deploy /etc
cp -RL ${PROJECT_PATH}/openstack_deploy /etc
pushd ${PROJECT_PATH}/openstack-ansible
source scripts/bootstrap-ansible.sh
if [ "$SETUP_ARA" == true ]; then