aboutsummaryrefslogtreecommitdiffstats
path: root/roles/space_server/tasks/resolved.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/space_server/tasks/resolved.yml')
-rw-r--r--roles/space_server/tasks/resolved.yml34
1 files changed, 0 insertions, 34 deletions
diff --git a/roles/space_server/tasks/resolved.yml b/roles/space_server/tasks/resolved.yml
deleted file mode 100644
index 1bbae10..0000000
--- a/roles/space_server/tasks/resolved.yml
+++ /dev/null
@@ -1,34 +0,0 @@
----
-#- name: Enable systemd-resolved
-# systemd:
-# name: systemd-resolved.service
-# enabled: yes
-# masked: no
-# state: started
-# when: not chroot
-#- name: '- when in chroot'
-# command: systemctl enable systemd-resolved.service
-# args:
-# creates: '/etc/systemd/system/multi-user.target.wants/systemd-resolved.service'
-# when: chroot
-#
-#- name: Use systemd-resolved
-# lineinfile:
-# path: '/etc/nsswitch.conf'
-# regexp: '^hosts:'
-# line: 'hosts: files resolve [!UNAVAIL=return] dns myhostname'
-
-- name: Disable systemd-resolved
- systemd:
- name: systemd-resolved.service
- enabled: no
- masked: no
- state: stopped
- when: not chroot
-- name: '- when in chroot'
- command: systemctl disable systemd-resolved.service
- args:
- removes: '/etc/systemd/system/multi-user.target.wants/systemd-resolved.service'
- when: chroot
-
-# vim: set ts=2 sw=2 et: