checks.yml 695 Bytes
Newer Older
e_zombie's avatar
e_zombie committed
1
2
3
4
5
6
7
8
9
---
- block:
  - name: fail if noc is not selected
    fail:
      msg: "Kafkasender role have to be set with noc role to get own sources."
    when:
      - has_svc_noc is not defined
    tags:
      - checks
EKbfh's avatar
EKbfh committed
10
11
12
13
14
15
16
17
18

- name: fail if liftbridge is not selected
  fail:
    msg: "Kafkasender works only with liftbridge service. Please install at least one"
  when:
    - has_svc_kafkasender is defined
    - "'svc-liftbridge' not in groups"
  tags:
    - checks
19
20
21
22
23
24
25
26
27

- name: fail if "mx" is not selected
  fail:
    msg: "kafkasender service works with 'mx' service. Please setup at least one somewhere."
  when:
    - has_svc_kafkasender is defined
    - "'svc-mx-exec' not in groups"
  tags:
    - checks