Permalink
Browse files

Merge "Adding mistral collection"

  • Loading branch information...
Zuul authored and openstack-gerrit committed Sep 14, 2018
2 parents 6686449 + 4d8b78f commit 1c5ea1b1f50d84697f9e97d7ac1ab4ae433574c2
Showing with 24 additions and 0 deletions.
  1. +22 −0 ansible/gather/roles/mistral/tasks/main.yml
  2. +1 −0 ansible/gather/site.yml
  3. +1 −0 ansible/oooq/gather-metadata.yml
@@ -0,0 +1,22 @@
---
#
# Tasks to get mistral facts
#
- name: Check that mistral is installed
become: true
stat: path=/etc/mistral/mistral.conf
register: mistral_config
- name: Parse Mistral config
become: true
command: python /tmp/openstack-config-parser.py mistral /tmp/out.yml
when: mistral_config.stat.exists
- name: Fetch output
fetch: src=/tmp/out.yml dest=/tmp/out-{{ inventory_hostname }}.yml flat=yes
when: mistral_config.stat.exists
- name: Load configuration variables
include_vars: /tmp/out-{{ inventory_hostname }}.yml
when: mistral_config.stat.exists
View
@@ -28,6 +28,7 @@
roles:
- common
- undercloud
- mistral
- hosts: browbeat
remote_user: "{{ browbeat_user }}"
@@ -28,6 +28,7 @@
roles:
- browbeat-metadata/common
- browbeat-metadata/undercloud
- browbeat-metadata/mistral
- name: Dump metadata to files
hosts: undercloud

0 comments on commit 1c5ea1b

Please sign in to comment.