Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Quick ansible playbook to download and setup liquibase
--- # Quick ansible playbook for downloading liquibase
- name: download liquibase using ansible
hosts: dbservers
connection: ssh
sudo: yes
user: user
- name: Create liquibase directory
name: /opt/liquibase
state: directory
mode: 0755
- name: install liquibase
src:{{ liquibase_version }}/liquibase-{{ liquibase_version }}-bin.tar.gz
dest: /opt/liquibase
copy: no
mode: 0755
creates: /opt/liquibase/liquibase
- name: add liquibase to PATH
raw: PATH=/opt/liquibase:$PATH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment