ansible-role-phpmyadmin/tasks/main.yml
2024-01-04 08:05:08 +01:00

19 lines
447 B
YAML

---
- name: Configure PHP
ansible.builtin.import_tasks: phpfpm.yml
tags: phpfpm
- name: Install packages
ansible.builtin.import_tasks: packages.yml
tags: packages
- name: Copy configuration
ansible.builtin.template:
src: pma.php.j2
dest: "/etc/phpmyadmin/conf.d/{{ inventory_hostname }}.php"
mode: "0644"
notify:
- stop php-fpm-socket
- stop php-fpm-service
- start php-fpm-socket
- start php-fpm-service