Fix BIND9 log collection

Currently the bind logs are not viewable in the zuul logs page, they prompt
for download. The wrong systemd unit logs are being exported and they were being double gziped. This patch corrects both of those issues such that the BIND9 logs will be properly collected in the zuul jobs.

Change-Id: Ied091e7acd0cb2c837f8ee7335b7881225da0126
This commit is contained in:
Michael Johnson 2022-05-11 17:54:40 +00:00
parent 4b516eaccc
commit 1fd240f81b
1 changed files with 1 additions and 1 deletions

View File

@ -35,4 +35,4 @@
become: true
shell:
cmd: |
journalctl -o short-precise --unit bind9 | gzip - > {{ stage_dir }}/logs/bind9.txt.gz
journalctl -o short-precise --unit named > {{ stage_dir }}/logs/bind9.txt