---
dependencies:
  - role: monitoring-common
  - role: logging-config
    service: keystone
    logdata: "{{ keystone.logs }}"
  - role: openstack-source
    project_name: keystone
    project_rev: "{{ keystone.source.rev }}"
    when: openstack_install_method == 'source'

---
dependencies:
  - role: monitoring-common
  - role: logging-config
    service: keystone
    logdata: "{{ keystone.logs }}"
  - role: openstack-source
    project_name: keystone
    project_rev: "{{ keystone.source.rev }}"
    # is this even required anymore with Juno?
    python_requirements:
      - { name: babel, version: "{{ keystone.babel_version }}" }
    when: openstack_install_method == 'source'

Break source install into an openstack-source role
Break source install into an openstack-source role

This is the first step to supporting both source installs as well as
package installs.  Since the source installs are effectively the
same for all openstack projects, break the process into its own common
tasks and handlers. Then make install of source a dependency of each
role.
