---
- hosts: postgres_servers
  collections:
    - jfrog.platform
  roles:
    - role: postgres
      when: postgres_enabled | bool

- hosts: xray_servers
  collections:
    - jfrog.platform
  roles:
    - role: xray
      when: xray_enabled | bool
