diff --git a/ansible/gather/roles/gnocchi/tasks/main.yml b/ansible/gather/roles/gnocchi/tasks/main.yml new file mode 100644 index 000000000..31f430968 --- /dev/null +++ b/ansible/gather/roles/gnocchi/tasks/main.yml @@ -0,0 +1,14 @@ +--- +# +# Tasks to get gnocchi config data +# + +- name: Parse Gnocchi config + become: true + shell: python /tmp/openstack-config-parser.py gnocchi /etc/gnocchi/gnocchi.conf /tmp/out.yml + +- name: Fetch output + fetch: src=/tmp/out.yml dest=/tmp/out.yml flat=yes + +- name: Load configuration variables + include_vars: /tmp/out.yml diff --git a/ansible/gather/site.yml b/ansible/gather/site.yml index cbddd48d8..4fb9bd80c 100644 --- a/ansible/gather/site.yml +++ b/ansible/gather/site.yml @@ -14,6 +14,7 @@ - neutron - keystone - ceilometer + - gnocchi - cinder - heat - mysql