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

22 lines
395 B
YAML
Raw Normal View History

2019-11-03 14:43:45 +00:00
---
- name: Set SSH port
set_fact:
ansible_port: "{{SSH_PORT}}"
2019-12-23 15:08:34 +00:00
- name: check if HAProxy is installed
2019-11-28 16:39:24 +00:00
package_facts:
manager: "auto"
2019-12-15 07:41:24 +00:00
- name: populate service facts
service_facts:
- include: logs.yml
- include: configure.yml
- include: installation.yml
2019-11-06 15:15:41 +00:00
- name: Add syn_flood tasks
include: syn_flood.yml
when: (SYN_FLOOD is defined) and (SYN_FLOOD|length > 0)
2019-11-28 16:39:24 +00:00