ansible-role-phpmyadmin/tasks/main.yml

20 lines
447 B
YAML
Raw Normal View History

2024-01-04 07:37:47 +01:00
---
2024-01-04 08:05:08 +01:00
- name: Configure PHP
ansible.builtin.import_tasks: phpfpm.yml
tags: phpfpm
2024-01-04 07:37:47 +01:00
- name: Install packages
ansible.builtin.import_tasks: packages.yml
tags: packages
2024-01-04 08:05:08 +01:00
- 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