browbeat/ansible/gather/roles/gnocchi/tasks/main.yml
akrzos 23b3ef3704 Get Gnocchi Config Metadata
Change-Id: I2331056e241487e1a3e2a80551ee5168606e1c21
2016-09-22 14:43:40 -04:00

15 lines
325 B
YAML

---
#
# 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