|
@@ -2,13 +2,12 @@
|
|
# Variables affecting this role:
|
|
# Variables affecting this role:
|
|
#
|
|
#
|
|
# tools:
|
|
# tools:
|
|
-# - final_name: the name of the tool to check for
|
|
|
|
|
|
+# - final_name: the path to the tool to check for
|
|
# completion: look for bash_completion or no
|
|
# completion: look for bash_completion or no
|
|
|
|
+# completion_file: the name of the bash completion file
|
|
# clusters:
|
|
# clusters:
|
|
# just a simple list of clusters to check
|
|
# just a simple list of clusters to check
|
|
#
|
|
#
|
|
-# TODO: move clusters somewhere else than vars/ and perhaps make it richer
|
|
|
|
-#
|
|
|
|
- name: Check for tools
|
|
- name: Check for tools
|
|
file:
|
|
file:
|
|
path: "{{ tools[item].final_name }}"
|
|
path: "{{ tools[item].final_name }}"
|
|
@@ -52,4 +51,5 @@
|
|
kubeconfig: tmp/kubeconfig-{{ item }}
|
|
kubeconfig: tmp/kubeconfig-{{ item }}
|
|
validate_certs: no
|
|
validate_certs: no
|
|
loop: "{{ clusters }}"
|
|
loop: "{{ clusters }}"
|
|
|
|
+
|
|
...
|
|
...
|