Merge "Move selinux fix to haproxy_post_install.yml"
This commit is contained in:
commit
7dea60f263
|
@ -77,3 +77,15 @@
|
|||
opts: bind
|
||||
state: mounted
|
||||
fstype: none
|
||||
|
||||
- name: Prevent SELinux from preventing haproxy from binding to arbitrary ports
|
||||
seboolean:
|
||||
name: haproxy_connect_any
|
||||
state: yes
|
||||
persistent: yes
|
||||
tags:
|
||||
- haproxy-service-config
|
||||
notify:
|
||||
- Reload haproxy
|
||||
when:
|
||||
- ansible_facts['selinux']['status'] == "enabled"
|
||||
|
|
|
@ -41,15 +41,3 @@
|
|||
(item.service.state is defined and item.service.state == 'absent')
|
||||
tags:
|
||||
- haproxy-service-config
|
||||
|
||||
- name: Prevent SELinux from preventing haproxy from binding to arbitrary ports
|
||||
seboolean:
|
||||
name: haproxy_connect_any
|
||||
state: yes
|
||||
persistent: yes
|
||||
tags:
|
||||
- haproxy-service-config
|
||||
notify:
|
||||
- Reload haproxy
|
||||
when:
|
||||
- ansible_facts['selinux']['status'] == "enabled"
|
||||
|
|
Loading…
Reference in New Issue