summaryrefslogtreecommitdiffstats
path: root/playbooks/roles/jump-vm/templates/network-config.j2
blob: 8587a10ab8dcaa12c04a35c61db131f3ad1bcff5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{% if deployment_type == 'full' %}
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 }}"
{% endif %}