Merge "Remove git repo haproxy backend"

This commit is contained in:
Zuul 2020-06-21 01:35:47 +00:00 committed by Gerrit Code Review
commit 3ad08ed974

View File

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