Liquibase Ansible Role Variables

Last updated: July 14, 2025

The liquibase.liquibase Ansible role supports several variables for customization. Below are the key options you can set in your playbook.

Role Variables

Variable

Description

Default

liquibase_ver

The version of Liquibase to install

4.26.0

liquibase_mirror

URL of the release repository to download from

https://github.com/liquibase/liquibase/releases/download

liquibase_parent_install_dir

The parent directory where Liquibase will be installed

/usr/local

liquibase_checksums

Dictionary of SHA-256 checksums used to validate Liquibase downloads

(Populated internally based on version)

Example (Custom Install Location and Mirror)
- name: Install Liquibase with custom settings
  hosts: liquibase_hosts
  become: 'yes'
  roles:
    - role: liquibase.liquibase
      liquibase_ver: 4.23.1
      liquibase_parent_install_dir: /opt
      liquibase_mirror: https://custom-repo.example.com/liquibase
Liquibase Ansible Role Variables - Liquibase