ansible-role-phpmyadmin/README.md
2024-01-04 08:44:43 +01:00

35 lines
855 B
Markdown

phpMyAdmin
==========
This role installs phpMyAdmin.
## Variables
| Name | Note | Default |
|--|--|--|
| `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.name` | Hostname of database host | * optional* |
| `phpmyadmin_host.address` | IP address of database host | *optional* |
## Playbook
This role depends on [ansible-role-php](https://git.systemausfall.org/senselab/ansible-role-php):
```Shell
---
- name: Install phpMyAdmin
hosts:
- myhost
roles:
- role: senselab.php
- role: senselab.phpmyadmin
````
# Running the role
Run the playbook with:
```Shell
ansible-playbook playbooks/phpmyadmin.yml
```