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

---
# .. vim: foldmarker=[[[,]]]:foldmethod=marker
# .. Copyright (C) 2014-2019 Maciej Delmanowski <drybjed@gmail.com>
# .. Copyright (C) 2015-2019 DebOps <https://debops.org/>
# .. SPDX-License-Identifier: GPL-3.0-only
# .. _phpmyadmin__ref_defaults:
# debops.phpmyadmin default variables
# ===================================
# .. contents:: Sections
# :local:
#
# .. include:: ../../../../includes/global.rst
# .. envvar:: phpmyadmin_dependencies [[[
#
# Should PHPMyAdmin role manage its own dependencies?
phpmyadmin_dependencies: True
# ]]]
# .. envvar:: phpmyadmin_domain [[[
#
# What subdomain should be used for PHPMyAdmin in nginx configuration
phpmyadmin_domain: [ 'mysql.{{ ansible_domain }}' ]
# ]]]
# .. envvar:: phpmyadmin_password_length [[[
#
# Default length of generated passwords
phpmyadmin_password_length: '20'
# ]]]
# .. envvar:: phpmyadmin_control_password [[[
#
# Default PHPMyAdmin control password
phpmyadmin_control_password: "{{ lookup('password', secret + '/mariadb/' + ansible_local['mariadb'].delegate_to + '/credentials/' + phpmyadmin_control_user + '/password length=' + phpmyadmin_password_length) }}"
# ]]]
# .. envvar:: phpmyadmin_allow [[[
#
# List of IP addresses or network ranges in CIDR format, allowed to access
# PHPMyAdmin. Leave empty to allow access from all IP addresses/networks
phpmyadmin_allow: []
# ]]]
# .. envvar:: phpmyadmin_upload_size [[[
#
# Max upload size for nginx and php5
phpmyadmin_upload_size: '64M'
# ]]]
# .. envvar:: phpmyadmin_php5_max_children [[[
#
# Maximum number of PHP5 processes for PHPMyAdmin
phpmyadmin_php5_max_children: '20'
# ]]]
# Configuration for other Ansible roles [[[
# -----------------------------------------
# .. envvar:: phpmyadmin__php__dependent_packages [[[
#
# Package configuration for the :ref:`debops.php` Ansible role.
phpmyadmin__php__dependent_packages:
- 'mysql'
- 'mcrypt'
- 'gd'
# ]]]
# .. envvar:: phpmyadmin__php__dependent_pools [[[
#
# Pool configuration for the :ref:`debops.php` Ansible role.
phpmyadmin__php__dependent_pools:
- '{{ phpmyadmin_php5_pool }}'
# ]]]
# .. envvar:: phpmyadmin__nginx__dependent_servers [[[
#
# Server configuration for the :ref:`debops.nginx` Ansible role.
phpmyadmin__nginx__dependent_servers:
- '{{ phpmyadmin_nginx_server }}'
# ]]]
# .. envvar:: phpmyadmin__nginx__dependent_upstreams [[[
#
# Upstream configuration for the :ref:`debops.nginx` Ansible role.
phpmyadmin__nginx__dependent_upstreams:
- '{{ phpmyadmin_nginx_upstream_php5 }}'
# ]]]
# ]]]