forked from evolix/ansible-roles
#73871 ssl: no not execute haproxy tasks and reload if haproxy is disabled
This commit is contained in:
parent
0578d5a3ec
commit
a5e4359d0e
|
@ -39,6 +39,7 @@ The **patch** part changes is incremented if multiple releases happen the same m
|
||||||
* webapps/nextcloud: added check that nexctcloud uid is over 3000
|
* webapps/nextcloud: added check that nexctcloud uid is over 3000
|
||||||
* ProFTPd: set missing default listen IP for SFTP
|
* ProFTPd: set missing default listen IP for SFTP
|
||||||
* apache: fix MaxRequestsPerChild value to be sync with wiki.e.o
|
* apache: fix MaxRequestsPerChild value to be sync with wiki.e.o
|
||||||
|
* ssl: no not execute haproxy tasks and reload if haproxy is disabled
|
||||||
|
|
||||||
### Removed
|
### Removed
|
||||||
|
|
||||||
|
|
|
@ -39,5 +39,12 @@
|
||||||
tags:
|
tags:
|
||||||
- ssl
|
- ssl
|
||||||
|
|
||||||
|
- name: Collect facts about system services
|
||||||
|
service_facts:
|
||||||
|
|
||||||
- ansible.builtin.include: haproxy.yml
|
- ansible.builtin.include: haproxy.yml
|
||||||
when: haproxy_check.rc == 0
|
when:
|
||||||
|
- haproxy_check.rc == 0
|
||||||
|
- ansible_facts.services['haproxy.service']['state'] == "running"
|
||||||
|
- ansible_facts.services['haproxy.service']['status'] == "enabled"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue