summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2019-02-02 07:15:32 +0000
committerGerrit Code Review <review@openstack.org>2019-02-02 07:15:32 +0000
commit3ff7c1650578b1681967557034e3ab41c9862a7b (patch)
treee3309d63d27b35b33bdef8be69e897672374f70a
parentb46ac3ea88d3cc11739986d753dec54148eda062 (diff)
parent2abb8a130212bdf0fc7bb453f586d069cba2aa6f (diff)
Merge "Allow stage-output to copy root-owned files"
-rw-r--r--roles/stage-output/tasks/main.yaml8
1 files changed, 8 insertions, 0 deletions
diff --git a/roles/stage-output/tasks/main.yaml b/roles/stage-output/tasks/main.yaml
index 4b59242..bee689b 100644
--- a/roles/stage-output/tasks/main.yaml
+++ b/roles/stage-output/tasks/main.yaml
@@ -59,8 +59,16 @@
59 # remote_src copy does not work recursively, synchronise is restricted by 59 # remote_src copy does not work recursively, synchronise is restricted by
60 # zuul, using command 60 # zuul, using command
61 command: cp -pRL {{ item.source}} {{ stage_dir }}/{{ item.dest }} 61 command: cp -pRL {{ item.source}} {{ stage_dir }}/{{ item.dest }}
62 become: true
62 with_items: "{{ all_sources }}" 63 with_items: "{{ all_sources }}"
63 64
65- name: Make all log files readable
66 file:
67 dest: "{{ stage_dir }}/logs"
68 mode: u=rwX,g=rX,o=rX
69 recurse: yes
70 become: yes
71
64- name: Discover log files that match extension_list 72- name: Discover log files that match extension_list
65 find: 73 find:
66 paths: "{{ stage_dir }}/logs" 74 paths: "{{ stage_dir }}/logs"