-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeploy.yml
65 lines (59 loc) · 1.29 KB
/
deploy.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
---
- import_playbook: pre.yml
vars:
tower_run_checks: "False"
has_deploy_notificator: "True"
- name: Install NOC
hosts: svc-noc-exec
become: "True"
gather_facts: "True"
tags:
- node
- noc
vars_files:
- "vars/main.yml"
- "vars/{{ ansible_distribution }}.yml"
roles:
- role: noc
- name: Install NOC microservices
hosts: svc-noc-exec
become: "True"
strategy: "{% if groups['svc-noc-exec'] > 2 %}free{%else%}linear{%endif%}"
gather_facts: "True"
tags:
- node
- noc
vars_files:
- "vars/main.yml"
- "vars/{{ ansible_distribution }}.yml"
roles:
- role: login
- role: mrt
- role: escalator
- role: web
- role: card
- role: ch_datasource
- role: selfmon
- role: activator
- role: grafanads
- role: mailsender
- role: tgsender
- role: icqsender
- role: chwriter
- role: classifier
- role: correlator
- role: syslogcollector
- role: trapcollector
- role: ping
- role: sae
- role: scheduler
- role: discovery
- role: bi
- role: datastream
- role: nbi
- import_playbook: additional_roles/custom/service.yml
- import_playbook: noc_roles/migrate/service.yml
- import_playbook: post.yml
vars:
tower_run_tests: "True"
has_deploy_notificator: "True"