Fix cloudbox.

This commit is contained in:
Andreas B. Mundt 2022-06-12 17:26:29 +02:00 committed by Andreas B. Mundt
parent 8eb7c93502
commit f550f530c6
2 changed files with 4 additions and 3 deletions

View file

@ -2,7 +2,8 @@
# This playbook deploys the cloudbox on a minimal installation.
- name: apply configuration to the cloudbox
hosts: cloudboxes
# hosts: cloudboxes ## 'all' is needed to make ansible-pull work
hosts: all
remote_user: ansible
become: true
vars:
@ -15,7 +16,7 @@
## 'nc_download' and 'nc_checksum' are only
## used for ansible-pull during installation:
nc_download: "https://download.nextcloud.com/server/releases/latest.tar.bz2"
nc_checksum: "sha256:770faf34b8f0d81273623daed4d64ec7919c38dfeb07328b613058addbed19c0"
nc_checksum: "sha256:d32a8f6c4722a45cb67de7018163cfafcfa22a871fbac0f623c3875fa4304e5a"
nc_apps:
- calendar
- notes

View file

@ -160,7 +160,7 @@
when: not nextcloud.stat.exists and not run_in_installer|default(false)|bool
- name: start mariadb during installation
command: /etc/init.d/mysql start
command: /etc/init.d/mariadb start
when: run_in_installer|default(false)|bool
- name: create database with name 'nextcloud'