haproxy-wi/app/scripts/ansible/roles/haproxy/tasks/main.yml

18 lines
352 B
YAML

---
- 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)