From 6b1ee7051a24a49cc8d116f2011d493a2ff42106 Mon Sep 17 00:00:00 2001 From: Faseela K Date: Sat, 12 May 2018 11:31:22 +0530 Subject: [PATCH] ansible-galaxy.sh enable custom requirements.yaml If applications provide a custom requirements.yaml the script should use the same, instead of the default requirements.yaml Change-Id: I4ef8b9d4754b6c11c17101cf33f672feddde4fa5 Signed-off-by: Faseela K --- ansible-galaxy.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ansible-galaxy.sh b/ansible-galaxy.sh index bccd666..3bcb0a3 100755 --- a/ansible-galaxy.sh +++ b/ansible-galaxy.sh @@ -16,5 +16,5 @@ SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" ansible-galaxy install -p "$ANSIBLE_ROLES_PATH" -r "$SCRIPT_DIR/requirements.yaml" if [ -f "$ANSIBLE_REQUIREMENTS_FILE" ]; then - ansible-galaxy install -p "$ANSIBLE_ROLES_PATH" -r "requirements.yaml" -fi + ansible-galaxy install -p "$ANSIBLE_ROLES_PATH" -r "$ANSIBLE_REQUIREMENTS_FILE" +fi \ No newline at end of file -- 2.16.6