first commit
This commit is contained in:
60
roles/seaweed/defaults/main.yaml
Normal file
60
roles/seaweed/defaults/main.yaml
Normal file
@ -0,0 +1,60 @@
|
||||
seaweed_config_dir: /etc/seaweedfs
|
||||
seaweed_cert_dir: "{{ seaweed_config_dir }}/certs"
|
||||
seaweed_data_dir: /var/lib/seaweedfs
|
||||
seaweed_log_dir: /var/log/seaweedfs
|
||||
seaweed_user: seaweed
|
||||
seaweed_group: seaweed
|
||||
download_dir: "/tmp"
|
||||
seaweed_variant: full # set to large_disk if using large disk variant
|
||||
|
||||
seaweed_binary_path: /usr/local/sbin/weed
|
||||
|
||||
# Security (Certificates)
|
||||
seaweed_ca_key: "{{ seaweed_cert_dir }}/ca.key"
|
||||
seaweed_ca_cert: "{{ seaweed_cert_dir }}/ca.crt"
|
||||
|
||||
# SeaweedFS Master
|
||||
seaweed_master_bind: 0.0.0.0
|
||||
seaweed_master_host: 127.0.0.1
|
||||
seaweed_master_port: 9333
|
||||
|
||||
# SeaweedFS Volume
|
||||
seaweed_volume_port: 8080
|
||||
seaweed_volume_max: 50
|
||||
|
||||
# SeaweedFS Filer
|
||||
seaweed_filer_port: 8888
|
||||
|
||||
# SeaweedFS S3
|
||||
seaweed_s3_port: 8333
|
||||
seaweed_s3_anonymous: false
|
||||
|
||||
seaweed_cert_domains:
|
||||
- master01
|
||||
- volume01
|
||||
- filer01
|
||||
- client01
|
||||
|
||||
seaweedfs_s3_config:
|
||||
identities:
|
||||
- name: admin
|
||||
credentials:
|
||||
- accessKey: "{{ s3_access_key }}"
|
||||
secretKey: "{{ s3_secret_key }}"
|
||||
actions:
|
||||
- Admin
|
||||
- Read
|
||||
- List
|
||||
- Tagging
|
||||
- Write
|
||||
# identities:
|
||||
# - name: default
|
||||
# credentials:
|
||||
# - accessKey: "example"
|
||||
# secretKey: "example"
|
||||
# actions:
|
||||
# - Admin
|
||||
# - Read
|
||||
# - List
|
||||
# - Tagging
|
||||
# - Write
|
Reference in New Issue
Block a user