blob: 84f33f0e16dc38bd648b0fa8cc0d78e53298005a [file] [log] [blame]
Monty Taylor36ddea32017-10-02 10:05:17 -05001- 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