blob: e95a59ead7b9a0781c36244ab9f92853789a5c95 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
- hosts: all
become: true
tasks:
- name: Ensure swift logs are readable before syncing
file:
path: '/var/log/swift'
mode: u=rwX,g=rX,o=rX
state: directory
recurse: yes
- name: Copy swift logs from worker nodes to executor node
synchronize:
src: '/var/log/swift'
dest: '{{ zuul.executor.log_root }}'
mode: pull
copy_links: true
verify_host: true
|