nextcloud-install.sh hinzugefügt
This commit is contained in:
parent
0fd0afe1f4
commit
d94dcf3dde
26
nextcloud-install.sh
Normal file
26
nextcloud-install.sh
Normal 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
|
Loading…
Reference in New Issue
Block a user