summaryrefslogtreecommitdiffstats
path: root/roles/ands_openshift/tasks/heketi.yml
blob: 7d2c4ede7f9bcc4a60778a79e2c13a1c7465182d (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_tasks: 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