r/haproxy: Do not start service
Since the _haproxy_ role relies on other roles to provide drop-in configuration files for actual proxy configuration, we cannot start the service in the base role. If there are any issues with the drop-in files that are added later, the service will not be able to start, causing the playbook to fail and thus never be able to update the broken configuration. The dependent roles need to be responsible for starting the service once they have put their configuration files in place.unifi-restore
parent
c7374c8cca
commit
fb9f46cc47
|
@ -46,13 +46,6 @@
|
||||||
tags:
|
tags:
|
||||||
- service
|
- service
|
||||||
|
|
||||||
- name: ensure haproxy is running
|
|
||||||
service:
|
|
||||||
name: haproxy
|
|
||||||
state: started
|
|
||||||
tags:
|
|
||||||
- service
|
|
||||||
|
|
||||||
- name: ensure firewall is configured for haproxy stats
|
- name: ensure firewall is configured for haproxy stats
|
||||||
firewalld:
|
firewalld:
|
||||||
port: '{{ haproxy_stats_port }}/tcp'
|
port: '{{ haproxy_stats_port }}/tcp'
|
||||||
|
|
Loading…
Reference in New Issue