Fix Grafana config for extra conf

Previous change[1] of config for grafana introduced
new bugs.

[1]https://review.openstack.org/#/c/548291/

Change-Id: Ib62f0670003612073ff08f702febe81c753b72e5
This commit is contained in:
Kevin Tibi 2018-05-16 16:29:22 +02:00
parent cbb7cce7c1
commit 1d249ca966
2 changed files with 1 additions and 3 deletions

View File

@ -53,8 +53,6 @@
- name: Copying over extra configuration file - name: Copying over extra configuration file
become: true become: true
vars:
service_name: "{{ item.0 }}"
template: template:
src: "{{ item.path }}" src: "{{ item.path }}"
dest: "{{ node_config_directory }}/grafana/{{ item.path | basename }}" dest: "{{ node_config_directory }}/grafana/{{ item.path | basename }}"

View File

@ -12,7 +12,7 @@
"source": "{{ container_config_directory }}/{{ plugin.path | basename }}", "source": "{{ container_config_directory }}/{{ plugin.path | basename }}",
"dest": "/etc/grafana/{{ plugin.path | basename }}", "dest": "/etc/grafana/{{ plugin.path | basename }}",
"owner": "grafana", "owner": "grafana",
"perm": "0600", "perm": "0600"
}, },
{% endfor %}{% endif %}{% endif %} {% endfor %}{% endif %}{% endif %}
{ {