Install and Use the Liquibase Ansible Role
Last updated: September 2, 2025
Use the official Liquibase Ansible role to install Liquibase on your target servers. This role handles downloading, verifying, and placing Liquibase in your desired installation path.
Note: Starting with Liquibase version 4.32.0, we will no longer update this package manager with our latest software download packages.
Before you begin
Be sure you have Ansible set up on your machine.
Install Java.
View additional requirements.
Procedure
Install the Role
Install the Liquibase role from Ansible Galaxy:
If you instead need to update the role, run:
To uninstall the role:
Step up your inventory.
Create an inventory file, such as inventory.ini, and list your target hosts.
Create a Playbook
Create a playbook file, such as playbook.yml, that uses the Liquibase role
This installs the latest default version of Liquibase.
To install a specific version, include the liquibase_ver variable.
Run the Playbook.
Use the ansible-playbook command to apply the role.
Verify Installation
After running the playbook, SSH into your target servers and run:
This confirms Liquibase is installed and available.