1b546f6b77
Change-Id: Ib2f3aa1d70e6d28e00570fe21352031dc41325d0
17 lines
441 B
YAML
17 lines
441 B
YAML
- 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
|