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

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

- include_tasks: clone.yml
  when: cloudkitty_dev_mode | bool

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

- name: Flush handlers
  meta: flush_handlers