Role haproxy_server for OpenStack-Ansible
Go to file
Dmitriy Rabotyagov 691f81a6d9 Fix service removal condition
In order to remove service currently we need to satisfy one of
conditions:

- haproxy_backend_nodes and haproxy_backup_nodes are empty and defined
but must be defined
- haproxy_service_enabled is False
- state is absent

There's big issue with logic regarding haproxy_backend_nodes and
haproxy_backup_nodes since they both should be defined and empy,
but in case haproxy_backup_nodes is not defined but haproxy_backend_nodes
is empty we should consider this as condition for removal as well.
But this will make it too complicated.

This change suggest consider rely only on haproxy_service_enabled and
state keys of haproxy_service_configs, as it's sufficient to
drop service based on these 2 options.

Change-Id: Ib37445ad852bcbd8d44d9eda9293565a4e52262b
2021-07-23 12:25:20 +00:00
defaults Generate self-signed SSL per listen IP 2021-06-25 13:30:25 +00:00
doc Update documentation for keepalived ping addresses 2021-03-23 08:33:07 +00:00
examples Trivial: Fix the pep8 warning 2018-06-20 16:29:56 +08:00
files Use systemd-journald instead of log files 2019-07-22 19:53:01 +03:00
handlers Generate self-signed SSL per listen IP 2021-06-25 13:30:25 +00:00
meta Remove references to unsupported operating systems 2021-03-21 20:48:54 +01:00
releasenotes Merge "Generate self-signed SSL per listen IP" 2021-06-25 17:21:17 +00:00
tasks Fix service removal condition 2021-07-23 12:25:20 +00:00
templates Merge "Generate self-signed SSL per listen IP" 2021-06-25 17:21:17 +00:00
tests remove ansible_python_interpreter 2020-06-16 10:26:56 +00:00
vars Generate self-signed SSL per listen IP 2021-06-25 13:30:25 +00:00
zuul.d Use integrated tests for haproxy_server 2021-05-12 06:36:13 +00:00
.gitignore Updated from OpenStack Ansible Tests 2019-08-20 03:05:03 +00:00
.gitreview OpenDev Migration Patch 2019-04-19 19:45:03 +00:00
CONTRIBUTING.rst [ussuri][goal] Update contributor documentation 2020-05-18 08:19:01 +00:00
LICENSE Add scaffolding for OpenStack-CI tests 2016-08-21 17:00:50 +01:00
README.rst Update invalid link for README 2019-08-19 01:43:26 -07:00
Vagrantfile Updated from OpenStack Ansible Tests 2021-03-22 08:44:37 +00:00
bindep.txt Updated from OpenStack Ansible Tests 2021-03-12 22:16:01 +00:00
manual-test.rc Use centralised test scripts 2016-09-27 16:02:41 +00:00
run_tests.sh Updated from OpenStack Ansible Tests 2021-03-12 22:16:01 +00:00
setup.cfg Cleanup py27 support 2020-04-14 20:50:38 +08:00
setup.py Cleanup py27 support 2020-04-14 20:50:38 +08:00
tox.ini Replace deprecated UPPER_CONSTRAINTS_FILE variable 2020-11-10 13:11:23 +08:00

README.rst

Team and repository tags

image

OpenStack-Ansible HAProxy server

Documentation for the project can be found at:

https://docs.openstack.org/openstack-ansible-haproxy_server/latest

Release notes for the project can be found at:

https://docs.openstack.org/releasenotes/openstack-ansible-haproxy_server/

The project source code repository is located at:

https://opendev.org/openstack/openstack-ansible-haproxy_server/

The project home is at:

https://launchpad.net/openstack-ansible

The project bug tracker is located at:

https://bugs.launchpad.net/openstack-ansible