Parcourir la source

specify network in nmcli name-resolution role

Blaine Story il y a 3 ans
Parent
commit
325b14ccd6
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      roles/name-resolution/tasks/main.yml

+ 2 - 2
roles/name-resolution/tasks/main.yml

@@ -132,9 +132,9 @@
     ifname: "{{ ethernet }}"
     type: ethernet
     state: present
-    ip4: "{{ gateway_server_ip }}"
+    ip4: "{{ gateway_server_ip }}/24"
     gw4: "{{ actual_gateway_ip }}"
-    mtu: 9000
+    mtu: 1500
     dns4:
       - "{{ dns_primary }}"
       - "{{ dns_secondary }}"