ovh_instance_playbooks/install_requirements.sh
2024-03-22 22:08:20 +01:00

11 lines
285 B
Bash
Executable File

#!/bin/bash
#Absolute path to this script
SCRIPT=$(readlink -f $0)
#Absolute path this script is in
SCRIPTPATH=$(dirname $SCRIPT)
cd $SCRIPTPATH
ansible-galaxy collection install --force -r collections/requirements.yml
ansible-galaxy role install -r roles/requirements.yml -p roles/