main.yml 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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. with_php: False
  26. php_version: '7.0'
  27. with_php_mysql_legacy: False
  28. phpsyscheck_vhostname: 'sys.localhost'
  29. phpsyscheck_vhostip: Null
  30. phpsyscheck_vhostport: Null
  31. phpsyscheck_ssl: False
  32. php_config:
  33. date.timezone: 'Europe/Paris'
  34. short_open_tag: 'off'
  35. expose_php: 'off'
  36. php_config_web:
  37. display_errors: 'off'
  38. display_startup_errors: 'off'
  39. log_errors: 'on'
  40. html_errors: 'off'
  41. # Set with /etc/default/php5-fpm (see https://bugs.php.net/bug.php?id=66239)
  42. # error_log: 'syslog'
  43. with_php_apc: False
  44. with_phpmyadmin: False
  45. phpmyadmin_vhostname: 'pma.localhost'
  46. phpmyadmin_vhostip: Null
  47. phpmyadmin_vhostport: Null
  48. phpmyadmin_ssl: False
  49. http_auth_phpmyadmin: False
  50. with_phppgadmin: False
  51. phppgadmin_vhostname: 'pga.localhost'
  52. phppgadmin_vhostip: Null
  53. phppgadmin_vhostport: 80
  54. http_auth_phppgadmin: False
  55. http_auth_admin_password: Null
  56. http_auth_user_name: Null
  57. http_auth_user_password: Null
  58. # vim: ft=yaml.ansible