You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

99 lines
3.3 KiB

  1. ---
  2. # .. vim: foldmarker=[[[,]]]:foldmethod=marker
  3. # .. Copyright (C) 2014-2019 Maciej Delmanowski <drybjed@gmail.com>
  4. # .. Copyright (C) 2015-2019 DebOps <https://debops.org/>
  5. # .. SPDX-License-Identifier: GPL-3.0-only
  6. # .. _phpmyadmin__ref_defaults:
  7. # debops.phpmyadmin default variables
  8. # ===================================
  9. # .. contents:: Sections
  10. # :local:
  11. #
  12. # .. include:: ../../../../includes/global.rst
  13. # .. envvar:: phpmyadmin_dependencies [[[
  14. #
  15. # Should PHPMyAdmin role manage its own dependencies?
  16. phpmyadmin_dependencies: True
  17. # ]]]
  18. # .. envvar:: phpmyadmin_domain [[[
  19. #
  20. # What subdomain should be used for PHPMyAdmin in nginx configuration
  21. phpmyadmin_domain: [ 'mysql.{{ ansible_domain }}' ]
  22. # ]]]
  23. # .. envvar:: phpmyadmin_password_length [[[
  24. #
  25. # Default length of generated passwords
  26. phpmyadmin_password_length: '20'
  27. # ]]]
  28. # .. envvar:: phpmyadmin_control_password [[[
  29. #
  30. # Default PHPMyAdmin control password
  31. phpmyadmin_control_password: "{{ lookup('password', secret + '/mariadb/' + ansible_local['mariadb'].delegate_to + '/credentials/' + phpmyadmin_control_user + '/password length=' + phpmyadmin_password_length) }}"
  32. # ]]]
  33. # .. envvar:: phpmyadmin_allow [[[
  34. #
  35. # List of IP addresses or network ranges in CIDR format, allowed to access
  36. # PHPMyAdmin. Leave empty to allow access from all IP addresses/networks
  37. phpmyadmin_allow: []
  38. # ]]]
  39. # .. envvar:: phpmyadmin_upload_size [[[
  40. #
  41. # Max upload size for nginx and php5
  42. phpmyadmin_upload_size: '64M'
  43. # ]]]
  44. # .. envvar:: phpmyadmin_php5_max_children [[[
  45. #
  46. # Maximum number of PHP5 processes for PHPMyAdmin
  47. phpmyadmin_php5_max_children: '20'
  48. # ]]]
  49. # Configuration for other Ansible roles [[[
  50. # -----------------------------------------
  51. # .. envvar:: phpmyadmin__php__dependent_packages [[[
  52. #
  53. # Package configuration for the :ref:`debops.php` Ansible role.
  54. phpmyadmin__php__dependent_packages:
  55. - 'mysql'
  56. - 'mcrypt'
  57. - 'gd'
  58. # ]]]
  59. # .. envvar:: phpmyadmin__php__dependent_pools [[[
  60. #
  61. # Pool configuration for the :ref:`debops.php` Ansible role.
  62. phpmyadmin__php__dependent_pools:
  63. - '{{ phpmyadmin_php5_pool }}'
  64. # ]]]
  65. # .. envvar:: phpmyadmin__nginx__dependent_servers [[[
  66. #
  67. # Server configuration for the :ref:`debops.nginx` Ansible role.
  68. phpmyadmin__nginx__dependent_servers:
  69. - '{{ phpmyadmin_nginx_server }}'
  70. # ]]]
  71. # .. envvar:: phpmyadmin__nginx__dependent_upstreams [[[
  72. #
  73. # Upstream configuration for the :ref:`debops.nginx` Ansible role.
  74. phpmyadmin__nginx__dependent_upstreams:
  75. - '{{ phpmyadmin_nginx_upstream_php5 }}'
  76. # ]]]
  77. # ]]]