main.yml 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. #
  2. # Default variables for webservers
  3. #
  4. with_apache2: False
  5. apache2_ssl_strengthened: False
  6. with_nginx: False
  7. nginx_workers: 'auto'
  8. nginx_ssl_strengthened: False
  9. nginx_http_config: Null
  10. nginx_security_xframeoptions: True
  11. nginx_security_xxssprotection: True
  12. nginx_security_xcontenttypeoptions: True
  13. nginx_fpm_openbasedir_enforced: False
  14. with_modphp5: False
  15. with_modphp: False
  16. with_fpm: False
  17. fpm_pool_count: 1
  18. fpm_user: 'www-data'
  19. fpm_group: 'www-data'
  20. # fpm_max_children ~= (total RAM - RAM used by other process) / (average amount of RAM used by a PHP process)
  21. fpm_start_servers: 2
  22. fpm_max_children: 5
  23. fpm_min_spare_servers: 1
  24. fpm_max_spare_servers: 3
  25. fpm_pools: Null
  26. with_php: False
  27. php_version: '7.0'
  28. with_php_mysql_legacy: False
  29. with_phpsyscheck: True
  30. phpsyscheck_vhostname: 'sys.localhost'
  31. phpsyscheck_vhostip: Null
  32. phpsyscheck_vhostport: Null
  33. phpsyscheck_ssl: False
  34. phpsyscheck_http_auth: False
  35. phpsyscheck_http_whitelist_ip: []
  36. php_config:
  37. date.timezone: 'Europe/Paris'
  38. short_open_tag: 'off'
  39. expose_php: 'off'
  40. php_config_web:
  41. display_errors: 'off'
  42. display_startup_errors: 'off'
  43. log_errors: 'on'
  44. html_errors: 'off'
  45. # Set with /etc/default/php5-fpm (see https://bugs.php.net/bug.php?id=66239)
  46. # error_log: 'syslog'
  47. with_php_apc: False
  48. with_phpmyadmin: False
  49. phpmyadmin_vhostname: 'pma.localhost'
  50. phpmyadmin_vhostip: Null
  51. phpmyadmin_vhostport: Null
  52. phpmyadmin_ssl: False
  53. phpmyadmin_http_auth: False
  54. phpmyadmin_http_whitelist_ip: []
  55. with_phppgadmin: False
  56. phppgadmin_vhostname: 'pga.localhost'
  57. phppgadmin_vhostip: Null
  58. phppgadmin_vhostport: 80
  59. phppgadmin_http_auth: False
  60. phppgadmin_http_whitelist_ip: []
  61. http_auth_admin_password: Null
  62. http_auth_user_name: Null
  63. http_auth_user_password: Null
  64. # vim: ft=yaml.ansible