Skip to content
Snippets Groups Projects
Commit b84de743 authored by Erick Hitter's avatar Erick Hitter
Browse files

Don't set logrotate if there's no log to rotate

parent fd770c99
No related branches found
No related tags found
Loading
Pipeline #196 passed
......@@ -32,3 +32,10 @@
owner: root
group: root
mode: 0644
when: glrdomon_log_dest != "os.Stdout"
- name: Remove logrotate configuration
file:
dest: /etc/logrotate.d/gitlab-runner-do-monitor
state: absent
when: glrdomon_log_dest == "os.Stdout"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment