mirror of https://github.com/Aidaho12/haproxy-wi
18 lines
352 B
YAML
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)
|
|
|