Replace minio with webdav for upload

Also made sure it all ran as the correct user
This commit is contained in:
Jake Howard
2021-05-04 14:08:08 +01:00
parent f62a1e8374
commit 3da14e67dd
3 changed files with 41 additions and 20 deletions

View File

@ -18,3 +18,20 @@
validate: docker-compose -f %s config
notify: restart upload
become: true
- name: Create superuser
htpasswd:
path: /opt/upload/htpasswd.txt
name: jake
password: "{{ superuser_upload_password }}"
mode: 0640
owner: "{{ docker_user.name }}"
become: true
- name: Create nextcloud user
htpasswd:
path: /opt/upload/htpasswd.txt
name: nextcloud
password: "{{ nextcloud_upload_password }}"
mode: 0640
become: true