diff --git a/roles/pdns4-logs-conf/tasks/main.yaml b/roles/pdns4-logs-conf/tasks/main.yaml index f0d5fa52f..716274d32 100644 --- a/roles/pdns4-logs-conf/tasks/main.yaml +++ b/roles/pdns4-logs-conf/tasks/main.yaml @@ -35,4 +35,4 @@ become: true shell: cmd: | - journalctl -o short-precise --unit pdns | gzip - > {{ stage_dir }}/logs/pdns.txt.gz + journalctl -o short-precise --unit pdns > {{ stage_dir }}/logs/pdns.txt.gz