Initial commit
[ta/infra-ansible.git] / roles / monitoring / tasks / main.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 - include: generate_rediscontroller_systemd_unit_file.yml
16   tags:
17       - rediscontroller_systemd_unit_file_generate
18
19 - include: generate_redismonitor_systemd_unit_file.yml
20   tags:
21       - redismonitor_systemd_unit_file_generate
22
23 - include: generate_active_standby_controller_file.yml
24   tags:
25       - active_standby_controller_generate
26
27 - include: generate_config.yml
28   tags:
29       - generate_config
30
31 - include: update_hosts.yml
32   tags:
33       - update_hosts
34
35 - include: start_services.yml
36   tags:
37       - start_services