Remove git repo haproxy backend

Caching git repositories has been deprecated in Queens, so it's high time
we removed this endpoint.
We're setting endpoint state to absent in order to remove endpoint during
the upgrade process

Change-Id: I654b0af0e884de7b903cce441179af2fb8a7df89
This commit is contained in:
Dmitriy Rabotyagov 2020-06-09 14:24:25 +03:00 committed by Dmitriy Rabotyagov (noonedeadpunk)
parent cba69d9174
commit 9c03033981

View File

@ -61,6 +61,7 @@ haproxy_default_services:
- tcp-check
haproxy_whitelist_networks: "{{ haproxy_repo_git_whitelist_networks }}"
haproxy_service_enabled: "{{ groups['repo_all'] is defined and groups['repo_all'] | length > 0 }}"
state: absent
- service:
haproxy_service_name: repo_all
haproxy_backend_nodes: "{{ groups['repo_all'] | default([]) }}"