summaryrefslogtreecommitdiffstats
path: root/ansible/test/play-rke/molecule/default/prepare.yml
blob: 789a94026bbba7b191851b70c38456b4b0325da0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
---
- name: Prepare for all
  hosts: all
  roles:
    - role: prepare-rke
      vars:
        mode: all

- name: Prepare infra
  hosts: infrastructure
  pre_tasks:
    - name: Include infrastructure group variables
      include_vars: ../../../../group_vars/infrastructure.yml
    - name: Include test setup variables
      include_vars: vars.yml
  roles:
    - role: prepare-rke
      vars:
        mode: infra
    - prepare-kubectl
    - prepare-helm
    - role: prepare-chartmuseum
      when: helm_version | regex_search("^v3" )