From 5e83c8e5fe8f5b9566673e96c6d963bc8d0129d6 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Sun, 5 Jul 2020 20:56:36 +0200 Subject: Remove don't need anymore --- ansible/roles/common/tasks/main.yml | 6 ------ ansible/roles/network/files/nsswitch.conf | 21 --------------------- ansible/roles/network/tasks/main.yml | 12 ------------ 3 files changed, 39 deletions(-) delete mode 100644 ansible/roles/network/files/nsswitch.conf (limited to 'ansible') 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 - - -- cgit v1.2.3