Skip to content

Appsilon/ansible-quarto

Ansible Role: Quarto

CI Ansible Galaxy

A role to install Quarto.

Role Variables

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

Example Playbook

- 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

Development

Dev Container

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.

Alternative: Local Development

If you prefer not to use the Dev Container, you can develop locally with the following steps:

Dependencies

To execute tests locally, it is necessary to install the following dependencies:

Preparing the Environment

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

Running

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

License

MIT

Author Information

Appsilon

About

No description, website, or topics provided.

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

No packages published