ansible-role-gear/tests/collect-logs.yaml
Artem Goncharov 9fd77b3856
install default logging config
By default gear dies not deliver default logging configuration. If it is
started in this configuration it floods /var/log/messages with debug
info. Log configuration activation should be done via systemd
override.conf file by setting proper ARGS

Update jobs to also collect /var/logs/gear in post-run task.

Change-Id: Ib69c976062afd38a91a3d882e9389c5cbef244c3
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-05-16 17:12:48 -04:00

11 lines
243 B
YAML

- hosts: all
tasks:
- name: Collect gear log files
synchronize:
dest: "{{ zuul.executor.log_root }}/logs"
mode: pull
rsync_opts:
- "--relative"
src: /var/log/gear
verify_host: true