diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2020-07-05 20:56:36 +0200 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2020-07-05 20:56:36 +0200 |
commit | 5e83c8e5fe8f5b9566673e96c6d963bc8d0129d6 (patch) | |
tree | 080691d623ab8c31f5e3d7bd5cf19f247cc93db9 /ansible/roles | |
parent | 09878271f2a207ffb33c1f293dd26ee97cc6fff2 (diff) | |
download | infrastructure-5e83c8e5fe8f5b9566673e96c6d963bc8d0129d6.tar.gz infrastructure-5e83c8e5fe8f5b9566673e96c6d963bc8d0129d6.zip |
Remove don't need anymore
Diffstat (limited to 'ansible/roles')
-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 - - |