Commit c86e8ead authored by Simon Cornet's avatar Simon Cornet
Browse files

fix: add when condition for syslogs

parent cf564756
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@

# execute this role
- name: "install and configure the Zabbix Agent"
  serial: 2
  serial: 4
  hosts: "all"
  become: true
  tasks:
+2 −0
Original line number Diff line number Diff line
@@ -165,10 +165,12 @@
# syslog
- name: "syslog - install"
  ansible.builtin.include_tasks: "syslog/install.yaml"
  when: "ansible_os_family == 'Debian'"
  tags: "syslog"

- name: "syslog - config"
  ansible.builtin.include_tasks: "syslog/config.yaml"
  when: "ansible_os_family == 'Debian'"
  tags: "syslog"

# flush handler