install.sh aktualisiert

This commit is contained in:
olli 2023-08-21 15:58:27 +02:00
parent 6f4b776cd4
commit 80630b3de8

View File

@ -6,7 +6,9 @@ set -e
which sudo >/dev/null 2>&1 || su -c "sed -i '/cdrom/d' /etc/apt/sources.list ; apt update ; apt -y install sudo" which sudo >/dev/null 2>&1 || su -c "sed -i '/cdrom/d' /etc/apt/sources.list ; apt update ; apt -y install sudo"
id | grep -q '(sudo)' || su -c "/usr/sbin/usermod -a -G sudo ${USER}" id | grep -q '(sudo)' || su -c "/usr/sbin/usermod -a -G sudo ${USER}"
sudo apt-get -y install ansible git sudo apt-get -y install ansible git
sudo ansible-galaxy collection install community.general
#sudo apt-get -y install python3-pip git #sudo apt-get -y install python3-pip git
#sudo pip install ansible #sudo pip install ansible