#73871 ssl: no not execute haproxy tasks and reload if haproxy is disabled
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |2636|7|2629|6|:-1: Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/394//ansiblelint">Evolix » ansible-roles » unstable #394</a>
gitea/ansible-roles/pipeline/head This commit looks good

This commit is contained in:
William Hirigoyen 2023-11-17 15:51:33 +01:00
parent 0578d5a3ec
commit a5e4359d0e
2 changed files with 9 additions and 1 deletions

View file

@ -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
* ProFTPd: set missing default listen IP for SFTP
* apache: fix MaxRequestsPerChild value to be sync with wiki.e.o
* ssl: no not execute haproxy tasks and reload if haproxy is disabled
### Removed

View file

@ -39,5 +39,12 @@
tags:
- ssl
- name: Collect facts about system services
service_facts:
- 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"