summaryrefslogtreecommitdiffstats
path: root/roles/ands_openshift/tasks/heketi.yml
blob: 149f85de4ab1c4e4c5231887ad945742d7dfad1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
---
- block:
  - name: Ensure all required packages are installed
    yum: name={{item}} state=present
    with_items:
      - heketi-client

  - include: heketi_resources.yml
    run_once: true
    delegate_to: "{{ groups.masters[0] }}"
    when: ansible_lvm.lvs.{{ ands_heketi_lv }} is defined

  when: ansible_lvm.lvs.{{ ands_heketi_lv }} is defined