ansible-role-phpmyadmin/handlers/main.yml

25 lines
589 B
YAML
Raw Normal View History

2024-01-04 07:37:47 +01:00
---
2024-01-04 08:05:08 +01:00
- name: Stop php-fpm-socket
ansible.builtin.systemd:
name: "php-fpm@{{ phpmyadmin_user }}.socket"
state: stopped
2024-01-04 07:37:47 +01:00
2024-01-04 08:05:08 +01:00
- name: Stop php-fpm-service
ansible.builtin.systemd:
name: "php-fpm@{{ phpmyadmin_user }}.service"
state: stopped
- name: Start php-fpm-socket
ansible.builtin.systemd:
name: "php-fpm@{{ phpmyadmin_user }}.socket"
state: started
enabled: true
daemon_reload: true
- name: Start php-fpm-service
ansible.builtin.systemd:
name: "php-fpm@{{ phpmyadmin_user }}.service"
state: started
enabled: true
daemon_reload: true