[openstack-dev] [TripleO] a small experiment with Ansible in TripleO
Allison Randal
allison at lohutok.net
Mon Aug 4 17:54:09 UTC 2014
On 08/04/2014 08:19 AM, Clint Byrum wrote:
> I've been fiddling on github. This repo is unfortunately named the same
> but is not the same ancestry as yours. Anyway, the branch 'fiddling' has
> a working Heat inventory plugin which should give you a hostvar of
> 'heat_metadata' per host in the given stack.
Cool, Monty and I have that merged now. And, I've got a working Ansible
module for nova rebuild:
https://github.com/allisonrandal/tripleo-ansible/blob/master/library/cloud/nova_rebuild
> Note that in the root there is a 'heat-ansible-inventory.conf' that is
> an example config (works w/ devstack) to query a heat stack and turn it
> into an ansible inventory. That uses oslo.config so all of the usual
> patterns for loading configs in openstack should apply.
This is really elegant, I'll follow suit in the example playbook for
rebuild.
Allison
More information about the OpenStack-dev
mailing list