main.yml 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. #
  2. # Default variables for webservers
  3. #
  4. with_apache2: False
  5. with_nginx: False
  6. # nginx_workers ~= $(getconf _NPROCESSORS_ONLN)
  7. nginx_workers: 2
  8. nginx_ssl_strengthened: False
  9. with_modphp5: False
  10. with_fpm: False
  11. fpm_pool_count: 1
  12. fpm_user: 'www-data'
  13. fpm_group: 'www-data'
  14. # fpm_max_children ~= (total RAM - RAM used by other process) / (average amount of RAM used by a PHP process)
  15. fpm_start_servers: 2
  16. fpm_max_children: 5
  17. fpm_min_spare_servers: 1
  18. fpm_max_spare_servers: 3
  19. with_php: False
  20. with_php_lt_54: False
  21. phpsyscheck_vhostname: sys.localhost
  22. php_config:
  23. date.timezone: 'Europe/Paris'
  24. short_open_tag: 'off'
  25. expose_php: 'off'
  26. php_config_web:
  27. display_errors: 'off'
  28. display_startup_errors: 'off'
  29. log_errors: 'on'
  30. html_errors: 'off'
  31. # Set with /etc/default/php5-fpm (see https://bugs.php.net/bug.php?id=66239)
  32. # error_log: 'syslog'
  33. with_php_apc: False
  34. with_phpmyadmin: False
  35. phpmyadmin_vhostname: pma.localhost
  36. http_auth_phpmyadmin_username: ''
  37. http_auth_phpmyadmin_password: ''
  38. http_auth_user_name: ''
  39. http_auth_user_password: ''
  40. http_auth_admin_password: seVDetGvSs7nA # openssl passwd -crypt adm123in
  41. # vim: ft=yaml