diff options
Diffstat (limited to 'os/config/roles/network/tasks')
-rw-r--r-- | os/config/roles/network/tasks/main.yml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/os/config/roles/network/tasks/main.yml b/os/config/roles/network/tasks/main.yml index caa6bff..8b6d92d 100644 --- a/os/config/roles/network/tasks/main.yml +++ b/os/config/roles/network/tasks/main.yml @@ -7,6 +7,9 @@ - name: "Deploy systemd-networkd configuration" template: src=en.network dest=/etc/systemd/network/en.network +- name: "Deploy resolv.conf (the DNS section in systemd-networkd requires systemd-resolved...)" + template: src=resolv.conf dest=/etc/resolv.conf + - name: "Activate IP forwarding" sysctl: name: net.ipv4.ip_forward |