main.yml 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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_pm: 'dynamic'
  22. fpm_start_servers: 2
  23. fpm_max_children: 5
  24. fpm_min_spare_servers: 1
  25. fpm_max_spare_servers: 3
  26. fpm_pools: Null
  27. with_php: False
  28. php_version: '7.0'
  29. with_php_mysql_legacy: False
  30. with_phpsyscheck: True
  31. phpsyscheck_vhostname: 'sys.localhost'
  32. phpsyscheck_vhostip: Null
  33. phpsyscheck_vhostport: Null
  34. phpsyscheck_ssl: False
  35. phpsyscheck_http_auth: False
  36. phpsyscheck_http_whitelist_ip: []
  37. php_config:
  38. date.timezone: 'Europe/Paris'
  39. short_open_tag: 'off'
  40. expose_php: 'off'
  41. php_config_web:
  42. display_errors: 'off'
  43. display_startup_errors: 'off'
  44. log_errors: 'on'
  45. html_errors: 'off'
  46. # Set with /etc/default/php5-fpm (see https://bugs.php.net/bug.php?id=66239)
  47. # error_log: 'syslog'
  48. with_php_apc: False
  49. with_phpmyadmin: False
  50. phpmyadmin_vhostname: 'pma.localhost'
  51. phpmyadmin_vhostip: Null
  52. phpmyadmin_vhostport: Null
  53. phpmyadmin_ssl: False
  54. phpmyadmin_http_auth: False
  55. phpmyadmin_http_whitelist_ip: []
  56. with_phppgadmin: False
  57. phppgadmin_vhostname: 'pga.localhost'
  58. phppgadmin_vhostip: Null
  59. phppgadmin_vhostport: 80
  60. phppgadmin_http_auth: False
  61. phppgadmin_http_whitelist_ip: []
  62. http_auth_admin_password: Null
  63. http_auth_user_name: Null
  64. http_auth_user_password: Null
  65. # vim: ft=yaml.ansible