Hi,

We have an OSA setup. I see that common-playbooks/haproxy-service-config.yml  has the following:

---
- hosts: "{{ service_group }}"
  gather_facts: false
  run_once: true
  tasks:
    - name: "Temporarily copy haproxy_service_configs value from {{ service_group }} to haproxy_all"
      add_host:
        name: "{{ item }}"
        haproxy_service_configs: "{{ hostvars[inventory_hostname][service_variable] }}"
      with_items: "{{ groups['haproxy_all'] }}"


How does the openstack ansible collect haproxy configuration for a specific service as in this case for repo service ? Where is this defined in the code ? How does it even generate specific haproxy variables for each service ? How does it specifically know what haproxy variables to collect ?