Prepare your config files and edit public keys and other variables:
./setup.sh
nano vars.yml
Run the playbook to set up users and firewall.
sudo ansible-playbook main.ymlInstall docker:
sudo ansible-playbook main.yml -t dockerInstall nginx:
sudo ansible-playbook main.yml -t nginxInstall nextcloud:
sudo ansible-playbook main.yml -t nextcloudSecure the server (do not allow password ssh auth):
sudo ansible-playbook main.yml -t securityQuick setup
sh -c "$(curl -sL https://raw.githubusercontent.com/tna76874/server-setup/main/install)"