--- - name: restart nginx service: name: nginx state: restarted - name: restart php-fpm service: name: "php{{ php_version }}-fpm" state: restarted