From a174cfad17bccb6810c009a324243c197e19fa20 Mon Sep 17 00:00:00 2001 From: dommgifer Date: Wed, 10 Apr 2019 16:41:13 +0800 Subject: [PATCH] Add become for prometheus-openstack-exporter tasks Add become to copy cloud config file for openstack exporter. Change-Id: I4c0c325e9dd1f41ca2c4667178a4fa674fa23ec5 Closes-Bug: #1824098 --- ansible/roles/prometheus/tasks/config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/ansible/roles/prometheus/tasks/config.yml b/ansible/roles/prometheus/tasks/config.yml index f5bba6217d..2c4741b16d 100644 --- a/ansible/roles/prometheus/tasks/config.yml +++ b/ansible/roles/prometheus/tasks/config.yml @@ -111,6 +111,7 @@ - Restart prometheus-mysqld-exporter container - name: Copying cloud config file for openstack exporter + become: true vars: service: "{{ prometheus_services['prometheus-openstack-exporter'] }}" template: