Samuli Silvius | 9367c59 | 2019-03-22 09:33:05 +0200 | [diff] [blame^] | 1 | --- |
2 | - name: Make sure the target dirs (where data is put i.e. what the whole resource-data role is testing) are empty at first | ||||
3 | file: | ||||
4 | path: "{{ item }}" | ||||
5 | state: absent | ||||
6 | loop: | ||||
7 | - aux_data_path | ||||
8 | - app_data_path | ||||
9 | |||||
10 | - name: Install nfs-utils | ||||
11 | package: | ||||
12 | name: nfs-utils | ||||
13 | state: present | ||||
14 | when: | ||||
15 | - resources_on_nfs is defined | ||||
16 | - resources_on_nfs |