A role to install Quarto.
The following variables are available for this role:
Variable | Required | Default | Choices | Comments |
---|---|---|---|---|
quarto_versions | no | ["1.6.43"] | List of Quarto versions to install | |
quarto_install_root_dir | no | /opt/quarto | Root directory where Quarto will be installed | |
quarto_default_version | no | First version in quarto_versions list | When set, creates a symlink at /usr/local/bin/quarto pointing to this version |
- hosts: all
roles:
- appsilon.quarto
Or with custom variables:
- hosts: all
roles:
- role: appsilon.quarto
vars:
quarto_versions:
- "1.6.43"
- "1.5.29"
quarto_install_root_dir: /usr/local/quarto
The easiest way to contribute to this role is to use the Dev Container. This requires:
This dev container includes all the dependencies required to work on the role.
If you prefer not to use the Dev Container, you can develop locally with the following steps:
To execute tests locally, it is necessary to install the following dependencies:
Create a Python environment:
python3 -m venv .venv
Activate the environment:
source .venv/bin/activate
Install molecule (and its dependencies) inside the environment:
python3 -m pip install -r requirements.txt
molecule test
To perform quick test after some modification:
molecule create
molecule converge
molecule verify
To log into the running instance for troubleshooting purposes:
molecule login
At the end of the test, destroy the environment:
molecule destroy
MIT