Allow stage-output to copy root-owned files
This makes it easier to tell stage-output to copy files such as syslog from remote nodes. Change-Id: Ica2397a50de1054f5d5ec81b54ab36fda9bdc333
This commit is contained in:
parent
ee5d385343
commit
2abb8a1302
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user