God dammit I need resolved
This commit is contained in:
parent
99c7814a40
commit
0ff0a90827
@ -2,15 +2,6 @@
|
|||||||
# vim:ft=ansible:
|
# vim:ft=ansible:
|
||||||
---
|
---
|
||||||
- hosts: pik8s
|
- 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:
|
roles:
|
||||||
- role: docker
|
- role: docker
|
||||||
tags: [ k8s, docker, skip-pull ]
|
tags: [ k8s, docker, skip-pull ]
|
||||||
|
Loading…
Reference in New Issue
Block a user