--- - name: Déployer Frontend Web hosts: edge become: true tasks: - name: Installer Node.js et nginx command: | incus exec veza-web -- bash -c 'apt update && apt install -y curl nginx' - name: Installer Node.js 18 command: | incus exec veza-web -- bash -c ' curl -fsSL https://deb.nodesource.com/setup_18.x | bash - apt install -y nodejs ' - name: Créer l'application web command: | incus exec veza-web -- bash -c 'cat > /var/www/html/index.html << EOF