Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 1 addition & 9 deletions roles/rsyslog/tasks/main_core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -379,19 +379,11 @@
systemd:
name: rsyslog.service
enabled: false
state: "{{ 'stopped' if __logging_is_booted else omit }}"
when:
- not __rsyslog_enabled | bool
- not rsyslog_in_image | default(false) | bool

- name: Stop rsyslog service
systemd:
name: rsyslog.service
state: stopped
when:
- __logging_is_booted
- not __rsyslog_enabled | bool
- not rsyslog_in_image | default(false) | bool

- name: Check rsyslog version
debug:
msg: "Rsyslog version must be >= 8.37.0-7.2"
Expand Down
Loading