---

- name: install | main | include consul common
  include: consul_common.yml

- name: install | main | include consul agent
  include: consul_agent.yml

- name: install | main | include consul ui 
  include: consul_template.yml
  when: consul_consumer

- name: install | main | include consul template 
  include: consul_template.yml
  when: consul_ui

- name: install | main | include HA-Proxy
  include: haproxy_debian.yml
  when: consul_consumer

---

- name: install | main | include consul common
  include: consul_common.yml

- name: install | main | include consul agent
  include: consul_agent.yml

- name: install | main | include consul ui 
  include: consul_ui.yml
  when: consul_ui

- name: install | main | include consul template 
  include: consul_template.yml
  when: consul_consumer

- name: install | main | include HA-Proxy
  include: haproxy_debian.yml
  when: consul_consumer

Fix condition for installing consul ui
Fix condition for installing consul ui
