Add vars
This commit is contained in:
parent
239332bafb
commit
1fca3fa46a
@ -2,19 +2,32 @@
|
||||
- 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
|
||||
redis_memory:
|
||||
# NextCloud
|
||||
nextcloud_admin_user:
|
||||
nextcloud_admin_pass:
|
||||
nextcloud_preview_concurrent:
|
||||
|
||||
tasks:
|
||||
- name: "Update cache & Full system update"
|
||||
|
Loading…
Reference in New Issue
Block a user