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

24 lines
589 B
YAML

---
- name: Stop php-fpm-socket
ansible.builtin.systemd:
name: "php-fpm@{{ phpmyadmin_user }}.socket"
state: stopped
- 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