2021-01-01 15:09:53 +00:00
|
|
|
#!/bin/bash
|
|
|
|
source ./.env
|
|
|
|
|
2021-01-17 16:37:14 +00:00
|
|
|
[ -z "$POSTGRES_PASSWORD" ] && echo "POSTGRESS_PASSWORD not set" && exit 1
|
2021-01-01 15:09:53 +00:00
|
|
|
[ -z "$NEXTCLOUD_DB_PASSWORD" ] && echo "NEXTCLOUD_DB_PASSWORD not set" && exit 1
|
2021-01-17 16:37:14 +00:00
|
|
|
ansible-playbook nextcloud/init.yml
|