Commit 2e4de82b authored by Thomas Gambier's avatar Thomas Gambier 🚴🏼

playbook: Debian12 doesn't have rsyslogd

parent dfc8563a
--- ---
- name: Make rsyslogd listen on localhost - name: Make rsyslogd listen on localhost
lineinfile: line="*.* @127.0.0.1:42185" dest=/etc/rsyslog.conf lineinfile: line="*.* @127.0.0.1:42185" dest=/etc/rsyslog.conf
when: ansible_os_family != "Debian" or ansible_distribution_major_version|int < 12
notify: [ 'Restart rsyslogd' ] notify: [ 'Restart rsyslogd' ]
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment