Skip to content

shakahl/ansible-phpmyadmin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible Role: phpMyAdmin

An Ansible role that installs phpMyAdmin on Ubuntu.

If nginx is installed phpMyAdmin will be configured for it in /etc/nginx/global.d/phpmyadmin.conf. The files in that directory should be included in all virtual hosts with include /etc/nginx/global.d/*.conf;.

Requirements

For phpMyAdmin to work a web server (e.g. nginx), php and MySQL have to be installed.

Role Variables

Available variables are listed below, along with default values:

phpmyadmin_php_fpm_socket: php-fpm

phpmyadmin_server_host: localhost
phpmyadmin_server_auth_type: config
phpmyadmin_server_user: root
phpmyadmin_server_password: root

phpmyadmin_custom_template_filename: config.php.j2

Dependencies

None

Example Playbook

- hosts: all
  roles:
    - { role: mjanser.phpmyadmin }

License

MIT

About

An Ansible role that install phpMyAdmin

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%