Ensure logs are readable before uploading them

Change-Id: I24cc4aaa1a47819243121dff4b93346792246b57
This commit is contained in:
Monty Taylor 2017-09-26 15:45:43 -05:00
parent 6a10f097ce
commit 93b6ab260a
No known key found for this signature in database
GPG Key ID: 7BAE94BC7141A594

View File

@ -8,6 +8,13 @@
recurse: yes
mode: 0775
- name: Ensure logs are readable before uploading
file:
path: "{{ zuul.executor.log_root }}/"
mode: u=rwX,g=rX,o=rX
state: directory
recurse: yes
- name: Upload logs to log server
synchronize:
src: "{{ zuul.executor.log_root }}/"