mirror of https://github.com/Aidaho12/haproxy-wi
parent
e72abec533
commit
bd5e9badff
|
@ -38,11 +38,19 @@
|
||||||
- name: Add syn_flood tasks
|
- name: Add syn_flood tasks
|
||||||
include: haproxy/tasks/syn_flood.yml
|
include: haproxy/tasks/syn_flood.yml
|
||||||
when: (SYN_FLOOD is defined) and (SYN_FLOOD|length > 0)
|
when: (SYN_FLOOD is defined) and (SYN_FLOOD|length > 0)
|
||||||
|
- name: Install nginx for Centos Stream 9
|
||||||
|
package:
|
||||||
|
name: nginx
|
||||||
|
state: present
|
||||||
|
when: ansible_facts['distribution_major_version'] == '9'
|
||||||
|
tags:
|
||||||
|
- system
|
||||||
roles:
|
roles:
|
||||||
- role: nginxinc.nginx
|
- role: nginxinc.nginx
|
||||||
environment:
|
environment:
|
||||||
http_proxy: "{{PROXY}}"
|
http_proxy: "{{PROXY}}"
|
||||||
https_proxy: "{{PROXY}}"
|
https_proxy: "{{PROXY}}"
|
||||||
|
when: ansible_facts['distribution_major_version'] != '9'
|
||||||
tags:
|
tags:
|
||||||
- system
|
- system
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue