--- - name: restart php-fpm ansible.builtin.service: name: "php{{ php_version }}-fpm.service" state: restarted - name: restart apache2 ansible.builtin.service: name: apache2 state: restarted - name: restart redis ansible.builtin.service: name: redis-server state: restarted