nextcloud: Erzeuge zufälliges Admin-Passwort

This commit is contained in:
phil 2022-10-09 00:19:18 +02:00
parent 82a997e03b
commit 9d74744578
2 changed files with 2 additions and 1 deletions

View file

@ -21,6 +21,7 @@ Diese Rolle installiert [Nextcloud](https://nextcloud.com). Sie umfasst:
```Shell ```Shell
ansible-playbook playbooks/nextcloud.yml ansible-playbook playbooks/nextcloud.yml
``` ```
- Bei der Erstinstallation einer Nextclou-Instanz gibt die Rolle anschließend die Anmeldeinformationen für den Admin-Zugang aus.
# Aktualisierung des Cores/ von Apps # Aktualisierung des Cores/ von Apps

View file

@ -1,6 +1,6 @@
--- ---
nextcloud_admin_user: systemausfall.org nextcloud_admin_user: systemausfall.org
nextcloud_admin_pw: admin nextcloud_admin_pw: "{{ lookup('password', '/tmp/{{ instance.name }}_admin_pwd length=42 chars=ascii_letters,digits') }}"
nextcloud_db_password: "{{ lookup('password', '/tmp/{{ instance.name }}_db_pwd length=42 chars=ascii_letters,digits') }}" nextcloud_db_password: "{{ lookup('password', '/tmp/{{ instance.name }}_db_pwd length=42 chars=ascii_letters,digits') }}"
nextcloud_github_api_url: https://api.github.com/repos/nextcloud/server/releases/latest nextcloud_github_api_url: https://api.github.com/repos/nextcloud/server/releases/latest
nextcloud_dl_url: "https://download.nextcloud.com/server/releases/nextcloud-{{ latest_version.stdout }}.tar.bz2" nextcloud_dl_url: "https://download.nextcloud.com/server/releases/nextcloud-{{ latest_version.stdout }}.tar.bz2"