nextcloud-install.sh hinzugefügt

This commit is contained in:
olli 2023-08-21 12:08:19 +02:00
parent 0fd0afe1f4
commit d94dcf3dde

26
nextcloud-install.sh Normal file
View File

@ -0,0 +1,26 @@
#!/bin/bash
set -e
sudo apt-get -y install python3-pip git
sudo pip install ansible
cd
rm -rf $(hostname -s)-git
mkdir $(hostname -s)-git
cd $(hostname -s)-git
for playbook in \
debian.ansible.basics \
debian.ansible.runchecks \
debian.ansible.backup \
debian.ansible.autoupdate \
debian.ansible.dedyn.client \
debian.ansible.docker \
debian.ansible.traefik.server \
debian.ansible.firewall \
debian.ansible.nextcloud.server
do
git clone https://gitea.ds9.dedyn.io/olli/${playbook}.git
sudo ansible-playbook --connection=local --inventory $(hostname), --limit $(hostname) ${playbook}/*.yml
done