God dammit I need resolved

This commit is contained in:
Salt 2021-02-22 16:18:52 -06:00
parent 99c7814a40
commit 0ff0a90827

View File

@ -2,15 +2,6 @@
# vim:ft=ansible:
---
- hosts: pik8s
tasks:
- name: disable systemd-resolved stub
lineinfile: path=/etc/systemd/resolved.conf regexp="^DNSStubListener=.*" line="DNSStubListener=no"
register: resolved_stub
tags: [ k8s, resolved ]
- name: restart systemd-resolved
systemd: daemon_reload=yes name=systemd-resolved.service state=restarted
when: resolved_stub is changed
tags: [ k8s, resolved ]
roles:
- role: docker
tags: [ k8s, docker, skip-pull ]