From 4b2d2cc128a84bd2dced764918cc33b6899f640d Mon Sep 17 00:00:00 2001 From: frauniki Date: Tue, 16 Oct 2018 17:41:57 +0900 Subject: [PATCH] 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 --- ansible/roles/ceilometer/tasks/config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/ansible/roles/ceilometer/tasks/config.yml b/ansible/roles/ceilometer/tasks/config.yml index d54d7748a6..b427561097 100644 --- a/ansible/roles/ceilometer/tasks/config.yml +++ b/ansible/roles/ceilometer/tasks/config.yml @@ -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]