Explorar el Código

specify network in nmcli name-resolution role

Blaine Story hace 3 años
padre
commit
325b14ccd6
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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 }}"