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

- name: No worker service is set
  fail:
    msg: "No worker service is set. Please setup at least one. "
  when: "'svc-worker-exec' not in groups"
  tags:
    - checks