# platform = multi_platform_all
# reboot = false
# strategy = enable
# complexity = low
# disruption = low
- name: "Enable syslog-ng Service - Enable service syslog-ng"
  block:
  - name: Gather the package facts
    ansible.builtin.package_facts:
      manager: auto
  - name: "Enable syslog-ng Service - Enable Service syslog-ng"
    ansible.builtin.systemd:
      name: "syslog-ng"
      enabled: true
      state: "started"
      masked: false
    when:
    - '"syslog-ng" in ansible_facts.packages'
  tags:
  - special_service_block