Implementing jump VM create via ansible
[kuberef.git] / playbooks / roles / jump-vm / templates / network-config.j2
1 version: 1
2 config:
3   - type: physical
4     name: "{{ jumphost.interfaces[idf.net_config[engine.public_network].interface].name }}"
5     mac_address: "{{ jumphost.interfaces[idf.net_config[engine.public_network].interface].mac_address }}"
6     subnets:
7       - type: dhcp
8   - type: physical
9     name: "{{ jumphost.interfaces[idf.net_config[engine.pxe_network].interface].name }}"
10     mac_address: "{{ jumphost.interfaces[idf.net_config[engine.pxe_network].interface].mac_address }}"
11     subnets:
12       - type: static
13         address: "{{ jumphost.interfaces[idf.net_config[engine.pxe_network].interface].address }}"
14         netmask: "{{ idf.net_config[engine.pxe_network].mask }}"