Quarto

Install Quarto for rendering reproducible documents, reports, and documentation websites. The role downloads Quarto’s official RPM and installs its system executable at /usr/bin/quarto.

ansible-playbook -i inventory -K playbooks/lab-stack.yml --tags quarto

The role pins the SHA256 digest published for the corresponding GitHub release asset and verifies it before installation. When upgrading Quarto, maintainers must update quarto_version and quarto_rpm_checksum together. The upstream RPM does not provide a signature that Fedora/DNF can validate with a suitable RPM key, so the pinned release-asset digest is the RPM’s integrity control.

✅ Check

# Check the Quarto installation — expected: version and successful diagnostics
quarto --version
command -v quarto
rpm -q quarto
quarto check

# Render a minimal document — expected: test.html
mkdir -p ~/tmp-quarto-test && cd ~/tmp-quarto-test

cat > test.qmd <<'EOF'
---
title: "Lab Stack Test"
format: html
---

## It works

Quarto rendered this document successfully.
EOF

quarto render test.qmd
test -f test.html && echo "Render successful"