--- - name: Restart PM2 ansible.builtin.command: '/home/nicolo/node_modules/bin/pm2 restart all --update-env' become: true become_user: nicolo