86 lines
3.7 KiB
YAML
86 lines
3.7 KiB
YAML
---
|
|
# Rclone
|
|
nextcloud_rclone_mount_dir: "/mnt/cloud_data"
|
|
nextcloud_scripts_path: "/root/.scripts"
|
|
|
|
# Nextcloud
|
|
nextcloud_dir: "/var/www/nextcloud"
|
|
nextcloud_data_dir: "{{ hcloud_webserver_volume_path }}/nextcloud_data"
|
|
nextcloud_temp_dir: "/tmp"
|
|
nextcloud_cache_dir: "/var/cache/nextcloud"
|
|
nextcloud_log_dir: "/var/log/nextcloud"
|
|
nextcloud_log_file: "{{ nextcloud_log_dir }}/nextcloud.log"
|
|
nextcloud_domain_name: "cloud.{{ webserver_domain }}"
|
|
nexcloud_admin_user: "admin-{{ lookup('community.general.random_string', length=6, upper=false, special=false) }}"
|
|
vault_nexcloud_admin_pass: !vault |
|
|
$ANSIBLE_VAULT;1.2;AES256;dtsv-dev
|
|
64373333336533333764643235613338306437306134333831393434326631306165653336383732
|
|
3537313164663762373636316462346438663634393237340a613565633865663665396531616133
|
|
39373637653839623736653531636361633739643137386537633464653332373066366336336532
|
|
6566313533383031310a663863616164633331313431396362373161646531663134313637626263
|
|
6562
|
|
trusted_proxies:
|
|
- "{{ hostvars[inventory_hostname]['ansible_default_ipv4']['address'] }}"
|
|
- "{{ hostvars[inventory_hostname]['ansible_default_ipv6']['address'] }}"
|
|
nextcloud_trashbin_retention_obligation: "auto, 90"
|
|
nextcloud_versions_retention_obligation: "auto, 30"
|
|
nextcloud_max_upload_size: "50G"
|
|
# database
|
|
nextcloud_db_host: "{{ pgsql_server_ip }}"
|
|
nextcloud_db_port: "{{ pgsql_server_port }}"
|
|
nextcloud_db_name: "nextcloud_db"
|
|
nextcloud_db_user: "nextcloud_db_user"
|
|
vault_nextcloud_db_pass: !vault |
|
|
$ANSIBLE_VAULT;1.2;AES256;dtsv-dev
|
|
61393238366632366635373432343739373830393635656139643532663737313661643062626566
|
|
6538383561323332313231313235666437636631363030630a386665373562613936303038626638
|
|
63303861306461353734316530653231343132376130373835643236653836303031626431326265
|
|
3461333932626438630a393134653333323431323631653235643639316634383938666264623339
|
|
66323964336436303934373833353161313163353734343637303165393431376262323065306362
|
|
6664303132626565316665306263373761626139316432666333
|
|
# mailer
|
|
nextcloud_smtp_host: "{{ smtp_hostname }}"
|
|
nextcloud_smtp_port: "{{ smtp_port }}"
|
|
nextcloud_smtp_from_address: "cloud"
|
|
nextcloud_smtp_from_domain: "twirling.de"
|
|
nextcloud_smtp_user: !vault |
|
|
$ANSIBLE_VAULT;1.2;AES256;dtsv-dev
|
|
37323762356630343133346634653965303530363966646236383962313163623637326165346439
|
|
3234303935353134633238396365363036313363663031310a663339363665376564306565393538
|
|
33663566663534383133623965316362383731303565326632623430303565343134393939343734
|
|
3930376165653536310a656632373336623663356431333136303165653162333137626632333033
|
|
35363439346237666662333537613363386266653865656238323638666533356535
|
|
nextcloud_smtp_pass: !vault |
|
|
$ANSIBLE_VAULT;1.2;AES256;dtsv-dev
|
|
61303737376466646164313766373639376133633935313433356637323038626437663736363631
|
|
3864616433353737666137663663666333366463626337630a643034323935613833633439306236
|
|
36373763393762376533393663303436373939356561363036366535666134613731316530626536
|
|
6231626666643937340a326134636337666130356639383864346639316535663638636266323535
|
|
6562
|
|
|
|
nextcloud_user_ini:
|
|
- {type: php_value, option: upload_max_filesize, value: 50GB}
|
|
- {type: php_value, option: post_max_size, value: 50GB}
|
|
- {type: php_value, option: max_input_time, value: 3600}
|
|
- {type: php_value, option: max_execution_time, value: 3600}
|
|
|
|
nextcloud_apps:
|
|
- calendar
|
|
- contacts
|
|
- external
|
|
- extract
|
|
- groupfolders
|
|
- notes
|
|
- notify_push
|
|
- tasks
|
|
- twofactor_totp
|
|
|
|
nextcloud_exporter_install_dir: "/usr/local/bin"
|
|
nextcloud_exporter_system_group: "node-exporter"
|
|
nextcloud_exporter_system_user: "{{ nextcloud_exporter_system_group }}"
|
|
vault_nextcloud_exporter_token: secret
|
|
|
|
nextcloud_notify_push_install_dir: "/usr/local/bin"
|
|
nextcloud_notify_push_socket: "/run/nextcloud/notify_push.sock"
|
|
nextcloud_background_script_dir: "/usr/local/bin"
|