aboutsummaryrefslogtreecommitdiffhomepage
path: root/files/clever-set-build-flavor.sh
diff options
context:
space:
mode:
authorClement Delafargue <clement.delafargue@fretlink.com>2019-10-08 14:46:25 +0200
committerClement Delafargue <clement.delafargue@fretlink.com>2020-06-19 15:14:54 +0200
commit1c1393659bb8adb3273e2434725ae1664287a1c9 (patch)
treea990eea62add9c2aec31147806793a775c273b9f /files/clever-set-build-flavor.sh
parent18c278e2d8f19fe1066908bd6bc631bdb8472333 (diff)
downloadansible-clever-1c1393659bb8adb3273e2434725ae1664287a1c9.tar.gz
ansible-clever-1c1393659bb8adb3273e2434725ae1664287a1c9.tar.zst
ansible-clever-1c1393659bb8adb3273e2434725ae1664287a1c9.zip
Add optional build flavor configuration
Diffstat (limited to 'files/clever-set-build-flavor.sh')
-rwxr-xr-xfiles/clever-set-build-flavor.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/files/clever-set-build-flavor.sh b/files/clever-set-build-flavor.sh
new file mode 100755
index 0000000..52ad223
--- /dev/null
+++ b/files/clever-set-build-flavor.sh
@@ -0,0 +1,9 @@
1#!/usr/bin/env bash
2
3set -e
4
5function setBuildFlavor {
6 clever scale --build-flavor "${BUILD_FLAVOR}"
7}
8
9setBuildFlavor