- name: make the app be real
  hosts: os-masters-stg[0]
  user: root
  gather_facts: False

  vars_files:
    - /srv/web/infra/ansible/vars/global.yml
    - "/srv/private/ansible/vars.yml"
    - /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml

  roles:
  - role: openshift/project
    app: rats
    description: rats
    appowners:
    - pingou
  # RabbitMQ
  - role: openshift/object
    app: rats
    file: rabbitmq/imagestream.yml
  - role: openshift/object
    app: rats
    file: rabbitmq/deploymentconfig.yml
  - role: openshift/object
    app: rats
    file: rabbitmq/service.yml
  - role: openshift/rollout
    app: rats
    dcdname: rats-queue
