--- - name: check if HAProxy is installed package_facts: manager: "auto" - name: populate service facts service_facts: - include_tasks: configure.yml - include_tasks: installation.yml - include_tasks: logs.yml - name: Add syn_flood tasks include_tasks: syn_flood.yml when: (SYN_FLOOD is defined) and (SYN_FLOOD|length > 0)