Commit 1c6b107d authored by Simon Cornet's avatar Simon Cornet
Browse files

feat: add when condition

parent dcf446ce
Loading
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@

# load variables and collect version information
- name: "include vars and collect versions"
  when: "zabbix_agent_enable"
  block:

    # load os specific variables
@@ -20,4 +21,5 @@

# zabbix-agent prerequisites
- name: "zabbix-agent prerequisites"
  when: "zabbix_agent_enable"
  ansible.builtin.import_tasks: "prerequisites.yaml"