John Dickinson 0edfb879a7 reorganized existing ansible playbooks
Change-Id: Ib08c2c4c685eb30a4c804ece0b667575c04d2ca0
2018-06-25 13:47:45 -07: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