summaryrefslogtreecommitdiffstats
path: root/ansible/test/play-rke/molecule/default/prepare.yml
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/test/play-rke/molecule/default/prepare.yml')
-rw-r--r--ansible/test/play-rke/molecule/default/prepare.yml22
1 files changed, 22 insertions, 0 deletions
diff --git a/ansible/test/play-rke/molecule/default/prepare.yml b/ansible/test/play-rke/molecule/default/prepare.yml
new file mode 100644
index 00000000..ad6f0495
--- /dev/null
+++ b/ansible/test/play-rke/molecule/default/prepare.yml
@@ -0,0 +1,22 @@
+---
+- name: Prepare for all
+ hosts: all
+ roles:
+ - prepare-docker-dind
+ - role: prepare-rke
+ vars:
+ mode: all
+
+- name: Prepare infra
+ hosts: infrastructure
+ pre_tasks:
+ - name: Include infrastructure group variables
+ include_vars: ../../../../group_vars/infrastructure.yml
+ roles:
+ - role: prepare-rke
+ vars:
+ mode: infra
+ - prepare-kubectl
+ - prepare-helm
+ vars_files:
+ vars.yml