9e3bf463b5c7479912496ce843592889233bca5c
[barometer.git] / docker / ansible / collectd_ves.yml
1 #Copyright 2018 OPNFV and Intel Corporation
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
16 - hosts: collectd_hosts kafka_hosts ves_hosts zookeeper_hosts
17   become: true
18   become_user: root
19   gather_facts: true
20   roles:
21       - install_docker
22
23 - hosts: collectd_hosts
24   become: true
25   become_user: root
26   roles:
27       - config_files
28       - run_collectd
29
30 - hosts: zookeeper_hosts
31   become: true
32   become_user: root
33   roles:
34       - run_zookeeper
35
36 - hosts: kafka_hosts
37   become: true
38   become_user: root
39   roles:
40       - run_kafka
41
42 - hosts: ves_hosts
43   become: true
44   become_user: root
45   roles:
46       - run_ves