feat(send): add role for self-hosted Send file-share service #7
1 changed files with 14 additions and 0 deletions
|
|
@ -2,6 +2,20 @@
|
|||
---
|
||||
# tasks file for send
|
||||
|
||||
- name: Assert S3 backend configuration when enabled
|
||||
ansible.builtin.assert:
|
||||
that:
|
||||
- send_s3_endpoint | length > 0
|
||||
- send_s3_bucket | length > 0
|
||||
- send_s3_access_key | length > 0
|
||||
- send_s3_secret_key | length > 0
|
||||
fail_msg: >-
|
||||
send_storage_backend is 's3' but one or more of send_s3_endpoint,
|
||||
send_s3_bucket, send_s3_access_key, send_s3_secret_key is unset.
|
||||
Provide via OpenBao, Ansible Vault or extra-vars — or switch
|
||||
send_storage_backend to 'local'.
|
||||
when: send_storage_backend == "s3"
|
||||
|
||||
- name: Create docker compose directory
|
||||
ansible.builtin.file:
|
||||
path: "{{ send_docker_compose_dir }}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue