From 8db1109ca093e057a0ac40aa6283030d536508ee Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Mon, 27 Aug 2018 20:38:23 +0200 Subject: o sz-ds: wip. --- ansible/roles/sz-ds/templates/opt/sz-ds/bin/flyway.j2 | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 ansible/roles/sz-ds/templates/opt/sz-ds/bin/flyway.j2 (limited to 'ansible/roles/sz-ds/templates') diff --git a/ansible/roles/sz-ds/templates/opt/sz-ds/bin/flyway.j2 b/ansible/roles/sz-ds/templates/opt/sz-ds/bin/flyway.j2 new file mode 100644 index 0000000..8113d96 --- /dev/null +++ b/ansible/roles/sz-ds/templates/opt/sz-ds/bin/flyway.j2 @@ -0,0 +1,7 @@ +#!/bin/bash + +set -e + +v="{{ flyway_version }}" +flyway="/opt/p2k16/flyway/flyway-$v/flyway" +exec "$flyway" -configFile=/etc/p2k16/flyway.conf "$@" -- cgit v1.2.3