No description
Find a file
2024-01-04 10:40:24 +01:00
defaults Typo 2024-01-04 10:27:26 +01:00
handlers Updates 2024-01-04 08:05:08 +01:00
meta Updates 2024-01-04 08:05:08 +01:00
tasks Change password not only on creation 2024-01-04 10:40:24 +01:00
templates Loop through database hosts 2024-01-04 10:25:54 +01:00
.gitignore Updates 2024-01-04 08:05:08 +01:00
README.md Create configuration database 2024-01-04 09:36:28 +01:00

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_database Name of phpMyAdmin configuration database phpmyadmin
phpmyadmin_database_password Password of configuration database user
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
phpmyadmin_database_host Ansible hostname of the database host, use a list to create the configuration on multiple hosts localhost

Playbook

This role depends on ansible-role-php:

---
- name: Install phpMyAdmin
  hosts:
    - myhost
  roles:
    - role: senselab.php
    - role: senselab.phpmyadmin

Running the role

Run the playbook with:

ansible-playbook playbooks/phpmyadmin.yml