Enable setting of ceilometer as a non-root user

By adding 'become' element, you can set ceilometer as non root user.

Change-Id: I146f3aec6b1270d40c02f4f7883c169aaa796239
Closes-Bug: #1798035
This commit is contained in:
frauniki 2018-10-16 17:41:57 +09:00
parent c7658eb4f6
commit 4b2d2cc128

View File

@ -121,6 +121,7 @@
template:
src: "pipeline.yaml.j2"
dest: "{{ node_config_directory }}/{{ item.key }}/pipeline.yaml"
become: true
register: ceilometer_pipelines
when:
- inventory_hostname in groups[item.value.group]