diff options
-rw-r--r-- | ansible/roles/common/tasks/main.yml | 6 | ||||
-rw-r--r-- | ansible/roles/network/files/nsswitch.conf | 21 | ||||
-rw-r--r-- | ansible/roles/network/tasks/main.yml | 12 |
3 files changed, 0 insertions, 39 deletions
diff --git a/ansible/roles/common/tasks/main.yml b/ansible/roles/common/tasks/main.yml index 0b15790..b4d00bb 100644 --- a/ansible/roles/common/tasks/main.yml +++ b/ansible/roles/common/tasks/main.yml @@ -12,12 +12,6 @@ autoclean: yes autoremove: yes -- name: "Remove base tools" - apt: - name: - - systemd-resolved - state: absent - - name: "Install base tools" apt: name: 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 - - |