mirror of https://github.com/Aidaho12/haproxy-wi
				
				
				
			
		
			
				
	
	
		
			22 lines
		
	
	
		
			395 B
		
	
	
	
		
			YAML
		
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			395 B
		
	
	
	
		
			YAML
		
	
	
---      
 | 
						|
- 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: logs.yml
 | 
						|
 | 
						|
- 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)  
 | 
						|
     |