--- - name: Set SSH port set_fact: ansible_port: "{{SSH_PORT}}" - name: check if HAProxy is installed package_facts: manager: "auto" - name: populate service facts service_facts: - include: installation.yml - include: configure.yml - name: Add syn_flood tasks include: syn_flood.yml when: (SYN_FLOOD is defined) and (SYN_FLOOD|length > 0)