ansible-role-phpmyadmin/tasks/main.yml
2024-01-04 08:19:42 +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