---
- include: register.yml
  when: inventory_hostname in groups['heat-api']

- include: config.yml
  when: inventory_hostname in groups['heat-api'] or
        inventory_hostname in groups['heat-api-cfn'] or
        inventory_hostname in groups['heat-engine']

- include: clone.yml
  when:
    - heat_dev_mode | bool
    - inventory_hostname in groups['heat-api'] or
      inventory_hostname in groups['heat-api-cfn'] or
      inventory_hostname in groups['heat-engine']

- include: bootstrap.yml
  when: inventory_hostname in groups['heat-api']

- name: Flush handlers
  meta: flush_handlers
