only run installer as root
This commit is contained in:
parent
50b06b54cf
commit
82bd8874d2
1 changed files with 5 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
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
|
Loading…
Add table
Add a link
Reference in a new issue