aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/config-osa/tasks
diff options
context:
space:
mode:
authorYifei Xue <xueyifei@huawei.com>2018-01-30 01:03:47 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-01-30 01:03:47 +0000
commit7dfbe30d59e513da56fe34e3ffa44840a4c41ded (patch)
treefb3e6188baff221827a7e6c71c055de93f327e0a /deploy/adapters/ansible/roles/config-osa/tasks
parent2c93fa28f1f1e78f4135f096f0c59e82963fd847 (diff)
parent8c52d2b68d656aef61baf8d092e40024f397c5ed (diff)
Merge "Change gnocchi storage and increase the capacity of ceph"
Diffstat (limited to 'deploy/adapters/ansible/roles/config-osa/tasks')
-rw-r--r--deploy/adapters/ansible/roles/config-osa/tasks/meters.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/deploy/adapters/ansible/roles/config-osa/tasks/meters.yml b/deploy/adapters/ansible/roles/config-osa/tasks/meters.yml
index 8f06a884..2b3bce5f 100644
--- a/deploy/adapters/ansible/roles/config-osa/tasks/meters.yml
+++ b/deploy/adapters/ansible/roles/config-osa/tasks/meters.yml
@@ -69,3 +69,15 @@
[database]{% raw %}
connection = mysql+pymysql://{{ ceilometer_galera_user }}:{{ ceilometer_container_db_password }}@{{ceilometer_galera_address }}/{{ ceilometer_galera_database }}?charset=utf86{% endraw %}
# yamllint enable rule:line-length
+
+- name: make sure the directory exist
+ file:
+ dest: /etc/openstack_deploy/ceilometer
+ state: directory
+ mode: 0755
+
+- name: copy the polling.yml
+ copy:
+ dest: /etc/openstack_deploy/ceilometer/polling.yaml
+ src: polling.yaml
+ mode: 0644