This commit is contained in:
Tomislav Kopić 2024-02-12 20:00:16 +01:00
parent 239332bafb
commit 1fca3fa46a
1 changed files with 17 additions and 4 deletions

View File

@ -2,20 +2,33 @@
- hosts: all
become: yes
vars:
# IO schedulers
iosched_nvme: none
iosched_ssd: kyber
iosched_mmc: kyber
iosched_hdd: bfq
php_threads: {{ ansible_facts['ansible_processor_nproc'] }}
php_memory: {{ ansible_facts['ansible_memtotal_mb'] // 2 }}
# PHP
php_memory_limit: {{ ansible_facts['ansible_memtotal_mb'] // 2 }}
php_max_upload_size: 4096M
php_opcache_memory:
php_opcache_string_buffer:
php_opcache_revalidate: 900
php_pm_mode: ondemand
php_pm_max_children:
# PostgreSQL
postgres_db_name: nextclouddb
postgres_db_user: nextclouduser
postgres_db_password:
postgres_shared_buffers:
postgres_work_mem:
postgres_temp_buffers:
redis_memory:
# Redis
redis_memory:
# NextCloud
nextcloud_admin_user:
nextcloud_admin_pass:
nextcloud_preview_concurrent:
tasks:
- name: "Update cache & Full system update"
apt: