{% if ansible_prolog -%} {% from 'templates/ansible/prolog.j2' import prolog with context %} {{ prolog() }} {% endif -%} # Apache vhost for phpmyadmin ServerName {{ phpmyadmin_vhostname }} DocumentRoot /usr/share/phpmyadmin DirectoryIndex index.php {% if http_auth_phpmyadmin %} AuthType basic AuthName "Restricted Access" AuthUserFile /etc/apache2/auth_admin Require valid-user {% endif %} Include /etc/phpmyadmin/apache.conf php_admin_value max_execution_time 240 php_admin_value upload_max_filesize 128M php_admin_value post_max_size 128M LogLevel warn CustomLog ${APACHE_LOG_DIR}/pma.access.log combined ErrorLog ${APACHE_LOG_DIR}/pma.error.log