2018-06-25 19:23:20 +08:00
|
|
|
---
|
2018-08-08 20:22:50 +08:00
|
|
|
- name: "Kubernetes Apps | GlusterFS"
|
|
|
|
include_tasks: "glusterfs.yml"
|
2018-06-25 19:23:20 +08:00
|
|
|
|
2018-08-08 20:22:50 +08:00
|
|
|
- name: "Kubernetes Apps | Heketi Secrets"
|
|
|
|
include_tasks: "secret.yml"
|
|
|
|
|
|
|
|
- name: "Kubernetes Apps | Test Heketi"
|
2018-06-25 19:23:20 +08:00
|
|
|
register: "heketi_service_state"
|
2019-05-03 05:24:21 +08:00
|
|
|
command: "{{ bin_dir }}/kubectl get service heketi-storage-endpoints -o=name --ignore-not-found=true"
|
2018-06-25 19:23:20 +08:00
|
|
|
changed_when: false
|
|
|
|
|
2018-08-08 20:22:50 +08:00
|
|
|
- name: "Kubernetes Apps | Bootstrap Heketi"
|
2018-06-25 19:23:20 +08:00
|
|
|
when: "heketi_service_state.stdout == \"\""
|
2018-08-08 20:22:50 +08:00
|
|
|
include_tasks: "bootstrap.yml"
|
2018-06-25 19:23:20 +08:00
|
|
|
|
2018-08-08 20:22:50 +08:00
|
|
|
- name: "Kubernetes Apps | Heketi"
|
|
|
|
include_tasks: "heketi.yml"
|
|
|
|
|
|
|
|
- name: "Kubernetes Apps | Heketi Topology"
|
|
|
|
include_tasks: "topology.yml"
|
|
|
|
|
|
|
|
- name: "Kubernetes Apps | Heketi Storage"
|
|
|
|
include_tasks: "storage.yml"
|
|
|
|
|
|
|
|
- name: "Kubernetes Apps | Storage Class"
|
2018-06-25 19:23:20 +08:00
|
|
|
include_tasks: "storageclass.yml"
|
2018-09-05 22:03:32 +08:00
|
|
|
|
|
|
|
- name: "Clean up"
|
|
|
|
include_tasks: "cleanup.yml"
|