swift/playbooks/probetests/post.yaml
Tim Burke 1b546f6b77 Capture probe test logs
Change-Id: Ib2f3aa1d70e6d28e00570fe21352031dc41325d0
2018-03-12 23:10:24 +00:00

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