diff options
author | Aaron Smith <aasmith@redhat.com> | 2018-10-02 15:09:34 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-10-02 15:09:34 +0000 |
commit | 328129a1fd4ae54fe012379439464a56d15d4681 (patch) | |
tree | a89e97ab1027cc025bcf7d82ac4eb424d07cb0fb /docker/ansible/collectd_service.yml | |
parent | dda0e18b1dd1a9a2397f43262124d4de3dc424e7 (diff) | |
parent | 24c5124e304b8e2854d98284f6ee4715a75ee735 (diff) |
Merge "WIP: Add role to auto install docker on hosts"
Diffstat (limited to 'docker/ansible/collectd_service.yml')
-rw-r--r-- | docker/ansible/collectd_service.yml | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/docker/ansible/collectd_service.yml b/docker/ansible/collectd_service.yml index bc484d31..965ec8ee 100644 --- a/docker/ansible/collectd_service.yml +++ b/docker/ansible/collectd_service.yml @@ -13,18 +13,28 @@ # limitations under the License. --- +- hosts: collectd_hosts influxdb_hosts grafana_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: influxdb_hosts - remote_user: root + become: true + become_user: root roles: - - run_influxdb + - run_influxdb - hosts: grafana_hosts - remote_user: root + become: true + become_user: root roles: - - run_grafana + - run_grafana |