#924 added default network connection to group_vars/all
Closed 2 years ago by kevin. Opened 2 years ago by petebuffon.
Unknown source main  into  main

file modified
+21 -2
@@ -67,6 +67,8 @@

  dbs_to_backup: []

  dns1: "10.3.163.33"

  dns2: "10.3.163.34"

+ dns_search1: "iad2.fedoraproject.org"

+ dns_search2: "fedoraproject.org"

  # env is staging or production, we default it to production here.

  env: production

  env_prefix: ""
@@ -74,8 +76,8 @@

  env_suffix: ""

  # Default netmask. All of our iad2 nets are /24's. Almost all of our

  # non-iad2 sites are less than a /24.

- eth0_nm: 255.255.255.0

- eth1_ip: 10.0.0.10

+ eth0_ipv4_nm: 255.255.255.0

+ eth0_ipv4: 10.0.0.10

  eth1_nm: 255.255.255.0

  # By default, fedmsg hosts are in passive mode.  External hosts are typically

  # active.
@@ -149,6 +151,23 @@

  # usually we do not want to enable nested virt, only on some virthosts

  nested: false

  nfs_bridge: br1

+ # Default Network Connection (linux-system-roles networking)

+ network_connections:

+   - autoconnect: yes

+     ip:

+       address:

+         - "{{ eth0_ipv4 }}/{{ eth0_ipv4_nm }}"

+       dhcp4: no

+       dns:

+         - "{{ dns1 }}"

+         - "{{ dns2 }}"

+       dns_search:

+         - "{{ dns_search1 }}"

+         - "{{ dns_search2 }}"

+       gateway4: "{{ eth0_ipv4_gw }}"

+     mac: "{{ ansible_default_ipv4.macaddress }}"

+     name: eth0

+     type: ethernet

  # nfs mount options, override at the group/host level

  nfs_mount_opts: "ro,hard,bg,intr,noatime,nodev,nosuid,nfsvers=3"

  nm: 255.255.255.0

Default network connection using linux-system-roles networking added to group_vars/all.

Pull-Request has been closed by kevin

2 years ago
Metadata