#!/bin/bash
. src/parse_yaml.sh
. src/misc/generate_tools_yml.sh

eval $(parse_yaml src/misc/config.yml "")

generate_tools_yml $tool_playbook/tools.yml
sleep 10
cd $tool_playbook
ansible-playbook tools.yml -i "localhost,"
echo ""
#!/bin/bash
. src/parse_yaml.sh
. src/misc/generate_tools_yml.sh

eval $(parse_yaml src/misc/config.yml "")

generate_tools_yml $tool_playbook/tools.yml

echo "Wait until http://$host:$port is up"
until $(curl --output /dev/null --silent --head --fail http://$host:$port); do
    printf '.'
    sleep 1
done

cd $tool_playbook
ansible-playbook tools.yml -i "localhost,"
echo ""
Add script to wait until server is up before populating galaxy
Add script to wait until server is up before populating galaxy
