--- - 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