aboutsummaryrefslogtreecommitdiffstats
path: root/docker/ansible/collectd_ves.yml
diff options
context:
space:
mode:
authorAaron Smith <aasmith@redhat.com>2018-10-02 15:09:34 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-10-02 15:09:34 +0000
commit328129a1fd4ae54fe012379439464a56d15d4681 (patch)
treea89e97ab1027cc025bcf7d82ac4eb424d07cb0fb /docker/ansible/collectd_ves.yml
parentdda0e18b1dd1a9a2397f43262124d4de3dc424e7 (diff)
parent24c5124e304b8e2854d98284f6ee4715a75ee735 (diff)
Merge "WIP: Add role to auto install docker on hosts"
Diffstat (limited to 'docker/ansible/collectd_ves.yml')
-rw-r--r--docker/ansible/collectd_ves.yml20
1 files changed, 15 insertions, 5 deletions
diff --git a/docker/ansible/collectd_ves.yml b/docker/ansible/collectd_ves.yml
index aa3f3ffa..f6140a5f 100644
--- a/docker/ansible/collectd_ves.yml
+++ b/docker/ansible/collectd_ves.yml
@@ -13,18 +13,28 @@
# limitations under the License.
---
+- hosts: collectd_hosts kafka_hosts ves_hosts
+ become: true
+ become_user: root
+ gather_facts: true
+ roles:
+ - install_docker
+
- hosts: collectd_hosts
- remote_user: root
+ become: true
+ become_user: root
roles:
- config_files
- run_collectd
- hosts: kafka_hosts
- remote_user: root
+ become: true
+ become_user: root
roles:
- - run_kafka
+ - run_kafka
- hosts: ves_hosts
- remote_user: root
+ become: true
+ become_user: root
roles:
- - run_ves
+ - run_ves