Merge "Allow stage-output to copy root-owned files"

This commit is contained in:
Zuul 2019-02-02 07:15:32 +00:00 committed by Gerrit Code Review
commit 3ff7c16505
1 changed files with 8 additions and 0 deletions

View File

@ -59,8 +59,16 @@
# remote_src copy does not work recursively, synchronise is restricted by
# zuul, using command
command: cp -pRL {{ item.source}} {{ stage_dir }}/{{ item.dest }}
become: true
with_items: "{{ all_sources }}"
- name: Make all log files readable
file:
dest: "{{ stage_dir }}/logs"
mode: u=rwX,g=rX,o=rX
recurse: yes
become: yes
- name: Discover log files that match extension_list
find:
paths: "{{ stage_dir }}/logs"