main.yml 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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. with_modphp5: False
  14. with_modphp: False
  15. with_fpm: False
  16. fpm_pool_count: 1
  17. fpm_user: 'www-data'
  18. fpm_group: 'www-data'
  19. # fpm_max_children ~= (total RAM - RAM used by other process) / (average amount of RAM used by a PHP process)
  20. fpm_start_servers: 2
  21. fpm_max_children: 5
  22. fpm_min_spare_servers: 1
  23. fpm_max_spare_servers: 3
  24. with_php: False
  25. php_version: '7.0'
  26. with_php_mysql_legacy: False
  27. phpsyscheck_vhostname: 'sys.localhost'
  28. phpsyscheck_vhostip: Null
  29. phpsyscheck_vhostport: Null
  30. phpsyscheck_ssl: False
  31. php_config:
  32. date.timezone: 'Europe/Paris'
  33. short_open_tag: 'off'
  34. expose_php: 'off'
  35. php_config_web:
  36. display_errors: 'off'
  37. display_startup_errors: 'off'
  38. log_errors: 'on'
  39. html_errors: 'off'
  40. # Set with /etc/default/php5-fpm (see https://bugs.php.net/bug.php?id=66239)
  41. # error_log: 'syslog'
  42. with_php_apc: False
  43. with_phpmyadmin: False
  44. phpmyadmin_vhostname: 'pma.localhost'
  45. phpmyadmin_vhostip: Null
  46. phpmyadmin_vhostport: Null
  47. phpmyadmin_ssl: False
  48. http_auth_phpmyadmin: False
  49. with_phppgadmin: False
  50. phppgadmin_vhostname: 'pga.localhost'
  51. phppgadmin_vhostip: Null
  52. phppgadmin_vhostport: 80
  53. http_auth_phppgadmin: False
  54. http_auth_admin_password: Null
  55. http_auth_user_name: Null
  56. http_auth_user_password: Null
  57. # vim: ft=ansible