puppet-infracloud/templates/bifrost/deploy-public-dnsmasq.yaml.erb

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