summaryrefslogtreecommitdiffstats
path: root/ansible/test/roles/prepare-resource-data/tasks/prepare-infra-server.yml
blob: dfaca80b249894cd923e1859540a46f9530dcb07 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
---
- 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