8 lines
No EOL
192 B
Bash
8 lines
No EOL
192 B
Bash
if [ "$(id -u)" -ne 0 ]; then
|
|
echo 'This script must be run as root!' >&2
|
|
exit 1
|
|
fi
|
|
|
|
pip3 install ansible
|
|
ansible-galaxy install -fr requirements.yml
|
|
ansible-playbook setup.yml |