tf-ansible-workflow

Terraform/Ansible Workflow for Libvirt
git clone https://git.in0rdr.ch/tf-ansible-workflow.git
Log | Files | Refs | Pull requests |Archive

qemu-config.yml.tpl (194B)


      1 ---
      2 
      3 %{ for host in hosts ~}
      4 - fqdn: ${host.name}
      5   macaddr: ${tolist(host.network_interface)[0]["mac"]}
      6   ip4: ${tolist(host.network_interface)[0]["addresses"][0]}
      7   id: ${host.id}
      8 %{ endfor ~}