main.yml 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. #
  2. # Default variables for webservers
  3. #
  4. with_apache2: False
  5. apache2_ssl_strengthened: False
  6. with_nginx: False
  7. # nginx_workers ~= $(getconf _NPROCESSORS_ONLN)
  8. nginx_workers: 2
  9. nginx_ssl_strengthened: False
  10. with_modphp5: False
  11. with_fpm: False
  12. fpm_pool_count: 1
  13. fpm_user: 'www-data'
  14. fpm_group: 'www-data'
  15. # fpm_max_children ~= (total RAM - RAM used by other process) / (average amount of RAM used by a PHP process)
  16. fpm_start_servers: 2
  17. fpm_max_children: 5
  18. fpm_min_spare_servers: 1
  19. fpm_max_spare_servers: 3
  20. with_php: False
  21. with_php_mysql_legacy: False
  22. phpsyscheck_vhostname: 'sys.localhost'
  23. phpsyscheck_vhostip: Null
  24. phpsyscheck_vhostport: 80
  25. php_config:
  26. date.timezone: 'Europe/Paris'
  27. short_open_tag: 'off'
  28. expose_php: 'off'
  29. php_config_web:
  30. display_errors: 'off'
  31. display_startup_errors: 'off'
  32. log_errors: 'on'
  33. html_errors: 'off'
  34. # Set with /etc/default/php5-fpm (see https://bugs.php.net/bug.php?id=66239)
  35. # error_log: 'syslog'
  36. with_php_apc: False
  37. with_phpmyadmin: False
  38. phpmyadmin_vhostname: 'pma.localhost'
  39. phpmyadmin_vhostip: Null
  40. phpmyadmin_vhostport: 80
  41. http_auth_phpmyadmin: False
  42. with_phppgadmin: False
  43. phppgadmin_vhostname: 'pga.localhost'
  44. phppgadmin_vhostip: Null
  45. phppgadmin_vhostport: 80
  46. http_auth_phppgadmin: False
  47. http_auth_admin_password: Null
  48. http_auth_user_name: Null
  49. http_auth_user_password: Null
  50. # vim: ft=yaml