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

- include: config.yml
  when: inventory_hostname in groups['cloudkitty-api'] or
        inventory_hostname in groups['cloudkitty-processor']

- include: clone.yml
  when: cloudkitty_dev_mode | bool

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

- name: Flush handlers
  meta: flush_handlers
