Skip to content

Commit 182ef43

Browse files
author
Alan Christie
committed
fix: Better error
1 parent b8c74c3 commit 182ef43

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

roles/infrastructure/tasks/main.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
that:
2121
- k8s_auth_host|length > 0
2222
- k8s_auth_api_key|length > 0
23+
msg: "Define KUBECONFIG or set 'k8s_auth_host' and 'k8s_auth_api_key'"
2324
when: k8s_kubeconfig|string|length == 0
2425

2526
- name: Assert authentication (KUBECONFIG)

0 commit comments

Comments
 (0)