Initial commit
[ta/infra-ansible.git] / roles / monitoring / tasks / start_services.yml
1 # Copyright 2019 Nokia
2
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #     http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14
15 - name: Start active standby controller
16   systemd:
17       state: restarted
18       enabled: yes
19       daemon_reload: yes
20       name: active-standby-controller
21
22 - name: Start redismonitor
23   systemd:
24       state: restarted
25       enabled: yes
26       daemon_reload: yes
27       name: redismonitor
28
29 - name: Start redis
30   systemd:
31       state: restarted
32       enabled: yes
33       daemon_reload: yes
34       name: redis
35
36 - name: Start restapi
37   systemd:
38       state: restarted
39       enabled: yes
40       daemon_reload: yes
41       name: restapi
42
43 - name: Start keepalivedmonitor agent
44   systemd:
45       state: restarted
46       enabled: yes
47       daemon_reload: yes
48       name: keepalivedmonitoragent
49
50 - name: Start keepalivedmonitor
51   systemd:
52       state: restarted
53       enabled: yes
54       daemon_reload: yes
55       name: keepalivedmonitor
56
57 - name: Start auth-server
58   systemd:
59       state: restarted
60       enabled: yes
61       daemon_reload: yes
62       name: auth-server
63