• Harsha's avatar
    Issue #00 fix: adding new kong plugin and onboarding new api (#970) · 1f20b8db
    Harsha authored
    * Issue #00 feat: adding new kong plugin to pass header
    
    * Issue #00 fix: adding secrets path in kong
    
    * Issue #00 fix: removing /api in request path
    
    * Issue #00 fix: adding plugin to freshdesk api
    
    * Issue #00 fix: updating request transformer config
    1f20b8db
ansible-syntax-check.sh 449 bytes
#!/bin/sh

SCRIPT_BASE_DIR=$(dirname $0)
SUNBIRD_DEVOPS_FOLDER=$SCRIPT_BASE_DIR

if [ "$#" -ne 1 ]; then
    echo "ERROR: Illegal number of parameters"
    echo "Usage: $0 <inventory>"
    echo "Example: $0 $SUNBIRD_DEVOPS_FOLDER/ansible/inventories/sample"
    exit 1
fi

set -e

INVENTORY_DIR=$1

for playbook_yaml in $SUNBIRD_DEVOPS_FOLDER/ansible/*.yml; do
  ansible-playbook -i $INVENTORY_DIR $playbook_yaml --syntax-check -e "hosts=dummy"
done