main.yml 417 Bytes
Newer Older
Paschalis Korosoglou's avatar
Paschalis Korosoglou committed
1
2
---

Paschalis Korosoglou's avatar
Paschalis Korosoglou committed
3
- name: restart egi consumer
4
  service: name=argo-egi-consumer state=restarted
Paschalis Korosoglou's avatar
Paschalis Korosoglou committed
5

6
7
8
9
- name: restart all consumers
  service: name=argo-{{ item.key | lower }}-consumer state=restarted
  with_dict: tenants

10
11
12
13
14
# TODO: Make following handler task tenant unaware
- name: restart all non egi consumers
  service: name=argo-{{ item.key | lower }}-consumer state=restarted
  with_dict: tenants
  when: item.key|lower != "egi"