summaryrefslogtreecommitdiffstats
path: root/ansible/test/roles/prepare-resource-data/tasks/prepare-infra-server.yml
blob: b55842ac0d5ed31064acf655864900980597cf7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
---
- name: Make sure the target dirs (where data is put i.e. what the whole resource-data role is testing) are empty at first
  file:
    path: "{{ item }}"
    state: absent
  loop:
    - aux_data_path
    - app_data_path

- name: Install nfs-utils
  package:
    name: nfs-utils
    state: present
  when:
    - resources_on_nfs is defined
    - resources_on_nfs