--- - name: Restart php-fpm ansible.builtin.service: name: '{{ php_fpm_service }}' state: restarted when: php_install_fpm