ansible-role-phpmyadmin/README.md

34 lines
714 B
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 |
|--|--|--|
| `phpmyadmin_user` | System user to create | `pma`
| `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
````
2024-01-04 07:37:47 +01:00
# Running the role
Run the playbook with:
```Shell
ansible-playbook playbooks/phpmyadmin.yml
```