
Add class to manage bifrost: - clones bifrost from source - adds config files - runs bifrost install procedure - runs custom ansible playbook to generate static dhcp inventory - starts an additional dnsmasq instance and runs it like a service Based on the ironic::bifrost class[1] but with some modifications to avoid heavy reliance on the puppet DSL. Co-Authored-By: Clint Byrum <clint@fewbar.com> Co-Authored-By: greghaynes <greg@greghaynes.net> Co-Authored-By: Ricardo Carrillo Cruz <ricardo.carrillo.cruz@gmail.com> Co-Authored-By: Yolanda Robla <info@ysoft.biz> [1] http://git.openstack.org/cgit/openstack/puppet-ironic/tree/manifests/bifrost.pp Change-Id: I949344c16cf9ee3965b0bc96850eb208ac65b168
10 lines
286 B
Plaintext
10 lines
286 B
Plaintext
---
|
|
- hosts: baremetal
|
|
connection: local
|
|
name: "Set up public dnsmasq"
|
|
become: no
|
|
tasks:
|
|
- name: "Set up static dhcp files"
|
|
template: src=templates/dhcp-host.j2 dest=/etc/dnsmasq.d/bifrost.dhcp-hosts.vlan<%= @vlan -%>.d/{{ inventory_hostname }}
|
|
delegate_to: localhost
|