Verified Commit 03ec6a59 authored by Giancarlo Razzolini's avatar Giancarlo Razzolini
Browse files

playbooks/aur-dev: Add apc to the php extensions

roles/aurweb: Add the apc configuration variables

Added the apc to the php extensions on the playbook, instead of adding
it on the conf.d directory. Added the apc variables to the defaults file.
parent 850f3b00
......@@ -13,7 +13,7 @@
- { role: mariadb, mariadb_innodb_buffer_pool_size: '64M', mariadb_table_open_cache: '256', mariadb_query_cache_type: '0',
mariadb_innodb_file_per_table: True }
- { role: sudo }
- { role: php-fpm, php_extensions: ['apcu', 'iconv', 'mysqli', 'pdo_mysql'], zend_extensions: ['opcache'] }
- { role: php-fpm, php_extensions: ['apc', 'apcu', 'iconv', 'mysqli', 'pdo_mysql'], zend_extensions: ['opcache'] }
- { role: uwsgi, tags: ["uwsgi"] }
- { role: borg-client, tags: ["borg"] }
- { role: postfix, postfix_relayhost: "orion.archlinux.org" }
......
......@@ -22,3 +22,6 @@ aurweb_cache: 'apc'
aurweb_cache_pkginfo_ttl: '86400'
aurweb_request_limt: '4000'
aurweb_window_length: '86400'
aurweb_apc_shm_size: '1024M'
aurweb_apc_ttl: '1800'
aurweb_apc_entries_hint: '0'
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment