„build-debian-env.sh“ ändern

This commit is contained in:
olli 2023-04-28 15:18:55 +02:00
parent cf386b2716
commit 391ce29460

View File

@ -1,8 +1,8 @@
#!/bin/bash -xe
# install ansible
sudo apt-get -y install python3-pip git
sudo pip install ansible
apt-get -y install python3-pip git
pip install ansible
cd /root
rm -rf $(hostname -s)-git
@ -15,5 +15,5 @@ for playbook in \
debian.ansible.autoupdate
do
git clone https://gitea.ds9.dedyn.io/olli/${playbook}.git
sudo ansible-playbook --connection=local --inventory $(hostname), --limit $(hostname) ${playbook}/*.yml
ansible-playbook --connection=local --inventory $(hostname), --limit $(hostname) ${playbook}/*.yml
done