Monty Taylor | 36ddea3 | 2017-10-02 10:05:17 -0500 | [diff] [blame] | 1 | - name: Copy cached devstack files |
2 | # This uses hard links to avoid using extra space. | ||||
3 | command: "find {{ devstack_cache_dir }}/files -mindepth 1 -maxdepth 1 -exec cp -l {} {{ devstack_base_dir }}/devstack/files/ ;" | ||||
4 | become: true | ||||
5 | |||||
6 | - name: Set ownership of cached files | ||||
7 | file: | ||||
8 | path: '{{ devstack_base_dir }}/devstack/files' | ||||
9 | state: directory | ||||
10 | recurse: true | ||||
11 | owner: stack | ||||
12 | group: stack | ||||
13 | mode: a+r | ||||
14 | become: yes |