Add more config options
This commit is contained in:
parent
313538ba5a
commit
bad798a2ee
3 changed files with 6 additions and 1 deletions
|
@ -7,7 +7,9 @@ This role installs phpMyAdmin.
|
||||||
|
|
||||||
| Name | Note | Default |
|
| Name | Note | Default |
|
||||||
|--|--|--|
|
|--|--|--|
|
||||||
| `phpmyadmin_user` | System user to create | `pma`
|
| `phpmyadmin_user` | System user to create | `pma` |
|
||||||
|
| `phpmyadmin_blowfish_secret` | 32 bytes long plain-text password for cookie encryption | |
|
||||||
|
| `phpmyadmin_tmp` | Tmp directory | `/tmp` |
|
||||||
| `phpmyadmin_hosts` | Array with hosts to connect to | *optional* |
|
| `phpmyadmin_hosts` | Array with hosts to connect to | *optional* |
|
||||||
| `phpmyadmin_hosts.name` | Hostname of database host | * optional* |
|
| `phpmyadmin_hosts.name` | Hostname of database host | * optional* |
|
||||||
| `phpmyadmin_host.address` | IP address of database host | *optional* |
|
| `phpmyadmin_host.address` | IP address of database host | *optional* |
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
---
|
---
|
||||||
phpmyadmin_user: pma
|
phpmyadmin_user: pma
|
||||||
|
phpmyadmin_tmp: /tmp
|
||||||
|
|
|
@ -2,6 +2,8 @@
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
$cfg['ForceSSL'] = true;
|
$cfg['ForceSSL'] = true;
|
||||||
|
$cfg['blowfish_secret'] = '{{ phpmyadmin_blowfish_secret }}';
|
||||||
|
$cfg['TempDir'] = '{{ phpmyadmin_tmp }}';
|
||||||
|
|
||||||
{% if phpmyadmin_hosts is defined %}
|
{% if phpmyadmin_hosts is defined %}
|
||||||
$i = 0;
|
$i = 0;
|
||||||
|
|
Loading…
Reference in a new issue