summaryrefslogtreecommitdiffstats
path: root/playbooks/roles/jump-vm/templates/network-config.j2
blob: ceded544c5cc32339abfc349bbd20110c4298545 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
version: 1
config:
  - type: physical
    name: "{{ jumphost.interfaces[idf.net_config[engine.public_network].interface].name }}"
    mac_address: "{{ jumphost.interfaces[idf.net_config[engine.public_network].interface].mac_address }}"
    subnets:
      - type: dhcp
  - type: physical
    name: "{{ jumphost.interfaces[idf.net_config[engine.pxe_network].interface].name }}"
    mac_address: "{{ jumphost.interfaces[idf.net_config[engine.pxe_network].interface].mac_address }}"
    subnets:
      - type: static
        address: "{{ jumphost.interfaces[idf.net_config[engine.pxe_network].interface].address }}"
        netmask: "{{ idf.net_config[engine.pxe_network].mask }}"