ansible-role-phpmyadmin/README.md

39 lines
1.1 KiB
Markdown
Raw Normal View History

2024-01-04 07:37:47 +01:00
phpMyAdmin
==========
This role installs phpMyAdmin.
2024-01-04 08:05:08 +01:00
## Variables
| Name | Note | Default |
|--|--|--|
2024-01-04 08:44:43 +01:00
| `phpmyadmin_user` | System user to create | `pma` |
| `phpmyadmin_blowfish_secret` | 32 bytes long plain-text password for cookie encryption | |
| `phpmyadmin_tmp` | Tmp directory | `/tmp` |
2024-01-04 09:36:28 +01:00
| `phpmyadmin_database` | Name of phpMyAdmin configuration database | `phpmyadmin` |
| `phpmyadmin_database_password` | Password of configuration database user | |
2024-01-04 08:05:08 +01:00
| `phpmyadmin_hosts` | Array with hosts to connect to | *optional* |
2024-01-04 09:36:28 +01:00
| `phpmyadmin_hosts.name` | Hostname of database host | *optional* |
2024-01-04 08:05:08 +01:00
| `phpmyadmin_host.address` | IP address of database host | *optional* |
2024-01-04 09:36:28 +01:00
| `phpmyadmin_database_host` | Ansible hostname of the database host, use a list to create the configuration on multiple hosts | `localhost` |
2024-01-04 08:05:08 +01:00
## 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
````
2024-01-04 07:37:47 +01:00
# Running the role
Run the playbook with:
```Shell
ansible-playbook playbooks/phpmyadmin.yml
```