8667a618b0
Also enables Nginx LB in the published image. Change-Id: I9f6f8288a9d40ec9d199c565278688a1a94fff14
12 lines
315 B
Bash
Executable File
12 lines
315 B
Bash
Executable File
#!/bin/bash
|
|
set -eux
|
|
set -o pipefail
|
|
|
|
DIB_ASTARA_ADVANCED_SERVICES=${DIB_ASTARA_ADVANCED_SERVICES:-"router"}
|
|
|
|
APP_SRC_DIR="/tmp/astara-appliance"
|
|
|
|
[ -d "${APP_SRC_DIR}" ] || exit 0
|
|
|
|
ansible-playbook -i "localhost," -c local -e enabled_advanced_services="$DIB_ASTARA_ADVANCED_SERVICES" $APP_SRC_DIR/ansible/main.yml
|