aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/network
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles/network')
-rw-r--r--ansible/roles/network/files/nsswitch.conf21
-rw-r--r--ansible/roles/network/tasks/main.yml12
2 files changed, 0 insertions, 33 deletions
diff --git a/ansible/roles/network/files/nsswitch.conf b/ansible/roles/network/files/nsswitch.conf
deleted file mode 100644
index a84e024..0000000
--- a/ansible/roles/network/files/nsswitch.conf
+++ /dev/null
@@ -1,21 +0,0 @@
-# /etc/nsswitch.conf
-#
-# Example configuration of GNU Name Service Switch functionality.
-# If you have the `glibc-doc-reference' and `info' packages installed, try:
-# `info libc "Name Service Switch"' for information about this file.
-
-passwd: files systemd
-group: files systemd
-shadow: files
-gshadow: files
-
-hosts: files dns
-networks: files
-
-protocols: db files
-services: db files
-ethers: db files
-rpc: db files
-
-netgroup: nis
-
diff --git a/ansible/roles/network/tasks/main.yml b/ansible/roles/network/tasks/main.yml
index 2087765..1443e0c 100644
--- a/ansible/roles/network/tasks/main.yml
+++ b/ansible/roles/network/tasks/main.yml
@@ -9,15 +9,3 @@
name: net.ipv4.ip_forward
value: "1"
sysctl_set: yes
-
-# These two lines are used to undo previous config, remove them once it is done
-- name: "Update nsswitch.conf to not use systemd-resolved"
- copy: src=nsswitch.conf dest=/etc/nsswitch.conf
-
-- name: "Disable systemd-resolved"
- systemd:
- name: systemd-resolved
- state: stopped
- enabled: false
-
-