commit d2ec9602577a2d52ae44c141b701780e56b533f3
parent 61fec0d5674f139090a8956743f5673cbbbb0a6b
Author: Florian Dold <dold@taler.net>
Date: Fri, 31 Jul 2026 15:38:37 +0200
fail early when the deployment kind is not defined
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/playbooks/setup.yml b/playbooks/setup.yml
@@ -7,6 +7,11 @@
ansible.builtin.fail:
msg: "Secrets are not defined (HAVE_SECRETS not set)"
when: HAVE_SECRETS is undefined
+
+ - name: "Fail if the deployment kind is not defined"
+ ansible.builtin.fail:
+ msg: "DEPLOYMENT_KIND is not set; it selects the exchange_$KIND role"
+ when: DEPLOYMENT_KIND is undefined
roles:
- role: common_packages
- role: webserver