syslogd

Collection: community.general

Full Name: parallax.community.general.syslogd

Aliases: community.general.syslogd, syslogd

Synopsis

Manage the syslog daemon service and its facilities

Parameters

NameTypeRequiredDefaultDescription
namestringyesName of the syslog daemon service
statestringstartedDesired state of the syslog daemon (started, stopped, restarted, reloaded)
enabledboolWhether the service should start on boot
patternstringSyslog pattern/filter to configure
facilitystringSyslog facility to configure
prioritystringSyslog priority level to configure

Example

- name: Ensure the syslog daemon is running
  syslogd:
    name: rsyslog
    state: started
    enabled: true