Add become for prometheus-openstack-exporter tasks
Add become to copy cloud config file for openstack exporter. Change-Id: I4c0c325e9dd1f41ca2c4667178a4fa674fa23ec5 Closes-Bug: #1824098
This commit is contained in:
parent
69ded017af
commit
a174cfad17
@ -111,6 +111,7 @@
|
|||||||
- Restart prometheus-mysqld-exporter container
|
- Restart prometheus-mysqld-exporter container
|
||||||
|
|
||||||
- name: Copying cloud config file for openstack exporter
|
- name: Copying cloud config file for openstack exporter
|
||||||
|
become: true
|
||||||
vars:
|
vars:
|
||||||
service: "{{ prometheus_services['prometheus-openstack-exporter'] }}"
|
service: "{{ prometheus_services['prometheus-openstack-exporter'] }}"
|
||||||
template:
|
template:
|
||||||
|
Loading…
Reference in New Issue
Block a user