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

- include: config.yml
  when: inventory_hostname in groups['barbican-api'] or
        inventory_hostname in groups['barbican-worker'] or
        inventory_hostname in groups['barbican-keystone-listener']

- include: clone.yml
  when: barbican_dev_mode | bool

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

- name: Flush handlers
  meta: flush_handlers
